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 06-June 23)


By content type

See this member's


Sort by                Order  

#6328 Eastern U.S Lunar Eclipse

Posted by bill.french on 21 December 2010 - 05:05 PM in General Discussion

oh, i'm so sorry! :(



#6322 Eastern U.S Lunar Eclipse

Posted by bill.french on 21 December 2010 - 01:02 PM in General Discussion

So, did you see it? Take pics? I have always found lunar eclipses don't live up to the hype, but they are interesting.



#7274 Introduction

Posted by bill.french on 08 January 2011 - 02:46 PM in General Discussion


Can anyone recommend a vendor for sensors?


Welcome!! What kind of sensors??? :P

http://www.sparkfun.com/categories/23 is my favorite place to start.



#8170 LEDs for netduino

Posted by bill.french on 23 January 2011 - 02:39 PM in General Discussion

You can use a plain old NPN transistor, which is fun to use if you want to learn about transistors, anyway. I've used various leds with 220ohm resistors on various ports without and problem so far for testing, but your mileage may vary! I'd like to find a source for leds with resistors built in.



#7022 Newbie on Serialport

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

Here's another of my threads with a circuit diagram including the phanderson chip: http://forums.netdui...rst-shield-pcb/



#8692 Switching AC

Posted by bill.french on 30 January 2011 - 02:33 PM in General Discussion

I'm using this for my sous vide controller: (i use a transistor to control it from the netduino)
http://powerswitchta...om/default.aspx

I had a 16hr steak and eggs for breakfast! :) What are you working on?

Posted Image



#8750 2 Potentiometers = Freeze-ups

Posted by bill.french on 31 January 2011 - 01:37 PM in General Discussion

Post the code when you get a chance.



#5165 Disposability

Posted by bill.french on 22 November 2010 - 03:43 AM in Netduino 2 (and Netduino 1)

This is how I started learning about it: http://forums.netdui...ch__1#entry4293



#7636 Question about COM2

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

Staring at Tecchie's Pinout Cards tonight, a question popped in my head:

If you are using COM2, are D7 and D8 (rts/cts) unusable for anything else? Or can the still be assigned as input/output ports?



#5786 Serial Communication via D0 and D1

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

I'm trying to get this onewire to rs232 device working, and of course it's not... :(

For serial, using D0 for RX (hooked to TX on my device) and D1 as TX (hooked to RX on my device), do I need anything other than:

var s1 = new SerialPort(SerialPorts.COM1, 9600);
s1.Open()

... and then I can read and write using s1.Read and s1.Write?

What does .Read do if there's no data there? Does it just wait? Return garbage?

I'm getting data via s1.Read with nothing even hooked up to the netduino.



#5794 Serial Communication via D0 and D1

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

OK I figured it out... I was receiving 4x more bytes than expected because the onewire->rs232 works in a completely unexpected way. Even once I disconnected the device, the uart still had data in it. So, when I ask it to read a byte, it returns the byte represented in hex using ascii characters... So, if I was expecting just this byte: 11111111 (in binary) (255 in decimal) (FF in hex) it actually sends the ascii character F twice followed by linefeed and carriage return, for a total of four bytes.



#7932 About the forum (hard to read this theme)

Posted by bill.french on 19 January 2011 - 08:26 PM in General Discussion

You could vote, here: http://forums.netdui...ch__1#entry3998



#4111 Questions about time

Posted by bill.french on 22 October 2010 - 05:11 PM in Netduino 2 (and Netduino 1)

Cool. Is your stopwatch sample still applicable? It uses Microsoft.SPOT.Hardware.Utility.GetMachineTime().



#4107 Questions about time

Posted by bill.french on 22 October 2010 - 04:27 PM in Netduino 2 (and Netduino 1)

I've read these two threads: http://forums.netdui...rch__1#entry514 http://forums.netdui...rch__1#entry650 My basic question is: what does the netduino know about time, and how can I access it? I (think I) know there's no RTC (real time clock), but there is a RTT (real time timer) which is fine, but what ways to get access to accurate time? Can events be raised by timers? Most of the samples I've seen deal with timing through thread.sleep.



#4748 want little help

Posted by bill.french on 09 November 2010 - 06:08 PM in General Discussion

You could use something like this with the netduino:

http://www.parallax....83/Default.aspx

to sense the motion, which could then alert something to start recording, or raises some other sort of alert.



#5982 AnalogInput hardware error

Posted by bill.french on 11 December 2010 - 01:58 AM in General Discussion

Can you post the rest of that code block? If you click break, does it give you a more explicit error?



#5984 AnalogInput hardware error

Posted by bill.french on 11 December 2010 - 02:11 AM in General Discussion

hmm, seems like the analogpin isn't getting released properly, would be my guess? Something to do with ReadLM34 being static?

Maybe try something like this:

instead of:
AnalogInput analogPin = new AnalogInput(inputPin);
try:

using(AnalogIntput analogPin = new AnalogInput(inputPin))
{
...your other code...
}

... but then again analog input might not be idisposable, so this might not help.

I'm about to jump onto my other computer and can try it out myself.



#5986 AnalogInput hardware error

Posted by bill.french on 11 December 2010 - 03:52 AM in General Discussion

This worked for me -- note the .Dispose() towards the end; the "using" i suggested earlier might not work because of AnalogInput not being IDisposable

public static double ReadLM34(Cpu.Pin inputPin)
        {
            // Reads an LM34 analog temperature sensor several times and converts the 
            // Code example for potentiometer at:
            //  http://forums.netduino.com/index.php?/topic/638-basic-analog-input-circuit-and-program/

            int vRef = 3300;        // 3300 mV, or 3.3V
            int readingTot = 0;     // Summed total of the iterations
            int numReads = 10;      // Number of times to take a reading
            double tempF = 0.0;     //

            AnalogInput analogPin = new AnalogInput(inputPin);

            // Take a number of readings and average them together to get the final 
            //  temperature calculation

            for (int i = 0; i < numReads; i++)
            {
                readingTot += analogPin.Read();
            }
            tempF = (readingTot / numReads) / 1024 * vRef / 10;

            analogPin.Dispose();
            
            return tempF;
        }



#4788 Netduino power

Posted by bill.french on 10 November 2010 - 03:49 AM in General Discussion

Check this out: http://forums.netdui...ch__1#entry3812 .. i'm thinking 15v should be fine.



#4925 Measuring Analog Value and output it on console?

Posted by bill.french on 15 November 2010 - 12:04 AM in General Discussion

This might help you: http://forums.netdui...it-and-program/



#11580 Trenton Computer Festival this weekend!!!

Posted by bill.french on 02 April 2011 - 01:47 AM in General Discussion

Hi there, I haven't been hanging around the forum as much, but have been busy, busy, busy! With Netduino projects and other things.

Anyway, this weekend is the Trenton Computer Festival! (in Trenton, NJ) There's going to be an all-day "Arduino Workshop", which could be of particular interest, including an open hack time, which I'm hoping to bring my Netduino+ to.

Also, the flea market has traditionally had a wider variety of computer stuff, some older stuff, junk, etc. -- as compared to most computer flea markets.

Either way, everyone enjoy your weekend!



#7877 "Open Collector"

Posted by bill.french on 19 January 2011 - 12:30 AM in Netduino 2 (and Netduino 1)

Form the manual for my uLCD-144: (emphasis mine)

Master Reset signal. Internally pulled up to 3.3V via a 4.7K resistor. An
active Low pulse greater than 2 micro-seconds will reset the module. If
the module needs to be reset externally, only use open collector type
circuits
. This pin is not driven low by any internal conditions. The host
should control this pin via one of its port pins using an open
collector/drain arrangement.


From wikipedia, I feel like I have a good handle on what "open collector" means -- but how do I do that with a netduino?



#7905 "Open Collector"

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

Great, thanks for the feedback. I wasn't sure if with the netduino I could set it to an inputport and get the same open collector effect -- or use some other technique in code that does not require a transistor (and resistor as fred stated!) Right now I have it hooked up directly to the netduino and it works fine. So.... :)



#5659 Pre-Assembled Kits

Posted by bill.french on 02 December 2010 - 07:26 PM in General Discussion

What, as an example, do you want pre-assembled?



#6382 So, what's on everyone's Christmas List??

Posted by bill.french on 22 December 2010 - 06:25 PM in General Discussion

Realizing that not everyone celebrates Christmas, and it's only a few days away anyway:

If you had a list of stuff that a magical creature would pick from and deliver to you via your chimney Saturday morning, what would be on it??

Here's mine:
  • www.stepgenie.com - stepper motor controller
  • a stepper motor to experiment with
  • an LCD display
  • netduino mini
  • Make magazine subscription
  • and since i've been really good this year: http://www.saleae.com/logic/ logic probe system everyone keeps talking about

Please note: no socks on this list!!




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.