diff --git a/docs/Assignments/week_9_input_devices/image-19.jpg b/docs/Assignments/week_9_input_devices/image-19.jpg new file mode 100644 index 0000000..ad0940a Binary files /dev/null and b/docs/Assignments/week_9_input_devices/image-19.jpg differ diff --git a/docs/Assignments/week_9_input_devices/image-20.jpg b/docs/Assignments/week_9_input_devices/image-20.jpg new file mode 100644 index 0000000..7cb534a Binary files /dev/null and b/docs/Assignments/week_9_input_devices/image-20.jpg differ diff --git a/docs/Assignments/week_9_input_devices/input_devices.md b/docs/Assignments/week_9_input_devices/input_devices.md index 9c016b2..614347a 100644 --- a/docs/Assignments/week_9_input_devices/input_devices.md +++ b/docs/Assignments/week_9_input_devices/input_devices.md @@ -13,7 +13,11 @@ The more we pushed the potentiometer the higher the voltage became. So the volta 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. +![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 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.