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

Serial comms garbled - Putty


  • Please log in to reply
3 replies to this topic

#1 AndrewM

AndrewM

    New Member

  • Members
  • Pip
  • 1 posts

Posted 09 May 2011 - 11:08 PM

Hi All,

First post and it's probably a silly one, but I'm having trouble getting serial comms working to and from my netduino.

On the netduino itself I'm using an unmodified version of Hari's serial port learn example ( http://forums.netdui...rt-code-review/ ) I'm using putty on the PC. When I click the netduino button I get garbled text in putty: "¯EÑQ¤¤û´TÊTºúÛÖö»Ô*ªÊT"

When I attempt to type in putty, nothing happens at all (literally, nothing, putty doesn't show what Im typing or anything, and the netduino doesn't seem to recieve any signal)

It's deployed OK, and the debugger attaches, I can see the button pressed event firing OK for example. The problem is probably with my PC comms thing. I'm using a strange usb to serial converter from rev-ed software, the "picaxe usb cable". It's basically a standard FTDI usb-serial (ttl) device, just terminated with a headphone jack on the far end.

I'm connecting to pins D0 and D1 on the arduino (I've tried reversing these two just in case, but then it didn't work at all).

I imagine I'm missing out some detail, so if you need more info let me know and I'll try and provide it (although it might have to be tomorrow now)

Thanks - Andrew

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 10 May 2011 - 05:38 AM

Hi Andrew, This may be a silly question, but are you using the same settings on both sides (bits per second, parity, stop bits, flow control)? If so, what are you using for the serial port settings? It's possible that your adapter only supports lower baudrates, no handshaking, etc. Welcome to the Netduino community, Chris

#3 michielvd

michielvd

    Member

  • Members
  • PipPip
  • 15 posts

Posted 12 May 2011 - 09:11 AM

I'm having the same problem I heave also written my own code and non of it is working. I didn't saw this post at first. more details are found here http://forums.netdui...ection-problem/
Microsoft: Leading the world in selling expensive pieces of %#!*.

#4 michielvd

michielvd

    Member

  • Members
  • PipPip
  • 15 posts

Posted 29 May 2011 - 09:10 AM

The problem is probably the same as mine. The converter doesn't use the right voltages. I ordered an other one and the communications worked just fine.
Microsoft: Leading the world in selling expensive pieces of %#!*.




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.