5405
Comment: added a link to a useful tool
|
5749
update status
|
Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
The LURC is planned to be a remote control car with all the bells and whistles. Picture a standard remote control car. | The LURC (the Long-Range UCC Reconnaissance Car) is planned to be a remote control car with all the bells and whistles. Picture a standard remote control car. |
Line 16: | Line 16: |
http://svn.ucc.asn.au:8080/oxinabox/LURC/ (soon to be moved to a public repo) | http://svn.ucc.asn.au:8080/oxinabox/LURC/ |
Line 24: | Line 24: |
[[mailto:oxinabox@ucc|Lyndon 'Frames' White]] is helping with the AVR code and serial interface. <<BR>> | [[mailto:oxinabox@ucc|Lyndon 'Frames' White]] is doing the AVR code and serial interface. <<BR>> |
Line 32: | Line 32: |
What is done ---- |
~+What is done +~ ---- |
Line 36: | Line 36: |
* Set up bifferboard with a basic operating system such as openWRT * Get serial commands sent from a computer to control the servos |
|
Line 37: | Line 39: |
What is being done | ~+What is being done +~ |
Line 39: | Line 41: |
* Serial interface on the AVR (~60%) * match polulo protocol for servo controllers (not done) * set up framework/datastucture for storing and retrieving received commands (80% done, rewrite to use circular buffer) * framework for execution of commands, (done) * implement vast array of all required commands including PWM, LCD. (20% done) * Implement serial communication. (12% done) |
* Serial interface on the AVR (over-all 95%) * set up framework/datastucture for storing and retrieving received commands (./) * framework for execution of commands, (./) * implement vast array of all required commands (90% done) *SETPWM (SETPOS) (./) - testing ongoing *MODIFY PWM (MOD) (not done) *WRITEPORT (./) *READPORT (not done) *LCD (not done) *ADC (not done) |
Line 47: | Line 52: |
What needs doing next | * Implement serial communication, )(./) * extended testing * Setting up the bifferboard for webcam, serial control, etc. * Chassis and motor pod prototype ~+What needs doing next +~ |
Line 50: | Line 60: |
* Set up SVN for the project code * Set up router/bifferboard with a basic operating system such as openWRT |
|
Line 53: | Line 61: |
* Get serial commands sent from a computer to control the servos | |
Line 55: | Line 62: |
Parts we have got | ~+Parts we have got +~ |
Line 59: | Line 67: |
* The servos have a full 180 degree range, using PWM values from 0.4ms to 2.4ms with a 20ms period. The Hex values that equates to this in our code are 0x35 to 0xF0. Using values outside these ranges kills kittens. | |
Line 62: | Line 71: |
* Router board with usb and serial for central control ([[http://wiki.openwrt.org/oldwiki/openwrtdocs/hardware/asus/wl500gpv2|this one]] is on order) * Alternatively, a [[http://bifferos.bizhat.com/|Bifferboard]], which has already arrived, could be used. This has the advantage of onboard IO. * Wheels, gears, axles, and other RC car parts - I just dug out the old Meccano set |
* A [[http://bifferos.bizhat.com/|Bifferboard]]. This will be used to connect to the outside world, the webcam, and the AVR Butterfly. * Wheels and tyres, 2.2" hubs to suit a 3/16" axle - ''f*** these were expensive'' -- BobAdamson * USB power adapter for the bifferboard (for testing) * [[http://jaycar.com.au/productView.asp?ID=QC3231&CATID=20&form=CAT&SUBCATID=688| Webcam]], which should be sufficient to display a 640x480 image * [[http://en.wikipedia.org/wiki/Battery_eliminator_circuit| BEC]] and [[http://en.wikipedia.org/wiki/Electronic_speed_control|ESC]], [[http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=7186| this one]] is on order * FT232 converter (MAX232 works, but need a usb adapter for the bifferboard-gps connection anyway) - on order from sparkfun * 4 port usb hub for the bifferboard - this will allow us to have a usb stick, a webcam, and gps connected all at the same time. |
Line 66: | Line 79: |
Parts still to get or make | ~+Parts still to get or make +~ |
Line 68: | Line 82: |
* MAX232 converter * Testing power supply for the bifferboard * [[http://en.wikipedia.org/wiki/Battery_eliminator_circuit| BEC]] and [[http://en.wikipedia.org/wiki/Electronic_speed_control|ESC]] |
* Gears, axles, and other RC car parts - mechano doesn't cut the mustard. * Motor pod/mount * Chassis |
Line 72: | Line 86: |
* [[http://jaycar.com.au/productView.asp?ID=QC3231&CATID=20&form=CAT&SUBCATID=688| Webcam]], which should be sufficient to display a 640x480 image | |
Line 85: | Line 98: |
* br@y's Terminal, one of the best GUI COM terminal programs. | |
Line 92: | Line 106: |
*[[http://www.pololu.com/docs/0J23]]Pololu Serial Transmitter utility for Windows. transmite serial byte by byte. | |
Line 94: | Line 107: |
---- /!\ '''Edit conflict - other version:''' ---- *[[http://www.pololu.com/docs/0J23]]Pololu Serial Transmitter utility for Windows. transmite serial byte by byte. ---- /!\ '''Edit conflict - your version:''' ---- ---- /!\ '''End of edit conflict''' ---- |
Description
The LURC (the Long-Range UCC Reconnaissance Car) is planned to be a remote control car with all the bells and whistles. Picture a standard remote control car. Now, throw out the radionics and replace it with a decent computer, controlled over the internet. Then add a webcam with pan and tilt, so the remote driver can see where he/she is going. Then add GPS. Then add solar power boosting. Then add battery level feedback to the remote driver. Top all this off with a whiz-bang steering wheel and driving pedals on a desktop, and you have yourself UWA's coolest car.
Creation date: November 2009
Location of source: http://svn.ucc.asn.au:8080/oxinabox/LURC/
Project leader
Bob Adamson is the leader and finance for this project.
List of people involved
Lyndon 'Frames' White is doing the AVR code and serial interface.
John Hodge has volunteered to write some fancy code for the web interface, and has threatened to put his acess kernel on the router :S.
Other people such as Rufus Garton-Smith and Adrian Chadd have been conscripted into helping with the webcam and the 3g dongle respectively (thanks guys!).
Did I mention that OTHER PEOPLE ARE WELCOME TO GET INVOLVED?
Also, thanks to Mitch Kelly for his advice, even though we don't always agree on things
Project plan
What is done
Assemble cells into a 7.2V battery pack
- A significant amount of waiting for parts to arrive :S
- Set up bifferboard with a basic operating system such as openWRT
- Get serial commands sent from a computer to control the servos
What is being done
- Serial interface on the AVR (over-all 95%)
set up framework/datastucture for storing and retrieving received commands
framework for execution of commands,
- implement vast array of all required commands (90% done)
SETPWM (SETPOS) - testing ongoing
- MODIFY PWM (MOD) (not done)
WRITEPORT
- READPORT (not done)
- LCD (not done)
- ADC (not done)
- Implement serial communication, )(./)
- extended testing
- Setting up the bifferboard for webcam, serial control, etc.
- Chassis and motor pod prototype
What needs doing next
- Order USB dongle (crazy johns claims to have cheap ones at the moment)
- Test AVR serial code for robustness and completeness
Parts we have got
Brushless motor, 3800 Kv
- Servos x 3. These are smaller than what was expected at about 1x2x3cm, but should be strong enough
- The servos have a full 180 degree range, using PWM values from 0.4ms to 2.4ms with a 20ms period. The Hex values that equates to this in our code are 0x35 to 0xF0. Using values outside these ranges kills kittens.
- C size rechargeable cells, 6x3300mah NiMH
- AVR atmega169 butterfly board
- Solar panel
A Bifferboard. This will be used to connect to the outside world, the webcam, and the AVR Butterfly.
Wheels and tyres, 2.2" hubs to suit a 3/16" axle - f*** these were expensive -- BobAdamson
- USB power adapter for the bifferboard (for testing)
Webcam, which should be sufficient to display a 640x480 image
- FT232 converter (MAX232 works, but need a usb adapter for the bifferboard-gps connection anyway) - on order from sparkfun
- 4 port usb hub for the bifferboard - this will allow us to have a usb stick, a webcam, and gps connected all at the same time.
Parts still to get or make
- Gears, axles, and other RC car parts - mechano doesn't cut the mustard.
- Motor pod/mount
- Chassis
- USB broadband dongle (borrow off of Adrian for the moment!)
- USB to serial adapter and serial GPS module
Other info
Some programs we are probably going to need
- openWRT
- wvdial (a command line dial-in PPP utility)
- MJPG-streamer (stream webcam using various output plugins)
- AVRstudio 4
- WinAVR (wich has the AVR-GCC C compiler)
- br@y's Terminal, one of the best GUI COM terminal programs.
Links
http://wiki.openwrt.org/oldwiki/ddnshowto for dynamic dns
http://wiki.openwrt.org/inbox/asus-wl500gp will be handy for getting usb and webcam going
http://josefsson.org/openwrt/dongle.html will help with getting Huawei usb dongle going
http://linux-uvc.berlios.de/faq/ just to check webcam compatibility