Arduino UNO Battery-Powered Temperature and Current Monitoring System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with an INA219 current sensor and an MKE-S15 DS18B20 waterproof temperature sensor. The circuit is powered by a 3.7V battery and includes resistors for proper operation. The Arduino UNO is programmed to read data from the sensors and perform necessary operations.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
MKE-S15 DS18B20 Waterproof Temperature Sensor
- Description: A digital temperature sensor with a waterproof probe.
- Pins: SIG, 5V, GND
INA219
- Description: A current sensor that can measure both current and voltage.
- Pins: VCC, GND, SCL, SDA, VIN -, VIN +
3.7V Battery
- Description: A rechargeable lithium-ion battery.
- Pins: +, -
Resistor (200 Ohms)
- Description: A resistor with a resistance of 200 Ohms.
- Pins: pin1, pin2
Resistor (4700 Ohms)
- Description: A resistor with a resistance of 4700 Ohms.
- Pins: pin1, pin2
Wiring Details
Arduino UNO
- 5V: Connected to VCC of INA219, 5V of MKE-S15 DS18B20, and pin2 of 4700 Ohms resistor.
- GND: Connected to GND of INA219, - of 3.7V battery, GND of MKE-S15 DS18B20, and pin2 of 200 Ohms resistor.
- A4: Connected to SDA of INA219.
- A5: Connected to SCL of INA219.
- D2: Connected to SIG of MKE-S15 DS18B20 and pin1 of 4700 Ohms resistor.
MKE-S15 DS18B20 Waterproof Temperature Sensor
- 5V: Connected to 5V of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
- SIG: Connected to D2 of Arduino UNO and pin1 of 4700 Ohms resistor.
INA219
- VCC: Connected to 5V of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
- SDA: Connected to A4 of Arduino UNO.
- SCL: Connected to A5 of Arduino UNO.
- VIN -: Connected to pin1 of 200 Ohms resistor.
- VIN +: Connected to + of 3.7V battery.
3.7V Battery
- +: Connected to VIN + of INA219.
- -: Connected to GND of Arduino UNO.
Resistor (200 Ohms)
- pin1: Connected to VIN - of INA219.
- pin2: Connected to GND of Arduino UNO.
Resistor (4700 Ohms)
- pin1: Connected to SIG of MKE-S15 DS18B20 and D2 of Arduino UNO.
- pin2: Connected to 5V of Arduino UNO.
Documented Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt