Control RC-car through wifi

233 views
Skip to first unread message

Anton Bondarev

unread,
Jul 14, 2011, 11:54:42 AM7/14/11
to embox-users
Hello.

At the first stage I suggest to use a wifi router for controlling our
car through WiFi. We need also connect router to our board (olimex for
example) through serial port.

Laska (Mikhail Kshevetskiy) collected some infromation about different
router with open firmware so it allows to use it for our goals.

Router's models:
asus wl500gp:
=============
http://wiki.openwrt.org/toh/asus/wl500gp
http://www.dd-wrt.com/wiki/index.php/All_Asus_WL-500xx_series_routers
http://www.dd-wrt.com/wiki/index.php/Asus_WL-500g_Premium_V2
http://code.google.com/p/wl500g/

dlink dir-320:
==============
http://wiki.openwrt.org/toh/d-link/dir-320
http://www.shadowandy.net/2008/06/flashing-guide-for-dir-320.htm

firmware (images):
=========
1) openwrt на linux-2.4.37 (wifi: broadcom proprietary binary only
driver for linux-2.4.xx)

http://downloads.openwrt.org/backfire/10.03.1-rc4/brcm-2.4/openwrt-brcm-2.4-squashfs.trx

2) openwrt на linux-2.6.32 (wifi: b43, stable on wl500gp v.1 only, may
be they fixed trunk)

http://downloads.openwrt.org/backfire/10.03.1-rc4/brcm47xx/openwrt-brcm47xx-squashfs.trx

3) dd-wrt на linux-2.4.xx (wifi: broadcom proprietary binary only
driver for linux-2.4.xx)

http://www.dd-wrt.com/routerdb/de/download/D-Link/DIR-320/A1/A2/dd-wrt.v24_std_generic.bin/3751
http://www.dd-wrt.com/routerdb/de/download/Asus/WL-500gP/-/dd-wrt.v24_std_generic.bin/3751

4) oleg based на linux-2.4.37 (wifi: broadcom proprietary binary only
driver for linux-2.4.xx)

wl500gp v.1
http://wl500g.googlecode.com/files/WL500gp-1.9.2.7-d-r2624.trx

wl500gp v.2
http://wl500g.googlecode.com/files/WL500gpv2-1.9.2.7-d-r2624.trx

5) oleg based на linux-2.6.22 (wifi: broadcom proprietary binary only
driver for linux-2.6.xx)

wl500gp v.1
http://wl500g.googlecode.com/files/WL500gp-1.9.2.7-rtn-r3121.trx

wl500gp v.2
http://wl500g.googlecode.com/files/WL500gpv2-1.9.2.7-rtn-r3121.trx

Source code
==================
1) openwrt
https://dev.openwrt.org/browser

2) oleg based
http://code.google.com/p/wl500g/source/checkout

Anton Bondarev

Anton Kozlov

unread,
Jul 14, 2011, 1:42:00 PM7/14/11
to embox...@googlegroups.com
I have some experience in flashing asus wl-series with openwrt (the
best, i think). Quite simple.

I think, it will be a little effort of running such a car, but it'll
take a time (i.e. linking with that linux's libc, gpio handling on new
hw, etc). From that solution we'll can't take any profit, i think.

Only reason to show wifi car really faster, than writing not-hack. Is it needed?

Anton Kozlov

unread,
Jul 14, 2011, 2:04:20 PM7/14/11
to embox...@googlegroups.com
http://www.asynclabs.com/store?page=shop.product_details&flypage=flypage.tpl&product_id=26&category_id=6 -- arduino wifi shield $55, _much_ less power consumption. Take a closer look

Anton Bondarev

unread,
Jul 16, 2011, 7:23:12 AM7/16/11
to embox...@googlegroups.com
I think it helps us to do one more step to wifi car under gumstix + embox.

There is dir320 router and there are a lot of router in markets. This router includes linux and we can write our application which will communicate under wifi. Then we connect this router to our olimex board though serial port so we'll get full contloller prototipes.
We'll also improve our mobile application and test whole system.

It'll be hellpfull for us I think. And easiest way to rich our goals (wifi car)

Anton  

2011/7/14 Anton Kozlov <drako...@gmail.com>
I have some experience in flashing asus wl-series with openwrt (the
best, i think). Quite simple.

I think, it will be a little effort of running such a car, but it'll
take a time (i.e. linking with that linux's libc, gpio handling on new
hw, etc). From that solution we'll can't take any profit, i think.

Only reason to show wifi car really faster, than writing not-hack. Is it needed?

On Thu, Jul 14, 2011 at 08:54:42AM -0700, Anton Bondarev wrote:
> Hello.
>
> AI thist the first stage I suggest to use a wifi router for controlling our

Anton Kozlov

unread,
Jul 21, 2011, 10:02:33 AM7/21/11
to embox...@googlegroups.com
As everybody wishes, hack-a-day post of doing such kind of job http://hackaday.com/2011/07/21/using-a-router-as-a-linux-based-pid-controller/

2011/7/16 Anton Bondarev <anton.bon...@gmail.com>

Kevin Crossett

unread,
Dec 18, 2012, 11:47:05 PM12/18/12
to embox...@googlegroups.com

Hi everyone!

 

  1. My name is Kevin Crossett and I’m an Engineering Design teacher at a high school in Southern California. I have a B.S. in Technology Education and a Masters degree in Education Technology. I would like to develop professional systematic lesson plans that I can share with teachers around the world in regard to creating products using the Arduino, Raspberry Pi and Python in conjunction with 3D Printing. My experience level with Python, Arduino, and Raspberry Pi is a beginner level, and I am reaching out to get any support I can.  The problem I have given my  20 high school engineering students is that they must design, build, and test a 1/10th scaled remote controlled (RC) vehicle that can be controlled remotely over the schools wi-fi signal by the computer in the classroom. We also want a live video feed using a webcam.  We have a BFB 3000 3D printer (we are getting a Makerbot in 6 months) and a computer lab. Students are currently using SketchUp and create .stl files of their wheels and chassis for their RC vehicles and we have printed out their wheels and chassis so far.

*We are developing a website so we can share our progress. (Still under development). Will be done Jan. 2013.

My first set of questions:Do I need to buy an Arduino and a Raspberry Pi? We have learned that the Arduino is for sensors and Raspberry Pi will be used to run the Python program.
What else do I need for this project?

  • - Camera: (I have found the Playstation Eye is best. Can anyone confirm this?)
  • - Any idea on Wireless cards? Has anyone had luck with Eye-Fi SD cards? I’m guessing I should stick to a wireless card. Which one should we get?
  • - Does anyone have lines of Python code I can copy and paste?
  • - Is it a good idea to use Portable Python, or should I just download Python to the hard drive. I’m guessing I should just download it.
  • - What other accessories do I need for a project like this? Flashdrive? LAN Flashdrive? Cables? Sensors? Wireless card on the computer?

 

Any advice? Do you know a better way?

- Instead of schools wifi is Bluetooth a better option? GPS? Our range is 3 football fields.

 

Does anyone know of any links or resources that would help us out?

 

Thank you for your time and we look forward to your response.

 

Lesson 13 of 30.JPG

Anton Bondarev

unread,
Dec 19, 2012, 3:55:15 PM12/19/12
to embox...@googlegroups.com
Hi Kevin.
I'm from Saint Petersburg State University also intresting in RC models and try to popularize it among our student (one topic wrote a student http://habrahabr.ru/post/138967/). We also want to make a car with wifi control and video streaming from camera.
I think that first of all you should resolve problems with motors we use L298N driver for it. Next You should chose  wireless interface (wifi or bluetooth). Wifi is more perspective but more difficulty. And I think you should not use arduino, it's  а very restricted platform. Better way use ARM base boards raspberry pi for example. 

I also advice You to look at our code http://code.google.com/p/robobot/. There are programs for mobile platform (andorid & winphone) for robot remote controling and robot simulator written in pythonhttp://code.google.com/p/robobot/source/browse/#svn%2Ftrunk%2Frobobot-sim.
It use very simple protocol and You can use it for explanation.

One more link http://www.ez-robot.com/ may be will be usefull


Best regards, Anton


2012/12/19 Kevin Crossett <kwcro...@gmail.com>
Reply all
Reply to author
Forward
0 new messages