Hello everyone! I am new to this forum and I was steered here by stackexchange.
I decided to dive into electrical engineering recently. I have never drawn a schematic in my life before. I study computer science and most of the stuff I have learned in university is coding/theory about hardware.
I decided to change that and, with my final year project, I am going all-in into electrical engineering.
I am here to ask questions and show off my project which is quite intricate. There's probably an easier way for solving the problem that my project tries to, but right now, this is where I am and I've almost made it work this way to the best of my knowledge.
What is my project? I am building a drone on the DJI F450 frame that flies using 4G transmission. To control the drone, I ditched the RF remote and I am using an android phone (hence 4G) and an xbox one S controller. To receive data I am using a raspberry pi zero and an USB modem with 4G sim over USB. The pilot is quite dated: MultiWii 2.4, but it runs well on ATMega328P with which I have experience from using it on arduino. Therefore, I am transmitting a PPM signal from raspberry to arduino.
I would like to be able to review my board/schematics in steps and this is mainly why I joined the forum.
Status of my boardI have managed to put together most of the components. I have selected the ICs, the packages for capacitors/resistors/leds etc and I must make sure I am connecting them properly.
You can see my schematics here:
https://easyeda.com/be.mihai22/project-hawkSome notes:- I am running two i2c busses. One for ATMega328P and one for RaspberryPi.
- I am using one master (ATMega328P) and 3 slaves on the first bus
- I am using one master (RaspberryPi) and 1 slave on the second bus
- 5V(BEC) is from the BEC from the ESCs - I get 3A 5V from BEC x 4. This will power up all the components on the board.
- 3V3 is from the LDO that step-downs 5V(BEC) and powers all sensors+atmega328p at 3V3, thus no level-shifting is necessary for the bus (A problem I had in the past - see
https://electronics.stackexchange.com/questions/477343/i2c-level-shifting-2n7002dwI have a few questions now:1) Is it safe to use a capacitor for the ICSP interface (MICRO schematic) for the reset pin? Will it be the same pin as DTR for the FTDI?
2) What do you guys about this overall?
3) Could you recommend me some improvements to make the board/schematic/end result more professional?
I have 4 pieces of feedback gathered from other sources:
1) The HMC5883L should have a 4.7uF polarized capacitor on the C1 line (replace of 2.2uF)
2) VDD on the HMC5883L should have a capacitor placed close to the power pins
3) Filter VDDA (analog reference voltage) with ferrite bead (130mA?)
4) Research reverse voltage protection (diodes?)
1) How do I recognize a polarized cap? What package? What is it made of? Examples?
2) What value? Can someone explain how much capacitance for voltage in general? How do you calculate that?
3) What properties should the ferrite bead have? My LDO outputs 130mA max at 3V3. Should I consider that for the ferrite bead? Why/Why not?
4) How do I do this? What kind/properties the diodes should have?
Thank you so much for getting to the end