- Netduino Forums
- → monewwq1's Content
monewwq1's Content
There have been 104 items by monewwq1 (Search limited from 23-May 23)
#16124 2gb microSD card read speed
Posted by monewwq1 on 31 July 2011 - 11:37 PM in Project Showcase
#16129 2gb microSD card read speed
Posted by monewwq1 on 01 August 2011 - 12:54 AM in Project Showcase
#18386 5V Relay Driving Circuit
Posted by monewwq1 on 24 September 2011 - 11:41 PM in General Discussion
However the transistors are connected to the 5v onboard power, so I expected the output to be at 5V rather than 3.3v is that correct?
I have confirmed the NetDuino is outputting 5v on the 5v onboard output and if I connect the relay directly it works fine.
Any ideas, have I misunderstood something?
Thanks,
Charlie M
I don't quite follow this. Are you connecting the transistors to the 3v3 or the 5v on the Netduino? The Netduino has outputs of 3.3vdc and 5vdc depending on which pin you use.
Also, what is the application with the kettles? When you say kettles, do you mean like teakettles for boiling water?
#18387 5V Relay Driving Circuit
Posted by monewwq1 on 24 September 2011 - 11:44 PM in General Discussion
However the transistors are connected to the 5v onboard power, so I expected the output to be at 5V rather than 3.3v is that correct?
I have confirmed the NetDuino is outputting 5v on the 5v onboard output and if I connect the relay directly it works fine.
Any ideas, have I misunderstood something?
Thanks,
Charlie M
I don't quite follow this. Are you connecting the transistors to the 3v3 or the 5v on the Netduino? The Netduino has outputs of 3.3vdc and 5vdc depending on which pin you use.
Also, what is the application with the kettles? When you say kettles, do you mean like teakettles for boiling water?
---> Edit, I think I follow now. Do you mean you are getting 3.3vdc from the I/O pins? That is what you will get. The I/O pins output 3.3v but are 5v tolerant. See the lower right corner of the spec sheet.
You will need to use the 5v supply pin to power your 5v device.
Oops, I didn't mean to double post! Sorry!
P.S., when it says that the I/O pins are 5v tolerant, it means you can connect a 5v signal input to the pins without damaging them.
#17108 Booting Linux from Netduino Plus microSD card?
Posted by monewwq1 on 26 August 2011 - 02:36 PM in Netduino Plus 2 (and Netduino Plus 1)
#20250 Circuit wiring help
Posted by monewwq1 on 04 November 2011 - 09:53 PM in General Discussion
#20282 Circuit wiring help
Posted by monewwq1 on 05 November 2011 - 10:24 PM in General Discussion
It's got going to work, it's missing the cold fusion reactor and the warp field coils!
Hmn I see it's missing the flux regulator and the sid chip!
I was having trouble finding scarab beetles, and my electric eel won't stay still, but this information throws another wrench into the works. Or maybe I just need to throw a real wrench and another solder blob in there somewhere as replacement for the other items? Hmmm... any other suggestions?
#20255 Circuit wiring help
Posted by monewwq1 on 04 November 2011 - 11:20 PM in General Discussion
Euh... LOL!
"Not a resistor; wire just does this"
LOL
#20021 CPU Fan Control
Posted by monewwq1 on 31 October 2011 - 11:56 PM in General Discussion
#20072 CPU Fan Control
Posted by monewwq1 on 02 November 2011 - 01:28 AM in General Discussion
#20073 CPU Fan Control
Posted by monewwq1 on 02 November 2011 - 01:29 AM in General Discussion
#20079 CPU Fan Control
Posted by monewwq1 on 02 November 2011 - 02:25 AM in General Discussion
Thank you for the diagram, do you by any chance have a schematic?
No sorry, that drawing is all I have.
#18545 Creating an FIQ-accelerated pin
Posted by monewwq1 on 28 September 2011 - 02:15 PM in General Discussion
...make that pin an FIQ-accelerated pin...and then use an FIQ handler in your code to count the number of pulses. Then you can easily create a "startcount" and "StopAndGetCount" managed code method to capture the values. FIQs will activate in less than one microsecond, will supercede the .NET MF runtime and...as long as they're quick...will not interfere with your code. We're using them for software PWM in an future update of the firmware, for instance.
Chris et. al,
How do I start with getting this set up? I downloaded the .Net MF Porting Kit and the Netduino Plus firmware, and I've copied the Netduino firmware into the Porting Kit directory. Now I need to know how to modify the firmware to get this operational.
#16391 Diffusing LEDs
Posted by monewwq1 on 06 August 2011 - 04:03 PM in General Discussion
#18407 Graphing in .NET
Posted by monewwq1 on 25 September 2011 - 08:46 PM in General Discussion
#18408 Graphing in .NET
Posted by monewwq1 on 25 September 2011 - 08:55 PM in General Discussion
#19621 Grounding/ungrounding a single wire
Posted by monewwq1 on 23 October 2011 - 02:48 AM in General Discussion
Netduino touches my iPad.
See video action here: Netduino triggers iPad Drums. The ticking sound is not a metronome- it is the 9vdc relay I'm using to open and close the Ground.
I also notice that if I increase the speed, sometimes it misses hits on the touchscreen. Does anyone know why? Other than the anti-static foam, should I use other materials to get a more reliable contact?
#19569 Grounding/ungrounding a single wire
Posted by monewwq1 on 21 October 2011 - 10:22 PM in General Discussion
- Connect anti-static foam directly to the display of an iPad (the anti-static foam is the stuff that IC's are normally mounted on when shipped)
- Connect a wire from Ground to the anti-static foam
- Trigger the Ground connection on and off
This makes the Netduino "touch" the iPad touchscreen. I've already tested this simple scenario and it works, but I have to physically touch the wire to Ground and remove it. I need some way of doing this with Netduino programming.
I have an iPad drums application, and my current idea is to make an automatic drum sample controller with the Netduino;
- Connect anti-static foam to each drum kit point on the iPad display
- Connect separate Grounds for each wire
- Trigger these wires individually so I can press each drum-kit item separately (high-hats, cymbals, bass drum, etc.)
- Record and play back the drum sample on the Netduino, sort of like one of those pianos that plays automatically.
This would also allow me to trigger the drum kit with other materials by using pressure sensors. Ultimately, I could use regular drum sticks on other materials to play the electronic drum kit on the iPad.
The problem I'm solving with this: the iPad display is small, and obviously I cannot smack real wooden drum sticks directly onto the iPad display, so I have to use my fingers to play the drum kit, which is not true to a real drum set, and it is cumbersome.
This would open up the ability to create a small electronic drum kit that could be played with real drum sticks. All the sounds are already there on the iPad; I just need to implement the electronic connections to "touch" the iPad display.
What do you think? Dumb idea? Cool idea? Useless idea?
Has anyone done anything like this before? Any tips?
Thanks!
#19619 Grounding/ungrounding a single wire
Posted by monewwq1 on 23 October 2011 - 02:00 AM in General Discussion
#19551 Grounding/ungrounding a single wire
Posted by monewwq1 on 21 October 2011 - 06:08 PM in General Discussion
#19639 Grounding/ungrounding a single wire
Posted by monewwq1 on 23 October 2011 - 01:58 PM in General Discussion
Nice job, that's awesome!
Next thing I'd try would be a SSR (Solid state relay), something like this: https://www.jameco.c...ductId=1583068
Thanks again Darrin! My local shop doesn't carry SSR's, but they do have 5V Reed Relays, so while I'm waiting for the SSR's, I'll give them a try.
#18116 High resolution light measurement
Posted by monewwq1 on 17 September 2011 - 02:50 PM in General Discussion
#18129 High resolution light measurement
Posted by monewwq1 on 17 September 2011 - 11:29 PM in General Discussion
using System; using System.Net; using System.Net.Sockets; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.NetduinoPlus; namespace TSL235R { public class Program { // Constants const ulong period = 10000; // Number of light frequency measurements const float area = 0.0092F; // Sensing area of TSL235R device (cm2) // Variables static ulong pulses = 0; // Counter of measurements of the TSL235R static ulong frequency; // Read the frequency from the digital pin (pulses/second) static float irradiance; // Calculated irradiance (uW/cm2) private static InputPort TSL235R_Pin = new InputPort(Pins.GPIO_PIN_D7, false, Port.ResistorMode.Disabled); static int readCount = 0; static bool result = false; static bool prev_result = false; public static void Main() { while (true) { while (readCount < 10000) { result = TSL235R_Pin.Read(); if (result == true && prev_result == false) // Rising pulses++; if (result == false) prev_result = false; if (result == true) prev_result = true; readCount++; } getfrequency(); Debug.Print("Frequency: "); Debug.Print(frequency.ToString() + " pulses/second"); getirradiance(); Debug.Print("Irradiance: " + irradiance.ToString() + " uW/cm2"); readCount = 0; pulses = 0; Thread.Sleep(1000); } } static ulong getfrequency () { frequency = pulses/(period/10000); // Calculate the frequency (pulses/second) return (frequency); } static float getirradiance() { irradiance = frequency / area; // Calculate Irradiance (uW/cm2) return (irradiance); } } }
Example results from debug console:
Frequency: 1786 pulses/second Irradiance: 194130.438 uW/cm2 Frequency: 1790 pulses/second Irradiance: 194565.219 uW/cm2 Frequency: 1932 pulses/second Irradiance: 210000 uW/cm2 Frequency: 2375 pulses/second Irradiance: 258152.172 uW/cm2 Frequency: 2478 pulses/second Irradiance: 269347.812 uW/cm2 Frequency: 2640 pulses/second Irradiance: 286956.5 uW/cm2 Frequency: 2435 pulses/second Irradiance: 264673.906 uW/cm2 Frequency: 3001 pulses/second Irradiance: 326195.656 uW/cm2 Frequency: 2720 pulses/second Irradiance: 295652.156 uW/cm2 Frequency: 2540 pulses/second Irradiance: 276086.938 uW/cm2 Frequency: 2104 pulses/second Irradiance: 228695.641 uW/cm2 Frequency: 2742 pulses/second Irradiance: 298043.469 uW/cm2
There are two problems here though:
- I am not using an InterruptPort, because it did not work properly for me.
- I do not know if the readings I am getting are really accurate irradiance measurements.
Regarding Point 1, if anyone knows how to modify this code to use an InterruptPort, please reply and let me know. I tried to add InterruptPort code, but it causes my Netduino to lock up and become non-responsive to my C# IDE.
Regarding Point 2, I put a black piece of felt cloth over the sensor, and the reading went way down. I then shined a bright light onto the sensor and the reading went way up, so I know I am getting semi-valuable readings. However, the readings fluctuate by about 20 to 50 values while I am at a particular light level, and I am uncertain why. The readings do go up and down as expected, but they also "jump" while they are within that range. How can I fix this? Perhaps there is nothing wrong. I wonder if shadows are causing the "jumps".
#18126 High resolution light measurement
Posted by monewwq1 on 17 September 2011 - 07:52 PM in General Discussion
This is the wiring I am using right now:
TSL235R ------ Netduino
======= ---- ========
GND(1) ---- GND
Vcc(2) ------ +5V
Out(3) ------ Digital I/O pin 2
I also have a 0.1uF cap wired from Vcc to GND, as mentioned in the TSL235R datasheet.
This does not work, and when I try to load my C# via USB, it says: "An error occurred: Please check your hardware." Edit: If I remove the TSL235R from the Netduino, I do not get the hardware error. I have no other devices plugged in to the Netduino.
I also tried wiring it to 3.3V on the Netduino and that does not work either.
Does anyone know what is wrong with my wiring?
#18119 High resolution light measurement
Posted by monewwq1 on 17 September 2011 - 04:37 PM in General Discussion
- Netduino Forums
- → monewwq1's Content
- Privacy Policy