Replies: 14 comments 2 replies
-
You must measure track power with AC, not DC. That won't be accurate unless you have a "true RMS" meter, but close enough to know if you have voltage. If all 4 lights are lit on the outputs after sending "<1>", then you have output and can just make sure it shows something reasonable on your meter. |
Beta Was this translation helpful? Give feedback.
-
Thanks. |
Beta Was this translation helpful? Give feedback.
-
The decoder is Digitrax DZ123 <* ACK baseline=5/14mA Threshold=25/74mA Duration between 4000us and 8500us > |
Beta Was this translation helpful? Give feedback.
-
There is a consistent 21mA difference between V0 and V1 -- perhaps try this. <D ACK LIMIT 15> Keep in mind that these small readings are not normally seen. Check voltage at the motor board and across the tracks to see that it is consistent -- checking for wiring connections. Clean tracks. Clean wheels. Re-seat the motor board in the Mega. Leave off the wifi shield until you are able to read CVs on the programming track. What is your DC power supply 14V ? Looks good, but what is the current rating? Also check polarity. It doesn't have to be a large power supply to read CVs; I've had success using a 12V 2A wall wart. Are you supplying power to the Mega using the barrel connector with 7+ volt power? 9V is often recommended for this; below 7V is a problem. While you may be able to load the sketch using the USB for power, don't assume USB is providing adequate power with wifi shield or other accessories connected. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. I am using arduino Mega with Arduino Motor Shield R3. I am testing the voltage on the track I'm getting 5.72 AC if my power supply is 12V DC. I increased the voltage to 19V to teach the 10v AC. This i think will fry my arduino Motor Shield because the maximum is 12V. If i put my train on program track. The train will make a noise. If i send the command the train will make sound like the old modem when calling a number but it gives me error can't get the address. I tried 2 different train with the same issue. Any help? |
Beta Was this translation helpful? Give feedback.
-
Do you measure with a meter that is certified for high frequency AC? Probably not. Are both motor shield LED of the output you want to use on?
Probably not but that's the wrong approach.
That sounds like no decoder in train. What decoder model do you think you have in the loco and can you send a picture in our Discord? Harald. |
Beta Was this translation helpful? Give feedback.
-
I prefer to measure track voltage on DC scale. Each rail vs GND will be about 50% of track power supply -- a 50% PWM. Your loco box says DCC Ready. It is ready to have a DCC decoder installed. |
Beta Was this translation helpful? Give feedback.
-
I know this is a very old discussion but I have the exact same problem with track DC voltage, I'm getting roughly half the input voltage to the deek-robot motor shield. I'm also using a bench power supply and a Fluke 117 Multimeter to measure DC voltage. If I input 15v AC to the motor shield, I get about 9v DC on track or when testing directly on the motor shield. Has anyone got to the bottom of this? |
Beta Was this translation helpful? Give feedback.
-
Motor shield input should be DC ! |
Beta Was this translation helpful? Give feedback.
-
Motor shield input must be DC |
Beta Was this translation helpful? Give feedback.
-
Is your multimeter "true RMS" for a variable frequency recangle wave? |
Beta Was this translation helpful? Give feedback.
-
Okay I’m not entirely sure what that means but I’ve now used a small
oscilloscope and can see it measures rms voltage at the correct voltage.
I’m learning about electronics so please go easy on people like me. We all
have to start somewhere.
Cameron.
…On Thu, 15 Aug 2024 at 13:54, habazut ***@***.***> wrote:
Is your multimeter "true RMS" for a variable frequency recangle wave?
Probably not.
Harald.
—
Reply to this email directly, view it on GitHub
<#251 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEZ6SNHNBR5WQVPU35NKVLZRSQKDAVCNFSM53EODXL2U5DIOJSWCZC7NNSXTOSENFZWG5LTONUW63SDN5WW2ZLOOQ5TCMBTGQ3TINZY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
You may find it helpful to use the discord site, where we can have an interactive discussion, post pictures, etc. And you will likely see a reply within a few minutes. Open a ticket, or use an existing topic, such as # motor-shields. When measuring voltage on the track outputs, each rail vs GND is similar to a 50% PWM and can be measured on the DC scale. (And that is also how I connect a scope to see the voltage.) |
Beta Was this translation helpful? Give feedback.
-
That’s all makes sense thank you. So it would seem the voltage is correct
it’s just my ability to measure which is flawed. I’m pretty confident the
voltage is correct. Thank you so much. I will for sure join the discord
channel.
Cameron.
…On Thu, 15 Aug 2024 at 17:58, Fred ***@***.***> wrote:
Hope to see you on Discord. The entire team and many of our users can help
you along. We are happy to educate you on all sorts of subjects. Even a
scope does not show what a bi-polar signal is, but it at least lets you
measure it accurately ;) To a scope, it looks like a square wave. But the
actual DCC signal never goes negative, it is just always positive with
reference to the other rail. It has no "ground". A scope will show a square
wave with a peak-to-peak value of say 24V, but in reality the voltage never
goes above12. So reading either half of the wave will give you what you are
looking for.
A "True RMS" meter is designed to measure a 60Hz sine wave accurately. It
tells you the the heating value of a waveform that would equal the
equivalent DC voltage. Higher frequencies and non-sinusoidal waveforms
(like the DCC signal) will confuse a standard averaging meter and any RMS
meter that isn't "true rms" and has the smarts in it to recognize the wave
and compute the correct value. Without that meter, your AC readings could
be 10 to 40% off in either direction, high or low.
Measuring DC from each rail to a GND pin (like the sleeve of your input
power supply) will give you a good idea what you have without a scope.
Since the meter averages the voltage, if the signal is "on" relative to
ground half the time, you will read about half the voltage. If you measure
the MAIN track and then measure the PROG track, you will see a slight
difference because the packets being sent, and the average time the rail is
at full voltage, is different. But both are close to have the input voltage
minus the drop in the motor shield.
—
Reply to this email directly, view it on GitHub
<#251 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEZ6SPH4O64MI5MUMXOEUDZRTM2JAVCNFSM53EODXL2U5DIOJSWCZC7NNSXTOSENFZWG5LTONUW63SDN5WW2ZLOOQ5TCMBTGUYDGNRQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I am a newbie on railway model. I just setup the Mega2560 + Motor shield (Deek-robot).
After I turn on the track power, when I measure the track output from the Motor shield, I got the result as around DC 0.02 to 0.05 V.
Is it normal? or something wrong with the setting?
Here is the status from serial monitor.
<* License GPLv3 fsf.org (c) dcc-ex.com >
< LCD0:DCC++ EX v4.0.0 >
< LCD1:Lic GPLv3 >
< ++ Wifi Setup Try 1 ++ >
< Wifi Check: [+IPD\0] >
< TIMEOUT after 200ms >
< Wifi Check: [\r\nOK\r\n\0] >
< TIMEOUT after 200ms >
< ++ Wifi Setup NO AT ++ >
< ++ Wifi Setup Try 2 ++ >
< Wifi Check: [+IPD\0] >
< TIMEOUT after 200ms >
< Wifi Check: [\r\nOK\r\n\0] >
< TIMEOUT after 200ms >
< ++ Wifi Setup NO AT ++ >
< ++ Wifi Setup Try 3 ++ >
< Wifi Check: [+IPD\0] >
< TIMEOUT after 200ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT\r\n\r\nOK\r\n< Found in 1ms >
< Wifi Check: [\r\nOK\r\n\0] >
ATE1\r\n\r\nOK\r\n< Found in 4ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+GMR
AT version:1.7.4.0(May 11 2020 19:13:04)
SDK version:3.0.4(9532ceb)
compile time:May 27 2020 10:12:22
Bin version(Wroom 02):1.7.4
OK
< Found in 16ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+CWJAP_CUR?\r\nNo AP\r\n\r\nOK\r\n< Found in 6ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+CWMODE_CUR=1\r\n\r\nOK\r\n< Found in 5ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+CWHOSTNAME="dccex"\r\n\r\nOK\r\n< Found in 5ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+CWJAP_CUR="KingKong","25475768"\r\nWIFI CONNECTED\r\nWIFI GOT IP\r\n\r\nOK\r\n< Found in 6749ms >
< Wifi Check: [+CIFSR:STAIP\0] >
AT+CIFSR
+CIFSR:STAIP< Found in 3ms >
< Wifi Check: [0.0.0.0\0] *>
,"192.168.1.149"
+CIFSR:STAMAC,"a4:e5:7c:bc:d8:e2"
OK
<* TIMEOUT after 1000ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+CIPSERVER=0\r\n\r\nERROR\r\n< TIMEOUT after 1000ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+CIPMUX=1\r\n\r\nOK\r\n< Found in 3ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+MDNS=1,"dccex","withrottle",2560\r\n\r\nOK\r\n< Found in 7ms >
< Wifi Check: [\r\nOK\r\n\0] >
AT+CIPSERVER=1,2560\r\n\r\nOK\r\n< Found in 5ms >
< Wifi Check: [IP,"\0] >
AT+CIFSR
+CIFSR:STAIP,"< Found in 4ms >
192.168.1.149"< LCD4:192.168.1.149 >
< Wifi Check: [\r\nOK\r\n\0] *>
+CIFSR:STAMAC,"a4:e5:7c:bc:d8:e2"
OK
<* Found in 7ms >
< LCD5:PORT=2560 >
< Wifi Check: [\r\nOK\r\n\0] >
ATE0\r\n\r\nOK\r\n< Found in 4ms >
< ++ Wifi Setup CONNECTED ++ >
< MotorDriver currentPin=A1, senseOffset=0, rawCurrentTripValue(relative to offset)=668 >
< MotorDriver currentPin=A0, senseOffset=0, rawCurrentTripValue(relative to offset)=668 >
<iDCC-EX V-4.0.0 / MEGA / STANDARD_MOTOR_SHIELD G-a26d988>
< No I2C Devices found >
< MCP23017 I2C:x20 Device not detected >
< MCP23017 I2C:x21 Device not detected >
< Signal pin config: high accuracy waveform >
< LCD3:Ready >
< LCD2:Power Off >
PPA0
< LCD3:Free RAM= 3126b *>
Also, I can not get any status from the decoder through PROG track.
<* LCD0:Retry 17 2 Sum=5 >
< LCD0:Retry 17 1 Sum=6 >
<r -1>
< LCD2:Power On MAIN >
PPA1
< LCD2:Power Off *>
PPA0
Beta Was this translation helpful? Give feedback.
All reactions