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.

Omar (OZ)'s Content

There have been 37 items by Omar (OZ) (Search limited from 24-May 18)


By content type

See this member's


Sort by                Order  

#32837 Seven Segment Display Demos

Posted by Omar (OZ) on 28 July 2012 - 06:34 AM in Netduino Go

I love the blinking digit! I feel like you're setting the time on a VCR(*).

Awesome.

Thanks for making and sharing this, Omar!

Chris

* History of old technology: videocassette recorder


haha yea i felt like it'd be a good way to indicate the digit being set. thanks chris!



#32833 Seven Segment Display Demos

Posted by Omar (OZ) on 28 July 2012 - 03:51 AM in Netduino Go

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 :) subscribe on youtube to catch them all! Code - Attached File  ComboLock.zip   119.74KB   16 downloads Code - http://sdrv.ms/MUeRa3 Let me know if i can clear something up, I'd be happy to help.



#31560 Oz-Solutions Tutorial: RGB LED

Posted by Omar (OZ) on 04 July 2012 - 06:50 AM in Netduino 2 (and Netduino 1)

Guys,
I could use some help. We've built a netduino project similar to this one. But it doesn't work. I took this sample code and tried it too, doesn't work.

I grabbed a couple of AA batteries and put them in series to generate 3volts, then touched the contacts to my led to see if it's broken, and it works, but only if I reverse the polarity from what's in the diagram. What am i doing wrong?

I was connecting the negative side of the battery to longest lead (common) of the RGB LED. That won't light it up, but it will if I reverse the connection and put the positive to the common.

Have I done something wrong?
Rob


I think you've got a common anode LED. There is nothing you're doing wrong, just put the common lead into the 3V# instead of GND. this will also make it so SetDutyCycle(0) will turn them on, and SetDutyCycle(100) will turn them off. so its reversed.



#30557 Custom PC Case Lighting

Posted by Omar (OZ) on 11 June 2012 - 11:16 PM in Project Showcase

Oh man, that's pretty cool. I'm thinking that someone could pick this up and build a PC app that would change their colors based on actions/events on the computer.

It's like Alienware on steroids :)

Thanks for sharing this!

Chris


Yeah Arron wants to do something like it but much fancier, and I plan on getting some app made to control it. Near future i think...



#30551 Custom PC Case Lighting

Posted by Omar (OZ) on 11 June 2012 - 10:03 PM in Project Showcase

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!

case lighting breadboard.jpg

case lighting breadboard layout.JPG

breadboard in case.jpg

        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);
            }
        }



#26646 Limited Edition Netduino Go mainboards...

Posted by Omar (OZ) on 06 April 2012 - 06:56 PM in Netduino Go

My thoughts on the matte solder mask con be refined to: awesome! :D I like the fact that it doesn't show fingerprints! It also doesn't get oily from your hands, unless you touch it after eating or dipping your hands in oil :P . It looks very nice and smooth. Essentially, its very shiny, but figuratively.



#26613 Netduino GO! New Video Series

Posted by Omar (OZ) on 06 April 2012 - 04:35 AM in Netduino Go

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 :) Here it is, the first of many to come:



#26534 hardware page on netduino site

Posted by Omar (OZ) on 05 April 2012 - 01:32 PM in General Discussion

I think Secret Labs has been busy ;) Meanwhile you can use these links: Netduino - http://www.netduino....duino/specs.htm Netduino Plus - http://www.netduino....oplus/specs.htm Netduino Mini - http://www.netduino....omini/specs.htm Netdino GO! - http://www.netduino....inogo/specs.htm (Reason they've been busy it seems :P )



#26297 Redacted 00101100

Posted by Omar (OZ) on 03 April 2012 - 04:05 AM in General Discussion

April 4th it is!! Can't wait to see whats gonna come out of Secret Lab's kitchen :lol:



#26204 Redacted 00101100

Posted by Omar (OZ) on 31 March 2012 - 06:32 PM in General Discussion

I hope it is th4 date 4/4. I really wanna know what thats about lol. How secretive of Secret Labs <_<



#25910 Netduino 3D Model is Done!!

Posted by Omar (OZ) on 23 March 2012 - 08:19 PM in Netduino 2 (and Netduino 1)

Hi OZ,

It seems like the link is broken above. Any chance you still have the 3D model kicking around?

http://sketchup.goog...c35&prevstart=0
So that's where I left it :)



#25440 What's in the magical, mysterious, box of crappy surplus?

Posted by Omar (OZ) on 13 March 2012 - 02:55 AM in General Discussion

Oh boy, I may not want to open such a perfectly packaged box! Posted Image
Look forward to getting it!


It's alright, you have permission to open the box if you stop folding proteins ;)



#25435 What's in the magical, mysterious, box of crappy surplus?

Posted by Omar (OZ) on 13 March 2012 - 01:11 AM in General Discussion

Well this is silly, edit system is acting up or chrome is failing. anyways, ignore the above statement, I managed to fit that thing in there. I will ship the box asap. Dan can you get me that address?



#25434 What's in the magical, mysterious, box of crappy surplus?

Posted by Omar (OZ) on 13 March 2012 - 01:05 AM in General Discussion

For some reason I cant edit. I forgot to mention that in order to save space I will keep the box with some sort of data logger thing out of the BoCS, but if anyone wishes to get that, post here so I can put it back into circulation. Its kinda big and takes up too much room.



#25431 What's in the magical, mysterious, box of crappy surplus?

Posted by Omar (OZ) on 13 March 2012 - 12:48 AM in General Discussion

Can haz box! Small note before we get into the box, yeah I've been absent from the community for a bit, I'll be back to my regular presence when school lets go of my neck. I took out the big fancy stepper and the AMD CPU, which luckily enough fit in some mobo i had lying around. An interesting project will come from that, hopefully you shall see it soon. Picture of what I took - http://dl.dropbox.co...45/DSCN0322.JPG Now to the goodies you will find! I took a picture of the contents all laid out, find the fairly large image here: http://dl.dropbox.co...45/DSCN0341.JPG My contributions are (enclosed in red in the picture): Ziplock bags(All salvaged from a CRT monitor pcb.): caps resistors diodes and one with mosfets, inductors and some dip chip. Salvaged from an old printer are three pcbs, one of which is a funky big button pad, and three motors (2 steppers and one dc) Now to pack this all up as best as possible, OCD engage...



#19415 Netduino USB HID Keyboard - Updated code

Posted by Omar (OZ) on 19 October 2011 - 10:37 PM in Project Showcase

Hi,

Thanks for this!

I'm not sure where the official repository for keyboard.cs is - but I added single and double quote support:


case 34:        // "
    cb = 52;
    mod = 0x02;
    break;
case 39:        // '
    cb = 52;
    break;

This is a great reference if there are any keys you need to add for your project: http://www.quadibloc.com/comp/scan.htm

Thanks Again!
Dan


Thanks for the contribution! I'll add it to the code when i get some time.



#18334 Where buy NetDuino PLUS in Brazil

Posted by Omar (OZ) on 22 September 2011 - 04:42 PM in Netduino Plus 2 (and Netduino Plus 1)

Folks, you know tell me where to buy netduino plus in Brazil???

Thanks in advance!

http://www.netduino....uy/?pn=netduino there you can see the official sellers. I'm not sure which one would be best for you (as far as shipping costs go). Hope you find one that suits you :)



#17128 Beta driver for .NET MF 4.2 RC3+

Posted by Omar (OZ) on 26 August 2011 - 09:00 PM in Beta Firmware and Drivers

Still having BSOD when unplugging the netduino plus when its hanging on deployment.



#16918 SD Card not working

Posted by Omar (OZ) on 21 August 2011 - 02:33 PM in Netduino Plus 2 (and Netduino Plus 1)

I think the SD card can be found at \SD rather than \\SD.

Regards,
Mark


You are correct, @"\SD\" is the same as "\\SD\\" but those two were mixed. I did give him some code which worked for me but it didn't work for him. So his SD card is bad, but that code is also bad. Good catch :)



#16891 SD Card not working

Posted by Omar (OZ) on 20 August 2011 - 11:05 PM in Netduino Plus 2 (and Netduino Plus 1)

In case you forget this is the one i used successfully http://www.amazon.com/dp/B000VOU91U/ A note to others: when using your netduino plus avoid kingston cards.



#16885 Netduino USB HID Touch Screen Keyboard

Posted by Omar (OZ) on 20 August 2011 - 08:50 PM in Project Showcase

Wow Omar, you put a lot of work into this! Shift lock? Hover effects (and key cancellation if you move off)?

Cool!

Chris


(yes)

thanks!



#16883 Netduino USB HID Touch Screen Keyboard

Posted by Omar (OZ) on 20 August 2011 - 07:20 PM in Project Showcase

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. Attached File  Netduino Touch Keyboard.zip   165.82KB   211 downloads Here is the screen's code: Attached File  screen 4DGL code.txt   8.84KB   69 downloads Let me know if you find bugs.



#16879 SNTP clock / RSS news reader

Posted by Omar (OZ) on 20 August 2011 - 06:19 PM in Project Showcase

wow very nice!



#16874 LCD Help needed, 16x2s are boring

Posted by Omar (OZ) on 20 August 2011 - 01:50 PM in Netduino 2 (and Netduino 1)

Hi guys,

I've played a little with the code and found that we can't use text functions together with graphics - the text goes directly to the LCD than the graphic gets into the buffer first and than whole buffer transferred to display.
So I added functions DrawString and DrawChar that draw string into buffer first, so it can be combined with graphics and shown by calling Lcd.Refresh() function:

public void DrawString(int x, int line, string str, bool mode)
        {
            foreach (char c in str)
            {
                DrawCharacter(x, line, c,mode);

                x += 5; // 6 pixels wide

                if (x + 5 >= 84)
                {
                    x = 0;    // ran out of this line
                    line++;
                }

                if (line >= 48 / 8)
                {
                    return;        // ran out of space :(
                }
            }
        }

        protected void DrawCharacter(int x, int line, char c, bool mode)
        {
            for (int i = 0; i < 5; i++)
            {
                if (mode)
                    ByteMap[x + (line * 84)+ i] |= NokiaCharacters.ASCII[c - 0x20][i];
                else
                    ByteMap[x + (line * 84) + i] |=(byte) ~NokiaCharacters.ASCII[c - 0x20][i];
                //x++;
            }
        }

Regards,
Eugene


Nice Eugene! You're welcome to re-post the code with that added in.



#16854 analog input

Posted by Omar (OZ) on 19 August 2011 - 11:56 PM in Netduino Plus 2 (and Netduino Plus 1)

hi folks,

i´m a beginner with programming and wan´t to know how i can read or convert input signals??
i conected a poti with the analog input, i will that the led from D0 by low voltage pegel shine and the led from D1 by high voltage pegel or so.

Please cam someone post some ideas for a code for c#.

Thanks a lot

Markus


This might help: http://wiki.netduino...ntiometers.ashx




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.