

![]() |
  | |||||||||||||
![]() |
|
![]() |
||||||||||||
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.
Community Stats
18
Good
User ToolsTopics I've StartedSeven Segment Display Demos28 July 2012 - 03:51 AM
First the odd public embarrassment... Matt did an awesome job with this module! Both the hardware and drivers are very very nice.
Edit: I will add videos as I make more, to avoid spamming the forum with random little videos
![]() ![]() Custom PC Case Lighting11 June 2012 - 10:03 PM
I finally got around to making something with my mini that has a somewhat permanent use. Check out the video first to see its beauty
![]() Some notes: The RGB LED strip is common anode, so if your strip is common cathode make sure you change the wiring to account for that. The code as well, because the lights are on when the signal is LOW the lights in code are on when they duty cycle is 0. If your lights are common cathode you'll have to keep that in mind. The chips I used are the MAXIM MAX4420, they are High-Speed 6A single MOSFET drivers. Note they 'single', you'll need one per color or for each section you want to control individually. Pretty picture time! ![]() ![]() ![]() public static void Main() { PWM red, green, blue; red = new PWM(Pins.GPIO_PIN_17); green = new PWM(Pins.GPIO_PIN_18); blue = new PWM(Pins.GPIO_PIN_19); red.SetDutyCycle(100); green.SetDutyCycle(100); blue.SetDutyCycle(100); while (true) { for (uint r = 100; r > 0; r -= 5, Thread.Sleep(50)) red.SetDutyCycle(r); for (uint b = 0; b < 100; b += 5, Thread.Sleep(50)) blue.SetDutyCycle(B); for (uint g = 100; g > 0; g -= 5, Thread.Sleep(50)) green.SetDutyCycle(g); for (uint r = 0; r < 100; r += 5, Thread.Sleep(50)) red.SetDutyCycle(r); for (uint b = 100; b > 0; b -= 5, Thread.Sleep(50)) blue.SetDutyCycle(B); for (uint g = 0; g < 100; g += 5, Thread.Sleep(50)) green.SetDutyCycle(g); } } Netduino GO! New Video Series06 April 2012 - 04:35 AM
I promise I am not a zombie, I've been alive all along! Older members here might already know me, but for the new people (many of which I have yet to 'meet'): I am Omar, a curious teenage programmer, and I am back to making netduino videos! Hopefully on a regular basis again
![]() Netduino USB HID Touch Screen Keyboard20 August 2011 - 07:20 PM
This is a touch screen keyboard with most keys found on a regular keyboard. It is a USB touch screen keyboard powered by 4DGL code, .netmf USB HID code (uses my USB HID Keyboard class). This runs on the 32PT touch screen from 4D Systems, and a netduino.
You can use the keyboard class without the screen.
![]() ![]() Netduino USB HID Keyboard - Updated code04 August 2011 - 09:04 AM
Here is a quick video of it in action.
This will make the netduino a USB HID, so the netduino will simulate a keyboard in this case. To get your netduino ready for this: 1 Install firmware 4.1.1 http://forums.netdui...re-v411-beta-1/ 2. Transfer to Serial deployment http://forums.netdui...b-and-com1com2/ 3. Create a project and put the class in it, add the test code to your program's main method 4. Hook up a usb to serial like this: http://www.sparkfun.com/products/9873 to your netduino's com1 or 2, which ever you chose while setting serial deployment 5. Change deployment in VS to Serial, select your com port 6. Power your netduino with a 9V battery or whatever, except usb. Deploy. 7. You need the code to run and set up the usb stream first, then connect your usb cable. Class: ![]() Add a reference to: Microsoft.SPOT.Hardware.Usb Sample use. As in the video. string setupResult = Keyboard.SetUp(); Debug.Print(setupResult); if (setupResult != "Success") return; while (true) { led.Write(true); if (button.Read()) Keyboard.SendString("/*\n" + "* Supported Characters (with this method):\n" + "* abcdefghijklmnopqrstuvwxyz\n" + "* ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" + "* 0123456789\n" + "* enter escape backspace deletethis\b\b\b\b\b\b\b\b\b\b \ttab space\n" + "* - = [ { ] } \\ | , > . < / ? ! @ # $ % ^ & * ( )\n" + "*/"); led.Write(false); Thread.Sleep(2000); } Projects using the netduino as a keyboard coming sometime soon. I want to make a mouse class next. I found this: /* Custom USB HID Communication Device * Copyright © Secret Labs LLC. All Rights Reserved. * * * Licensed under the Apache 2.0 open source license */ in the original code from the USB HID example. I added that I expanded it. I am not big on licenses, but I think I must add it to my code as well. License info here: http://www.apache.or...ICENSE-2.0.html
| ||||||||||||||
![]() |
||||||||||||||
![]() |
|
![]() |
||||||||||||
![]() |
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ![]() |
||||||||||||
![]() |