DFRobot I/O Expansion Shield V5 XBee tips?
#1
Posted 21 July 2011 - 11:12 PM
#2
Posted 22 July 2011 - 07:30 AM
Yes. Actually, it won't work if the settings don't match. My experience with xbees is that they have no baud rate autodetect, so you have to set it manually and on all sides the same.Question 2:
Has anyone found there to be advantages in setting the XBee baud rate, stop bits and flow control to match the serial communication baud rate etc?
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#3
Posted 22 July 2011 - 06:32 PM
Yes. Actually, it won't work if the settings don't match. My experience with xbees is that they have no baud rate autodetect, so you have to set it manually and on all sides the same.
Thanks, what XBee shield do you like with Netduino?
#4
Posted 22 July 2011 - 10:00 PM
I currently have this one stacked on my netdubot:Thanks, what XBee shield do you like with Netduino?
http://www.sparkfun.com/products/9976
But as long as the pins are set out to one of the netduino serial ports, the shield doesn't matter much.
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#5
Posted 28 September 2011 - 03:47 PM
The RS485 is also not working, whereas we have other styles of RS485 shields which work fine. It's not clear what you jump on this
Hello Cinelli.
I bought the DFRobot IO Expansion Shield (v5). I need the rs485 connection.
But I don't know how set the jumper for enabling RS485 and I'dont understand the schema (the picture) on the product wiki page. Can you help me?
#6
Posted 11 June 2012 - 02:28 PM
#7
Posted 11 June 2012 - 05:48 PM
http://forums.netdui...h__1#entry15766
The DFRobot Sample Code below references pulling the pins high and low which is lower level and I assume the .Net MF handles that with the com port.
We run the same code with this shield with no problems. Using any of Com1, Com2 or Com3 will not make the DFRobot RS485 work. http://www.cutedigi....or-arduino.html
int ledPin = 13; int EN = 2; int val; void setup() { pinMode(ledPin, OUTPUT); pinMode(EN, OUTPUT); Serial.begin(19200); } void loop() { // receive data digitalWrite(EN, LOW);//Enable Receiving Data val = Serial.read(); if (-1 != val) { if ('A' == val) { digitalWrite(ledPin, HIGH); delay(500); digitalWrite(ledPin, LOW); delay(500); } } }
Edited by Chris Walker, 11 June 2012 - 06:02 PM.
added [code][/code] tags
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users