This is a university project for the peripheral course of CSE.
This project involves an Arduino-based system that uses various components such as a servo motor, ultrasonic sensor, and load cell. The system performs actions based on distance measurements from the ultrasonic sensor and weight measurements from the load cell.
- Servo Motor: Used to perform actions based on sensor input.
- Ultrasonic Sensor: Measures distance to detect objects.
- Load Cell: Measures weight to trigger actions based on weight thresholds.
- Distance Measurement: Uses an ultrasonic sensor to measure distance and trigger the servo motor when an object is within 20 cm.
- Weight Measurement: Uses a load cell to measure weight and trigger actions if the weight exceeds 400 grams.
- Calibration and Storage: Includes functionalities for calibration and storing calibration values in EEPROM.
The main logic of the project is implemented in main.ino. The setup function initializes the components, and the loop function continuously reads the sensor data and triggers the pingpong function based on the sensor readings.
- Upload the
main.inofile to your Arduino board. - Connect the components as described in the code comments.
- Run the project and observe the actions based on distance and weight measurements.
This project is licensed under the MIT License - see the LICENSE file for details.
Special thanks to the university for providing the resources and guidance for this project.