Arduino
Arduino
Battery types
lead-acid batteries are cheap and durable, but they are heavy and have a low energy
density. LiPo batteries are light and have a high energy density, but they are
expensive and require careful handling and charging.
2
Battery specifications
capacity is the amount of charge that the battery can store, measured in ampere-
hours (Ah) or milliampere-hours (mAh). The higher the capacity, the longer the
battery can run, but also the heavier and larger it will be.
3
Battery calculations
the total amount of power drawn from the battery, measured in watts (W), as well as
the duration that your robot can operate on a single charge, measured in hours (h)
or minutes (min).
the physical dimensions of the battery, measured in millimeters (mm) or inches
(in), as well as its mass, measured in grams (g) or ounces (oz).
optimal balance between performance, efficiency, and cost for your robotics system.
___________________________________________________________________________________
___________________________________________________________________________________
_____
Multiple Batteries
Check the nominal voltage of each of the products you selected:
Electronics (microcontroller, motor controller power, etc) usually operate at 9V-
12V. Some operate at low as 3.3V and 5V.
Actuators (DC gear motors, stepper motors, servos, etc) usually operate at 6V to
12V. A few operate as low as 3V
Sensors usually operate 5V
Discharge Rate
The continuous discharge rate of a battery is very important because if you choose
a battery that cannot discharge at the required current, the robot will either not
work properly or not work at all.
___________________________________________________________________________________
___________________________________________________________________________________
_____
LDR (Light Dependent Resistor) An LDR is a type of resistor that changes its
resistance in response to changes in light intensity. It is often used in
applications where light detection is required, such as in photodiodes, optical
sensors, and light-sensitive circuits. The resistance of an LDR decreases as the
light intensity increases, allowing it to be used as a variable resistor.
Pull-up Resistor
A Pull-up resistor is a type of resistor used to pull a digital input pin to a high
logical level (usually 5V) when there is no input signal. This is achieved by
connecting the resistor between the input pin and the power supply voltage (Vcc).
The Pull-up resistor ensures that the input pin is always in a known state,
preventing it from floating or being affected by external noise.
Pull-down Resistor
A Pull-down resistor is a type of resistor used to pull a digital input pin to a
low logical level (usually 0V) when there is no input signal. This is achieved by
connecting the resistor between the input pin and ground (GND). The Pull-down
resistor ensures that the input pin is always in a known state, preventing it from
floating or being affected by external noise.
Applications
LDR: Photodiodes, optical sensors, light-sensitive circuits.
Pull-up Resistor: Digital circuits, microcontrollers, and embedded systems.
Pull-down Resistor: Digital circuits, microcontrollers, and embedded systems.
___________________________________________________________________________________
___________________________________________________________________________________
______________________
Types of Sensors
Temperature Sensors: These detect temperature changes and are used in HVAC systems,
weather stations, and industrial processes.
Humidity Sensors: Measure humidity levels in the air. Found in weather stations,
HVAC systems, and industrial applications.
Gas Sensors: Detect the presence of specific gases in the environment. Used in
industrial safety, environmental monitoring, and air quality control.
Force Sensors: Measure the force applied to them. Common in industrial automation
and robotics.
Pulse Width Modulation (PWM): Servo motors receive PWM signals to determine their
position. The duty cycle of the PWM signal determines the position of the servo
motor's shaft.
Timing: Typically, servo motors require a PWM signal with a frequency of around 50
Hz. The width of the high pulse (typically between 1 ms to 2 ms) within each cycle
determines the position of the servo motor shaft.