SerialPort Class not in System.IO.Ports
#1
Posted 01 January 2011 - 05:17 AM
When you talk EE use small words, I'm just a Software Developer
My Blog/Site and Everything Else
If my post helped you please consider pressing the "Like This" button in the bottom right-hand corner.
Oh my. So many things, so little money!!
#2
Posted 01 January 2011 - 05:24 AM
#3
Posted 01 January 2011 - 06:33 AM
I am trying to use the code provided by bill.french with my OneWire Controller, however on line 15 of the PHAOneWire.cs file SerialPort is used, I don't see SerialPort being where I believe it should be (System.IO.Ports)? Am I missing a reference?
Had the same problem - The assembly Chris referenced should cover it.
#4
Posted 01 January 2011 - 04:26 PM
#5
Posted 01 January 2011 - 04:41 PM
#6
Posted 01 January 2011 - 09:14 PM
You'll want to add the Microsoft.SPOT.Hardware.SerialPort.dll assembly.
I did thanks.
Let me know if it works for you. I'm very nervous!!
It didn't. This was my output:
3812000 - 1940000 1188500 - 482500 72190625 - 39928125 32612000 - 17940000 30902000 - 16990000 57584750 - 31813750 59072000 - 32640000 1836500 - 842500 72385250 - 40036250 3812000 - 1940000 62071250 - 34306250 42383750 - 23368750 65739875 - 36344375 17042000 - 9290000 56338250 - 31121250 65739875 - 36344375 17042000 - 9290000 20914250 - 11441250 59072000 - 32640000 2017625 - 943125 9601250 - 5156250 1485500 - 647500 40931375 - 22561875
I tried with 2 sensors and both the OneWire operation and 'normal' operation.
When you talk EE use small words, I'm just a Software Developer
My Blog/Site and Everything Else
If my post helped you please consider pressing the "Like This" button in the bottom right-hand corner.
Oh my. So many things, so little money!!
#7
Posted 01 January 2011 - 09:27 PM
#8
Posted 02 January 2011 - 02:02 AM
I'm going to guess you're powering everything off the Netduino. I had the same problem, until I used a separate 5 vdc supply for the Anderson IC and it worked fine then. Before that I was getting nothing that made sense, rambling. My explanation ? Nope, I have none yet!! I'll bet you are seeing the red LED flicker as it send data too? Mine did UNTIL I added the separate supply. Now it stays bright red, no flickering, but it works fine?
Did you power just the IC off of external power, or the Netduino as well?
When you talk EE use small words, I'm just a Software Developer
My Blog/Site and Everything Else
If my post helped you please consider pressing the "Like This" button in the bottom right-hand corner.
Oh my. So many things, so little money!!
#9
Posted 02 January 2011 - 04:15 AM
#10
Posted 02 January 2011 - 05:55 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users