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.

Clunis

Member Since 11 Aug 2012
Offline Last Active Aug 12 2015 12:40 PM
-----

Posts I've Made

In Topic: DCC / Model Railroad

20 July 2014 - 10:52 AM

Hi, I'm trying to use a TIP122 for my cause, but i have some trouble... Or I don't understood something.
I connected my pwm output to the B through 2.2k resistor, E to gnd and C to +VCC (5V) through RL resistor (1kOhm).
I have a 0.5V loss Vpp, but my logical signal 0 is -1.92V and 1 2.56V. why i'm getting negative voltages?
Thanks
_________________________
 
My fault, my probe was on AC Coupling -.-' Sorry guys... I need some practice with my oscilloscope...  :P

In Topic: DCC / Model Railroad

17 July 2014 - 08:00 PM

Hi guys, I found this "booster" to convert my Netduino signal. We can input a low level signal (5V) and we get a DCC signal in the output. Very tasty!! But how to convert the 3.3V output to 5V? I suppose that an opamp in comparator configuration can works but i saw that the signal gets timing distortion. It deforms the square signal due to hardware limits. Can you give me some other valid solution?

Thanks

 

HBridge18200.GIF


In Topic: DCC / Model Railroad

10 July 2014 - 08:26 PM

Hi guys, some good news!!!
I abandoned the SPI solution and decided to try with normal Serial signal.
With this simple code (http://pastebin.com/8J3bCJc7) I'm able to write on serial port the entire "Idle Packet" (I started my work analyzing this one). The random high and low bits are not really random they are "start" and "stop" bits... The trick is use these to form our packet!!!
 
According with this document http://www.nmra.org/...-91-2004-07.pdf i can stretch the zero symbol when i need to write three or more consecutive zero signals . So it's almost simple get a correct waveform.
 
See you soon!

In Topic: DCC / Model Railroad

07 July 2014 - 12:26 PM

I want to cut the blue part of the yellow channel.

The expected waveform is the yellow trace between the blue.

 

19fj.jpg


In Topic: DCC / Model Railroad

07 July 2014 - 11:08 AM

I'm not driving a SPI-enable logic device, but i'm thinking how to use the "enable pin" to cut off the signal before data, for example drive a transistor?


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.