Chat
Welcome to Flux
Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More
Reviews
Arduino Uno R3 Shield Template iChW
Properties
Properties describe core aspects of the project.
Pricing & Availability
Distributor | Qty 1 |
|---|
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.
amoreno
copilot
- Arduino Uno R3.
- Motor Driver Shield or Driver IC (e.g., L298N, L293D, or a motor driver shield).
- Two DC Motors.
- Power Supply (Battery).
- Wires and Connectors.
- Optional: Sensors (e.g., Ultrasonic for obstacle detection), LEDs, and other accessories.
Step-by-Step Connections Using a Motor Driver Shield- Stack the Motor Driver Shield onto the Arduino Uno R3.
- Connect the DC Motors to the motor outputs on the shield:
- Connect Motor 1's wires to
- Connect Motor 2's wires to
- Power Connections:
- Make sure the shield’s power requirements match your battery. Connect the battery’s positive lead to the
- Pin Assignments:
- On a motor driver shield, pins are often predefined. For example, a commonly used shield might assign pins D3, D5, D6, and D9 for motor control.
- Other Elements (Sensors or LEDs):
- For ultrasonic sensor (HC-SR04):
- VCC to
- GND to
- Trig to, for example,
- Echo to, for example,
Using a Motor Driver IC (e.g., L298N)M1outputs.M2outputs.Vinterminal on the motor shield and the negative lead to theGNDterminal.+5V.GND.D10.D11.- Motor Connections:
- Connect Motor 1’s wires to the
- Connect Motor 2’s wires to the
- Arduino to L298N Connections:
- Connect
- Connect
- Connect
- Connect
- Connect
- Connect
- Power Connections:
- Make sure the L298N module is powered properly. Connect the battery's positive lead to the
- Powering the Arduino:
- If the battery is in a suitable range (e.g., a 9V battery), you can use it to power the Arduino via the
Example CodeOUT1andOUT2terminals on the L298N.OUT3andOUT4terminals.ENA(Enable A) toD10on the Arduino.IN1toD6.IN2toD7.IN3toD8.IN4toD9.ENB(Enable B) toD11.12Vterminal on the L298N and the negative lead to theGND.Vinpin.M1andM2.VinandGND.OUT1andOUT2.OUT3andOUT4.ENAtoD10,IN1toD6,IN2toD7,IN3toD8,IN4toD9,ENBtoD11.12VandGND.