Step 3Wire the pressure sensors
Wire each sensor as shown below. Be CAREFUL when soldering the wires to the leads of the FSR's because if you melt the plastic you risk ruining the FSR. (I ruined one...so my fourth cup doesnt work :( . Test them using a simple bit of screen output code shown below:
int myCups [] = {0,1,2,3,4,5};
void setup(){
Serial.begin(9600);
}
void loop(){
Serial.prinln();
}
}
While this program is running just push on the sensors to make sure that they are working. Aren't they awesome! Wire everything to the breadboard and get ready to attach everything to a board!
Note that all 6 analog inputs available on the Arduino will be used for just these 6 sensors. There are many way to expand the analog inputs on an Arduino, but I would recommend using a 16:1 multiplexer giving you 16 analog inputs out of one (and 3 digital inputs).
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|

















































