I am currently working on a school project, and I want to build a drone together with a classmate. I have experience with Arduinos, programming soldering etc for smaller projects, but this time we want to build a drone.
I have ordered all the parts I need, but I run into a bit of a problem. We want to build a drone, with a safety system depending on multiple ultrasonic sensors. But I will run out of pins when I want to use the following items:
4 * 30 A ESC
6 * UltraSonic Sensor
1 * NRF24L01
1 * GY-521
Because of space concerns, I don't want to use an Arduino Mega. But I need the pins from it, do you have any suggestions on how I can make this project happen with preferably an Arduino uno?
I have read articles and forum posts about extending Arduino pins, but I am not sure if it will work for my project because I need to read a lot of inputs, and from what I read shift registers are not up for that task (correct me if I am wrong).
Is there someone who give me advise on how I can make it happen?