Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Socket 5 - 8


  • Please log in to reply
6 replies to this topic

#1 iandi

iandi

    Member

  • Members
  • PipPip
  • 23 posts

Posted 01 May 2012 - 09:31 PM

Dear All, I would like to know how I can send/receive serial data via Pins 4,5 of one of the sockets 5 - 8? Best wishes and many thanks Andi

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 02 May 2012 - 04:54 AM

Hi Andi,

I would like to know how I can send/receive serial data via Pins 4,5 of one of the sockets 5 - 8?

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.

COM1 matches sockets 1-4. COM2 matches sockets 5-8.

Chris

#3 iandi

iandi

    Member

  • Members
  • PipPip
  • 23 posts

Posted 03 May 2012 - 08:22 AM

Hi Chris, many thanks for your quick reply! 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?! Please let me know. Best wishes Andi

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 03 May 2012 - 10:13 AM

Hi Andi,

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?!

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.

Chris

#5 iandi

iandi

    Member

  • Members
  • PipPip
  • 23 posts

Posted 08 May 2012 - 10:52 AM

Hi Chris, quick questions: 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? Best wishes Andi

#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 08 May 2012 - 11:22 AM

Hi Andi,

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?

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.

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 stephenlobo

stephenlobo

    New Member

  • Members
  • Pip
  • 1 posts

Posted 11 May 2012 - 07:25 AM

Except UART is their any other option that we can use.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.