Arduino SA
  • Learn @ Arduino SA
  • Arduino Introduction
  • Support
    • Setup your Computer
    • Adding Libraries
    • Setting up a ESP32
  • Arduino Robot Car
    • Arduino Bluetooth Car
      • What you will need
      • Circuit Diagram
      • Assembly the Car
      • Upload the Code
      • Bluetooth setup and Test
    • 4WD Obstacle Avoidance
      • Introduction
      • Component List
      • Assembly
      • Component Description
      • Circuit Diagram
      • Computer Setup
      • Line Tracking Mode
      • Obstacle Avoidance Mode
  • Arduino Kits
    • Smart Plant Watering Kit
      • What you will need
      • Wiring Diagram
      • The Code
      • Pics
    • Basic Starter Kit
      • Component View
      • Installing the IDE
      • Add Libraries
      • Blink
      • Button Control LED Delay Switch
      • Active Buzzer
      • Passive Buzzer
      • Servo
      • IR Remote and Receiver
      • Stepper Motor
      • Eight LED with 74HC595
      • LCD
      • Digital tube with Traffic Light Experiment
      • Four digit tube display
      • LM35D Temperature Sensor
      • LDR 5516 experiment
      • Flame Sensor
      • 8 * 8 LED Module
      • Controlling Stepper Motor With Remote
    • Super Starter Kit
      • Tutorials
    • Best Beginner Kit for Arduino
      • Tutorials
    • Uno R3 RFID Kit
    • WIFI ESP32 IOT Kit
    • Arduino School STEM Kit
    • Arduino Ultimate Starter Kit
  • Blocking Coding Lessons
    • Beginner Lessons
      • Setting up mBlock
      • Blinking an LED
      • LED Switching
      • LED Chasing
      • Traffic Signal
      • Buzzer
      • Buzzer + Push Button
      • LED + Push Button
  • Sensor Kits
    • 37-in-1 Sensor Kit
      • Joystick
      • Relay
      • Big Sound
      • Small Sound
      • Tracking
      • Avoid
      • Flame
      • Linear Hall Sensor
      • Touch
      • Digital Temperature
      • Buzzer
      • Passive Buzzer
      • RGB LED
      • SMD RGB
      • Two-Color 5mm
      • Two Color 3mm
      • Reed Switch
      • Mini Reed
      • Heartbeat
      • 7 color flash
      • Laser emitter
      • PCB mounted push Button
      • Shock switch
      • Rotary encoder
      • Light Cup
      • Tilt Switch
      • Rolling ball tilt switch
      • Photoresistor
      • Temp and Humidity
      • Analog Hall
      • Hall Magnetic
      • Temp
      • Analog Temp
      • IR Emission
      • IR Receiver
      • Tap Module
      • Light blocking
Powered by GitBook
On this page
  • L298N Module
  • How does L298N module work?
  • HC-SR04 Module
  • How does ultrasonic obstacle avoidance work?
  • Four channel tracking module
  • How does Four channel tracking module work?

Was this helpful?

  1. Arduino Robot Car
  2. 4WD Obstacle Avoidance

Component Description

PreviousAssemblyNextCircuit Diagram

Last updated 3 years ago

Was this helpful?

L298N Module

  • Input voltage of logic part: 6 ~ 7V

  • Input voltage of drive part vs: 4.8 ~ 46v

  • Working current of logic part is: ≤ 36ma

  • Working current of driving part IO: ≤ 2A

  • Maximum dissipation power: 25W (t = 75 ℃)

  • Control signal input level: high level: 2.3V ≤ VIN ≤ vs low level:- 0.3V ≤ VIN ≤ 1.5V

  • Working temperature: - 25 ℃ ~ + 130 ℃

  • Driving mode: double channel high power H-bridge drive

How does L298N module work?

  1. ENA, ENB control enable

  2. Out1, Out2 and Out3, Out4 controls the motor,

  3. IN1, IN2, IN3, IN4 connect control level, control positive and negative rotation.

State
ENA
ENB
IN1
IN2
IN3
IN4

Stop

0

0

X

X

X

X

Break

1

1

0

0

0

0

Forward

1

1

1

0

1

0

Back

1

1

0

1

0

1

Left

1

1

0

0

1

0

Right

1

1

1

0

0

0

HC-SR04 Module

  • Electrical parameters - HC-SR04 Ultrasonic module

  • Working voltage - DC-5V

  • Working current - 15mA

  • Working frequency - 40KHz

  • Maximum range - 4m

  • Minimum range - 2cm

  • Measuring angle - 15°

  • Input trigger signal - 10 US TTL pulse

  • Output echo signal - Output TTL level signal, proportional to the range

  • Size - 45 * 20 *15

How does ultrasonic obstacle avoidance work?

  1. Transmitter (trigger pin) sending signal: high-frequency sound.

  2. When a signal finds an object, it is reflected.

  3. Receiver (echo pin) : Receives the signal reflected back from it

The HC-SR04 ultrasonic sensor detects how far ahead an obstacle has appeared.If there is an obstacle in your specified detection range, the car can make corresponding actions.For example, forward, back, turn left or turn right.

Four channel tracking module

Description
Value

Electrical parameters

Four channel tracking module

Working voltage

DC 3.3V-5V

Working current

1A

Working temperature

-10℃ to 50℃

Mounting aperture

M3

Detect distance

1mm to 60cm

Size

42*38mm

Output signal

TTL level

How does Four channel tracking module work?

The sensor belongs to infrared reflection detection, so the reflectivity and shape of the target is the key to the detection range. Among them, the black detection distance is the smallest and the white detection distance is the largest. Small area object distance is small, large area distance is big. Infrared detection method, that is, the use of infrared light in different colors of the object surface has different reflection intensity characteristics, in the process of the car constantly emitting infrared light to the ground, when the infrared light encounter white paper floor diffuse reflection, reflected light is installed in the car received by the receiving tube;If a black line is encountered, the infrared light is

Absorbed and the receiver tube on the car does not receive the infrared light. MCU on whether to receive the reflected infrared light as the basis to determine the location of the black line and car travel route.