Pinecil clone "ej-sil" with N-MOSFET and gate driver #2080
Replies: 4 comments 9 replies
-
These are controlled inside the FUSB chip as it has internal constant-current sink drivers that are used to provide the pull-down when required. The ones in the Pinecil schematic are DNP, they were designed in, only in-case someone wanted to create a software only PD stack (aka not using the FUSB).
I would not use this chip as its a fairly slow core and doesn't have much flash 😁 It meets the minimum but doesn't exceed further than that really. |
Beta Was this translation helpful? Give feedback.
-
I think your response was deleted or went missing? (I got the email). Firmware support should be doable, though without a unit its hard to do too much. If you have some past experience programming the STM32 porting shouldn't be super hard. (I'm happy to help). If possible can you make schematics available before you order samples for me to skim just to see if you do anything to make porting hard 😁 |
Beta Was this translation helpful? Give feedback.
-
My ADHD (not official but visible enough :) kicked in and I asked some stupid stuff that I figured out myself the next day 😆. A flu hit me so I don't have the energy to publish all files right now, but here's the most important parts through copy-paste. LCSC has STM32L432KBU6TR available so I swithced to that following your suggestion. STM32cubeMX is ok with the pinout, HW PWM, USB clock through the automatic trimming (crystal less), 80MHz internal clock ok. However, I can't 100% rule out brainfarts as my programming is practically limited to Arduino IDE (AVR and stm32duino). My colleagues at work have more software experience and I have already recuited them to this project to some extent. As soon as I get well I'll try to get the FW side forward, but should I hit a wall I'll ask you for help. Thanks in advance! Kind regards, ej |
Beta Was this translation helpful? Give feedback.
-
How possible (= work hours) would it be to change the FW so that when the tip heating is turned on, the PWM pulse generator would make a "ramp up"? I.e. generating increasing amount of PWM pulses in order to draw an increasing current from the PSU? And a "ramp down" when turning the heating off. I'm assuming the capacitance at the PCB and at the PSU would be enough for this. With fast MOSTFET switching (and related gate driving circuit) this would be possible MOSFET power dissipation wise and would increase the PSU compatibility. Also, if the AC coupling capacitor is replaced with low value resistor, the heating could be driven with "real PWM" instead of pulses. I do like the safety feature though. I ordered first batch of prototypes with slow-ish MOSFET switching (higher gate resistor value), but I might return to this idea later on. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have a TS101 and so far I've been happy with it. I came across some posts that it can get overheated and checking the Pinecil schematics, the power stage could have much less losses. I'm here assuming that TS101 is a derivative from Pinecil.
I also wanted to challenge myself from the design point of view, how much electronics its possible to put inside a small device.
Some details:
I have designed the device with STM32C071G8U6 as the mcu, but this is not available at JLCPCB so I'm now turning to the community as I want this to be as completely assembled as possible.
What (max) 4x4 mm microcontroller would you suggest from LCSC/JLC?
This will be 100% open source. Designed with KiCAD and Fusion 360.
Price estimate now is 61€ when ordered in batches of 5, and 46€ in batches of 10 (not including JLCPCB shipping). Some parts are from Digikey and OLED, screws, etc. from Aliexpress.
Also, the TS101 reboots occasionally with IronOS and original FW when operated with PD3.1 at 28V, and I tried to fix that also to the design. I suspect this is because the 5.1k pull-down resistors in the CC pins are GPIO controlled (from pinecil schematics) and some chargers might not supply any voltage without those. I haven't dug into the code and I'm assuming here a lot. If the firmware toggles them during operation, the charger might act funnily. My two cents about this issue.
And to show some flesh around the bones:


Kind regards, ej
Beta Was this translation helpful? Give feedback.
All reactions