แสดงบทความที่มีป้ายกำกับ robot แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ robot แสดงบทความทั้งหมด

วันอาทิตย์ที่ 14 มกราคม พ.ศ. 2561

433 Mhz Module RC Car{No coding Rx}

      The instruction "433 Mhz Module RC Car{No coding Rx}" introduce how to build radio controlled car using 433 Mhz Rx module and L298N dual motor drive module.
       For the transmitter instruction,see "433 Mhz Module DIY Transmitter {Tx without code} "

Materials
3. Electrical 26 AWG wires






4. 1 - Battery 6-12 V. (Nicad/2s-Lipo/Alkaline)





5. 1 - RC car toy with dual motor(Driving and Steering)
6. 1 - L298N module
7. Female pin header (2.54 mm. pitch)
8. JST plug




Tools
1. Soldering gun
2. Soldering wire
3. Soldering paste
4. Screw driver
5. Plier
6. Hot glue gun
Electrical parts Installation


1.Connecting and soldering wires between each equipments as shown in the electrical circuit diagram.

L298N module pin to Rx module
ENA - Vcc
IN1 - D0
IN2 - D1
IN3 - D2
IN4 - D3
ENB - Vcc
MotorA - Driving motor
MotorB - Steering motor
Tx-Rx Binding Method
See video clip here

วันอาทิตย์ที่ 11 มิถุนายน พ.ศ. 2560

Bluetooth RC car controlled by Aduino via Android Application


       The instruction introduce to build a radio controlled car by Bluetooth connection with Arduino controller via Android application.

       The steering motor and driving motor are operated by TB6612FNG dual motor drive module.

Materials and Tools
Materials
1.RC car toy.









2.Arduino NANO









3.HC-06 Bluetooth module for Arduino.


4.TB6612FNG Dual H-Bridge motor drive module.













5.Dupont wires 


6. 2-LEDs(White for front light and Red for rear light)
 

7. 2-Resistor 1 kohm. 1/4 watt.













8.Piezo buzzer.













9.Diode 1N4004
10.IC Regulator 7805
11.Capacitor 22 microF.
12.Capacitor 47 microF.
13.DIY PCB












14.Wires


15.JST pig tail
16.Pin header
17.Shrink tube

18.Velcro
19.2s Lipo Battery 7.4 V.


Tools
1.Screw driver
2.Plier
3.Fixing material : screws
4.Soldering gun
5.Soldering wire
6.Soldering paste

Hardware assembly & Electrical wiring

1.Dismantle toy radio control board and cut some unuseful plastic for preparing DIY PCB space.
2.Install and solder Arduino NANO,Buzzer,TB6612FNG module on DIY PCB.
3.Install LEDs front and rear lights on car body.
4.Wiring all components together as circuit diagram.
Caution : Making good soldered ground,otherwise many false will appear.
Arduino pins to HC-06 :
0 - Tx
1 - Rx
2 - State
GND - GND
VCC - 5V supply

Arduino pins to TB6612FNG motor drive module :
12 - BIN2
11 - BIN1
10 - STBY
9 - AIN1
8 - AIN2
7 - backLights LED
6 - Buzzer positive+
5 - PWMB
4 - frontLights LED
3 - PWMA

TB6612FNG motor drive module :
VM - Battery positive+
GND - Battery ground - NANO's GND
A01 - Driving motor
B01 - Driving motor
A02 - Steering motor
B02 - Steering motor

The sketch code and Android application
Arduino sketch code :
1.Down load TB6612FNG library from SparkfunGithub and add to Arduino IDE.
2.Down load sketch.ino from Github.
2.Upload sketch to Arduino controller.(Before click upload ,it's necessary to take HC-06 Bluetooth 5V. power off)

Smart phone/Tablet Android application installation :
1.Open Google play store.
2.Install Arduino Bluetooth RC Car application on smart phone.
Bluetooth HC-06 with smart phone Connection :
1.Open Android setting to connect bluetooth device.
2.Pairing Bluetooth communication between smart phone and HC-06.
 2.1 Scan for device and make pairing.Default password of HC-06 is "1234".
 2.2 Open application and click Bluetooth connection button to connect to RC car.
 2.3 If communication complete,green light should appear.If communication does not complete,red light will blink.Try to pair device again.
3.Playing RC car ,testing every function.





วันจันทร์ที่ 20 กุมภาพันธ์ พ.ศ. 2560

How to Control Tracked Robot Via Joystick NRF24L01 Module Arduino Part2 Rx

 
 

      The instruction will describe the method how to build Receiver(Rx) on Tracked Robot for Transmitter(Tx) in the instruction "How to control Tracked Robot via  Joystick NRF24L01 Module Arduino Part1 Tx".
      More information : www.instructables.com 
Materials & Tools
Materials
1. 1 - Arduino controller - Nano










2. 1 - NRF24L01 module











3. 1 - Socket adapter for NRF24L01(For protect & stabilize NRF24L01 module)









4. 1 - LED 5 mm.


5. 1 - Resistor 1 kOhm. 1/4 watt.













6. 1 - Capacitor 0.1 microF /50V.













7. 1 - Capacitor 1 microF /50V.
8. 1 - Capacitor 100 microF /50V.
9. 1 - Diode 1N4001
10. 1 - 7805 IC Regulator 5V.
11. Dupont cable














12. Female pin header












13. 1 - L298N Arduino module











14. Electrical wires










15.Heat shrink tube 1.5 - 10 mm.








16. PCB - DIY circuit board



17. Battery Lipo 7.4 V. 500-1000 mAh








18. Velcro tape










19. Tamiya track and wheel set


20. Tamiya dual geared box


21. Tamiya plastic perforated plate


22. 2 - pairs of JST plug













Tools
1. Soldering gun.
2. Soldering wire.
3. Soldering paste.
4. Screw driver.
5. Plier.
6. Hot glue gun.
7. Miscellaneous screws ,bolts and nuts.
Electronic parts Installation
 

DIY PCB Building
Connecting electronic parts on PCB according to circuit diagram and solder them.


Arduino Nano pin to L298N
Pin No :
3 - ENA
4 - IN1
5 - IN2
6 - ENB
7 - IN3
8 - IN4
GND - GND of L298N
L298N module
Vcc - Battery positive pole
GND - Battery negative pole - GND of NANO
MotorA - Left motor
MotorB - Right motor
nRF24L01 module Socket Adaptor to Arduino Nano
Pin No :
Vcc - 5 V. supply (Do not connect 5V. directly to nRF24L01 module,it's supplied only 3.3V.)
GND - GND
CE - 9
CSN - 10
SCK - 13
MO - 11
MI - 12
IRQ - 2
*If you have communication problem,you can change connection from pin 13,11,12 to pin SCK,MOSI,MISO of Nano programming pins.
*It's necessary to add 0.1 microF to nRF24L01 module pin Vcc/GND because the module needs stable current and voltage.

Software Installation
Arduino sketch and Library :


1.Down load file .ino and library zip file GitHub.
2.Add library zip file to Arduino IDE.You will see new library RF24-master in Examples menu.
3.Before using new nRF24L01 modules,we shall burn the modules by uploading default sketch pingpair and GettingStarted for tuning up frequency otherwise it will has uncommunication problem.(Use another Arduino Nano and nRF24L01 modules for pairing)
4.After succeed matching the frequency ,we can upload Rx sketch  Rx_2CH_robot_V13_ NANO_for_remote_NANO_V2_public2 to Nano controller.
5.Test Receiver(Rx) with Transmitter(Tx).See serial monitor showing the print out data as attached video clip.