Compare commits

..

4 Commits

Author SHA1 Message Date
66a25a0606 docs! 2025-05-21 16:24:36 +02:00
2440990a6e docs 2025-05-21 15:22:18 +02:00
b231e7228b updated music 2025-05-21 15:04:30 +02:00
009f4d1861 docs 2025-05-21 12:14:51 +02:00
12 changed files with 35 additions and 12 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -1,5 +1,6 @@
# Wildcard week - Compositing
## Group assignment
For this week we started out on compositing. First I didn't really know what it was and a bit confused. But through the day I started picking up more and more and starting to find it more fun.
In the morning I didn't know anything about compositing aside from Neil's lecture from yesterday. So I started clicking links on the compositing page.
@@ -30,3 +31,9 @@ We used little coffee sticks to spread the epoxy on the fabrics.
After that we put it in the chamber
![alt text](image-6.jpg)
And now we wait for 24 hours till it is fully hardened
### The result
The result
![alt text](image-7.jpg)
I expected the result to be stiff and more compact like in Neil's compositing lecture from 2016 but then I probably would've needed to use the vacuum bag.

View File

@@ -402,15 +402,31 @@ These are the 2 pcb's I designed I first thought it would be handy to make them
## Matrix subsystem
### Power
I tested the power consumption on the matrix by setting the brightness to 100 and the colors to white since white consumes the most amount of power.
![alt text](image-37.jpg)
![alt text](image-38.jpg)
The result of this is that a single matrix consumed 3,8 amps at 5 volt. With 4 ESC's providing a total of 12 amps at 5 volts I should be easily able to power the mcu's and the matrixes.
## Assembly
Here I started assembly of the drone. I printed the motor arms and screwed all the motors into them and soldered pogo pins to each to connect them to the esc's. Unfortanetly I don't know how to connect them yet because the wires aren't labeled. 2 motors need to spin left and the other 2 right for stability.
![alt text](image-43.jpg)
I also saw during assembly that the drone body warped a bit but that isn't going to ruin the fun. It will still fly.
![alt text](image-44.jpg)
![alt text](image-46.jpg)
![alt text](image-45.jpg)
The weight without the propellors and batteries is 1347 grams. The propellors weight a few grams and each battery weighs 183
$$1347 + 183 * 2 = 1713 grams $$
## Kaboom
Killed esp C6 due to short in between the PWM output pin of the mcu and the 5v inputs of all electronic speed controllers. The first few tests I was lucky that I didn't plug anything into the shorted connector but when connecting everything the mcu got killed.
I accidentally killed an esp C6 due to short in between the PWM output pin of the mcu and the 5v inputs of all electronic speed controllers. That's 5V 12Amps running through the mcu. The first few tests I was lucky that I didn't plug anything into the shorted connector but when connecting everything the mcu got killed. I sadly can't repair the board since there is hot glue everywhere to keep the connectors on the board.
![alt text](image-42.jpg)
![alt text](image-47.jpg)
![alt text](image-48.jpg)
Later on I realized I also killed my IMU. Because there wasn't any resistance between the 3v3 and the GND
## TODO
* [ ] Matrix panel subsystem

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -3,7 +3,7 @@
Welcome to my project!
## About me
Im a Computer Sciences student at Applied University of Amsterdam. With a focus on embedded software development. Im in my second year and im doing the FabAcademy during my internship. Henk is my instructor for the FabAcademy. Im not an offichial student since I'm a intern.
Im a Computer Sciences student at Applied University of Amsterdam. With a focus on embedded software development. Im in my second year and im doing the FabAcademy during my internship. Henk is my instructor for the FabAcademy. Im not an official student since I'm a intern.
### Hobbies
I like hanging out with friends. Whenever we're inside we're probably playing mario kart or another party game. And outside we walk through nature or cities and visit random stores that interest us. For example I like visiting second hand stores because they have a lot of random stuff and also old vintage electronics which I like.
@@ -12,19 +12,19 @@ I like hanging out with friends. Whenever we're inside we're probably playing ma
I listen to a lot of metal, mainly powermetal. I also listen to hardstyle/hardcore.
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/3pdAe0c6l08B6wMYVghyCs?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/0CjJJrpnQCpQMsT4nzezII?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/2OYtcqflvzQwh3cMPmTHs4?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/1XyaC0j83whAn7Cpv66Duq?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/7CAbF0By0Fpnbiu6Xn5ZF7?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
## Past projects
I have build my own powersupply for projects with variable voltage output so I can quickly prototype and test stuff.
I have build my own power supply for projects with variable voltage output so I can quickly prototype and test stuff.
![labvoeding](assets/imgLabvoeding.jpg)
Im also busy with a project with connecting 4 led matrixes together so I can show notifications from my phone for example on it.
![led matrix](assets/imgMatrix.jpg)
## This project
For this project I wanna build a traffic drone that can be used as temporary traffic signs.
For this project I wanna build a traffic drone that can be used as temporary traffic signs or can be used at festivals to quickly display information.
### What software/hardware am I using
For this project I'm using a mix of manjaro and windows. I use Windows for Fusion360 since I can't install it on manjaro and I use manjaro for the rest of my stuff since I daily drive it. I use visual studio code as my editor.

View File

@@ -4,8 +4,8 @@
const int MAXPWMVALUE = 1000;
const int MINPWMVALUE = 2000;
const uint8_t broadcastAddress[] = {0x8C, 0xBF, 0xEA, 0xCC, 0x8E, 0x5C};
const uint8_t broadcastAddress[] = {0x8C, 0xBF, 0xEA, 0xCC, 0x8B, 0x18};
//8c:bf:ea:cc:8b:18
//=====================================================================================//
// Struct declarations
typedef struct struct_message

View File

@@ -321,8 +321,6 @@ void IMUinit();
void getIMUdata();
void calculate_IMU_error();
void calibrateAttitude();
void Madgwick(float gx, float gy, float gz, float ax, float ay, float az, float mx, float my, float mz, float invSampleFreq);
void Madgwick6DOF(float gx, float gy, float gz, float ax, float ay, float az, float invSampleFreq);
void getDesState();
void controlANGLE();
void controlANGLE2();
@@ -1429,6 +1427,8 @@ void commandMotors() {
uint32_t m5_duty = map(m5_command_PWM, 125, 250, 1100, 2000);
uint32_t m6_duty = map(m6_command_PWM, 125, 250, 1100, 2000);
//may need to add pulsewidth to duty cycle conversion
// Write the duty cycle values directly to each pin
ledcWrite(m1Pin, m1_duty);
ledcWrite(m2Pin, m2_duty);