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.

SpitfireMike

Member Since 11 Jan 2012
Offline Last Active Apr 02 2014 12:55 AM
-----

Posts I've Made

In Topic: Serial Port Data Lost

04 October 2013 - 04:03 PM

I'd guess that the Main loop is spinning, preventing the event from firing.  Add a Thread.Sleep(10) in your Main while (true) loop to give the event queue a little breathing room.

 

The .NET event is similar to the Arduino interrupt, the big difference is the event is queued and processed in the same thread as the event source and interrupts are much more immediate.  Since the _port is running in the main thread, the light loop in Main isn't yielding to let the event fire.


In Topic: Easiest way for a noob to control 3 relays?

05 April 2013 - 04:09 PM

I haven't done this myself, but you could use one of these:http://www.ghielectr...log/product/405 to break out the pins from the GO socket to the pins on the relay board.

I've had great success with the SainSmart relay boards using Netduino+, haven't tried them with the GO.


In Topic: Netduino Plus 2 non-standard serialports

28 January 2013 - 12:57 AM

Just to close the loop, using a few RS232 Shifters (SparkFun PRT-00449) and the Netduino Plus 1, I was able to communicate at 19200 7E2.  Unfortunately, after all of this, the barcode scanner doesn't support the UCCEAN128 barcode format required for the DHL label we needed to use.  After all of that, the project was scrapped.

The good news is that we have identified a few other places on our manufacturing floor where the Netduino platform can be used,


In Topic: Netduino Plus 2 non-standard serialports

18 January 2013 - 08:13 PM

The scanner is an old AccuSort Mini-X, I'm pretty sure I can change the data line to 8N1.  If I can't, I have a few Netduino 1s on my desk at home, I'll grab one of those. 

 

I really can't thank y'all enough.  Evey time I've had a problem and posted a question, I've had a helpful response far quicker than I expect.


In Topic: Netduino Plus 2 non-standard serialports

18 January 2013 - 01:29 AM

Specs for the barcode scanner said 5V, but meter says 12V a few minutes ago. Hmph. I only need to validate the receive bit tomorrow, I'll whip up a voltage divider until I can get a proper level converter.  If it was a simple voltage problem, this should take care of it.

 

I'll hold off on updating the firmware, last time I did that it didn't work out quite so well.


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.