The Pinecil is a portable, temperature controlled soldering iron. It also has the intended use of being a Risc-V development device using a breakout board.
The Pinecil's main features are:
- Settable temperature
- Soldering tips:
- More than half a dozen available. Currently sold as 2 separate sets of 4, one fine set, the other larger.
- Compatible with TS100
- Flexible power sources:
- Barrel jack
- USB Type C power delivery
There are additional features that include (Useful for devkit use):
- A Programmable Gigadevice Risc-V GD32V embedded processor
- 0.67" Monochrome Display that can render text or graphics
- Support for Idle detection, for automatic power down of tip
Pinecil comes with a separate heating element / tip. After inserting its barrel into the end of the handle, lightly tighten the screw onto it. Loosen this screw when changing out the tip.
The USB port, connected to any host, provides enough power to drive the user interface, but not necessarily enough to heat the tip. 5 volts from a USB 2 port will only display the user interface.
To check the firmware version, hold down the "-" button. It will display something like "v2.14.2425902 17-01-21", suggesting its actual release date, here 2021-01-17. Clicking the "+" button repeatedly reveals various internal settings, such as hardware version, current temperature, time since power-on, and number of motions detected. Clicking "-" returns to the regular display of current temperature, target temperature, and supply voltage. At other times it may show power draw.
To actually heat up the tip, you will need a power supply that can provide 12V or more. This may be a dedicated power supply with a standard barrel connector (+ center, - outside) that supplies anywhere from 12V to 21V, or a USB-C supply that can negotiate up to such a voltage. (You probably have a suitable supply disused in a box somewhere.)
Clicking "+" starts the tip heating. The display then shows power draw, current temperature, supply voltage, and estimated time to reach target temperature. You can adjust the target temperature with further clicks of "+" and "-" buttons. Waiting for the regular display to return, then holding down "-" for a moment turns the heat off. You can watch the temperature measurement go up and down. Certain settings involve holding down both buttons.
The iron will "sleep", switching to a lower temperature, after it has been put down for a short time, and heat up again when it is picked up.
Clicking "-" when heat is off steps through menus to control a variety of settings, such as the sleep temperature, time until sleep, motion sensitivity, temperature units (C or F) etc.
Menu Items items (accurate for firmware 2.16)
- Power settings
- Power source (cutoff choices for voltage and battery operation)
- QC voltage (voltage to negotiate for with QC chargers (9..22 volts in 0.2V steps, recommended up to 21 volts)
- PD timeout (compatibility setting for some picky QC power supplies, allowing to set a shorter amount of time for PD negotiation in 100ms steps)
- Soldering Settings
- Boost Temperature
- Heat on power up (Auto Start)
- Temperature Change (short click)
- Temperature Change (long click)
- Allow locking buttons (when soldering)
- Sleep mode
- Motion Sensor Sensitivity
- Sleep Temperature
- Sleep Timeout
- Shutdown Timeout
- Hall Sensor Sensitivity
- User Interface
- Temperature Units (C/F)
- Display orientation (auto/right/left)
- Cooldown Blink
- Scrolling Speed (slow/fast)
- Reverse +/- buttons
- Animation speed (off/slow/medium/fast)
- Animation loop
- Screen brightness (1..10)
- Screen inversion
- Detailed idle screen
- Detailed solder screen
- Advanced Settings
- Power Limit (watts)
- Factory Reset?
- Calibrate Temperature
- Calibrate Voltage
- Power Pulse (watts)
- Uses TS-100 compatible tips
- Tip model TS-B2 is the default tip supplied with the Pinecil
- Tip set 1 (left) & 2 (right):
- Dimensions: 170mm with solder tip or 98mm without solder tip x 12.8mm x 16.2mm
- Weight: 30g with solder tip, 20g without solder tip
- CPU: GD32VF103TB 32-bit RV32IMAC RISC-V “Bumblebee Core” @ 108 MHz
- Display: 0.67" QUG 9616TSWCG02 96x16 Monochrome Matrix display
- 128KB Flash
- 32KB SRAM
- DC in (only one of the following at a time):
- 12V- 21V DC5525 Barrel Jack
- USB-C 12-20V PD
- Recommend operating voltage 12-21V, some components can tolerate higher voltages at "absolute maximum" but it's very ill-advised
Pinecil board information, schematics and certifications
- Pinecil mainboard schematic:
- Pinecil mainboard schematic ver 1.0 20201120, this is production version schematic
- Pinecil mainboard ver 1.0 PCB Component Placement Top PDF file
- Pinecil mainboard ver 1.0 PCB Component Placement Bottom PDF file
- Pinecil mainboard ver 1.0 PCB Component Placement Top Drawing file
- Pinecil mainboard ver 1.0 PCB Component Placement Bottom Drawing file
- Pinecil breakout board schematic:
Firmware Image Releases
- Latest Pinecil Firmware Updater for MacOS and Windows
Links to development firmware and documentation:
- For the first manufacture batch (October 2020, order number 158xxx) of the Pinecil, the copper ring connecting the earth screw to the tip was omitted as the engineering team found the TS100 design lacking. For the second round onwards, an improved design copper ring has been included as standard, and is also included with the replacement red and black handles. For normal operation of the iron, omission of the ring does not impact it's operation. If you are working with ESD components, you will however need it in order to ground the iron tip via the earth screw at the back of the iron.
- The first batch of Pinecil's were rated 12-24v @ 65W. After some heated discussion on the discussion group, it was decided that it would be downgraded to 12-21V @ 60W, due to concern over the connection of the DC jack to the USB-PD chip, which has a recommended maximum of 21v, and absolute maximum of 28v.
|Project Homepage||Firmware Images||Description|
|Ralimtek||Ralim/IronOS||https://github.com/Ralim/IronOS/releases/||Officially endorsed Pinecil firmware|
|Alvin Wong||alvinhochun/gd32vf103-pinecil-demo-rs||Collection of Rust code demos for Pinecil|
How to update a firmware
The official firmware that comes with the Pinecil is IronOS, you will want that if you just want to use your Pinecil as a soldering iron.
If you're using the manual firmware update method described below, you can download new IronOS releases from here.
While you can't brick your Pinecil permanently (DFU is in ROM); a firmware update can make your Pinecil inoperable if you flash an invalid firmware. However, flashing a working firmware using these same instructions will remedy that.
- Download Pinecil Firmware Updater for Windows, MacOS, or build by yourself from sources.
- (Windows only) Be sure that you have installed Microsoft Visual C++ Redistributable x64. Else, you can download it here
- Open it, select operating system you want to flash and click Flash. (Don't connect Pinecil yet)
- Follow application instructions for correct Pinecil connection to your PC.
- In case of error: If you will get error about erasing the Pinecil, you need to tick Mass Erase checkbox and try again.
Method tested on Linux, should work on any OS which supply dfu-util 0.10+.
- Use the command
dfu-util -Vto check your version. If your distro comes with 0.9 you might soft-brick your Pinecil, install the latest stable release from sourceforge.
- Enter the update mode. For that, unplug a barrel jack PSU if you have one plugged in. Then, plug USB cable while holding *-* button (button that's closest to USB-C port). The screen may be blank which is fine.
- Check that your Pinecil is available by listing devices with
dfu-util -land look for device with 28e9:0189 ID. Try running with sudo if your device is not listed. If dfu-util reports
alt=0, name="@Internal Flash /0x08000000/128*001Kg"you are fine, otherwise you need to upgrade to 0.10+, important part is
128*001Kg, which is flash amount of blocks and block size, as a chip used in Pinecil have 128 KB of Flash with 1KB page size
- Make a firmware backup:
dfu-util -d 28e9:0189 -a 0 -U ~/pinecil/internal.flash.stock -s 0x08000000
28e9:0189-- USB Device ID (can be obtained from
dfu-util -lbut in dfu-util output it might be hard to identify the Pinecil device)
-a 0-- selects partition to flash. List of possible options can be obtained via
dfu-util -l. Partition 0 - internal SPI flash. Partition 1 - fuses (description of fuses can be found in User Manual for the chip)
-U-- specifies a mode. U is upload, which means that firmware will be downloaded and saved to file (yes, that's confusing, but it is what it is, feel free to verify that in a manual of your version of dfu-util). Command must be followed by a path to file where you want to save your firmware. dfu-util will refuse to dump firmware if you already have a file with that name.
-s 0x08000000-- specify the address in a flash from which dump will start. This can be obtained from
- Flash a new firmware:
dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000:mass-erase:force
-D-- is a mode to Download firmware to the device (yes, that's confusing, but you indeed Upload from device and Download to device with dfu-util). That should follow the file with the firmware. Update archive from Ralim usually contains two files:
.bin. One that is required - is
_ENis the language code of the firmware, means that
_ENwill flash english version of firmware.
-s 0x08000000:mass-erase:force-- specified the address where to flash the file.
:mass-erase:forceis required to force-erase flash before updating firmware with the first batch, otherwise you might have unpredictable results.
- If it fails with
Error during special command "MASS_ERASE" get_status(as has happened with recent shipments) then use ...
-s 0x08000000without attempting "mass-erase". Full command example:
dfu-util -d 28e9:0189 -a 0 -D Pinecil_EN.bin -s 0x08000000
- If the hex and dfu files cannot be flashed, convert the hex file to bin with this command:
objcopy --input-target=ihex --output-target=binary Pinecil_EN.hex Pinecil_EN.bin
- Remove tip if present.
- Let tip cool down.
- Loosen top (display side) screw (PH1) on the tip side of the device.
- Gently pull tip out.
- Slide rubber off towards the tip side.
- Remove the ground screw (longer screw on the top side towards the port side) (PH1).
- Remove the bottom screw (at the tip side, between the legs) (PH1).
- Slightly pull the two halves of the case apart at the tip side, enough to get a fingernail or guitar pick between the halves.
- Move the pick down the length of the split to loosen the bottom half's clips from the top half of the case.
- Once loose, remove the bottom half by moving it forward (it is retained by the top half at the port side).
- Remove the screws retaining the copper tip contacts (PH000).
- Remove the now loose copper tip contacts.
- Gently push the board towards the tip side by pushing on one of the ports (for example, by using a misaligned USB C connector).
- The PCB assembly is now free to be lifted out.
- The key caps are now no longer retained, carefully set aside the top half, or remove the caps and store them separately.
- Place the key caps into their recesses in the top half of the case.
- Place the PCB assembly into the top half of the case ports first.
- Lower the rest of the board into the case and move the PCB assembly towards the port side of the case (the DC barrel connector may be a firm place to gently push).
- Install the copper tip contacts.
- Orient the contact to align the alignment pin with the alignment hole next to the big hole on one of the big gold pads.
- Install and gently tighten the PH000 screw until the clip is no longer loose.
- Place the bottom half of the case into the top half by sliding the lip on the port side (side without the feet) of the bottom half under the arch of the port side of the top half.
- Gently close the case by bringing the two halves together, paying attention to each clip's alignment and ensuring the case edges align.
- Install the short PH1 screw at the bottom of the tip side of the case.
- Install the longer PH1 screw at the ground connection point at the top side of the case (between the display and the ports).
- Slide the rubber sleeve on (larger ridge first).
- Gently insert tip.
- Gently tighten the top PH1 screw to retain the tip.
Power Supply Compatibility
The Pinecil can either work with a 12-21V battery or power supply via the 5525 (5.5mm outer diameter, 2.5mm post) centre-positive jack, or with any USB power supply that supports the QC2, QC3 or USB-PD (Power Delivery) specification. QC2 and most QC3 power supplies will only be able to provide a maximum of 12V, limiting the Pinecil to about 17W of thermal capability. A suitable USB-PD power supply / power bank will be able to provide 20V, allowing the Pinecil to deliver the full 60W of heat to soldering tip.
For certain QC power adapters, there is a limited time for QC negotiation, otherwise voltage will fall back to 5V.
Starting from firmware v2.16, there is a PD timeout setting (in 100ms steps) which allows QC negotiation start earlier.
This enables some QC adapters to work (like some of the Baseus QC chargers) but may result problems with PD negotiation on slower PD adapters.
For certain adapters, a PD timeout value of 15 is needed while most of PD adapters are also work using this value.
Known working QC/PD/barrel power adapters / power banks include:
- PinePower Desktop
- Nekteck 60W with 6ft cable
- Notebook AC Adapter HP L30757-002 (PD@20V)
- Notebook AC Adapter Lenovo ADLX65YLC3D (PD@20V)
- Notebook AC Adapter Lenovo LN-A0403A3C (Barrel 20V/2A)
- Notebook AC Adapter Delta Electronics ADP-65JH BB (DC@19V) and ADP-90CD DB
- Notebook AC Adapter LITEON PA-1700-02 (DC@18.5V, 65W)
- Smartphone Charger Samsung EP-TA20EWE (QC2@9V)
- Smartphone Charger Google Pixel G1000-US (PD@9V)
- Nintendo Switch AC Adapter (USB-C wall-wart) (PD@15V)
- Notebook Docking Station HP Thunderbolt Dock 230W G2 (PD@20V)
- (had problems with lower firmware versions, but works fine Pinecil firmware: 2.15 and DockingStation firmware: 126.96.36.199)
- Ankosen 65W USB C Charger for Mac Book and Laptop Fast Wall Charger, GaN PD 3.0 Power Adapter Amazon $9.99 (https://www.amazon.com/dp/B08T1P7ZRW/ref=cm_sw_r_oth_api_glt_fabc_X68FK4PW9VH02M4NK8CA?_encoding=UTF8&psc=1)
- Apple 140W USB-C Power Adapter A2452 (PD@20V)
- Elecjet AnyWatt SQ, USB-C to Lenovo Square Slim-Tip Adapter 45W or 65W, used with a 65W Lenovo Supply (PD@20V, Pinecil shows 64W)
- Blitzwolf BW-P1 10400mAh QC2
- Insignia 80W 26,800mAh NS-PWLB80
- Baseus BiPow 10000mAh 18W PD&QC3.0
- Intenso 7332330 Powerbank PD 10000 - External Battery PowerDelivery & QuickCharge3 - 10000mAh Powerbank, the Pinecil shows 12V and about 17W when heating up, using USB C PD (Red Silicone Pinecil cable)
- Marbero M87 30W PD 3.0
- Charmast C2032 65W Power Bank, maximum power is 47W at 20V from the IN/OUT usb C port, and 16.4W at 12V from the other OUT usb C port.
- Nillkin 63W USB Car Charger Quick Charge 3.0 PD (Pinecil Firmware: 2.14.2425902)
- QC3@9V/12V and PD@15V work, PD@20V doesn't
- PD@20V works fine when using PDC004-20V or ZY12PDN on dc jack (DC@20V, limit: 45W)
- Smartphone Charger RAVpower 30W Dual USB Turbo Wall Charger (Should provide QC3@9V/12V, but only provides 5 V on both ports)
- Sabrent HB-B7C3 USB3 hub, 7 data ports, 3 charge ports, 60W supply -- does not negotiate higher voltages.
Cases and 3D Models
- 3D model of Pinecil by kohkoh
- Pinecil compact case
- Pinecil and tips case
- T12 Tip Adapter
- Thingiverse search for 'Pinecil'
Caring for a soldering iron
Upon receipt, or buying a used Pinecil, one may want to check the following:
- the display turns on when 5-21V is supplied
- via USB type C or 5525 center positive barrel
- it gets 20V from a 20V capable USB PD charger
- check both orientations of the type C connector
- in update mode, it shows up on a computer as a GD32 DFU bootloader (or longan nano)
- this requires a data capable USB cable
- to enter update mode, press
-(button near back/ground screw) while powering on
- both buttons work
-to enter menu or decrease temperature, long press to get software version info or to turn off heating
+to turn on heating or select a menu item
- the displayed text rotates according to gravity when orientation is set to Automatic
- menu -> User interface -> Display orientation -> Automatic
- all 3 external screws are present
- one near the back near the screen (ground screw)
- one at the front on top (to hold the tip in)
- one at the front on the bottom (to hold the case together)
- the tip is clean (uniformly silver at the front, with no pitting or texture)
- see #Caring for a soldering iron in case it is used
- it heats up an installed tip, and stops increasing when it reaches the set point
- this may draw up to ~3A, make sure the supply can provide that
- minor overshoot may occur, but, disconnect power if the temperature keeps going up
- the reported temperature is correct
- if no direct measurement is possible, set it to ~230°C and see if it melts SAC (lead-free) solder (~190°C for leaded)
- if there are multiple tips, check all of them
Datasheets for components and peripherals
- GigaDevice RISC-V SoC information:
- Display Module information:
- USB Type-C PD Controller information:
- Sensor information:
- Power Regulator information:
- Power MOSFET Switch information:
- OP Amp information: