This commit is contained in:
2025-03-26 12:03:48 +01:00
parent bbf72a1bdf
commit 1b580320e9
3 changed files with 4 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -13,7 +13,11 @@ The more we pushed the potentiometer the higher the voltage became. So the volta
Communication of oneWire Humidity sensor Communication of oneWire Humidity sensor
Later on Henk connected a ds18b20 to a signal analyzer and tried reading the protocol. Afterwards we did it ourselves to see the communication between a mcu and a ultrasonic sensor. Later on Henk connected a ds18b20 to a signal analyzer and tried reading the protocol. Afterwards we did it ourselves to see the communication between a mcu and a ultrasonic sensor.
![alt text](image-19.jpg)
Here you can see the trigger and the echo pin being pulled to high.
Here is an example of the RX pin being used when sending data to the MCU. We hooked up the logic analyser to the Rx pin of the arduino to see if we can see the communication
![alt text](image-20.jpg)
## Potentiometer/Joysticks ## Potentiometer/Joysticks
For this week I want to get proper readings from my joysticks. I got them from aliexpress and couldn't find any datasheets on them. So I gotta test them out myself. With 3.3 volts I got good measurements when sliding the joystick to the lest and bad measurements when going to the right. When fully to the right it was hanging around 2400 and sometimes jittering to 2700. With a controller for a drone I don't want any jittering so I need to figure out how to make them completely stable. On my first board I had a lot of errors. When I was soldering the multiplexer the first time I accidentally rotated it 180 degrees. So I asked Henk for help de-soldering it. For this week I want to get proper readings from my joysticks. I got them from aliexpress and couldn't find any datasheets on them. So I gotta test them out myself. With 3.3 volts I got good measurements when sliding the joystick to the lest and bad measurements when going to the right. When fully to the right it was hanging around 2400 and sometimes jittering to 2700. With a controller for a drone I don't want any jittering so I need to figure out how to make them completely stable. On my first board I had a lot of errors. When I was soldering the multiplexer the first time I accidentally rotated it 180 degrees. So I asked Henk for help de-soldering it.