>
>
> Thanks a lot for your replies...
>
> Am totally new to all these things. Its a part of btech final year
> project. Can you please tell me what exactly i should do?..step by step
> if u can pls...please bear with me....
> The programming part i can manage..only the hardware part...
>
> In one of the website,ive seen a project in which they used serial
> bluetooth adapter....they said :
>
> "we bridge the CTS/RTS lines and the DCE/DTE lines together. This way
> if the adapter was waiting on a Clear to Send signal before it would
> actually pass the data out of its buffer to the OOPIC, it would fool
> itself by sending its own signal. It worked like a charm! ".
>
> Can you please explain me this...how to do it?...where and how do i
> bridge those lines?
>
> once again thanks a lot.
Get a male and female DB-9 connector. The male end will connect to
the OOPic, the female to the bluetooth dongle.
On the male end, bring out pins 2, 3 and 5 and connect them to the
female end on pins 2, 3 and 5, straight through. This will give you
TXD, RXD and GND.
If you want to power the dongle from pin 9 of the DB9, connect the
power source between pins 9 and 5 of the female connector. Note that
you now have TWO wires to connect to pin 5 if you use a 9V battery (I
would). If you grab power (either 5V or input power) from the OOPic,
you won't need the redundant ground wire on pin 5. Apparently the
dongle can work from 5V. If I wanted to try this, I would take that
+5 from the same pin we are going to use for CTS - see below. There
are a lot of +5V pins on the various headers. Try to use the ones
connected to EP1, EP2, EP3 or EP4. Avoid the others that are
connected to the voltage regulator for the OOPic itself. You can
probably use the power source that feeds the OOPic if it is less than 11V.
Personally, I would go with the separate 9V battery just to get the
voltage up well above minimum and to get it away from the OOPic power
supplies.
On the male connector, jumper pins 7 & 8 RTS/CTS. You could also
jumper pins 4, 6 & 1 (DSR, DTR and CD) but they aren't used by the
dongle. The jumper on pins 7 & 8 should satisfy the dongle.
If you decide you need flow control (and you probably will), remove
the jumper between pins 7 & 8 on the male connector. Select an IOLine
to use for the oSerialPort flow control (IOLineF) and connect it to
the base of a 2n2222 (or any small signal NPN) transistor through a 1k
resistor. Connect the emitter to logic ground and connect a 1k
pull-up resistor between the collector and +5V. All 3 of these
(signal, +5, gnd) are available on the 3 pin header for the IOLine.
Now, connect a wire from the collector to pin 8 (CTS) of the male DB-9
connector. This transistor is required to invert the sense of the CTS
signal. Ordinarily, this would be done with a level shifter.
The OOPic is a DCE device so you want your dongle to be a DTE device
and, by default, it is.
All of the above is a GUESS. I don't have a bluetooth dongle so it is
a certainty that I have never done this. Good luck!
Richard
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
No comments:
Post a Comment