• nice

    Adan05/11/2024 at 01:22 0 comments

    nice

  • Fixed it twice

    Adan05/11/2024 at 01:12 0 comments

    complimentary 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

    Adan05/11/2024 at 00:59 0 comments

    soooo 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

    Adan05/10/2024 at 01:25 0 comments

    OK 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

    Adan05/09/2024 at 18:06 0 comments

    I'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

    Adan05/09/2024 at 14:57 0 comments

    laying 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.