المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : interface Java c#


rss
02-12-2013, 05:05 AM
interface Java c#



, , "interface" .


"protocol" : – – .
:-
USB , SErail, Parallel , SPI , I2C , HTTP, PS/2,…etc))
, USB, SErail, .
• SErail
.

http://img854.imageshack.us/img854/3334/20130129032315.jpg (http://imageshack.us/photo/my-images/854/20130129032315.jpg/)



: " "Hot Swapable : "PS/2" USB .
SErail USB USB "Interface" USB Port . " wireless communication modules" Bluetooth,xbee,wifi,..etc cnc " SErail, USB xbee module" .

• SErail protocol
:- "A" "SErail port" :-
1- 1 "start bit"
2- 8 " 1100101" acii "A"
3- 1 parity bit
4- "stop bit "

http://img89.imageshack.us/img89/3017/******frame.png (http://imageshack.us/photo/my-images/89/******frame.png/)





SErail "configurations" :-

http://img843.imageshack.us/img843/3459/20130129031707.jpg (http://imageshack.us/photo/my-images/843/20130129031707.jpg/)



Uart,RS232 :-
Uart TTL.

http://img515.imageshack.us/img515/9567/20130129221639.jpg (http://imageshack.us/photo/my-images/515/20130129221639.jpg/)



"configuration " UART TTL.


:-
* uart "universal asynchro**us receiver transmitter"
"bits" "clock "
* usart "universal synchro**us asynchro**us receiver transmitter"
"bits" "clock " pic
pic 16f877a SYNC bit TXSTA register
SYNC: USART Mode Select bit
1= Synchro**us mode
0= Asynchro**us mode


http://img132.imageshack.us/img132/9757/20130129232356.jpg (http://imageshack.us/photo/my-images/132/20130129232356.jpg/)



>>> Synchro**us mode RC7 "DATA" RC6 PIC "ClK"

>>> Asynchro**us mode RC7 "RX" RC6 "TX"

Synchro**us mode half duplex" "

Asynchro**us mode full duplex " "
Asynchro**us mode .



************************************************** *****



"SErail port "


http://img822.imageshack.us/img822/7979/13304422.png (http://imageshack.us/photo/my-images/822/13304422.png/)



235 ground ,RX,TX

1- Pic uart pic 16f877a
2- max232 uart rs232 .
3- 4 1uf " 10uf max232 1uf"
4- Rs232 connector
5- Rs232 female socket max 232


http://img217.imageshack.us/img217/4378/20130129234749.jpg (http://imageshack.us/photo/my-images/217/20130129234749.jpg/)



- -
usb to SErailconverter :-
:
FT232BL "USB to UART (USB to
SErail
35 .
pic max232 TTl

http://img7.imageshack.us/img7/549/97929312.png (http://imageshack.us/photo/my-images/7/97929312.png/)


:
rs232 connector
USB2 to SErail RS232 Converter Cable - 40 - driver .
usb max232 female socket

http://img715.imageshack.us/img715/874/67866243.jpg (http://imageshack.us/photo/my-images/715/67866243.jpg/)




***********
max232 module pic 35 rs232 connector USB2 to SErail RS232 Converter Cable usb http://www.dbaasco.com/vb/images/smilies/**d.gif

http://img37.imageshack.us/img37/658/usbu.jpg (http://imageshack.us/photo/my-images/37/usbu.jpg/)




************************************************** *****


http://img221.imageshack.us/img221/9403/42880507.png (http://imageshack.us/photo/my-images/221/42880507.png/)