-
nice
05/11/2024 at 01:22 • 0 commentsnice
-
Fixed it twice
05/11/2024 at 01:12 • 0 commentscomplimentary pair MOSFETs. sacrificing a bit of RPM because now the motors will run at 3.3V, I resolved my conundrum. now I'm only using 4 PWM channels and using another pin to control direction. When the direction line is low, the PNP side will be PWM and the other is pulled to ground and when it's high, the NPN side will be PWM and the other pulled to ground. Should save a bit of space too.
-
Slight oversight
05/11/2024 at 00:59 • 0 commentssoooo the motors had PWM and GND which is fine, right? no. that means they can be speed controlled but only in one direction. you could flip the connector but not in use. I changed it by adding 2 more MOSFETs so that both sides of the motor can be PWM controlled. I moved the pulldown resistors do the sink side of the MOSFETs from the PWM line so that when it's not being controlled its ground, letting the motors be spun in either direction. As I'm writing this I remembered that I only have 4 PWM channels. shit.
-
Progress
05/10/2024 at 01:25 • 0 commentsOK so I removed one of the motor connections because it turns out the NRF52840 only has 4 PWM channels. I could drop a servo but nah. Added QSPI flash for programs and USB pads for programming. I'm running out of room here so the flash goes at the top. Because this is a controller for LEGO creations, I've got to make some things to use it with. I've made some progress but it's a bit difficult without the motors and servos to build around. I have a car and a tank with a cannon launcher thingy. I want to make one autonomous and one remote controlled but I don't know which to make which.
-
Power Regulation
05/09/2024 at 18:06 • 0 commentsI've added a ground plane, a 3.3V LDO and a 5V boost converter for the motors, servos and NeoPixel. Also I fit a button and a power switch.
-
Board Layout
05/09/2024 at 14:57 • 0 commentslaying out the board and components in EAGLE and finding parts n stuff on DigiKey
this is what i have so far. there is Neopixel on the board too. I don't know where to put the button. maybe I can use a 2020 Neopixel instead or maybe a button with an led.