- Netduino Forums
- → ddoodm's Content
ddoodm's Content
There have been 8 items by ddoodm (Search limited from 25-April 23)
#1207 Ping Ultrasonic Sensor LED Continuously On
Posted by ddoodm on 24 August 2010 - 08:04 AM in Netduino 2 (and Netduino 1)
#1137 Netduino and Ping))) Ultrasonic Sensor?
Posted by ddoodm on 23 August 2010 - 10:45 AM in Netduino 2 (and Netduino 1)
#1030 Digital Pins Never Off.
Posted by ddoodm on 22 August 2010 - 06:43 AM in Netduino 2 (and Netduino 1)
#970 Digital Pins Never Off.
Posted by ddoodm on 21 August 2010 - 12:35 PM in Netduino 2 (and Netduino 1)
Thanks for the suggestion, but other components don't seem to be the problem.Have you tested it just with a volt meter with nothing connected?
I isolated the Netduino from everything and tested it with a volt meter. Everything looks perfect. Identical to the Arduino (Apart from the Arduino giving out 4.97v, while the Netduino only gave 3.3v). However, when I tried my relay module on both the Arduino and Netduino (both isolated from everything), it worked 100% on the Arduino, but still not the Netduino. This ain't making sense at all... I have to wait 'til the morning to get some LEDs. I can't seem to find one anywhere.
I think I'll record a video when I pick up that LED tomorrow. Not exactly sure what to take a photo of now I think about it.A picture could be very helpful.
Thanks again for the help! Really appreciate it.
#960 Digital Pins Never Off.
Posted by ddoodm on 21 August 2010 - 10:02 AM in Netduino 2 (and Netduino 1)
Are you using an external power supply? If so, are you sure all the gounds are connected?
I've tried it with both an external 12v supply, and just the USB cable. Neither work. I can upload a picture if you'd like.
#955 Digital Pins Never Off.
Posted by ddoodm on 21 August 2010 - 07:15 AM in Netduino 2 (and Netduino 1)
I've been trying to rebuild a few of my Arduino projects with the Netduino. However, I'm having problems with my digital I/O pins. Whenever I set any output pin to false (off), it doesn't disable the pin, but it seems to limit the output voltage of the pin to around 1.65v. I'm currently trying to control a DFRobot relay module which works perfectly with the Arduino, but when I try it with the Netduino, the indicator LED on the relay module just dims (doesn't go off) and I only hear a slight flicking noise from the relay when the LED dims (but it doesn't actually do anything). Here's my code (just sample code from the beginner video):
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; namespace NetduinoApplication1 { public class Program { public static void Main() { OutputPort Relay = new OutputPort(Pins.GPIO_PIN_D9, false); while (true) { LED.Write(true); Thread.Sleep(500); LED.Write(false); Thread.Sleep(500); } } } }
PS: The same kind of thing happens when I use my Ping Ultrasonic sensor. However, the light stays on, and doesn't do anything.
Thanks for any help! I'd really appreciate it.
#832 Netduino and Ping))) Ultrasonic Sensor?
Posted by ddoodm on 19 August 2010 - 07:55 AM in Netduino 2 (and Netduino 1)
The following code can be used to measure pulse width.
Thanks so much for that CW2! Really appreciate the code.
#829 Netduino and Ping))) Ultrasonic Sensor?
Posted by ddoodm on 19 August 2010 - 07:26 AM in Netduino 2 (and Netduino 1)
I noticed that in the original Arduino Ping sample sketch, they used this:
duration = pulseIn(pingPin, HIGH);What is the equivalent in C# Micro?
Thanks for any help! I'd really appreciate it.
- Deinyon
- Netduino Forums
- → ddoodm's Content
- Privacy Policy