Pure Software code
 
www.puresoftwarecode.com

SOFTWARE Institute
Teach YourSelf
125 Software Programming Training Courses
For Free Download


CHRISTIANITY Institute
HUMANITIES Institute
Art Institute

All more the 500 Subjects, All for Free Download.
Lebanon  
Robot Car 4WD with Arduino, Assembly
 
 
  Home :  Chapter 1: 4WD Robot Car, Assembly                                                             Home
 

 

The Chapters :       1  2   3   4   5   6 
 

Chapter 1: 4WD Robot Car, Assembly.

 
 
 
  1- Introducing the Multi-Functional 4WD Robot Car
 
 
  Multi-functional smart car is an educational Kit based on a development system of microcontroller, It is a four-wheel drive car. The kit includes large-size chassis plates cut from acrylic and designed with numerous holes and mounting points, providing plenty of space to mount a PCB board and any additional components
   The kit’s compatibility with Arduino, to explore coding and automation,
 
 
 
 
 
 
  2- Components List of the Multi-Functional 4WD Robot Car
 

  Types Qty
1- UNO R3 1pcs
2- V5.0 Expansion board 1pcs
3- L298N motor driver board 1pcs
4- BO Motor 4pcs
5- Line tracking module 3pcs
6- Servo motor 1pcs
7- Ultrasonic Sensor 1pcs
8- Servo motor fixed plate + Ultrasonic holder 1pcs + 1pcs
9- IR Receiver Module 1pcs
10- Remote 1pcs
11- Bluetooth module 1pcs
12- Battery Case + Lithium-ion battery 1pcs + 2pcs
13- Acrylic plates 2pcs
14- Wheel 4pcs
15- USB cable 1pcs
16- 40pin F-F dupont wire 1pcs
17- Aluminium Block 4pcs
18- Screw bog  
19- Screwdriver 1pcs
20- Black tape 1pcs

 
  3- Detailed Process of Assembling Multi-Functional 4 Wheel Drive Robot Car
 
  3.1- First Video, Detailed Process Of Assembling Multi-Functional 4 WD Robot Car

 
  3.2- Watch Video on Youtube, Arduino Smart Car, Assembling  - Part 1   السيارة الذكية - التركيب والتوصيل، الدرس 32 - الجزء 1   -   للمهندس حمزة عمار
 
  3.3- by Photos, Detailed Process Of Assembling Multi-Functional 4 WD Robot Car
 
  3.3.1- Part I Assembly Of Wheels, Motors And Tracking Sensors
   
 3.3.1.1- First, we solder the red and black power wires to the motor, and the soldering position remains uniform  3.3.1.2- After soldering, connect the fixing post of the motor to the motor with long screws and nuts.

connect the fixing post of the motor

   
 3.3.1.3- Note that the motor should be installed with the same direction as shown in the figure below, fixed with screws  3.3.1.4- Mount the wheel to the motor

motor installed

Mount the wheel

   
 3.3.1.5- Next, install 3 tracing modules in front of the car.
                Each sensor requires a short copper post and two plastic spacers.
               This is to shorten the distance between the sensor and the ground, and the data obtained is more accurate.
              This is to shorten the distance between the sensor and the ground, and the data obtained is more accurate.
 3.3.1.6- Complete the first part.

install tracing modules

first part

   
 
 3.3.2- Part II Installing The Motor Drive Module
   
 3.3.2.1- The motor drive module should be mounted on the opposite side of the motor.
          Find two holes, use two plastic spacers under the board, and then fix them with screws and nuts.
 3.3.2.2- Complete the second part.

motor drive module

4WD Robot Car

   
 
 3.3.3- Part III Installation Of Steering Gear And UNO Board
   
 3.3.3.1- Install the rudder turntable on the steering gear, then fix it to the black bracket and tighten with 5 small screws.
                Note: Turn the servos by hand so that the 90° position is facing forward and then fixed.
 3.3.3.2- Install the brackets on the left and right sides of the servo, align the raised positions of the servo, and use two screws to fix the sides of the bracket.

installed servos

servo bracket

   
   
 3.3.3.3- Attach the ultrasonic sensor to the servo holder using two zip ties.
                Fix the steering base to the front of the upper acrylic plate with thin long screws and nuts
 3.3.3.4- nstall Arduino and expansion board

ultrasonic sensor to the servo

Arduino expansion board

   
 3.3.3.5- Install the receiver module of the infrared remote control next to the servo.  

receiver module

 
   

the Multi-Functional 4 Wheel Drive Robot Car, Assembly
 
 
  4- Sensor Shield V5.0 Sensor Expansion Board for Arduino
 
 
 The Arduino I/O Expansion Shield provides an easy way to connect sensors, servos and RS485 device to Arduino board. It expands Arduino’s Digital I/O and Analog Input Pins with Power and GND. It also provides separate PWM Pins which are compatible with standard servo connector. Another unique feature is that the I/O shield has a build-in RS485 converter which allows Arduino communicating with RS485 devices. The communication socket provides an extremely easy way to plug a wireless module such as APC220 RF module and DF-Bluetooth module. It has an individual power input for Servos. A servo power jumper allows user to select using external power or internal power to drive the Servos.

Specification:

PIN13 LED Pilot
Digital IO Ports D0-D13
Analog IO Ports A0-A5
Reset Button
Power In
Power LED
SD Card Interface
Ultrasonic Interface
RS232 Interface(TTL)
Bluetooth Interface
APC220 Interface
IIC Interface
12864 LCD Parallel Interface
12864 LCD Serial Interface
Sensor Shield V5.0 Functional Diagram
 
 

  5- the Wirning Connections of Multi-Functional 4 Wheel Drive Robot Car

 

 

 5.1- Multi-Functional 4 WD Robot Car, Wiring powering

 

 5.2- Multi-Functional 4 WD Robot Car, Wiring of Motors

 

 5.3- Multi-Functional 4 WD Robot Car, Wiring Final

 
 

  6- Arduino pin connection tables of Multi-Functional 4 Wheel Drive Robot Car

 
     
   
          Resume   -   all Arduino pin connection table of Multi-Functional 4 Wheel Drive Robot Car

     
     
 6.1-     L298N Motor Driver Module
   
      L298N Motor Driver Module is a high power motor driver module for driving DC and Stepper Motors. This module consists of an L298 motor driver IC and a 78M05 5V regulator. L298N Module can control up to 4 DC motors, or 2 DC motors with directional and speed control.
     
     NOTES:
    1- Motor Enable Pins (Speed Control)
      ENA & ENB are the motor output enable pins for Motor1 & Motor2 respectively. Those pins are used for motor speed control and they should be connected to PWM output pins on the Arduino board. - (ENA - Spinning speed for motor A (PWM), ENB - Spinning speed for moto rB (PWM))
Voltage regulator
The module includes 5V regulator that can be enabled/disabled using a jumper:
With jumper: the regulator is enabled and +5V pin acts as output. It can be used to power an Arduino or other circuitry that needs 5V power.
Without jumper: the regulator is disabled and +5V pin acts as input, expecting 5V to be supplied.
 
    2- Motor Direction Control Pins
       IN1 & IN2 are the Motor1 direction control pins. By setting or clearing those pins we can control the direction of rotation for Motor1 (Channel1).
       IN3 & IN4 are the Motor2 direction control pins. By setting or clearing those pins we can control the direction of rotation for Motor2 (Channel2).
     
6.2-      Line Tracking module
   
       Line Tracking module is an infrared sensor that detects whether the surface in front of it is reflective or opaque. Sensitivity to ambient light can be adjusted using the knob to achieve a fairly accurate reading.
     
6.3-      Servo motor
   
     Steering gear is a Servo motor that moves the ultrasonic sensor from left to right
     
6.5-     Ultrasonic distance sensor
   
      Ultrasonic distance sensor, which consists of a transmitter and receiver. The sensor measures how far things are without touching them, and it uses sound waves to get the measurements right. It can work well when things are between two to four centimeters away.
     
6.6-     IR Receiver Module
   
      IR Receiver Module detects infrared (IR) in the spectrum commonly used for IR remote control or IR intrusion sensors.
     
6.7-    Bluetooth module
   
      Bluetooth module is a basic circuit set of chip which integrated Bluetooth functions and which can be used in wireless network transmission. Generally, the Bluetooth module can be divided into the following types: data transmission module, remote control module, etc
     
 

  7- Graphical Programming Kit for Arduino, Mixly Software

 
 
7.1-   The Graphical approach to programming allows a computer to process spatial representations in two or more dimensions. In contrast to text-based programming, which uses lines of code, graphical programming replaces text with pictures or symbols of physical things.

  Graphical programming provides an approach that's more intuitive and less cumbersome for some programmers. It also can be a more effective way to introduce computer programming to visual learners.

  Graphical programming is often called visual programming or Visual Programming Language (VPL).
   
7.2- Mixly is a free open-source graphical programming software for Arduino, based on Google’s Blockly graphical programming framework, and developed by Mixly Team@ BNU.

 Download the Mixly software for windows from the link below : https://fs.keyestudio.com/WINMixly
   
7.3- Downloaded the Mixly software package, you should get it as below:
 
 
 1- Unzip the package, you can see the Mixly application icon.
   
 2- Double click the Mixly icon to open the software; you should get the pop-up interface shown below.
   
 3- Interface Functions ...
   
 
The Chapters :      1  2   3   4   5   6 
 
 www.puresoftwarecode.com  :  CHRISTIANITY Institute  HUMANITIES Institute  ART Institute & Others
 SOFTWARE Institute - "All Courses Free"    History of the MARONITES in Arabic  Basilica Architecture, in the Shape of a Cross

 Python, Teach yourSelf  Programs in 6 pages

 Holy BIBLE in 22 Languages and Studies ...  Le HANDICAP c'est quoi ?   (in French)  
 VISUAL STUDIO 2019, C# Programs, in English  220 Holy Christian ICONS  Drugs and Treatment in English, french, Arabic  Old Traditional Lebanese houses
 VISUAL STUDIO 2010 in English  Catholic Syrian MARONITE Church   Classification of Wastes from the Source in Arabic  5 DRAWING Courses & 3 Galleries
 VISUAL STUDIO .NET, Windows & ASP in En  HOLY MASS of  Maronite Church - Audio in Arabic  Christianity in the Arabian Peninsula in Arabic  Meteora, Christianity Monasteries - En, Ar, Fr
 VISUAL STUDIO 6.0 in English  VIRGIN MARY, Mother of JESUS CHRIST GOD  Summary of the Lebanese history in Arabic  Monasteries of Mount Athos & Pilgrimage
 Microsoft ACCESS in English  SAINTS of the Church  LEBANON EVENTS 1840 & 1860, in Arabic  Carved Rock Churches, Lalibela - Ethiopia
 PHP & MySQL in English  Saint SHARBEL - Sharbelogy in 10 languages, Books  Great FAMINE in LEBANON 1916,  in Arabic   4 Different STUDIES
 SOFTWARE GAMES in English  Catholic RADIO in Arabic, Sawt el Rab  Great FAMINE and Germny Role 1916,  in Arabic   SOLAR Energy & Gas Studies
 WEB DESIGN in English  Saint SHARBEL Family - Evangelization  Armenian Genocide 1915  in Arabic  Personal Protective Equipment
 JAVA SCRIPT in English  Читать - БИБЛИЯ и Шарбэль cвятой, in Russe  Sayfo or Assyrian Genocide 1915 in Arabic  WELCOME to LEBANON
 FLASH - ANIMATION in English  Apparitions of  Virgin Mary - Ar  Christianity in Turkey in Arabic  YAHCHOUCH, my Lebanese Village
 PLAY, 5 GAMES  Neocatechumenal Way   Prononce English and French and Arabic Letters  ZOUEIN, my Family - History & Trees
 Multi-Functional 4 Wheel Drive Robot Car              New  Holy BIBLE, for the Maronite Liturgical Year  Andree Zouein Foundation  
 HERMEZ Steel, Steel  Decor Artwork  Holy BIBLE, according to Maronite Calendar, (2023)  GIGI  L'AMOROSO Fashion and Jewellery   my PRODUCTS, and Statistiques ...
 SAADEH BEJJANE Architecture  Holy BIBLE, Online Translation in 133 Languages  Josette Zoueïn. Psychanalyste Psychologue  REPORT, Cyber Attack Attacks the Current Site
CARLOS SLIM HELU Site.  new design      
       Chucri Simon Zouein, Computer engineer
     
echkzouein@gmail.com
© pure software code - Since 2003