diff --git a/docs/final_project/final_project.md b/docs/final_project/final_project.md index 9478742..53f8060 100644 --- a/docs/final_project/final_project.md +++ b/docs/final_project/final_project.md @@ -61,7 +61,61 @@ I've also made a render of the drone to visualize it for other people. Making th ## Feedback from Bas and Henk I've gotten some feedback on my design and about the use of screens. Maybe I should only use speakers or use LED matrixes. After thinking about it I think im going to give LED matrixes a spin. -## CAM and machines +## Drone electronics +For the drone I will need a lot of electronics. But I will also need a pcb for inside the drone so I don't have any loose connections. The main board needs a couple of components. Something to step down the voltage from the big battery or I will use two separate batteries one for the motors one for the control board. I will also need a sensor to know the position of the drone and a microcontroller. I also need a lot of power to power the screens so that will also be something interesting. + +### Components +* MCU +* BNO085 +* Something to drive the LED matrixes +* SD card/ secondary MCU to control the matrixes +* LED (mandatory) + +### Drone remote electronics +I'm also building the remote for the drone + +* Potslider for the throttle +* Joystick for left-right-forward-backwards +* battery +* screen to see status of drone +* LED (mandatory) + +#### Joystick +I really wanna use a joystick for this project because having 2 potmeters under each other looks a bit weird. + +### KiCad +The first thing I did was import the design rules for our milling machine. I used the file from the lecture to import it from because there we set everything up together. + +![alt text](image.jpg) + +Now im going to grab all the components needed for the board +* [Joystick](https://www.digikey.nl/nl/products/detail/c-k/THB001P/11687191) x2 +* LED +* small oled screen +* xiao espS3 + + +I was struggling a lot when thinking on how to connect the joysticks because the data sheet says it needs 5 volts. Until I realized they where potentiometers and they should work with any voltage. So I could directly connect the Joysticks to the MCU + +Instead of it looking like this. + +![alt text](image-1.jpg) +This configuration wouldn't have worked anyway because the voltage regulator forces the voltage to 3.3 so the mcu will only read one value. +It now looks like this: + +![alt text](image-2.jpg) +So I have 2 joysticks that are directly connected to the mcu. A screen that works on the I2C protocol and a LED. + +First when routing the joysticks I realised that the Xiao has analog on both sides of the board. So if I change the schematic so it connects to the other side I have a lot less longer traces. + +![alt text](image-3.jpg) + +![alt text](image-4.jpg) +So like this instead of needing them to go across the entire mcu. + +I forgot to apply the design rules so I imported them again and now I have to retrace everything. Thanks Irja for checking them together. + +![alt text](image-5.jpg) ## BOM (bill of materials) diff --git a/docs/final_project/image-1.jpg b/docs/final_project/image-1.jpg new file mode 100644 index 0000000..dd0861f Binary files /dev/null and b/docs/final_project/image-1.jpg differ diff --git a/docs/final_project/image-2.jpg b/docs/final_project/image-2.jpg new file mode 100644 index 0000000..6806347 Binary files /dev/null and b/docs/final_project/image-2.jpg differ diff --git a/docs/final_project/image-3.jpg b/docs/final_project/image-3.jpg new file mode 100644 index 0000000..0e3a6fe Binary files /dev/null and b/docs/final_project/image-3.jpg differ diff --git a/docs/final_project/image-4.jpg b/docs/final_project/image-4.jpg new file mode 100644 index 0000000..d4189e6 Binary files /dev/null and b/docs/final_project/image-4.jpg differ diff --git a/docs/final_project/image-5.jpg b/docs/final_project/image-5.jpg new file mode 100644 index 0000000..48d4f96 Binary files /dev/null and b/docs/final_project/image-5.jpg differ diff --git a/docs/final_project/image.jpg b/docs/final_project/image.jpg new file mode 100644 index 0000000..04e24f8 Binary files /dev/null and b/docs/final_project/image.jpg differ