
- Netduino Forums
- → Viewing Profile: Topics: QuantumPhysGuy
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.
About Me
Lead Developer for Narfsoft, LLC. Specializes in Windows API, C# language syntax and routines, and C# code optimization.
Community Stats
- Group Members
- Active Posts 30
- Profile Views 7607
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Location
Kentucky, USA
2
Neutral
User Tools
Friends
QuantumPhysGuy hasn't added any friends yet.
Topics I've Started
Documentation
17 October 2012 - 03:55 PM
I'm not sure where else to post this, but after talking to a few people I've noticed one of the things that the Netduino SDK lacks is documentation. I think I am going to take on the task of creating XML documentation for all the classes, methods, properties, and events from the Netduino SDK. Once I'm done I'll be able to export the XML documentation as a CHM and HTML documentation for the Netduino SDK/API.
Here's hoping everything works out.

ADC Question / Issue
14 October 2012 - 02:49 AM
I am trying to get a reading from a TMP36 temperature sensor from my Netduino Go. I currently have my breadboard setup where I see the reading from the TMP36 on my multimeter and also have the signal sent to the NGO.
One thing I am noticing right off is the difference from the voltage my multimeter is reading versus the NGO. Currently my multimeter is showing 0.72V coming from the TMP36, but my NGO is showing 0.685v - 0.690v.
Here is my conversion for the ADC:
So you can see when I do the math to convert the volt reading to degrees I am coming up with not so acurate readings. Using the multimeter the temp would be 22° C which is correct for the room I am in, but the NGO shows ~66° C.
Does anyone have any tips on this?
One thing I am noticing right off is the difference from the voltage my multimeter is reading versus the NGO. Currently my multimeter is showing 0.72V coming from the TMP36, but my NGO is showing 0.685v - 0.690v.
Here is my conversion for the ADC:
ShieldBase shieldBase = new ShieldBase(GoSockets.Socket8); AnalogInput aiTemp = new AnalogInput(shieldBase.AnalogChannels.ANALOG_PIN_A0); Double dVolts = aiTemp.Read() * (3300 / 1024F);
So you can see when I do the math to convert the volt reading to degrees I am coming up with not so acurate readings. Using the multimeter the temp would be 22° C which is correct for the room I am in, but the NGO shows ~66° C.
Does anyone have any tips on this?
TristatePort Issue
09 October 2012 - 12:16 AM
I am trying to get the Parallax Ping))) Sensor working with the Netduino GO and the Shield Base. I am using the Ping class that was created by afulki which can be found here.
Whenever I try to run the code I get an error that states:
An unhandled exception of type 'System.Exception' occurred in GoBusSerialTransport.dll
This is my Program.cs:
It seems to be failing on line 72 of the code posted by afulki, but I can't figure out why.
This is the stack trace information for the error:
Does anyone have any ideas?
Whenever I try to run the code I get an error that states:
An unhandled exception of type 'System.Exception' occurred in GoBusSerialTransport.dll
This is my Program.cs:
public static void Main() { ShieldBase shieldbase = new ShieldBase(GoSockets.Socket1); Thread.Sleep(5000); ParallaxSensors.Ping pPing = new ParallaxSensors.Ping(shieldbase.Pins.GPIO_PIN_D5, 1000, true); pPing.RangeEvent += new ParallaxSensors.Ping.RangeTakenDelegate(pPing_RangeEvent); Thread.Sleep(Timeout.Infinite); } public static void pPing_RangeEvent(object sender, ParallaxSensors.PingEventArgs e) { Debug.Print("Range: " + e.Distance + " cm"); }
It seems to be failing on line 72 of the code posted by afulki, but I can't figure out why.
_port = new TristatePort(pin, false, false, ResistorModes.Disabled);
This is the stack trace information for the error:
Exception was thrown: System.Exception
GoBus.GoBusSerialTransport::CallFunction
NetduinoGo.ShieldBase::CreateTristatePort
System.Reflection.MethodBase::Invoke
Microsoft.SPOT.Hardware.TristatePort::.ctor
PINGSensor.Program::Main
Does anyone have any ideas?
Servo Controller GO Module
03 October 2012 - 12:14 PM
I'm going to be working on getting communication working with the Parallax Propeller Servo Controller in the next few days, but I think this would be a great add-on as a GO module. The controller allows you to control 16 servos, or 32 with "networked" controllers, with an independent power source for the servos.
Not sure if this the proper forum to request a new module but I'm excited about working with this board and seeing a GO module to do the same would fantastic.
Parallax Servo Controller Board: http://bit.ly/SCnoMF
Servos with Netduino GO
01 October 2012 - 02:02 AM
I have a parallax standard servo I am trying to get working with the Netduino Go Shield Base. I currently have the servo connected to 5V, GND, and analog 0.
When I turn the netduino on the servo moves just a bit but once I run the below code, nothing happens. Does anyone know why? I'm fairly new at all of this.
The servo says 0.75-2.25 ms high pulse, 20 ms intervals. So I "think" I have the constructor correct on the PWM.
When I turn the netduino on the servo moves just a bit but once I run the below code, nothing happens. Does anyone know why? I'm fairly new at all of this.
The servo says 0.75-2.25 ms high pulse, 20 ms intervals. So I "think" I have the constructor correct on the PWM.
ShieldBase shieldBase = new ShieldBase(GoSockets.Socket1); PWM servo = new PWM(shieldBase.PWMChannels.PWM_0, 20, 18, PWM.ScaleFactor.Milliseconds, false); servo.Start();
- Netduino Forums
- → Viewing Profile: Topics: QuantumPhysGuy
- Privacy Policy