ADS

четверг, 2 декабря 2010 г.

My first day and lt1083 datasheet

lt1083 datasheet


Wifi Robot: A remote control car that can be driven over the internet or with a laptop wirelessly from up to 500m away. Car Adding a network camera, router, heavier batteries, extra circuits, and a whole bunch of wires adds a lot of extra weight that the car wasn't designed for. Because of all of the additions, you'll need to find a pretty large RC car. I have bought a number of cars this way for taking apart. I bought this car for $5 at Value Village. I have taken apart about 20 RC cars. What this means is that it's really easy to interface to the car's existing electronics without having to put in a bunch of our own circuitry. It's possible to hook up a microcontroller directly to these pins Forward, Backward, Left, Right and directly control the car. Being able to leverage the car's original circuitry saves a lot of time and effort. Router I've modified my WRT54GL to have 2 serial ports and a 1GB SD Card acts like a 1GB hard drive . To me, I just knew my car was working one day and not the next. Steering Circuit I'm actually using two control boards in my car. The reason for this is that I blew the original drive transistors on the board that came with the car. Most of these toy RC cars have about 6 wires that go in to the steering motor assembly. Each different RC car will have a different setup for this wiper circuit, so it's VERY useful to be able to use the one that came with the car. I blew the drive transistors because I was trying to drive the circuit at ~16V when the battery that drives the car would nominally be 9.6V. I took a board from another RC car and used its drive transistors. Being able to use existing RC car circuits and not having to build your own saves a lot of time and money. I bought some high-end RC car batteries for about $50+shipping on eBay. They're 7.2V, however when they're just-charged they're ~8.3V and when they're dead no longer able to move the car they measure ~7.1V. I didn't want to risk blowing the steering control circuit, so I put it on the rail closest to the original RC car battery voltage. Microcontroller Circuit PIC Arduino Hookup Guide The Freeduino MaxSerial serial port can be connected with any standard serial cable to the serial port on the router. The Freeduino MaxSerial uses serial pin 4 - DTR data terminal ready to reset the microcontroller and allow it to download new code. However, this pin is grounded on the router serial port and isn't active. When the router serial port starts sending data, the MaxSerial resets. With this quick hardware modification, it basically adds a program-locked mode so that new code can't be uploaded and the microcontroller can't be reset by the serial port. Note: If you're using a usb version of the Arduino, you may be able to just connect the RX & TX pins to a MAX232A and then to the router serial port and may not need this modification. Camera Left Image Source: http://panasonic.co.jp/pcc/products/en/netwkcam/lineup/bl-c1/partnames.html One of the coolest aspects of this project is the fact that the car can be driven without line of sight. Putting it All Together Only the base of the RC car was used. The circuit boards were bolted to the sides of the front part of the car using plastic nuts and bolts to avoid conductivity issues. The PIC controller board was also bolted securely to the side of the car. After all of the pieces were secured, all of the slack in the wires was collected and zip-tied see pic in Power section above . Probably around 30 that needed to be routed to/from the front and back of the car, not including the Ethernet cable. All of the power circuits were housed in the project box on the back of the car, with the exception of the 7.5A Regulator which is on the bottom of the car. I didn't put it in the project box because it was a late addition to the project after blowing a board earlier , so it was the easiest place to add it. All of the electronics were prototyped on a breadboard before being soldered and installed in the car. The router was a bit too wide to sit on the car without some extra modifications. I added a couple pieces of plexiglass to make the RC car base wider. Current Sensor that could relay back how much current the car was using and display it in the VB app. The VB6 Wifi_Robot client application runs on Windows , the CarServer which is written in C and runs on the router running OpenWRT WhiteRussian v0.9 Linux , and the microcontroller firmware. I've provided tested firmware for both PIC16F628A microcontroller and the popular Arduino Freeduino MaxSerial . Installing CarServer If you just want to use the software SSH in to your router then . # cd /tmp # wget http://www.jbprojects.net/projects/wifirobot/carserver_1_mipsel.ipk # ipkg install ./carserver_1_mipsel.ipk Compiling and Installing CarServer If you want to see how it works or modify it yourself You'll need to download the OpenWRT SDK Linux Only and follow this guide for compiling software: just follow Part I place in /OpenWrt-SDK-Linux-i686-1/package/carserver/ place in /OpenWrt-SDK-Linux-i686-1/package/carserver/src place in /OpenWrt-SDK-Linux-i686-1/package/carserver/src Your compiled ipkg will show up in /OpenWrt-SDK-Linux-i686-1/bin/package s. It can also be downloaded here: password: ____ This book outlines how to add a serial port, setup the software, as well as a bunch of other hacks. Getting the Serial Port Working We need to use TTS/1, so if you only add one serial port -- make sure its that one. Here is the updated version: # ipkg update # ipkg install setserial # cd /usr/sbin # wget http://www.jbprojects.net/projects/wifirobot/stty.tgz # tar -zxvf stty.tgz # chmod 755 stty Add the following lines to /etc/init.d/custom-user-startup to make the serial port work on start-up and have the CarServer automatically start. If you're using a Freeduino MaxSerial, make sure you complete the small hardware modification that will stop the Freeduino from resetting every time it receives data from the router serial port. Top Speed To get the maximum speed I setup to tape lines 3m apart and filmed the car while I made several passes. The car could travel 3m in 0.7 seconds 21 out of 30 frames in 1 second . If the car was to be driven from very far away, the router would continually negotiate a lower speed until it reached 1Mb megabit . Power Measurements I noticed whenever the current changed during car bootup and noted the time. Camera Router Horn Car Note: The driving measurements aren't as accurate because it's hard to read the multiemeter while holding a laptop to drive the car and running down the street after the car. When running the car outside, it doesn't seem to get near as hot.
lt1083 datasheet lt1083 datasheet
Tags: My first day and lt1083 datasheet
| Some Articles: lt1083 datasheet | Original post: lt1083 datasheet | Technorati tag: lt1083 datasheet | Virgilio tag: lt1083 datasheet

Комментариев нет:

Отправить комментарий