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


By content type

See this member's


Sort by                Order  

#8178 How can I get instant (or close to) data from http...?

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

...wait, so my example worked??? with a netduino?



#8174 Quick and dirty GPIO speed test - findings

Posted by bill.french on 23 January 2011 - 03:37 PM in General Discussion

Don't get me wrong, I love the .Net Micro Framework :)

...but not the Netduino, Secret Labs, or Chris Walker??? :lol:
Your posts ruffle my feathers! I'm still reeling from the basic comment on loading assemblies.
But, you're obviously brilliant and successful, so, I am still a Fabien Fan. I wish I was at least better looking, but we kind of look like we could be brothers. :o

PS: Bill, how do you like your Saleae analyzer so far?

I like it, it's very "sexy" in a mac sort of way, and works in 7 and OSX.
..but, if feels very basic, feature wise. I've never used a logic analyzer before, so I'm not sure what I'm expecting. I was trying to "reverse engineer" an IR signal with it, and while it was useful, there was no way to compare two "bit trains" side-by-side from different samples, so I was cutting and pasting screen shots into paint.net. I have no idea if any logic analyzer has that sort of functionality. The software essentially has no menus, so I found myself hungry to do simple things like split the screen in two vertically.



#8173 How can I get instant (or close to) data from http...?

Posted by bill.french on 23 January 2011 - 02:53 PM in Netduino Plus 2 (and Netduino Plus 1)

Yup, *Note to self: "srtw"* (http://www.stopreinventingthewheel.com)


LOL... i added the quote to that page. I think I'll start a collection.

Have you tried playing with my example above? I think it should work.

jquery is definitly the place to start (and probably end) for ajax, i think VS is has intellisense for it?



#8171 Coding style discussion

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

Edit: Actually there is one other thing, what is DDD?: this http://www.gnu.org/software/ddd/?


my guess was this: http://en.wikipedia....n-driven_design

... i've added it to my extensive list of things to read about.



#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.



#8126 Quick and dirty GPIO speed test - findings

Posted by bill.french on 23 January 2011 - 12:23 AM in General Discussion

Let me start off by saying that I think the netduino and the netmf is wonderful. *BUT* this is something you need to know coming into this, if you've ever done anything with lower level micro controllers. Folks "new to the sport" probably won't run up against this for a while.

There was a bit of discussion on this in an earlier thread:
http://forums.netdui...ch__1#entry6380

... also interesting, in the quadrocopter discussion, I had checked out the timings using my saleae logic and you can see what is apparently the scheduler getting involved:
http://forums.netdui...ndpost__p__7645

I did some new measurements with my saleae so i could zoom in and provide a different perspective of what you're talking about:
using this code: (this was so I could get the timings of the on/offs as equal as possible)
while(true)
{
b = !b;
d0.write(B);
}
I got this:
Posted Image
and using this code: (which is faster)
while(true)
{
d0.write(true);
d0.write(false);
}

I got this:
Posted Image

There is lots of interesting things to think about, I think.
1. It's interesting to me how much slower the first example is
2. We might want to keep track of these types of timings to have a handle on if firmware changes impact the timings at all
3. I wish I could mail Corey my saleae to get the timings under his fluet interopt... which is awesome. (Or, alternatively, I with I was brave enough to try it myself!)
http://www.youtube.com/watch?v=9EcEUbtgO2I
4. I wonder what the impact of things like GC and the scheduler are

#2 sounds like the start of development of a test suite for the netduino, where we can independently test the netduino during firmware upgrades. I might consider taking on this project myself. (Once I learn what a test suite is)



#8121 How can I get instant (or close to) data from http...?

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

Not entirely sure I understand what you're looking for?
1. How to get your javascript to get live data w/o refreshing the whole page?
2. Or a different way to get data from the netduino?

For #2, I don't know what you're going for.

For #1, check out jquery and the load command: (this would go in your refresh function once you have jquery included)

$('#myDiv').load('data.htm');

(to add jquery, use:
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
in your <head>)

... in your program.cs: (i have not tested this, so it's more of an idea than anything)

namespace NetduinoPlusWebServer
{
    public class Program
    {
        public static void Main()
        {
            Listener webServer = new Listener(RequestReceived);

            OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);
            while (true)
            {
                // Blink LED to show we're still responsive
                led.Write(!led.Read());
                Thread.Sleep(500);
            }

        }


        private static void RequestReceived(Request request)
        {
          if (request.URL == "data.htm")
          {
          request.SendResponse("some kind of data");
          }


        }


    }
}



#8087 1-WIRE

Posted by bill.french on 22 January 2011 - 02:27 AM in Netduino Plus 2 (and Netduino Plus 1)

I have had very good luck with this unit: http://www.phanderso...mp/onewire.html



#8085 Replace analog pot with Netduino using PWM

Posted by bill.french on 22 January 2011 - 02:25 AM in Netduino 2 (and Netduino 1)

Instead of a motor control board (some sort of shield, I am imagining?), you might pick up an RC ESC and control that with pwm. Http://www.hobbyking.com has tons of cheap stuff. What toy RC is it?



#8038 Interfacing with the uLCD-144 mini lcd screen

Posted by bill.french on 21 January 2011 - 02:18 AM in Netduino 2 (and Netduino 1)

Yes, it is awesome, but comes with a price -- it's a little pricey, and it is small. It also can generate sound on the other pin. It's crazy. I am building a library to mirror the all the SGC commands, then I'll go from there. Part of me would like to get it to dial out via a modem and connect to a bbs or something. Use lynx to surf the web? LOL



#8018 Replace analog pot with Netduino using PWM

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

Can you better describe what you are trying to do, what you're wiring up, etc? I have some ideas.



#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!



#7992 "Universal" LCD Shield

Posted by bill.french on 20 January 2011 - 01:54 PM in Project Showcase

I have it using 5 ports, one for each position. There are two options that I might try out in another etch: 1. Using resistors and an analog port 2. The uLCD-144 actually has the capability to take read the joystick using method 1, in which case it won't use any io ports.



#7964 "Universal" LCD Shield

Posted by bill.french on 20 January 2011 - 03:40 AM in Project Showcase

I etched a shield that can take two different LCD screens:
http://www.sparkfun.com/products/10168 (monochrome, about $10)
...and...
http://www.sparkfun.com/products/10090 (color, about $32)
It also includes a 5 way tactile switch:
http://www.sparkfun.com/products/10063

Attached is the etch pdf from Fritzing if anyone cares to make one themselves.

Here's some pics:
1. With the color screen, running a simple drawing program I made up using the joystick:
Posted Image
2. With the B&W screen:
Posted Image
3. The shield with no screens:
Posted Image
4. The copper side, my technique has really improved:
Posted Image

Attached Files




#7963 Interfacing with the uLCD-144 mini lcd screen

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

Hi there. It just needs 5v to the vin, ground, then you hook the tx/rx to the rx/tx on either uart (i used com2 above but have switched to com1 now) and then any io to the reset to be able to reset the device. In the above code I used D4, but have since switched to A5. Edit: and "yes" to the SGC question.



#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



#7906 Basic question about managing classes

Posted by bill.french on 19 January 2011 - 12:58 PM in Visual Studio

Cool. This may have changed my life forever!



#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.... :)



#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?



#7876 Basic question about managing classes

Posted by bill.french on 19 January 2011 - 12:26 AM in Visual Studio

Sorry if this is really dumb. Let's say I have a class in a .cs file that I want to use in multiple projects. Is there any easy way to do this so that if I fix a bug in the class while working in one project, all the other projects will get the latest version of the file? Hopefully I'm phrasing this in a way that makes sense!



#7866 IR Transmitter?

Posted by bill.french on 18 January 2011 - 06:54 PM in General Discussion

This might be helpful, too: http://dangerousprot...SB_Infrared_Toy



#7865 IR Transmitter?

Posted by bill.french on 18 January 2011 - 06:51 PM in General Discussion

This might help you: http://forums.netdui...p?showtopic=185



#7804 Fluent Interop 1.2

Posted by bill.french on 17 January 2011 - 06:12 AM in Project Showcase

I was actually hoping you'd talk a bit about what you have going on. Your code is... beyond me at this point, although I certainly want to get there, as I have some ideas that I think would benefit from your work.

It certainly looks more responsive compared to your previous attempt, but what do you think?

Posted Image



#7787 Fluent Interop 1.2

Posted by bill.french on 17 January 2011 - 01:19 AM in Project Showcase

Very nice! Give some details!!



#7698 NetDuino Quadrocopter

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

I think 'dones' was just teasing. [For reference, I apparently look about 3-5 years younger than my age as well. On my first driver license, I looked like I was in elementary school still. :)]

Chris


Whoa, after meeting you at Maker Faire, I never would have guessed you were in your 50s!




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.