- Netduino Forums
- → monewwq1's Content
monewwq1's Content
There have been 104 items by monewwq1 (Search limited from 23-September 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.
#18164 High resolution light measurement
Posted by monewwq1 on 18 September 2011 - 09:50 PM in General Discussion
Using an Interrupt Reading 0 20400 Hz 221739.13043478262 uW/cm2 2650.3369113867698 lux (single) 163.81671308080081 lux (gauss) Reading 1 20500 Hz 222826.08695652176 uW/cm2 2663.3287589916072 lux (single) 164.61973618413808 lux (gauss) Reading 2 20400 Hz 221739.13043478262 uW/cm2 2650.3369113867698 lux (single) 163.81671308080081 lux (gauss) Reading 3 3500 Hz 38043.478260869568 uW/cm2 454.71466616929877 lux (single) 28.105808616804058 lux (gauss) Invalid frequency 0 Invalid frequency 0 Invalid frequency 0
I guess I am going to have to learn how to program another bare MCU and use that for my readings. It is really cool to watch the frequency change on my oscilloscope as the light levels change. The readings look nice and stable. And yes, I shined a really bright light on the sensor and watched the scope and it did go to one pulse every 2µs.
#18195 High resolution light measurement
Posted by monewwq1 on 19 September 2011 - 02:30 PM in General Discussion
Hi NickDuino,
I'm just picking up on this thread now, but are you using InputPort to meeasure the time in managed code instead of using InterruptPort (which passes a fairly precise timestamp of the original event)?
Hi Chris,
I am using InterruptPort:
// the pin is expected to interrupt on rising edges InterruptPort _dataOutInterruptPort = new InterruptPort(Pins.GPIO_PIN_D2, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeHigh); // add an interrupt handler to the pin _dataOutInterruptPort.OnInterrupt += new NativeEventHandler(_dataOutInterruptPort_OnInterrupt);
And in the event handler _dataOutInterruptPort_OnInterrupt, I am simply counting the pulses with a long variable:
private void _dataOutInterruptPort_OnInterrupt(uint port, uint state, DateTime time) { _pulseCount++; }
I'm then using the _pulsecount to determine the frequency and then using some additional math to get the irradiance. If I cover the TSL sensor with a black cloth, I do get a few readings from the Netduino, but after that, my Interrupt stops firing. If I shine a bright light on the TSL sensor, I never get any readings and the Netduino becomes "busy" and unresponsive to the IDE.
Perhaps there is too much code in my interrupt routine. I am going to write a real simple version that does not do any irradiance calculations and only prints a very limited amount to the Debug console. I will post the code to this thread later today.
#18171 High resolution light measurement
Posted by monewwq1 on 19 September 2011 - 01:38 AM in General Discussion
I am still not convinced that I need to throw more components at this problem. Netduino has an ARM7 48MHz processor- why should we deny that there is plenty of speed right on this development board? If I were to remove the processor from the Netduino and program it directly, or remove the .Net firmware and run C/C++ on it, I am sure that this sensor would run fine. I've read in these forums that version 4.1.2 of the Netduino firmware is supposed to offer run-time native code interop. I've also read about someone's project called "Fluent", which runs code something like 20 to 30 times faster than the managed code. I've also read that you can run FreeRTOS on the Netduino platform. Can't you run a quadrocopter with FreeRTOS? Isn't that real-time?
Does version Netduino 4.1.2 have runtime native code interop? If not, when will it have this functionality? Where can I get this "Fluent" project? Where can I find resources on how to run my own C/C++ on this board?
I understand the opinion that more tools will help me solve this problem, but I would rather use what I have instead of having to then deal with connecting, learning, and powering these other pieces.
#18166 High resolution light measurement
Posted by monewwq1 on 18 September 2011 - 10:10 PM in General Discussion
- Netduino Forums
- → monewwq1's Content
- Privacy Policy