Accessing the Pinecil UART with Picoprobe
danielmangum.com
danielmangum.com
That's a staggering amount of hardware, sortware and computing power devoted to decoding one of the simplest and oldest serial protocols from a device whose sole purpose is to essentially melt tin. Maybe I'm out of touch, but I think I'll stick to my thermostat-controlled Weller soldering station and FTDI UART converters. I apologize if this post comes across as snarky, my point is that these are solved problems and have been for half a century.
If I can take one of my rp2040s and use it for half and hour and then use it for a different thing, it's great
MCP2200 is ~$2.50 in single units and you don't have to deal with firmware or programming.
https://www.lcsc.com/search?q=CH340
The reason to use an RP2040 is that you need a little bit of logic with that UART.
https://www.raspberrypi.com/documentation/microcontrollers/d...
The almost ubiquitous accessibility of cheap miniature general purpose microcontrollers/CPUs allows easy and fast creation of a device like the Pinecil, with a miriad of features: programmable PID, motion sensor, Bluetooth controller, temp profiles, battery powering, calibration, easy access to code... Cheap and fast. And it feels durable, not a toy.
And, if you don't have a FTDI UART converter or a logic analizer around, you just take an RP2040 from your electronic parts bin, and reprogram it. And once you finish, you can reprogram it for a different thing.
God, this is a website full of "Hackers" and all 90% of the users can think of is how to get the most money out of the things they do.
I can understand why you would think that, but I can also tell you that I didn't buy a serial connector until years after I started playing with microcontrollers.
I've got Arduino sketches I can quickly flash onto an Uno (or my 2016 HiFive1 320 MHz RISC-V board, which is usually closer to hand) to do all manner of things including UART, flashing a bare AVR chip e.g. ATTiny85 (now supplanted by CH32V003) and so forth.
Same principle as using a Pico.
https://github.com/embassy-rs/embassy/blob/main/examples/rp/...
Regarding FTDI products, after the well known controversy (1) I avoid them as much as I can. I also have two Wellers and will keep them until they die, which given their reliability should equal to never, but a few years back I purchased a Pinecil (1st model) out of curiosity and because I wanted to support Pine64 some way, and have to admit the device works really well even with non trivial joints that require a decent thermal mass (something many of those Hakko clones fail at). I have never installed anything onto it or even used any other function than plain temperature control though, but as a portable solder iron it just does the job without hitches.
1- https://www.reddit.com/r/amateurradio/comments/43q3vt/ftdi_d...
How do you use an FTDI adapter to read from a Weller thermostat? What MCU is the thermostat?
I'm not certain about how dumb something is if no code is involved. Just might be very smart to be able to leverage fundamental physics in such a way.
That said, analog processing can be subtle. Have you disassembled the thermostat to see how it implements PID?
Also, the Weller in question (WECP 20) isn’t doing PID. There is a potentiometer knob and a resistive temperature sensing element in the iron that together either turn heating on or off. It doesn’t get much simpler than that. Full schematics are readily available online.
Heating is either on or of, but it's on the order of "a few times per second". The heating action is connected to a small indicator lamp that lights up when the transformer is pushing power through the iron. You can hear the transformer buzzing briefly every few seconds to keep the tip around the set temperature. Touch the tip to a large thermal mass, and the transformer buzzes continuously. I expect there is a Schmitt trigger or a simple comparator in the control board that is in charge of the heating action. Again, check out the schematics to see how simple it is.
> Do tips not have an ideal voltage for efficiently emitting IR?
What do you mean by emitting IR? A soldering iron doesn't melt tin by radiative heating. You make physical contact with whatever you are intending to heat.
Are you perhaps thinking of Curie point soldering (or inductive heating) [0]? Those employ a much more complex process. My Weller goes by the "make the pointy metal stick reasonably hot" principle.
[0] https://www.metcal.com/wp-content/uploads/2021/11/how-it-wor...
1. Have custom temp profiles
2. Smarter auto on-off (e.g. cool down when placed down, heat up when picked up)
3. Flip the screen for lefties (I like this feature)
And anything else you can dream of.