Netduino home hardware projects downloads community

Jump to content


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.

Spoon's Content

There have been 13 items by Spoon (Search limited from 02-May 23)


By content type

See this member's

Sort by                Order  

#53905 Using NeoPixels with Netduino Plus 2 - adafruit learning system

Posted by Spoon on 08 November 2013 - 06:13 PM in Project Showcase

I saw this blog post last night but haven't had a chance to check out the details.  Exciting!

 




#53710 Tinkerkit Port Over

Posted by Spoon on 28 October 2013 - 03:15 PM in Netduino Plus 2 (and Netduino Plus 1)

Yeah...I haven't messed with any of the TinkerKits.  I did buy a DMX shield for $2.50 when Radio Shack had them on closeout but haven't had the time (or the project) to dig into it at all.  




#53513 First project idea and need guidance

Posted by Spoon on 24 October 2013 - 03:38 PM in Netduino Plus 2 (and Netduino Plus 1)

So I haven't used relays but my understanding is that you would splice your power cord and connect it to the relay.  Then you would control the relay with your Netduino to turn the relay (and your device) on and off.  I don't think it would be too difficult.  

 

Alternatively, adafruit has this pricey option. 

 

http://www.adafruit.com/products/268




#53169 Long Button Press Code Sample

Posted by Spoon on 13 October 2013 - 02:00 AM in General Discussion

I am trying to re purpose some buttons in a current project and I thought I would share some code here for detecting a long vs short button press.  

 

The basic idea should be pretty straightforward and you should be able to drop this right onto a Netduino and test it with the on board button and LED.  Feel free to make any adjustments/improvements and post them here.  

 

using System;using System.Threading;using Microsoft.SPOT;using Microsoft.SPOT.Hardware;using SecretLabs.NETMF.Hardware;using SecretLabs.NETMF.Hardware.Netduino;namespace LongPressDemo{    public class Program    {        private static bool _buttonState = false;        static OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);        // Handle Bounce        const int DEBOUNCE_TIME = 100;        static uint RESETDURATION = 2000;        static DateTime _lastButtonPress = DateTime.Now;        static DateTime _resetTime;        public static void Main()        {            InterruptPort button = new InterruptPort(Pins.ONBOARD_SW1, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeBoth);            button.OnInterrupt += new NativeEventHandler(button_OnInterrupt);            Thread.Sleep(Timeout.Infinite);        }        static void button_OnInterrupt(uint data1, uint data2, DateTime time)        {            if (time < _lastButtonPress.AddMilliseconds(DEBOUNCE_TIME))            {                Debug.Print("debouncing");                return;            }            _lastButtonPress = time;            if (data2 == 1)            {                Debug.Print("Button Down");                _resetTime = DateTime.Now;            }            else if (time > _resetTime.AddMilliseconds(RESETDURATION))            {                Debug.Print("Button Up Long Press");                Blink(5);            }            else            {                Debug.Print("Button Up Short Press");                Blink(2);            }        }        static void Blink(uint count)        {            for (int i = 0; i < count; i++)            {                led.Write(true);                Thread.Sleep(200);                led.Write(false);                Thread.Sleep(200);            }        }    }    }

 




#53168 New Project: Sports Timer

Posted by Spoon on 13 October 2013 - 01:56 AM in General Discussion

It's coming along nicely.  I am actually working on it right now. 

 

The main goal is to make it a little smaller and less buggy.  The fact that I've got interrupts from the buttons instead of trying to catch the button presses in loop() has been a HUGE!  It's also a lot easier to handle timing since I don't have to roll my own (or someone else's) timing code.  

 

At this point I've got the display soldered onto a protoboard and it looks like that's all working fine.  I am currently trying to reduce the number of buttons by detecting a long press and getting dual use out of one of the buttons.

 

Once I get the sound circuit put together and working I would like to design a case for it and try to get it laser cut somewhere.  




#53148 VS1053 breakout board

Posted by Spoon on 11 October 2013 - 10:22 PM in Netduino Plus 2 (and Netduino Plus 1)

You could try starting with this post.

http://forums.netdui...mini/?hl=vs1053

 

also try searching the forums for vs1053, you should find a good collection of results.




#53124 Wave Shield with Netduino Plus

Posted by Spoon on 10 October 2013 - 09:46 PM in Netduino Plus 2 (and Netduino Plus 1)

I was just wondering if anyone got around to doing this port or started even looking at it.  My C/C++ is mediocre, my C# is pretty decent.  Might be more than I am interested in taking on though. 




#53073 TinkerKit DMX Shield

Posted by Spoon on 07 October 2013 - 03:34 PM in General Discussion

Thanks for the info Chuckles.  

 

I was wondering specifically if anyone had any projects that used DMX that I could use for inspiration.   I was also wondering if anyone had any experience working with these TinkerKits with a Netduino.  It also seems hard to find those relay and Mosfet modules in the states.  I'll have to figure that part out. 

 

Anyway, I've got a timer project I'm in the middle of right now so I've got some time to come up with some ideas.




#53028 TinkerKit DMX Shield

Posted by Spoon on 02 October 2013 - 07:47 PM in General Discussion

I have some general questions about TinkerKit shields.  RadioShack is currently blowing out a lot of Arduino components (no Arduinos yet) and I was thinking of picking up some parts for potential future projects. 

 

It looks like the whole idea behind TinkerKit is that you don't have to do any soldering or worry about resistors, just snap and go.  I don't really care if it's easier or not I am just wondering if it makes sense to pick up a couple of components because they are cheap.  The problem is I am not really sure if the TinkerKit stuff is compatible with NetDuino and specifically I don't really know what I would do with a DMX Master Shield for $5.

 

I did a quick search and couldn't find anything on DMX so any input would be appreciated.

 

Thanks,

 

Also, 

There's a few other items that RS has on clearance if you can find them locally

http://www.radioshac...ductId=12296090

http://www.radioshac...ductId=12333768

http://www.radioshac...ductId=12369524




#52169 Migrating project from Arduino to Netduino 2 Plus

Posted by Spoon on 14 August 2013 - 09:44 PM in Visual Basic Support

Hello cgozzard,

 

I guess I am not clear on what you are asking.  Are you asking for someone to convert the code for you or is there a specific question about a line or some functionality that you have?

 

The code in your loop looks pretty simple.  I don't understand what's going on in the setup code though.  Unfortunately I don't know VB but would be glad to help if you wanted to do it in C#.  




#51387 New Project: Sports Timer

Posted by Spoon on 12 July 2013 - 08:12 PM in General Discussion

I've got an existing project that I decided to make smaller and better with the Netduino.  It actually started about two years ago with the Arduino and 2.3" LED's.  It works pretty well but I didn't really anticipate how hard it would be to see the LED's in bright (Colorado) sunlight. Also, the large LED's require 7ish volts which required a LOT of extra circuitry around the MAX7221.

 

So, the new version will be smaller with mess emphasis on the large display and more on portability.  

 

Here are a couple of pics of the original project.

 

Posted Image

 

Posted Image

 

Posted Image

 

I already have most of the Netduino project prototyped up on breadboards and it's much much smaller.  I'll post a pic when I get a chance.  

 

It's been pretty smooth so far.  I used a MAX7221 library that someone here posted (I'll give credit when I find that post again) and being able to debug the hardware in Visual Studio has been a far superior experience to the Arduino IDE.  

 

 




#51269 Can you buy ND+2 without the female headers soldered on?

Posted by Spoon on 09 July 2013 - 07:38 PM in Netduino Plus 2 (and Netduino Plus 1)

It would be pretty easy to get those headers off even with minimal soldering skills.  I realize that doesn't answer your question, but hopefully the stock setup isn't a dealbreaker for you.  




#51058 20% OFF Sparkfun

Posted by Spoon on 03 July 2013 - 07:45 PM in General Discussion

Thanks for the heads up.  Putting the finishing touches on a new order right now.





home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.