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.

perpetualKid's Content

There have been 5 items by perpetualKid (Search limited from 11-July 19)


By content type

See this member's

Sort by                Order  

#62488 Windows Virtual Shields for Netduino?

Posted by perpetualKid on 06 May 2015 - 07:49 PM in General Discussion

Wondering if anyone seen or already working on a Firmata implementation for Netduino (or generally NetMF devices) to use Windows Phone as kind of a Virtual Shield, similarly as Microsoft announced for Arduino devices (http://ms-iot.github...0/SetupWVSA.htm, http://makezine.com/...collaboration/)
Too bad Microsoft isn't focusing their own platforms (NetMF), though understandable given the larger community on the other side.

Haven't found any reasonable implementation for Netduino, just checking if there is any effort in progress already before reinventing the wheel aka starting a port. Contributions welcome :)



#60691 EventHandler vs specific thread

Posted by perpetualKid on 12 November 2014 - 05:15 AM in General Discussion

I think the while loop is not necessary. You will read as many bytes as available to read, and exit the eventhandler. Once there are more bytes available, the event will be raised again and you continue reading. You just need some marker in your data which marks the end of a message, typically crlf or | or so 0x00 etc.
There is no guarantee that all data arrives in a single batch in the eventhandler, at max it may come byte by byte (at least the order is kept). So you need some buffer or stream to hold already received data until the remainder is coming as well.



#60041 serial comunication between Netduino & PC

Posted by perpetualKid on 08 September 2014 - 04:39 PM in General Discussion

seems your compiler resolves to SecretLabs.NETMF.Hardware.Netduino.SerialPorts, whereas you want System.IO.Ports.SerialPort . Make sure in your new-statement it is SerialPort, not SerialPort*s*



#59223 Multiple InterruptPorts being fired?

Posted by perpetualKid on 14 July 2014 - 09:34 PM in Netduino Plus 2 (and Netduino Plus 1)

maybe you can post your code so we can have a look? :)



#59222 Netduino servo class

Posted by perpetualKid on 14 July 2014 - 09:30 PM in Netduino 2 (and Netduino 1)

in that code above it should be these lines defining the servo range

 

// Typical settings
range[0] = 1000;
range[1] = 2000;

 

Typically a 1500ns pulse defines the midpoint, and you may try some broader range to turn your servo the full 180 degree. I'm sure there is some spec available where you could read up the lower and upper boundaries, else just try in some steps like 950 and 2050, 900 and 2100 etc to find the full range. Some servos go as braod as 500 for the low bound (range[0]) up to 2500 for the upper bound (range[1]).





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.