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.

bill.french's Content

There have been 260 items by bill.french (Search limited from 04-July 24)


By content type

See this member's


Sort by                Order  

#6979 StepGenie (An EE's Best friend?)

Posted by bill.french on 04 January 2011 - 01:13 PM in Netduino 2 (and Netduino 1)

I got a stepgenie for Christmas, my wife said it came quickly, and it was packed very well. Strange. You can definitely use the digital ios to set the various values high or low (1 or 0). To test it, i would start with LEDs. Tie pins 1,2,3 to +5v -- 13,14 to Gnd. 11 and 12 to digital ios, and 5,6,7,8 to leds through resistors and LEDs (no mosfets). Everything else (4,9,10) can be left open. This should put you in "Hi-torque" mode. Depending on pin 12 (DIR), if it is high or low, the lit leds should shift "up" or "down" when you toggle pin 11 (STEP). I didn't save my code, but i just toggled a digital io and paused 200ms so I could see it. Then, I played with pins 2 and 3 to try out the different modes. One lesson I learned (which was the point, really!) was the difference between unipolar and bi-polar steppers. I got a bi-polar stepper for Christmas, but the stepgenie is designed for unipolar...



#7007 StepGenie (An EE's Best friend?)

Posted by bill.french on 04 January 2011 - 08:57 PM in Netduino 2 (and Netduino 1)

I'm looking myself! My wife got me a bi-polar for Christmas, so... I either need to find a unipolar, or build the circuit to handle the bi-polar using a h-bridge.



#7053 StepGenie (An EE's Best friend?)

Posted by bill.french on 05 January 2011 - 03:56 AM in Netduino 2 (and Netduino 1)

Ok... I'm still stuck on the fact that your wife got you a StepGenie for Christmas. That's awesome!!

Did she get you the full demo board or just the chip itself?


LOL... she was very grateful to receive a Google spreadsheet with part numbers from me this year. I was grateful to receive fewer sweaters. :D



#7000 StepGenie (An EE's Best friend?)

Posted by bill.french on 04 January 2011 - 08:43 PM in Netduino 2 (and Netduino 1)

No, you'd hook a unipolar (with 6 wires) up to pins 5,6,7,8. The remaining two wires go to your powersource, possible through a power resistor first.



#7454 StepGenie (An EE's Best friend?)

Posted by bill.french on 11 January 2011 - 02:09 PM in Netduino 2 (and Netduino 1)

Hey there. I just noticed your private message, sorry! I also stumbled across my step genie still setup w/ LEDs in a breadboard; i will post a picture tonight for you.



#6992 StepGenie (An EE's Best friend?)

Posted by bill.french on 04 January 2011 - 04:24 PM in Netduino 2 (and Netduino 1)

for testing, i wouldn't put the modes on a digital IO yet, it would be one more complicating factor. I think 4 wires means bipolar and it won't work (easily) with the step genie, you want a 6-lead. http://www.probotix....ipolar_bipolar/



#7509 StepGenie (An EE's Best friend?)

Posted by bill.french on 12 January 2011 - 12:10 PM in Netduino 2 (and Netduino 1)

OK, here's a video of the stepgenie in action using LEDs:
http://www.youtube.com/watch?v=KjkVbNI8YBI
The code looks like this:
        public static void Main()
        {
            OutputPort d0 = new OutputPort(Pins.GPIO_PIN_D0, false);
            while (true)
            {
                d0.Write(true); //send a "step" to the StepGenie -- basically just a pulse
                d0.Write(false);
                Thread.Sleep(250);

            }
        }

It's wired up like this:
pins 1,2,12 -> 5v (from netduino)
pins 3,13,14 -> ground (from netduino)
pins 5,6,7,8 -> 220ohm resistor -> led -> ground
pin 11 -> D0 on the netduino

With this setup, you can move pin 12 from 5v to Gnd to switch directions; pins 2,3 can be moved to try different modes. Or, connect them up to digital ios on the netduino and change them through programming.

Hard to follow picture of the circuit: (I ran out of 220 ohm resistors so I used a blue potentiometer on one of the leds...)
Posted Image



#7024 StepGenie (An EE's Best friend?)

Posted by bill.french on 04 January 2011 - 11:44 PM in Netduino 2 (and Netduino 1)

Cool, thank you.



#7231 Doing a PIC's Job

Posted by bill.french on 07 January 2011 - 08:22 PM in General Discussion

Thank you for the explanation!

but I wanted to use a netduino mini since I have a fair understanding of C# and I'm pretty sure that doesn't run on 3V

I think you could get away with 3v on the mini, on the 3.3v pin.

Also, this site I think has a lot of "in car" stuff, like this:
http://www.mini-box....8&category=1264

...which you might think about using with a small lead-acid battery. Just throwing stuff out there.

Good luck with this!



#8012 Doing a PIC's Job

Posted by bill.french on 20 January 2011 - 07:00 PM in General Discussion

So, I've been looking over battery charger ICs and I found one that I really like, the trouble is that it's a "thermally-enhanced TSSOP" package which has a pad that needs to get soldered to the circuit board. It also looks very surface-mount and I don't have anything to deal with that. Is there any way to utilize this IC or should I look for something that's easier to use?

other than the thermal pad, you could hand solder this, i think.

Or use this: http://www.proto-adv...ucts_id=2210234

It has videos and everything!



#7243 Doing a PIC's Job

Posted by bill.french on 07 January 2011 - 09:01 PM in General Discussion

ah, sorry, I thought since you could use a 3.3v FTDI cable, you could power it with that. Apparently not!! My mini arrives today, i have 1 hard lesson out of the way!



#7211 Doing a PIC's Job

Posted by bill.french on 07 January 2011 - 02:13 PM in General Discussion

Batteries are often rated on their discharge/charge capabilities as multiples of "C". So, for instance, a 2000mah battery might have a discharge rating of 20C and a charge rating of .5C, which means you can discharge it at 40 amps (2000ma * 20) and charge it at 1 amp. Generally higher C batteries are higher quality and more expensive. If you don't mind me asking, what are you doing with this and why no LiPo?



#6927 Doing a PIC's Job

Posted by bill.french on 03 January 2011 - 08:25 PM in General Discussion

Sorry, that's a typo, I meant 1-10 cells.

LOL, well, that does make a difference. Even with 10 cells, though, they might peak as high as 1.5v/cell (or more depending on what you're dealing with), so that's still 15v.



#6910 Doing a PIC's Job

Posted by bill.french on 03 January 2011 - 01:27 PM in General Discussion

One thing to consider is the 20 cell aspect; 20 x 1.2v = 24v, so you'd have to boost your 12v to *at least* 24 volts, probably significantly more. This charger costs $17 and charges up to 15 MiMH cells: http://www.hobbyking...idProduct=11668 This one does up to 27 cells and costs $37: http://www.hobbyking...idProduct=12104 The $17 one is so cheap you could buy it and scavenge things like the display and voltage booster from it and come out ahead of the game.



#5008 Digital spirit-level, which sensor?

Posted by bill.french on 17 November 2010 - 04:22 PM in General Discussion

Accelerometers generally should detect gravity as acceleration.



#4580 MFToolkit - new release (VS2010 support / .NET MF 4.1)

Posted by bill.french on 07 November 2010 - 02:08 PM in Netduino Plus 2 (and Netduino Plus 1)

Very awesome, thank you!



#4547 MFToolkit - new release (VS2010 support / .NET MF 4.1)

Posted by bill.french on 07 November 2010 - 12:02 AM in Netduino Plus 2 (and Netduino Plus 1)

Is there a link to just what exactly the above MFToolkit is? I was not able to find a site that stated a simple overview of what it is and why it exists. Thanks!



#5796 Anyone have a clever hex->byte conversion routine?

Posted by bill.french on 06 December 2010 - 02:58 AM in Netduino 2 (and Netduino 1)

it doesn't appear that netmf supports int.Parse(hexValue, System.Globalization.NumberStyles.HexNumber); .. so does anyone have a clever hex to byte (or int or whatever) conversion routine handy, so that if I feed it the string "ff" it returns the number 255 in some form? Thanks!!



#5956 Anyone have a clever hex->byte conversion routine?

Posted by bill.french on 10 December 2010 - 02:02 AM in Netduino 2 (and Netduino 1)

What namespace is that under? I'm thinking the netduino does not support Convert.ToInt32?



#5970 Anyone have a clever hex->byte conversion routine?

Posted by bill.french on 10 December 2010 - 01:07 PM in Netduino 2 (and Netduino 1)

Thank you for the explanation, Chuckie. It seems hard enough for me to find stuff normally, and now I'm up against hidden stuff?? :unsure:



#5960 Anyone have a clever hex->byte conversion routine?

Posted by bill.french on 10 December 2010 - 03:01 AM in Netduino 2 (and Netduino 1)

I tried really hard to be clever and this is what I came up with:

        public static byte[] GetByteArray(string s)
        {
            return System.Text.Encoding.UTF8.GetBytes(s);
        }
        public static byte GetByteFromHex(string s)
        {
            return GetByteFromHex(GetByteArray(s));
        }
        public static byte GetByteFromHex(byte[] ba)
        {
            return (byte)((((ba[0] > 96) ? ba[0] - 87 : ba[0] - 48) * 16) + ((ba[1] > 96) ? ba[1] - 87 : ba[1] - 48));
        }



#4565 2D Motion Capture, early results

Posted by bill.french on 07 November 2010 - 05:37 AM in Project Showcase

Glad you enjoyed my very advanced Paint.Net skills!

Thinking about it (the project) some more, the datasheet says 5us is "typical"... (and since you say you got the pwm call wrong anyway) which makes me wonder if you could have gotten away with something like:

out1.Write(true);
out1.Write(false);

which, according to here, gets you a 60us pulse.

... I also wonder if you had gpio pins to spare, you could you one pin in output mode to fire the pulse, then another pin in input mode (both tied to the sig pin on the ping thing) to read the returning pulse, then you wouldn't have to worry about .Dispose()'s timing.



#4562 2D Motion Capture, early results

Posted by bill.french on 07 November 2010 - 04:52 AM in Project Showcase

While I was admiring your project, and your strategic use of .Dispose(), I couldn't help but think the displayed frame from your youtube video looked like you were trying to punch Beaker, but missed.

Posted Image



#5875 Stepper Motor Control?

Posted by bill.french on 07 December 2010 - 07:57 PM in Netduino 2 (and Netduino 1)

The demo board is for a parallel port, I would go with the step genie and four of the mosfet things they recommend, assuming you have that type of stepper motor.. I've never driven a stepper so this is all guessing on my part.



#5867 Stepper Motor Control?

Posted by bill.french on 07 December 2010 - 06:04 PM in Netduino 2 (and Netduino 1)

I've added a step genie to my Christmas list: http://www.stepgenie.com/




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.