Repository for the mice squat press system.
.
├── ADC - Python package for the MCP3201 ADC (used by dispenser, lx3302a)
├── dispenser - Python package for the dispenser
├── lx3302a - Python package for the LX3302A inductive sensor
├── pi - Database source code
└── tests - Testing scripts
Run install.sh to install all required dependencies.
''' ./install.sh '''
This system requires the LX3302AL012 50mm Linear Inductive Position Sensor and a Raspberry Pi 4. (Note: A Pi 5 will not work with pigpio)
Use female-to-female dupont jumper wires to connect:
| PI | LX3302A |
|---|---|
| Ground | Ground |
| 5v Power | +5v supply |
| GPIO 18 (pin 12) | IO 2 (SENT) |
Run run.sh to run the basic SENT reader.
./run.sh


