Socket 5 - 8
#1
Posted 01 May 2012 - 09:31 PM
#2
Posted 02 May 2012 - 04:54 AM
If you'd like to use the serial TX/RX pins of sockets 5-8 (and not use go!bus modules on those sockets), just open up serial port "COM2" using NETMF's SerialPort object.I would like to know how I can send/receive serial data via Pins 4,5 of one of the sockets 5 - 8?
COM1 matches sockets 1-4. COM2 matches sockets 5-8.
Chris
#3
Posted 03 May 2012 - 08:22 AM
#4
Posted 03 May 2012 - 10:13 AM
The blue LEDs are only activated when go!bus modules are enumerated. We'll expose some classes/methods to let you turn these on and off (as well as dim them) in an upcoming firmware update.Ive created the port, but Im not sure whether the blue LED next to the socket (5) should be on ;-) Maybe Im mistaken and should activate the socket?!
Chris
#5
Posted 08 May 2012 - 10:52 AM
#6
Posted 08 May 2012 - 11:22 AM
The UART exposed in the sockets is a TTL UART with RX/TX pins (no RTS or flow control). If you want to hack directly into the sockets, your best bet is to either use a TTL-RS485 adapter or possibly to use a SPI-RS485 converter.I have programmed and wired everything so far. I'm trying to connect RX and TX to RS485 directly, do you think this would work?
If not, using a TTL to RS485 converter, would I have to use the RTS line of the converter or would it be sufficient to connect to RX, TX, GND, VCC? And if so, could you please recommend which PIN I should use?
We'll also have a UART with flow control working on the Shield Base soon...if you want to wait for that, you can plug into TX/RX and RTS directly there at TTL (not RS485) levels.
Chris
#7
Posted 11 May 2012 - 07:25 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users