Hello All,
I have been using Arduino for a while now and I love it, but I've decided to try making my own board will all components on it. A quick disclaimer - I have approximately no idea what I'm doing. I've done my research, sure. But I don't have any real experience here, so I may have made some design faux-pas that the datasheets don't really get into.
From the title, you might have guessed: I'm making a flight controller. I'm hoping to do away with all of the extra pin headers, etc. I'm planning to just cut my own board on my cheap 3018 CNC. I've made several test cuts and done surprisingly well at getting all the features I need, with traces at 10mil and all the IC pads there.
I'll be using the ATMEGA328P-AU microcontroller, following the schematic available on the Arduino site (although using a 16MHz clock with integrated 22pF capacitors). Initial bootloading will be done before installing the chip, and then I'll program it using the D0/D1 pins and an Arduino.
I also want to include an NRF24L01P, following the schematic at nRF24l01+ 2450BM14A0002 + RFX2401C + 2450BP14D0100. Using VDD_PA pin for controlling PA/LNA. - Nordic Q&A - Nordic DevZone - Nordic DevZone (giving credit where due; my schematic is below). I'll have a u.FL antenna connector to increase range.
To make a proper flight controller, I also want to include an MPU9250 IC (following minimum schematic on datasheet), as well as a BME280 (BME not yet included in schematic - I got to here and thought maybe I should ask if I'm wasting time with an unrealistic goal).
I'll have 4 servos (may add more in future) and a single BLDC ESC/motor. I originally wanted an integrated ESC on my board, but I think that might be a bit much. The (separate) ESC will have power leads soldered to the pad with the battery leads so I don't need to worry about over-current on traces. I'll run a 2S Li-ion battery. 5V and 3V3 are supplied by AMS1117 regulators (I may need a second of each voltage to ensure good supply to the servos (5V) and the NRF24 (3V3). My board will be double sided, allowing for a large ground on both the top and bottom layers (not shown on the board image for clarity, but it's there, with vias connecting at several points), as well as vias for a few traces.
My question is: would anyone who has tried this, or something similar, before like to share how their experience went? Or, if you have designed boards, what are some tips that a less-experienced person might not know? There are quite a few DIY Arduinos out there, but I haven't found one that integrates everything. I'm not too worried about anyone checking/analyzing my schematic, but more general board layout. Thanks!