Arduino 101 Battery-Powered Robotic Vehicle with Distance Sensing
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino 101 microcontroller, a VL53L0X V2 distance sensor, a power jack, a 2x 18650 battery pack, an L298N DC motor driver, and two gear motors with integrated encoders. The circuit is designed to control the motors using the Arduino and measure distances using the VL53L0X sensor.
Component List
Arduino 101
- Description: A microcontroller board based on the Intel Curie module.
- 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
VL53L0X V2
- Description: A time-of-flight distance sensor.
- Pins: vcc, GND, scl, SDA, SPI01, XSHUT
Power Jack
- Description: A standard power jack for connecting external power.
- Pins: POSITIF, NEGATIF
2x 18650 Battery Pack
- Description: A battery pack holding two 18650 batteries.
- Pins: vcc, gnd
L298N DC Motor Driver
- Description: A dual H-Bridge motor driver.
- Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
Gear Motor with Integrated Encoder (Motor 1)
- Description: A gear motor with an integrated encoder for feedback.
- Pins: MOTOR -, MOTOR+, Encoder -, Encoder +, Encoder A, Encoder B
Gear Motor with Integrated Encoder (Motor 2)
- Description: A gear motor with an integrated encoder for feedback.
- Pins: MOTOR -, MOTOR+, Encoder -, Encoder +, Encoder A, Encoder B
Wiring Details
Arduino 101
- A5/SCL connected to VL53L0X V2 scl
- A4/SDA connected to VL53L0X V2 SDA
- D7 connected to L298N DC Motor Driver ENB
- D6 PWM connected to L298N DC Motor Driver ENA
- D5 PWM connected to L298N DC Motor Driver IN4
- D4 connected to L298N DC Motor Driver IN3
- D3 PWM connected to L298N DC Motor Driver IN2
- D2 connected to L298N DC Motor Driver IN1
- 5V connected to VL53L0X V2 vcc and L298N DC Motor Driver 5V
- GND connected to VL53L0X V2 GND and L298N DC Motor Driver GND
VL53L0X V2
- scl connected to Arduino 101 A5/SCL
- SDA connected to Arduino 101 A4/SDA
- vcc connected to Arduino 101 5V
- GND connected to Arduino 101 GND
Power Jack
- POSITIF connected to 2x 18650 Battery Pack vcc
- NEGATIF connected to 2x 18650 Battery Pack gnd
2x 18650 Battery Pack
- vcc connected to Power Jack POSITIF
- gnd connected to Power Jack NEGATIF
L298N DC Motor Driver
- ENB connected to Arduino 101 D7
- ENA connected to Arduino 101 D6 PWM
- IN4 connected to Arduino 101 D5 PWM
- IN3 connected to Arduino 101 D4
- IN2 connected to Arduino 101 D3 PWM
- IN1 connected to Arduino 101 D2
- 5V connected to Arduino 101 5V
- GND connected to Arduino 101 GND
- OUT1 connected to Gear Motor with Integrated Encoder (Motor 1) MOTOR+
- OUT2 connected to Gear Motor with Integrated Encoder (Motor 1) MOTOR-
- OUT3 connected to Gear Motor with Integrated Encoder (Motor 2) MOTOR+
- OUT4 connected to Gear Motor with Integrated Encoder (Motor 2) MOTOR-
Gear Motor with Integrated Encoder (Motor 1)
- MOTOR+ connected to L298N DC Motor Driver OUT1
- MOTOR- connected to L298N DC Motor Driver OUT2
Gear Motor with Integrated Encoder (Motor 2)
- MOTOR+ connected to L298N DC Motor Driver OUT3
- MOTOR- connected to L298N DC Motor Driver OUT4
Code
No code is provided for this circuit.