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.

Tecchie

Member Since 02 Dec 2010
Offline Last Active Apr 11 2014 05:27 PM
-----

Posts I've Made

In Topic: Simple DMX Transmitter

09 May 2012 - 08:55 PM

Sorry for the confusion about the IC name and the late response. I haven't been here for a longer while. But Mario kindly helped out.

Also I suggest a couple of resistor on the output wiring. One 1Meg pullup at pin 6, and one 1Meg pulldown at pin 7 (of the 75176). That prevents undefined reception at the receiver side, when there's no enable of transmission.


The transmit enable pin is hardwired to logic high in my example, so transmission is always enabled. So these bias resistors are not necessarily needed here, but one may add them.

The solution is a bit hacked, and delicate, but worthy the same.


Of course, it's a bit of a hack. The two common solutions on a µC would be either to set the break flag in the UART register or decrease the baud rate and send 0x00. Unfortunately both options are not available on the netduino/.NET Micro Framework. The Break property on the SerialPort class is only available in full .NET and changing the baud rate while leaving the port opened isn't allowed (at least when i tested that).

Thomas

In Topic: N+ Serial Read Frequency

11 May 2011 - 05:26 PM

    port1.Write(GPSbuffer, 0, GPSbuffer.Length);
    if (GPSbuffer[0] != 36)
        continue;


Those two lines seem a bit strange. First line: Why do you try to write the data back to the GPS?
Second line: are you sure that you want to skip all of the remaining part of the while-loop (including the reading from the IMU)?

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.