← Back to list

MY RC DRIVE PROJECT

PART 1

Dr. Alok Pratap · 2022-04-08 13:03 · 34 claps · 0.5 min read
#teensy #jetson-nano #l298n #motor #arduino
Open on Medium ↗
Wiki topics: 📟 · Gadgets & IoT

MY RC DRIVE PROJECT

PART 1

First, connect all the hardware wirings

On Jetson Nano, create a folder called “my_rc”

$ cd ~

$ mkdir my_rc

$ cd my_rc

$ mkdir src

$ cd src

$ catkin_create_pkg my_rc_drive rospy sensor_msgs geometry_msgs std_msgs

$ cd my_rc_drive

$ mkdir arduino

$ cd arduino

$ mkdir firmware

$ cd firmware

$ touch platformio.ini

$ vi platformio.ini

And input these:

[embed]

$ mkdir src

$ cd src

$ touch firmware.ino

$ vi firmware.ino

And enter these:

[embed]

$ python3 -m pip install -U platformio

$ cd ..

Go to the folder where platformio.ini is kept

Run:

$ platformio run — target upload

Once the firmware is uploaded, both rear wheels start moving forward for 5 seconds and then backward for 5 seconds, and so on.


메타데이터
post_id
10780f1af4e5
slug
my-rc-drive-project-10780f1af4e5
url
https://medium.com/@alokguy2004/my-rc-drive-project-10780f1af4e5
canonical_url
https://medium.com/@alokguy2004/my-rc-drive-project-10780f1af4e5
author_url
https://medium.com/@alokguy2004
status
ok
fetched_at
2026-07-27 07:13:47