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.

Bainesbunch

Member Since 17 Jul 2011
Offline Last Active Nov 14 2017 08:30 PM
-----

#25964 VS 11 & NET MF

Posted by Bainesbunch on 25 March 2012 - 02:21 PM

Guess I'll have to fix my VS2010 installation then.
Cheers,Mark


Or get a free copy of "Microsift Visual C#/VB 2010 Express"

Pete.


#25817 Bluetooth Communication

Posted by Bainesbunch on 21 March 2012 - 08:40 PM

Hello,

I am using a BT serial adapter connected to my Netduino and talking to my PC through a BT dongle.

Pairing was my first issue. Once i hade the BT to serial paired with my PC then I simply connected the TX and RX lines of the BT to Serial together to make a loopback. I then used a terminal emulator program (http://www.compuphas...are_termite.htm) on my PC to send characters through the serial BT to see if they were echoed back.

Once this was working I then set about writing the code to receive the data on the Netduino and echo it back.

It all worked as expected once I had gone through these steps. One gotchya however it the TX/RX they seem to differ from one manufacturer to another. So it might be worth switching them around if you are not receiving any data at the Netduino end.

Sometimes it is good to set some debug.prints to show what is coming in on the port.

I did notice however that you are trying to read 32 bytes into a buffer. The read will not return until it has read 32 bytes or timed out. Try setting the buffer length to 1 byte. This will echo every byte one at a time and not wait for the buffer of 32 bytes to be read.


Hope this helps ... and good luck.

Cheers Pete.


#23027 How to control 220V stuff

Posted by Bainesbunch on 19 January 2012 - 10:57 PM

I realy have nothing to add to this thread other than to say that I am NOT Dutch :D :D Pete.


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.