|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Adding Bluetooth to Vex
Quote:
that was pretty easy, so on to the first thing. the inputs to rx1 and rx2 are ppm which is a sort of multiplexed pwm signal. the way i understand it is this. for the six channels on the vex radio, you get seven short pulses. the time from the beginning of the first pulse to the beginning of the second pulse is the duty cycle for the 1st channel pwm, the time from the beginning of the second pulse to the beginning of the third pulse is the duty cycle for the 2nd channel pwm, etc. so the data for the six channels take anywhere from 6 to 12 ms depending on the sum of their duty cycles. these are followed by the seventh pulse and a lengthy pause of say six to twelve ms before the next data frame is sent. the long pause allows the receiver to synchronize the data frames. hope that makes sense. Last edited by foobert : 02-10-2005 at 23:05. |
|
#2
|
||||
|
||||
|
Re: Adding Bluetooth to Vex
The easiest way to do it would be to use the "programming" port on the vex as opposed to the radio port.
|
|
#3
|
||||||
|
||||||
|
Re: Adding Bluetooth to Vex
Quote:
Sorry for the silly question. I am out of the loop on VEX stuff. If the Programming Port uses RS-232 voltages, then you could use an off the shelf Blue Tooth radio like this one. Otherwise, I would use the TTL voltage level serial port and use one of the modules that is compatible with that voltage level. Joe J. |
|
#4
|
|||
|
|||
|
Re: Adding Bluetooth to Vex
Quote:
|
|
#5
|
||||||
|
||||||
|
Re: Adding Bluetooth to Vex
Quote:
Joe J. |
|
#6
|
|||
|
|||
|
Re: Adding Bluetooth to Vex
Ok I am new to the vex world but I have been in programing (C, C++, java, assembler, etc.) for a while now and I want to add bluetooth to my vex robot for control, I assume this is done easiest over the serial port connection and i have rad this entire thread. Has anyone successful done this? If so would you be willing to help me get figured out where to start and what radios work best? I would like to stay with the 100m range bluetooth.
AJBelayer |
|
#7
|
||||
|
||||
|
Re: Adding Bluetooth to Vex
I can't really speak to whether this is entirely "doable", however you should post this question on the vexlabs.com forums.
|
|
#8
|
||||||
|
||||||
|
Re: Adding Bluetooth to Vex
As I have said before, I am really happy with AirCables, and recommend that you try to use one of there products.
If you want 100m range, you are going to have to go with something with an antenna. The AirCables parts with antennas are listed as "coming soon" But, I would call or e-mail Juergen at AirCables. I think they are shipping some of these 100m products but have not updated their website. The PC side is pretty straightfoward. The USB dongle from AirCables is only a Class 2 (10m) device but there are many, many, many "Class 1" (100m) Bluetooth USB Dongles available that you can use to make your connection to the robot. I have never used any of them so I can't help you with a specific recommendation. But, I have used many of the 10m devices and they basically all work okay. The only difference between them is whether they use the standard WindowsXP BT driver or whether they have written their own. I had pretty good success with a Linksys 10m dongle as well as the AirCable 10m dongel part for what it is worth. As to the programming, once the device is installed and the BT radios have been paired and connected, the BT driver provides transparent virtual COM port. Hope this helps. Joe J. P.S. I take back many of the good things I said about the SMART Modular Bluetooth Serial Adapter above -- I can't speak for other applications, but for mine, they ended up being the source of subtle problems that were very hard to find but caused me fits for MONTHS. Your mileage may vary... JJ |
|
#9
|
||||||
|
||||||
|
Re: Adding Bluetooth to Vex
I just came across this product from the guys at SparkFun.com
Shown here: ![]() Anyway, the purpose of this thing is to provide an easy way to do level shifting between RS-232 <->TTL voltages. If you want to use an RS-232 voltage level device with the TTL level pins of the Vex controller, this thing could come in handy. FYI. Joe J. |
|
#10
|
|||
|
|||
|
Re: Adding Bluetooth to Vex
Ok so I am looking at this
Bluetooth device for me they are a local company so I can pick up the device and not have to worry about any shipping time. As I understand it i connect the Tx and Rx to the Tx and RX on the vex controller but then where do I connect the pwr and ground? An independent power source or is there 3V-6V power on the vex. Also I still have to check with the manufacter to make sure this is putting out TTL signal and not RS232 correct?P.S. the link for the site of the bluetooth chip is here http://www.sparkfun.com/shop/index.p...rds=Bluetooth& Last edited by AJBelayer : 09-12-2005 at 11:48. Reason: forgot the link |
|
#11
|
||||||
|
||||||
|
Re: Adding Bluetooth to Vex
Quote:
As to the TTL question, this is from the datasheet Quote:
The problem is that the Vex battery fully charged could be as high as 8V or so. From the datasheet, the input voltage would be okay (under 10V is the spec I see) but the problem is that :
I recommend buying a 7805 5V regulator and knocking the PWM power output down to 5V. Good Luck. Joe J. |
|
#12
|
|||
|
|||
|
Re: Adding Bluetooth to Vex
Quote:
|
|
#13
|
|||
|
|||
|
Re: Adding Bluetooth to Vex
I'm pretty new to all this and wanted to just confirm a couple points, if someone would be so kind... Thanks in advance for your time and help!
1) With the programming dongle, any rs232 bluetooth device should work fine since it has a level shifter built in. Is that a correct statement? 2) Is there power provided on pin 9. I.e. for the devices mentioned (the aircable card http://www.aircables.net/serial.html, and the smart bluetooth module http://zbausa.com/bluetooth_serial_port_adapter.asp)? If not, what would be the easiest way to provide power to these devices? Preferably it would come from the vex module, but an easy external source would be fine too. 3) If you already have the desired behavior occuring between the pc and micro via a thethered link, add a bluetooth link between the pc and programming dongle should be pretty much plug and play (add the module and pc dongle, set up the link, adn we're set). Right? Or am I being too naive here? 4) If the power isn't provided for the aircard cable that Joe is recommending (which would currently be my first choice), do you forsee any problems with the following device, which has an internal battery: http://www.lemosint.com/scripts/blue...gle_class2.asp Thanks again for taking the time to help where you can. It is greatly appreciated! ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to build a VEX programming module | bblack7489 | FIRST Tech Challenge | 78 | 09-06-2011 16:03 |
| Useful VEX Tools | Joe Johnson | FIRST Tech Challenge | 4 | 26-04-2005 18:48 |
| Vex Robotics | Vex | FIRST Tech Challenge | 0 | 14-04-2005 13:48 |
| VEX Robotics | vexrobotics | FIRST Tech Challenge | 8 | 30-03-2005 23:25 |
| VEX Kits ARRIVED!!! | Joe Johnson | FIRST Tech Challenge | 14 | 28-03-2005 19:28 |