Previously, we posted two articles about how to use single zone FSRs together with the Snowboard (this and this). Although these methods are good enough for interfacing the Snowboard with FSRs, we thought that more compact and convenient interfacing was desirable. So, we built a separate adapter board SBFSR10 that can be used to interface the Snowboard with single zone FSR sensors. Max 10 single zone FSRs can be added to this board. Connection is very simple. Just plug the adapter to the connector for for Matrix Sensor 1610 on the Snowboard. Now let's add three single zone FSRs to the adapter board. FSR 0, FSR 4, and FSR 9 are wired to (D0, A0), (D4, A4), and (D9, A9), respectively. Then, upload this code to the Snowboard. If you installed the latest Snowboard library, then you can access this code directly from Arduino IDE (File - Examples - Snowboard - snowfsr) After the upload, launch serial monitor by clicking Tools - Serial Monitor in Arduino IDE. When you press down FSR 0 (the 1st FSR in this example), you can see measurements values of the FSR. Of course, pressing several single zone FSRs at a time is no problem. If you touch all these FSRs then the Snowboard outputs measurement values of the sensors as shown below.
Enjoy it!
0 Comments
Leave a Reply. |
Archives
May 2022
Categories |