Sorry, but I use this thread a little bit like a blog of what I do, so sometimes I’m answering some of my own questions.
But, the power-switch on the vesc seems to be like a latched relay - you pulse it. Just need to figure out if there’s anything on the board I need to shut down together with the mcu - like CAN, or power to NRF, etc. - and eventually, how to do that. Need to take a look at the vesc source code.
And, yes, for the MCU to wake-up from sleep, you obviously cannot shut down the serial chain of power supplies to the board: V_in → 12V → 5V → 3.3V. Must be kept running.
@jens_overby I really admire your work, you are creating the future! I just wanted to say this) I’m following you with great interest and my “onewheel” is waiting for the final of the project!
Maybe you then can tell me how I can get a onewheel? Is there any DIY onewheel projects? On Ali you can buy hubmotor that look like those on a onewheel. Here are 3 examples:
But you need this PAD that senses your foot pressure right? And why is it that you need that? Couldn’t you just use IMU for sensing if the platform isn’t horizontal, and then accelerate if it’s tilting forward or decelerate if it’s tilting backwards?
Or maybe you only need the pad for sensing if there’s a person standing on the onewheel or not, so it doesn’t take-off by itself.
I’m missing something in my understanding of the “wheel”
It does use the IMU for that. The footswitch controls whether the board is on or off. Otherwise, when you stepped off, it would shoot at top speed in one direction or another until it crashed.
You can see mine here in this thread. OneWheel uses highly complex algorithms to maintain a central position under various conditions. this is a very interesting topic.
I would try separate those battery terminals abit more, Might just be the pictures but they look too close for comfort. They seem to be in the middle of the current carrying polygon tho, which is good.
So the name is back to F.O.C.King, and the pull down resistors are added, and all stuff uploaded to Github. (haven’t settled on the name - ESC-IMU or FOC-king? What do you think?)
@jens_overby Congratulations! I just want to say - you are the best! I like “FOC KING” And if it’s not difficult, please make instructions - ordering JLCPCB, boom files, etc., assembly, flashing firmware into boards, or maybe a video tutorial. Thank you!
No, I don’t think that’s enough for exposed stuff. But it depends on what’s being discussed and the operating altitude of the device. Find a copy of the electrical conductor spacing (clearance) table for IPC-2221B.
Something else to consider…
Have you taken the diameter of different screw heads and washers into account with those close battery connections? What about lugs that rotate a bit?
You have the anti-compression vias in the copper around the connection holes so I assumed that you’re supporting the use of screw-mounted lugs? This could be a problem as larger diameter washers might be used and lugs can rotate.
Along with the sliding around that the screw can do (unless you have a very tight clearance fit in the pcb) this will probably lead to a short-circuit at those terminals.
If you’re only supporting soldered connections I would also recommend spacing them out since many people really pile on the solder and its surface tension could cause the solder to bulge out past the edge of the pcb copper.
I just grabbed the latest from GitHub - nordstream3/FOC and couldn’t find the BOM. Am I on the right repository? Is it buried in the KiCad files? Thanks!
I will make complete instructions this week - and probably in the same run do something about those battery terminals. It’s simply more clearance for those large planes with solder.