How to Control Tracked Robot Via 3-Channel RC Transmitter + Arduino

2,593

31

9

This instruction introduces how to control Tracked robot via 3-Channel 2.4G Transmitter-Flysky's protocol by using arduino controller to read receiving code to transform command to control L298N dual motors driver module.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Materials & Tools

Materials

1. 1 - Arduino controller - Nano

2. 1 - 3-Channel 2.4G Receiver Flysky FS-GR3B or HK-GT2R

3. 1 - 3-Channel 2.4G Transmitter Flysky FS-GT3C or other 3-CH Flysky Transmitter

4. L298N dual motor drive module

5. Tamiya track and wheel set

6. Tamiya dual geared box

7. Tamiya plastic perforated plate

8. Dupont wires

9. Female pin header

10. Dupont Jumper Cable Housing Male Pin Connector

11. Dupont Jumper Cable Housing Female Pin Connector

12. Male JST Battery Pigtail

13. Heat shrink tube 1.5 - 10 mm.

14. PCB - DIY circuit board

15. Velcro tape

16. Battery Lipo 7.4 V. 1000 mAh

Tools

1. Soldering gun.

2. Soldering wire.

3. Soldering paste.

4. Screw driver.

5. Plier.

6. Hot glue gun.

7. Epoxy glue.

Step 2: Parts & DIY PCB Installation

DIY PCB Building

Connecting and soldering electronic parts on DIY. PCB according to circuit diagram.

Arduino Nano pin to L298N Pin No :

D3 - ENA

D4 - IN1

D5 - IN2

D6 - IN3

D7 - IN4

D8 - ENB

Arduino Nano pin to Flysky receiver Pin No :

A0 - CH1

A1 - CH2

A2 - CH3

Step 3: Software Installation

Arduino sketch and Library :

1.Down load sketch from GitHub.

2.Upload sketch to Ardunio Nano.

3.Test the Tracked robot.If the wiring connection was well done.It should work fine.

Be the First to Share

    Recommendations

    • CNC Contest

      CNC Contest
    • Make it Move

      Make it Move
    • Teacher Contest

      Teacher Contest

    9 Discussions

    0
    None
    HristoB

    1 year ago

    Would this work with Hobbyking HR-TR6? Is there any decoding to do on Rx side or since it comes from the same manufacturer it uses the same protocol. Great project, thank you for sharing

    2 replies
    0
    None
    nipon4666HristoB

    Reply 1 year ago

    You can download 8 channels receiver decoding sketch here https://github.com/Nipont4666/3-Channel-Transmitter-control-Tracked-Robot-Project/blob/master/sketch_frsky_receiver_decode_v2.ino

    0
    None
    vinderoed12

    1 year ago

    Hey Nippon 4666 iam would like too do the same projekt like you.

    but useing the mega moto shield( VNH2SP30) by keyes. no good for codes.

    iam more in too building

    can you hint me what pins too use

    kind regards Tom Jensen

    1 reply
    0
    None
    krish420

    2 years ago

    Great project.. But it says compilation error return value is not zero. How can i fix it?

    2 replies
    0
    None
    nipon4666krish420

    Reply 2 years ago

    I think you use latest software version.Let's try 1.0.6 ver.

    0
    None
    Droxz

    2 years ago

    Nice build and thanks for sharing :)