Академический Документы
Профессиональный Документы
Культура Документы
i!;!t,li(i,i(,,,
{KYffiWww%ffiffiXfuWwmWWw
\g,,1i r.r,. , 1,,,'1.;rlL!r r :r,1it irr,t Pf 1ir ir.litlfe; nt{i:!U,?i)'lC;rt v,ti,,.,. ,r; ilala? l-irrfr't lbo:.i i, "slt'/ lf i,oir
to use a specialist USB interface chip which This project describes an alternative method For consistency we have used the same type
can be driven from a UART in the external using more up-to-date interface technol- of connecter and pin assignments as were
controller circuit; it then translates the TTL ogy. Almost every mobile PC is now sup- used in the adapter cable mentioned above.
signal levels to U5B data. Alternatively this plied with a built-in Bluetooth interface but This means that existing Elel<tor projects
hardware can be encapsulated into a cable even if yours is not equipped with one (or such as the battery monitor I3l or the Elektor
to make a USB to TTL serial cable like the you preferto use a desktop PC) then you can ATM'l 8 Testboard (see Figure 2) can directly
one described in Elektor (by FTDI and avail- easily buy a Bluetooth stick for a few pounds use this Bluetooth dongle and connect wire-
elektor oz-zoro
co[/PUTIR5 IWtRELISS
o2-201o elektor
Hr: fve.l li.l LBr lrl leli lt f,nrtr,-r.h!1n! rirrhi.
!e;r4dFlfi !El: Tr lmd G.r l..r Dr tierill Conne.irii. lnd.r tl
Gr1lelilr L rf Latenc, Br Enent 6elF,EdFin-f'd,/ m PnilCe l0:1!l03!
5fr !er;d L/,[ LaEnc]_ lgin'r tven' Re.dL.:alName JriG t[ te.jclbme ]er.llPoil48trl
Ts Cmd Feadt.il Nar'E
Devices in range receive inquiry request: Now using SDAP we can find out all the serv- The Bluetooth chip now stops interpreting
02,52,00,03,00,55,0 A,00, 00,03 ices available. First we must send an SDAP the serial data as commands and just passes
connection request: the data on 1:1.
A typical reply would be for example: 02,52,32,06,00,8 A,84,EE,7E,D1,1 2,00,03 (o9o455-l)
02,43,00,01,00,44,27,03
02,69,0 1,09,00,7 3,84,EE,7 E,D 1,1 2,00, 1 0 lfthe connection is successful the received
,01,32,03 reply is: 02,43,32,01,00,7 6,32,03
'
,: :,,'. ,- '.-11 .,
i.:1tt 'i'ttt',:t.fn:..ir)::.,:1l.t..ta)111 ,111.t1.:,.::r,'t:tt.:l|:,tiitt,,'f.,)"t:,:',i:i
elektor o2-2o1o