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 05-July 23)


By content type

See this member's


Sort by                Order  

#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



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



#8312 RS485 between two Netduinos

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

check this out: http://forums.netdui...ch__1#entry6890 might have to do with adding the event before the port is open?



#8314 RS485 between two Netduinos

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

You could also test it without events with something like this:

while(true)
{            
while (_COMPORT.BytesToRead > 0)
            {
                byte[] buffer = new byte[1];
                _COMPORT.Read(buffer, 0, 1);
                Debug.Print(buffer[0].ToString());
            }
}



#6498 Netduino Firmware v4.1.0 (update 6) BETA 1

Posted by bill.french on 24 December 2010 - 08:28 PM in Beta Firmware and Drivers

I can't tell you how excited I am.


For the love of God, man, don't reply to me! Get back to work!



#6496 Netduino Firmware v4.1.0 (update 6) BETA 1

Posted by bill.french on 24 December 2010 - 07:12 PM in Beta Firmware and Drivers

to release v1.0 of my Fluent Interop stuff by the end of this weekend.


I was wondering what you've been up to!



#6476 Solid Graphic LCD

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

Well, I don't know, but that LCD you linked is pretty amazing! From the comments:

So let me get this straight. This thing is a color LCD with built in controller, backlight circuitry, microSD socket which is compatible with both low capacity and high capacity cards, AND! it basically has a user programmable microcontroller with 10k of program space and 2 GPIO lines in addition to all the on-board control lines for interfacing with the LCD?




#7417 Solid Graphic LCD

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

2 things -- I believe your can "reflash" the SGC to GFX and vice-versa, based on this reply from 4D's support:

Certainly you can change the configuration from SGC to GFX and vice versa. See the links below with individual configurations,


Also, another screen to consider if anyone stumbles across this thread:
http://www.dfrobot.c...&product_id=135



#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



#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



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



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



#6813 SerialPort Class not in System.IO.Ports

Posted by bill.french on 02 January 2011 - 04:15 AM in General Discussion

Hmm... I've been powering everything off the netduino, it works for me with either an external power supply or just usb.



#6787 SerialPort Class not in System.IO.Ports

Posted by bill.french on 01 January 2011 - 04:26 PM in General Discussion

Let me know if it works for you. I'm very nervous!!



#6822 SerialPort Class not in System.IO.Ports

Posted by bill.french on 02 January 2011 - 05:55 AM in General Discussion

i posted my circuit layouts in another thread, might help out here: http://forums.netdui...rst-shield-pcb/



#7337 Problem with Analog Input

Posted by bill.french on 09 January 2011 - 01:46 PM in Netduino Plus 2 (and Netduino Plus 1)

cwbhx: here's a thread with a diagram including a potentiometer, if it's helpful.



#4901 Speed and turning control with Ardumoto - Motor Driver Shield

Posted by bill.french on 14 November 2010 - 12:41 PM in General Discussion

I didn't catch this the first time, but I think PWM is only supported on pins 5,6,9,10 -- not 3 and 11. Specs are here: http://www.netduino....duino/specs.htm digital i/o features ● all 20 digital and analog pins: GPIO ● digital pins 0-1: UART 1 RX, TX ● digital pins 2-3: UART 2 RX, TX ● digital pins 5-6: PWM, PWM ● digital pins 7-8: UART 2 RTS, CTS ● digital pins 9-10: PWM, PWM ● digital pins 11-13: SPI MOSI, MISO, SPCK ● analog pins 4-5: I2C SDA, SCL



#4892 Speed and turning control with Ardumoto - Motor Driver Shield

Posted by bill.french on 14 November 2010 - 12:07 AM in General Discussion

Your syntax is wrong: PWM pwm1 = new PWM(Pins.GPIO_PIN_D3); PWM pwm2 = new PWM(Pins.GPIO_PIN_D11); I think is more what you want?



#4904 Speed and turning control with Ardumoto - Motor Driver Shield

Posted by bill.french on 14 November 2010 - 02:31 PM in General Discussion

Sorry I didn't notice originally! Just FYI, the "outofrange" exception made me think you were trying to access some capability outside of the range where it was possible.



#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




#5403 Anyone have a Windows Phone already?

Posted by bill.french on 27 November 2010 - 02:09 PM in General Discussion

Well, I think it's a great idea. I probably won't get a windows phone any time soon, simply because i'm still mad at how terrible pocket IE was all the way up through window mobile 6.5 ... I mean, it's like they were intentionally being cruel to the users -- but if I saw something cool going on with visual studio, c#, and a netduino plus, i could be swayed. I mean, my droid is nearly a year old now, if you can imagine someone keeping a phone for so long!



#7453 Use of Static Keyword

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

Very cool, thank you all -- sorry to hijack. I wish this were a separate thread!



#7461 Use of Static Keyword

Posted by bill.french on 11 January 2011 - 04:03 PM in General Discussion

Cool, thanks, Chris. This is somewhat related: is there a "cheat sheet" anyone likes on styling code? Stuff like when to use camel case, lower case, etc, for methods, properties, classes, etc? ... and also, what's the current philosophy on namespaces?



#7411 Use of Static Keyword

Posted by bill.french on 10 January 2011 - 12:59 PM in General Discussion

Ever since the beginning of time ... or at least since version 0.9 of .NET, all Microsoft Templates has started out GUI projects with creating an "instance" of your main class.
...
The statement about "static" functions beeing stateless and without side effects, is a general rule of proper coding style.


I understand what static is. I'm looking more for literature that supports what sounds a lot like your opinion. Based on what you say, if I have a function that I want only ever want one instance of, unless it's a helper function or without side effects, I should not make it static -- that doesn't quite sit well with my gut, but I really don't know.

Concerning your gui / java example, I (think I) know the templates were that way because they *had* to be, since main has to be static (there can be only one) and you can't call non-static functions or whatever.

"rules of proper coding style" -- where are these rules? I've used static classes to specifically deal with certain state issues.

As I'm writing this, it seems combative, but I really want to understand.




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.