DIY Drone Controller (Receiver) W/Atmega328

by ensarlevent in Circuits > Arduino

3318 Views, 15 Favorites, 0 Comments

DIY Drone Controller (Receiver) W/Atmega328

IMG_4052.jpg

Hi friends,

We will design a drone controller Pcb.

I will publish transmitter Pcb soon.

Please share my project, and support me for more project.

Download Fritzing

Ekran Resmi 2018-12-19 12.14.33.png
Ekran Resmi 2018-12-19 12.13.55.png

I think easiest way of drawing a PCB is using Fritzing. Download Fritzing from website. Fritzing is a free application. Setup Fritzing.

Fritzing 101

Ekran Resmi 2018-12-19 12.18.01.png
Ekran Resmi 2018-12-19 12.18.11.png
Ekran Resmi 2018-12-19 12.18.16.png

Open Fritzing.

Open a new drawing.

Click on to Circuit as in picture 2.

You will see a board. This is our mainboard. You can expand this board from corner.

Then you can see the parts window.

You can search parts from search box.

And you can swipe part to board.

Adding Parts

Ekran Resmi 2018-12-19 12.18.17.png
Ekran Resmi 2018-12-19 12.19.01.png
Ekran Resmi 2018-12-19 12.18.43.png
Ekran Resmi 2018-12-19 12.19.00.png
Ekran Resmi 2018-12-19 12.19.36.png

If you find your true part, you can swipe this on to mainboard.

When you move mouse on pins(not click), you can see pins name.

You can move parts on board.

Drawing Ways

Ekran Resmi 2018-12-19 12.20.02.png
Ekran Resmi 2018-12-19 12.20.10.png
Ekran Resmi 2018-12-19 12.57.05.png
Ekran Resmi 2018-12-19 12.57.16.png
Ekran Resmi 2018-12-19 12.57.19.png
Ekran Resmi 2018-12-19 12.57.32.png
Ekran Resmi 2018-12-19 12.57.35.png

Click on a pin and swipe to on another pin. You will get a way but this can touch other pins, you must organize cables.

!Trick: If you want a minimal PCB design, you should place parts nearly.

You can design 2 layer pcb's.

If you have overlap 2 cable, you should right click on cable and you can carry this cable under layer.

About Drone Controller

IMG_4049.jpg

Which parts will we use?

1 x ATMEGA328P

1 x nrf24l01 + pa (antenna)

1 x Bmp180

1 x MPU6050 Gyro

1 x 100uF Capacitor

1 x Crystal

2 x 0.1uF capacitor

6 x 100k resistor

1 x Button

1 x Power Socket

1 x Voltage Regulator (5V to 3.3V)

1 x Led

Connecting Parts Each Other

Ekran Resmi 2018-12-19 13.42.10.png

  1. You can see my Pcb's shema in photo.
  2. Nrf24l01 to Atmega;
  3. CE=7
  4. CSN=8
  5. SCK=13
  6. MOSI=11
  7. MISO=12
  8. GND= GND
  9. VCC= 3.3V(from regulator)
  10. BMP180 to Atmega;
  11. VCC = 5V
  12. GND = GND
  13. SDA = A4
  14. SCL = A5
  15. MPU6050 to Atmega;
  16. VCC = 3.3v (from regulator)
  17. Gnd =Gnd
  18. SDA = A4
  19. SCL =A5
  20. We can use A4 and A5 for multiple devices.
  21. Led For Power
  22. + = 5V (from a resistor)
  23. - = Gnd
  24. You can see other connects in picture.

My GRBL DOC

IMG_4044.jpg
IMG_4047.jpg

I used "pcbway.com" and my Pcb's are well produced. You can see my project on pcbway.com Drone Controller

Downloads

SOFTWARE

IMG_4052.jpg
IMG_4053.jpg
IMG_4054.jpg
IMG_4093.jpg
IMG_4095.jpg

How Can You Program Atmega328p?

Answer: Use a Arduino Uno With Atmega 328p-pu processor.

Program chip and solder to board.

I am developing software so you can send an email to me for software.

ensarlevent98@gmail.com

After final work I will upload software to there.