News for hackers. Stuff that matters.
Re:Pinecil: Portable USB-C RISC-V soldering iron by wheybags on Tuesday November 24, 2020 @03:10AM (#25196359)
For the ignorant software only folks like me: why would a soldering iron need a CPU?
Re:Pinecil: Portable USB-C RISC-V soldering iron by detaro on Tuesday November 24, 2020 @03:14AM (#25196373)
To control when/how it turns on and off, show status on a display, ... It being programmable is a bit of a gimmick for most, but the usual caveat applies: You might not need it, but if you want/need some customization it's very nice if your hardware actually allows you to add custom firmware. (E.g. for the TS100 there were some features that as far as I know first featured in custom firmwares, e.g. flipped display for left-handed users)
Re:Pinecil: Portable USB-C RISC-V soldering iron by segfaultbuserr on Tuesday November 24, 2020 @05:48AM (#25197262)
> For the ignorant software only folks like me

TL;DR: Software is eating the world.

First, it doesn't, but it can be easier or cheaper if you use one. You can build a closed-loop controller using only analog electronics, but it doesn't mean you should. Because silicon is so cheap, sometimes it's reasonable to use a $1 microcontroller and 20 lines of code, instead of 3 opamps, 5 resistors and 3 capacitors. I don't mean that software is always a good idea, but you get my point.

Next, if you want an LCD-based user interface (it doesn't mean you should, you can use an analog potentiometer, but having a display is the norm these days), you need a microcontroller anyway. You need a microcontroller to control the pixels on a screen or the numbers on a seven-segment display, and you also need software to implement functionality such as "press this button to change the temperature", or "save the current settings".

Also, these "novelty" soldering irons can power themselves via USB Type-C by using the USB Power Delivery protocol (it doesn't mean you should, but people are having fun doing it), which is a digital protocol, you definitely need a controller and software to do the handshake in order to get DC power. A single microcontroller can perform this task as well.

Now, does it really need a RISC-V microcontroller, instead of, say, a 8-bit 8051 chip? No. But the target audiences of this soldering iron are hardware tinkers, and previously they already ported things like Tetris and Game of Life to the soldering iron, so... Why not?

Re:Pinecil: Portable USB-C RISC-V soldering iron by graindcafe on Tuesday November 24, 2020 @06:11AM (#25197393)
Thanks! You answered all my questions in one time
Re:Pinecil: Portable USB-C RISC-V soldering iron by voxadam on Tuesday November 24, 2020 @05:09AM (#25197055)
The biggest application is probably closed-loop PID temperature control. Such a control loop doesn't take much of a CPU but it definitely exceeds the capabilities of something like a 555 timer.
Re:Pinecil: Portable USB-C RISC-V soldering iron by buescher on Tuesday November 24, 2020 @06:53AM (#25197622)
I recall a Bob Pease column from years ago where he showed how to do full PID control with a single op-amp.
Re:Pinecil: Portable USB-C RISC-V soldering iron by voxadam on Tuesday November 24, 2020 @07:03AM (#25197665)
That's something I'd enjoy reading.
Re:Pinecil: Portable USB-C RISC-V soldering iron by janzer on Tuesday November 24, 2020 @07:13AM (#25197715)
I'm guessing that it is this one https://www.electronicdesign.com/technologies/analog/article...

Unfortunately it looks like all the figures are 404 on the article, fortunately IA seems to have them https://web.archive.org/web/20201112004309/https://www.elect...

Edit: Bit of a funny aside; the editor who wrote the subtitle incorrectly identifies the P in PID as "Peripheral" even though the article correctly states it is "Proportional" in the fourth paragraph.

Re:Pinecil: Portable USB-C RISC-V soldering iron by buescher on Tuesday December 01, 2020 @05:53PM (#25271128)
Wow, thanks for tracking that down!