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.

Veetrik

Member Since 27 Mar 2011
Offline Last Active Sep 24 2011 03:55 PM
-----

Posts I've Made

In Topic: Netduino Plus webserver Help

10 June 2011 - 03:35 AM

Veetrik,

Thanks for your reply. I tried what you suggested, but the assembler didn't like the code.
After some investigation I found my problem in the program.cs.
There was no trap for a bad command sent from the browser.

Thanks again Gordon


That's great Gordan. by the way the could I sent you should have been:

string commandData = (rawData.Lenght >= 5) ? rawData.Substring(5, rawData.Length – 5) : "";

In Topic: Netduino Plus webserver Help

29 May 2011 - 01:16 PM

It could be that rawData length is less then 5, you can try replacing: string commandData = rawData.Substring(5, rawData.Length – 5); with: string commandData = (rawData.Lenght >= 5) rawData.Substring(5, rawData.Length – 5) ? ""; However, the real issue is why is the rawData length is less than 5?

In Topic: SkyNet

23 May 2011 - 11:51 PM

Very cool. Do you have a video of your project in action by any chance (YouTube)?


Thanks Chris, here's a screen shot:
Posted Image


and here's the video:
http://www.youtube.com/watch?v=mx-WD_sVqfE

In Topic: PanAndTilt

14 May 2011 - 05:28 PM

I have done some research on this and it looks like you can connect a servo directly to a pwm pin (see forum. I have not run into any problems by the original circuit, but as a precaution and since I'm familiar with TTL circuits I decided to add a 74LS04 chip as a buffer. This chip has six 'not' gates in it. Each gate inverts the single, so we need to use 2 gates for each line in order to get the correct signal out. I'm sure that there are many other ways of isolating the pins, but this is what I had available. Below is the breadboard diagram.
Posted Image

The thing about servos is that they use the +V pin for most of their current, the pulse pin seems to draw a small amount.

http://www.youtube.com/watch?v=W1WQ3EzciOA

In Topic: PanAndTilt

13 May 2011 - 04:15 PM

I'm not really a hardware person as you may have guess. So while this circuit did work, I think its advisable to look into adding drivers to protect the Netduino from the spikes. I will post an update when I have a safer circuit. Thanks Michel for the heads-up.

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.