Arduino 101 Controlled Servomotor with Water Level Detection
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit is designed to control a Servomotor SG90 based on the readings from a Water Level Sensor, with an Arduino 101 serving as the central microcontroller. The Arduino 101 is powered by a 3xAAA Battery pack through a 2.1mm Barrel Jack with Terminal Block. The Water Level Sensor's signal is read through one of the analog pins on the Arduino, and the Servomotor is controlled via one of the PWM-capable digital pins. The circuit does not include any embedded code as none was provided.
Component List
Arduino 101
- Description: A microcontroller board based on the Intel Curie Module, designed for building IoT projects.
- Pins: A5/SCL, A4/SDA, AREF, GND, D13/SCK, D12/MISO, D11 PWM/MOSI, D10 PWM/SS, D9 PWM, D8, D7, D6 PWM, D5 PWM, D4, D3 PWM, D2, D1/TX, D0/RX, AIN, ioref, RESET, 3V3, 5V, VIN, A0, A1, A2, A3, ICSP MISO, ICSP SCK, ICSP MOSI.
Water Level Sensor
- Description: A sensor used to detect the level of water in an environment, typically used in tank level monitoring.
- Pins: SIG, VCC, GND.
Servomotor SG90
- Description: A small and lightweight servo motor capable of precise control.
- Pins: SIG, VCC, GND.
3xAAA Battery with Switch (bare wire)
- Description: A battery pack consisting of three AAA batteries with a switch, providing a portable power source.
- Pins: POS, NEG.
2.1mm Barrel Jack with Terminal Block
- Description: A connector that allows an external power supply to be connected to the circuit via a barrel jack.
- Pins: POS, NEG.
Wiring Details
Arduino 101
- 5V connected to Servomotor SG90 VCC.
- GND connected to Servomotor SG90 GND and Water Level Sensor GND.
- D9 PWM connected to Servomotor SG90 SIG.
- VIN connected to Water Level Sensor VCC.
- A1 connected to Water Level Sensor SIG.
Water Level Sensor
- SIG connected to Arduino 101 A1.
- VCC connected to Arduino 101 VIN.
- GND connected to Arduino 101 GND.
Servomotor SG90
- SIG connected to Arduino 101 D9 PWM.
- VCC connected to Arduino 101 5V.
- GND connected to Arduino 101 GND.
3xAAA Battery with Switch (bare wire)
- POS connected to 2.1mm Barrel Jack with Terminal Block POS.
- NEG connected to 2.1mm Barrel Jack with Terminal Block NEG.
2.1mm Barrel Jack with Terminal Block
- POS connected to 3xAAA Battery with Switch (bare wire) POS.
- NEG connected to 3xAAA Battery with Switch (bare wire) NEG.
Documented Code
No code was provided for the microcontroller in this circuit. To fully utilize the circuit's capabilities, embedded code for the Arduino 101 is required. The code should read the water level from the sensor and then control the servomotor based on the water level readings. Since no code is available, this section cannot be completed at this time.