I’ve started doing some reverse engineering on the H1-A now that I finally have more drivers in hand. So far I have the schematic down on paper and have determined a few key points with a scope. Here is the schematic, I’ll put it into PCB software eventually.
Along with that I have determined that the mystery “528” chip is an LDO as I guessed when drawing the schematic, 2.8V output. I have also determined that the PWM frequency for mode control is 3.9kHz. So as a cheat sheet for the MCU we have:
Pin1 - Power input (2.8V LDO)
Pin2 - Open
Pin3 - Battery level input (2:1 divider)
Pin4 - Directly connected to Pin1
Pin5 - 3.9kHz PWM output for current control
Pin6 - TPS61088 Enable (high to operate)
Pin7 - Open
Pin8 - Ground (Battery Negative)
Anyone know if an ATTiny can replace the PIC? Another member here Cousin Elmer has offered to try to write new firmware for the PIC, but I know most of the UI gurus prefer Atmel. Personally I like the current UI, just wish modes were off-time, and I wish LVP was set lower, around 2.7-2.8.
At first pass I think the GPIO pins of an ATTiny all line up pretty well. It seems plausible that power and ground could be dealt with although I admit I haven’t having studied the PCB. I think it’s worth a try. I’m willing to give it a go as soon as either 1) my next batch of H1-A drivers arrives or 2) I run out of reflectors and emitters to explore on the test rig where my “extra” driver sits right now.
I’m still happy to program the PIC. More about that soon
That tindie board would be useful for embedding in something that just needs a voltage source, but as kiriba pointed out it has no current regulation.
Doing the same reverse engineering on the KX70 now. Found out why the output isn’t regulated, they skimped on an LDO voltage regulator and went with a 0 ohm jumper link instead. This means the power supply for the op-amp, as well as the PWM voltage going to the op-amp will drop with battery voltage. Funniest part is that the pads are there for the regulator, so add in a $0.40 part from mouser and it should be fully regulated again. Standard SOT23 footprint for the regulator.
Micro controller also seems to be a different model, doesn’t match the pinout of the PIC or ATTiny. Might be a custom chip as it is unmarked. Will post the schematic when I finish drawing it.
I also have the KX70 Schematic, and a simple upgrade. Will grab scope plots for KX70 when I get a chance. Here is stock, followed by a simple mod that will keep it regulated, and best of all the PCB supports it!
If we look at pictures of the PCB we can see the 0-ohm jumper to the left of the inductor, cleaning the board up and we see pads for an SOT23 regulator. Also, anyone have any guesses to a compatible MCU?
Don’t mind the big hole in the IC… That’s why we don’t short the output. This driver is back together and working though!
Did you mean MCU pin 1? A normally closed momentary switch on MCU pin 1 would do what you describe, and is IMO a good option for e-switch on H1-A.
Putting a switch between the TPS61088 Boost IC pin 1 I don’t think would work, as the MCU won’t know power to the converter cycled. It is also very difficult to lift a pin on QFN package parts.
I have noticed an error in the H1-A Schematic, the resistor on Boost IC pin 19 (Ilim) should be 100k not 10k. I also would suggest we go to a 2.5V LDO regulator on both KX70 and H1-A vs the 2.8V LDO H1-A uses.
This would allow us to maintain regulation right down to the 2.7V minimum input for the TPS61088 IC. A big improvement I think we can make with custom firmware is a lower voltage cutoff for the LVP.
:facepalm: LoL! Sort of that, yes. Undercooked reply. :-)
By the way, is there some sort of really tiny latching pushbutton switch? I believe a tail MOSFET switch could be made using 2 × CR1216 cells, but heck…
Working on the drawings for H2-C and I think I finally figured out the Boost IC, I believe it to be a Monolithic Power Systems MP3428.
I realized I was wrong about it being integrated switch, the MOSFET on board is just to between the boosted output and the LED+ terminal, not entirely sure of its purpose, but I will read through the data sheet.
They also feed the ground through 2 n-channel MOSFETs which are always on. Not sure why they did that either. Between these 3 drivers I have had quite a few “why did they do it like that?” moments.