Open fire-bot opened 2 months ago
Have you calibrated current sensing? The current factors are much less than I have seen.
Regarding your diagnostics. Without making other changes, try this:
<1 PROG>The respose of the IBT2 current sense might be too weak. In that case a standard shield or the EX8874 shield should work. Programmig is fine at say 16V and does not use high current.
Harald.
@Ash-4 calibration with limit 15 does the trick. I never expected to have to go so low. Thank you very much! (15 was only fine for the steam generator, which has an own decoder, the main decoder actually works only with 8 as setting).
No, sorry, me again. Strage. The steam generator works fine with limit 8 or limit 15. The locomotive decoder (steam decoder unplugged meanwhile) can be only read by using limit 8. However, this does only work with the arduino serial monitor and not with the web throttle. Now I am totally confused. Is there any difference in addressing? The log seems to be more or less the same.
You are getting closer. <D ACK LIMIT 15> or whatever - - it may be compensating for the current sense factor not having been calibrated. It can also be needed if you have a decoder/loco which draws low current when programming.
To calibrate current sense, you can use a resistance source, such as an appliance with a heating element to place a load on the track. I have an old clothes iron which measures 15 ohms, and when connected to the programming track outputs and using a 15V power supply, it should register 1A.
<1> to turn on power to all tracks `
Sent by Dirk Wetzel (@dalex1st). Created by fire.
Dear friends,
Thank you for publishing this nice project.
I have tried to implement the Arduino project in the variant for a garden railroad G scale with the two IBT_2 motor board (without external current sensor) following the replacing version from your website:
https://dcc-ex.com/reference/hardware/motorboards/IBT_2-motor-board-setup.html#gsc.tab=0
This also works wonderfully on Main. I can control the locomotive via your web-throttle and trigger the function keys.
Only on PROG it is not possible to read out the CV values at all. That's why I'm taking advantage of your offer to help.
IBT_2 is supplied with 24V / 4.2 A. The measured track voltage is approx. 0-25 V for both IBT_2s.
The locomotive decoder is a mXion Drive XL from a small German company.
https://micron-dynamics.de/sitecake-content/mXion%20DRIVE-XL.pdf
As there are no standard drivers for the combination with 2 IBT_2, I have configured my own drivers:
new MotorDriver(4, 5, 6, UNUSED_PIN, A5, 0.85, 4200, UNUSED_PIN), \
new MotorDriver(11, 12, 13, UNUSED_PIN, A4, 0.30, 1500, UNUSED_PIN)
I am admittedly an IT engineer, but not an electrical engineer, and perhaps I have completely misunderstood something. I would be very grateful for your support
Kind regards from Berlin
Dirk
Here are the logs for the call