Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO Force Sensing Resistor Pressure Sensor with Serial Output

View and Edit Project In Cirkit DesignerImage of Arduino UNO Force Sensing Resistor Pressure Sensor with Serial Output

Circuit Documentation

Summary

This circuit consists of a Force Sensing Resistor (FSR) connected to an Arduino UNO through a 10k Ohm resistor. The FSR's resistance changes with applied force, and this change is read by the Arduino UNO's analog input pin. The Arduino UNO then processes this data and outputs it via the serial monitor.

Component List

Resistor

Force Sensing Resistor

Arduino UNO

Wiring Details

Resistor

Force Sensing Resistor

Arduino UNO

Code Documentation

Arduino UNO Code

// Pin configuration
const int FSR_PIN = A0; // Connect FSR to A0
int fsrValue = 0;       // Variable to store FSR reading

void setup() {
  Serial.begin(9600); // Start serial communication
}

void loop() {
  fsrValue = analogRead(FSR_PIN); // Read the analog value from the FSR
  Serial.print("FSR Value: ");
  Serial.println(fsrValue); // Print the value to the Serial Monitor
  
  delay(500); // Delay for readability
}