Week 9
Things I did this week:
Add a sensor to a microcontroller board that you have designed and read it
Adafruit Free Touch
Adapted from week 6.
This board is using the Adafruit FreeTouch Library to sense if the eyes of Morty is touched.
See more here
Pressure Sensor
I tried to use the DPS310XTSA1 pressure sensor provided in the inventory. It is a lot smaller than I imagined.
- Super small, hard to solder.
- Datasheet was clear, but didn't mention how the sensing happens.
- No existing example for the small DPS310.
- The code of existing libararies does not work, had to modify.
- Not sure about the difference between XIAO RP2040 and XIAO SAMD21.
- Handmade "PCB".
- Dead Bug style soldering.
![](../imgs/week9/sensor_size.jpg)
![](../imgs/week9/extend1.jpeg)
![](../imgs/week9/extend2.jpeg)
![](../imgs/week9/extend2.jpeg)
![](../imgs/week9/samd21.jpeg)
![](../imgs/week9/datasheetcircuit.jpeg)
![](../imgs/week9/pcb1.jpeg)
![](../imgs/week9/pcb2.jpeg)
![](../imgs/week9/deadbug1.jpeg)
![](../imgs/week9/deadbug2.jpeg)
![](../imgs/week9/bug.jpeg)
Also tried this deprecated library and modified 4 source code files to run their examples.
![](../imgs/week9/error.jpeg)