I have a school project where I have to make a car park with a fully functional parking lot checking system.
The FSRs job is to detect any weight and send a signal to the raspberry pi that the parking lot is occupied. The signal should just contain the values 0 and 1.
0 = parking lot free
1 = parking lot occupied
I googled a lot and couldn't find any tutorial that could help me. I know that I have to use a breadboard with a MCP3008 and a Pi Cobbler to convert the analog signals into digital ones but I'm struggling with the values that should be sent to the pi. All the scripts that I've found are sending values from 0 to 1024 and are not used the way I want to use the square FSR.
I just don't know where to start and hope that someone can help me with this problem.