Well, here we are again. I think I realised this may be in the wrong section of the forum, but I don’t know how to change it so I guess it’ll have to stay here.
I’m supposed to update this log every week, on a Wednesday, however, I’m consistently a day late so let’s just say this is new Wednesday.
I got a bunch of parts arrive 2 days ago for the OTK - I now have 15 or so ready made. I think I’ll launch the site officially soon (and by that I mean pay Wix so I can use the URL I have, at the moment the site is just like this https://theengineeringocto.wixsite.com/website/ ). I’ll also make the Tindie page go live, and I’m thinking of putting them on eBay too - who knows, maybe someone will buy one!
The ebike is still the thing I most excited about. The 2 things that have been updated last week are the SD card and LCD. The SD is pretty basic:
I’ve added the 0Ohm resistor as jumpers, just in case I mess up the lines (my first time using SD cards, don’t want to cut traces if I don’t have too!)
And the LCD section:
Why the current mirrors you ask? Well, my logic (which is quite possibly wrong), is that if my LCD is going to be in a different place to my controller (which is likely), then I need to run the I2C lines over some short distance. Now, I’m sure that this would be fine with a simple pull up resistor, but my logic is that using a current mirror will help as the length of the lines, and the capacitance associated with it, won’t introduce an RC time constant, because there’s no R (the pull up). I’d be interested to know what you guys think on this method? I can set the current to be around 1mA, and this’ll act as a pull up resistor.
Finally, this is more for the pcb layout, but I think i’m going to design something such that the LCD section is connected to the rest of the circuit (for SW dev purposes) but snaps off, breaking the I2C lines, and then I can run cables up to the LCD when it’s fitted on the bike - but that’s a future issue.
One thing I haven’t yet figured out, is the DC link capacitors between the battery and the inverter. I know that for harsh acceleration, it’ll be good to have some energy stored in the caps, but I have no idea how to determine the capacitance (any one got any ideas?). I can blindly copy some capacitance from a chinese controller schematic (Kunteng controllers) I found online, but I’d rather know the logic behind it). I think for now, i’ll also have an ideal diode to prevent regen charging, I don’t want my battery to go on fire because of that!
For now, I need to add the connectors, and I think the schematic is mostly done. A few decoupling caps here and there and I think it’ll be good to go to layout!
Thanks for reading (if anyone’s still following!)