OK... I'm about to order parts for next round of R&D
It's been a while, so I've attached some images below.
The board will currently measure 60x80mm. There's an extra 20mm of design on the bottom of the PCB with some extra things like the switche panels (2 different designs), and the IR sensor + LED array.( Ignore the large female sockets on the 3d image) - these will be cut off and assembled accordingly.
Major changes from previous prototype:
1. Layout change. I now placed the IH underneath the board, next to the batteries. This keeps the whole thing about 60mm wide (both the main coil and 18650 have 18mm diamater, + some margins).
On top of the board, all components are below 4.5mm tall, so all together, the thing should be about 27mm thick (minimum internal dimension of case). I'm still using a stock OLED panel which will be up front.
2. Added basic battery protection circuit based on S-8262 chip. I can't source a chip with the right thresholds for optimized protection. Right now, IH will draw about 10Amps though protection will only kick in at about 30Amps - a whopping 300% margin but better than nothing. There is also the High side switch which should cut out a short at about 20A, and the lower voltage circuitry all goes through a poly fuse. Good enough for now, and for further testing purposes. Ideally, I'd source a chip that would kick in at, say, 12Amps leaving a 20% margin, though I'd have to get a few hundred at least.. Not ready for that.
3. USB charging!
I really wanted this feature, and was looking for a more integrated solution than what I ended up with, but can't get stuck, so I just squished another boost circuit in there. It's designed to draw 1.5Amps from 5v usb for a 700mA charging current.
4. Switches and IR panel + a bunch of LEDs. A string of red + string of green will go under the glass tube. The brightness of these can be controlled to get red / green / yellow orange glow depending on status. On the board, the charger has one, and the input to the opto-isolator has one. I like the last one, as it's not connected to ANY digital logic - directly lit from the induction coil, a nice little indicator.
Those are the major changes. Another change, is that the microcontroller is mostly SMD pads now. I liked this cause it gave me more space to run wires between pins, but I re-organized the pins anyway since so wiring is much neater. I may move back to through holes to make development a bit easier and maybe offer this board without microcontroller for those inclined.
What's next? Order the stuff and try get a few fully working boards out of this batch. I'll have parts for about 5 boards all being well. I'd like to keep one or two (one to use and one to abuse), and would be glad to on-board some early bird beta-testers.
In the meantime, I've already ordered a hot-air rework station to help assembly, and have been drooling over the idea of building a reflow oven. Model predictive control looks really interesting and a reflow oven would be a great project to get into it with, though as it is my dev time is limited, so it looks like a kit is called for, something like
this (
@hardboiledfrog I see you made one, any input?). more $$!?!??! fuuuu...
My current design is not $$ optimized. The main culprit is the whole microcontroller which currently weighs in at ~13$. I'm now pondering integrating SAMD21 48Mhz ARM Cortex M0+ 32bit processor (~3$ with necessary components) (some info
here) (
@toofluff any experience with this chip?). Other little things, like I'm currently using a separate voltage regulator to control all peripherals. This is only an extra 1~2$, but can be solved with putting things to low power sleep properly. Will eventually get to that in software even though I already got pretty close.. and PCBs. I need to print 10's of them to really drive the cost down, and till my design matures and goes through extra testing, I'm not committing to building that many at a time.
I hadn't touched the software for a few months till yesterday. I wanted to do a quick optimization on insertion detection - slow the sample rate down to significantly reduce consumption while waiting. I should not mix tinkering and beer, bud, and anything to do with lithium ion batteries again. I ended up doing something odd with the timing and blew a transistor! Good thing I know a guy who could fix it, and I got to test out a different set of ultra-low on resistance + ultra low gate capacitance MOSFETS, which seem like a good candidate for the next build. All back in order again
Otherwise, my two proto units have accumulated many hours of use. They're being switched on and off about 10 times a second in use, so the mechanism seems to work well when not f'd with. I did learn some valuable things from the miss-hap though. Like that I need to monitor the high side switch fault signal instead of turn it off and on again 10 times a second, which resets it
And that poly fuses aren't as quick to respond - just like I expected actually, which is exactly why I want the battery protection circuit, since it can respond much faster than both the high side switch and the poly.. if only I can source the right ones.
Future goals? Well, I dunno.. It would be a huge step to do this all by the book, and even though it's actually working, I feel like there's still so much to improve+optimize, so I'll keep making incremental changes, and it only makes sense to make a few boards at a time. I'd love to have a few folks help with extensive tests
though I cannot cover all costs. With necessary tools and parts purchases, PCB manufacturing, etc, boards are costing me about a hundred bucks each to build up. I really don't want to make any extra $$ from this, at least yet, since I fear it would complicate things a lot (
@Hippie Dickie you know what I mean ) though I'd be glad to offset the costs a bit. In the meantime, I hope to have parts and PCBs in a few weeks from now + some building time. Then dev + change + do it again, building a handful of devices every few months along the way.
Ummm.. I think thats it for now.. or not.. but enough for now.