Arduino Mega 2560 and Adafruit DS1841 Battery-Powered Sensor Interface
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes a 9V battery, resistors, electrolytic capacitors, an Arduino Mega 2560, and an Adafruit DS1841. The circuit is designed to demonstrate basic electronic principles and microcontroller interfacing.
Component List
9V Battery
- Description: Standard 9V battery
- Pins: -, +
Resistor
- Description: 200 Ohm resistor
- Pins: pin1, pin2
- Properties:
- Resistance: 200 Ohms
Electrolytic Capacitor
- Description: 1 µF electrolytic capacitor
- Pins: -, +
- Properties:
- Capacitance: 1 µF
Arduino Mega 2560
- Description: Microcontroller board based on the ATmega2560
- Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, AREF, SDA, SCL
Adafruit DS1841
- Description: I2C Digital Potentiometer
- Pins: GND, RW, RH, VCC, SCL, SDA, A0, A1
Wiring Details
9V Battery
- + Pin:
- Connected to:
- Resistor (pin1)
- Electrolytic Capacitor (+)
- Adafruit DS1841 (RH)
- Connected to:
- - Pin:
- Connected to:
- Resistor (pin2)
- Electrolytic Capacitor (-)
- Electrolytic Capacitor (-)
- Connected to:
Resistor (200 Ohms)
- pin1:
- Connected to:
- 9V Battery (+)
- Electrolytic Capacitor (+)
- Adafruit DS1841 (RH)
- Connected to:
- pin2:
- Connected to:
- Resistor (pin1)
- Electrolytic Capacitor (+)
- Arduino Mega 2560 (A3)
- Connected to:
Electrolytic Capacitor (1 µF)
- + Pin:
- Connected to:
- Resistor (pin1)
- 9V Battery (+)
- Adafruit DS1841 (RH)
- Connected to:
- - Pin:
- Connected to:
- Adafruit DS1841 (RW)
- Electrolytic Capacitor (+)
- Arduino Mega 2560 (A0)
- Connected to:
Arduino Mega 2560
- 5V Pin:
- Connected to:
- Arduino Mega 2560 (A5)
- Arduino Mega 2560 (D0 RX0)
- Adafruit DS1841 (VCC)
- Connected to:
- GND Pin:
- Connected to:
- Arduino Mega 2560 (A4)
- Arduino Mega 2560 (D1 TX0)
- Adafruit DS1841 (GND)
- Connected to:
- A0 Pin:
- Connected to:
- Electrolytic Capacitor (-)
- Adafruit DS1841 (RW)
- Electrolytic Capacitor (+)
- Connected to:
- A3 Pin:
- Connected to:
- Resistor (pin2)
- Resistor (pin1)
- Electrolytic Capacitor (+)
- Connected to:
- D21/SCL Pin:
- Connected to:
- Adafruit DS1841 (SCL)
- Connected to:
- D20/SDA Pin:
- Connected to:
- Adafruit DS1841 (SDA)
- Connected to:
Adafruit DS1841
- RH Pin:
- Connected to:
- Resistor (pin1)
- Electrolytic Capacitor (+)
- 9V Battery (+)
- Connected to:
- RW Pin:
- Connected to:
- Electrolytic Capacitor (-)
- Electrolytic Capacitor (+)
- Arduino Mega 2560 (A0)
- Connected to:
- VCC Pin:
- Connected to:
- Arduino Mega 2560 (5V)
- Arduino Mega 2560 (A5)
- Arduino Mega 2560 (D0 RX0)
- Connected to:
- GND Pin:
- Connected to:
- Arduino Mega 2560 (GND)
- Arduino Mega 2560 (A4)
- Arduino Mega 2560 (D1 TX0)
- Connected to:
Documented Code
Arduino Mega 2560 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