Jump to content
  • I got this robot chase and I wanted to make a program for this that would allow for the independent control of each tread. Would I need to buy a separate board in order to do this? If so, which ones would you recommend? If not, what pins on the Raspberry Pi would you recommend I use?

https://www.amazon.com/dp/B0CPJFY3BS?ref=ppx_yo2ov_dt_b_fed_asin_title

Link to comment
https://linustechtips.com/topic/1626095-rc-tank-programing/
Share on other sites

Link to post
Share on other sites

42 minutes ago, Thomas53 said:

No, you just need a gearbox that lets you control each tread separately. Just go to a good hobby shop, especially one that sells a lot of RC parts and inquire ther, as there are a few different ones available. 

i would just use two motors and speed controllers to do this. Not sure if that's what you meant by gearbox or not lol

 

as for control on the Pi, ESC (electronic speed controllers) work on a variety of inputs, but using PWM is probably one of the easiest ways to control them. The ESc's take power direct from the battery, and signal from the Pi

Link to comment
https://linustechtips.com/topic/1626095-rc-tank-programing/#findComment-16822511
Share on other sites

Link to post
Share on other sites

What the gearbox does is to power each tread separately which allows you to control turning easier, and allows you to make extremely sharp turns by being able to run each tread not only at separately and even allow for one to either not run or run in the opposite direction in order to make sharper turns or operate at different speed when running on non-even surfaces in order to run in a straighter line.

 

You won't necessarily need to use two motors, as the gearbox allows you to use one motor to control both treads and you'll also only to need one speed controller as a dual stick controller eliminates the the need. But two motors will make things a lot easier.

Link to comment
https://linustechtips.com/topic/1626095-rc-tank-programing/#findComment-16822519
Share on other sites

Link to post
Share on other sites

5 minutes ago, Greenbell7 said:

It came with two motors in it already. I’d kind of like to use those. 

2 motors and 2 ESC's should work fine using a Pi. Not sure what youre using for control, but if it's a radio, they often allow for 'mixing' so all movement could be controlled on one stick, allowing for forward/back and turns on one stick if desired.

Link to comment
https://linustechtips.com/topic/1626095-rc-tank-programing/#findComment-16822525
Share on other sites

Link to post
Share on other sites

It seems to already come with a driver board?

They show it controlled via i2c so you'd use an i2c port of whatever controller you want, then write software to send it the right commands.

Seems there may be other options to drive it too like serial, need to read the driver's documentation. 

 

image.jpeg.6aca124d8ead3a52b374b314e0bb020c.jpeg

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
https://linustechtips.com/topic/1626095-rc-tank-programing/#findComment-16822623
Share on other sites

Link to post
Share on other sites

3 hours ago, Kilrah said:

It seems to already come with a driver board?

They show it controlled via i2c so you'd use an i2c port of whatever controller you want, then write software to send it the right commands.

Seems there may be other options to drive it too like serial, need to read the driver's documentation. 

 

image.jpeg.6aca124d8ead3a52b374b314e0bb020c.jpeg

Here is the documentation they included in Google Drive if it helps. 

 

https://drive.google.com/drive/mobile/folders/1dkflQOhRtjbGFmN6Wwg76pJ-LJk0xecV?usp=sharing 

Link to comment
https://linustechtips.com/topic/1626095-rc-tank-programing/#findComment-16822713
Share on other sites

Link to post
Share on other sites

Any actual question? Seems you have all you need already. 

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
https://linustechtips.com/topic/1626095-rc-tank-programing/#findComment-16823063
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×