EasyManua.ls Logo

Freenove 4WD Smart Car Board for Raspberry Pi User Manual

Default Icon
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #88 background imageLoading...
Page #88 background image
Need support? support.freenove.com
84
Chapter 4 Light tracing Car
Chapter 4 Light tracing Car
If you have any concerns, please feel free to contact us via support@freenove.com
Description
The light-tracing function of the car mainly uses a photoresistor. The car has two photoresistors located on
the left and right sides at the front to detect light
A photoresistor is a resistor based on the photoelectric effect of the semiconductor. The resistance changes
with the intensity of the incident light. With the incident light intensity increasing, the resistance decreases.
With the incident light intensity decreasing, the resistance increases.
And the change of the resistance value also causes voltage applied to the photoresistor changes. According
to the change of voltage, the position of the light to the car will be detected, and then make the car move
corresponding action to trace light.
Put your car in a darker environment.
Run program
If the terminal displays the directory as below, you can directly execute the Light.py command.
1. If not, execute the cd command:
cd ~/Freenove_4WD_Smart_Car_Kit_for_Raspberry_Pi/Code/Server
2. Run Light.py:
sudo python Light.py
You can press "Ctrl + C" to end the program.
Question and Answer IconNeed help?

Do you have a question about the Freenove 4WD Smart Car Board for Raspberry Pi and is the answer not in the manual?

Freenove 4WD Smart Car Board for Raspberry Pi Specifications

General IconGeneral
Drive Type4WD
Motor TypeDC Gear Motor
Wireless CommunicationWi-Fi
Motor Channels4
Servo Channels2
Servo Voltage5V
CompatibilityRaspberry Pi
Power Supply6V-12V
Programming LanguagePython
SensorsUltrasonic Sensor
Input Voltage7V-12V
Onboard InterfacesGPIO, I2C, UART

Summary

Welcome and Introduction

About Battery Information

Refers to a separate document for battery details.

Get Support and Offer Input

Provides contact information for technical assistance and feedback.

Safety and Precautions

Lists essential safety guidelines for product usage and handling.

About Freenove

Company Overview and Copyright

Describes the company's mission and intellectual property notices.

Parts List

Smart Car Board Components

Details the main control board of the 4WD Smart Car.

Machinery and Transmission Parts

Lists screws, nuts, motors, wheels, and related hardware for assembly.

Electronic Parts, Tools, and Self-Prepared Items

Lists sensors, tools, and components the user must provide.

Preface

Raspberry Pi Introduction

Explains the role and features of the Raspberry Pi in the project.

GPIO Pinout and Usage

BCM GPIO Numbering

Details the Broadcom SOC channel numbering for GPIO pins.

Physical and WiringPi GPIO Numbering

Explains alternative GPIO numbering schemes: physical and WiringPi.

Chapter 0: Raspberry Pi Preparation

System Installation and Components

Guide to installing the Raspberry Pi OS and required hardware.

Remote Access Setup

Instructions for configuring VNC and remote desktop access.

Chapter 1: Software Installation and Testing

Code Setup and Library Installation

Downloading project code and installing necessary Python libraries.

Interface Configuration

Enabling I2C and VNC interfaces on the Raspberry Pi.

Library Installation Program

Running the script to install all required software libraries.

Chapter 2: Assemble Smart Car

Mechanical Assembly Steps

Step-by-step guide to building the car's chassis and attaching components.

Module Installation Guide

Instructions for installing sensors like line tracking and camera modules.

Chapter 3: Module Testing

Motor and Sensor Testing

Verifying the functionality of motors, ADC, and line tracking sensors.

LED, Buzzer, Servo, and Camera Testing

Testing LEDs, buzzer, servos, ultrasonic, and camera modules.

Chapter 4: Light Tracing Car

Light Tracing Functionality

Explains how the car uses photoresistors to detect and follow light.

Chapter 5: Ultrasonic Obstacle Avoidance Car

Obstacle Avoidance Functionality

Details how the car uses ultrasonic sensors for navigation.

Chapter 6: Infrared Line Tracking Car

Line Tracking Functionality

Explains how the car follows a line using infrared sensors.

Chapter 7: Smart Video Car

Server and Client Setup

Instructions for setting up the server on Raspberry Pi and the client.

Remote Access Clients

Guides for running clients on Windows, macOS, and Raspberry Pi.

Troubleshooting Common Issues

Car Malfunctions and Solutions

Diagnosing and resolving common problems with the car's operation.

Mobile App Control

Android and iOS App Guide

Instructions on downloading and using the mobile application for control.

Free Innovation and Custom Programming

Writing Your Own Programs

Guidance on developing custom code for the smart car.