Description: Ladies and Gentlemen I have a problem. I use an Arduino Uno. The latest version of DCC++ EX (4.2.54) is loaded on it. In the Config.h file I defined the motor driver #define MOTOR_SHIELD_TYPE IBT_2_WITH_ARDUINO and connected it directly to the Arduino. I made the connections exactly according to the instructions on the "IBT_2 BTS7960 Motor Board" page. However, I did not install the resistors and the diode. The hardware is connected to JMRI and I can see power on/off on the monitor. There is 15 V DC on the power shield, but nothing is getting to the track. My question: where is my mistake? Best regards Hans Jochen Schirm
JMRI menu: DCC++ >> Send DCC++ Command
and
JMRI menu: DCC++ >> DCC++ Traffic Monitor
checkbox 'Show raw data'
to capture the startup log. Paste into .txt file and attach
Note the default current sense factor may not be what you need. 41.54 is conservative. IBT_2 current sense requires calibration. And IBT_2 current sense input can damage the Arduino -- it can exceed 5V.
https://dcc-ex.com/reference/hardware/motorboards/IBT_2-motor-board-setup.html#important-notes-on-current-sensing-ibt-2
a custom motor board definition can be added in config.h
-- an example, with current sense 10.0 -- name is also updated
```
#define MYIBT_2_WITH_ARDUINO F("MYIBT_2_WITH_ARDUINO_SHIELD"), \
new MotorDriver(4, 5, 6, UNUSED_PIN, A5, 10.0, 5000, UNUSED_PIN), \
new MotorDriver(11, 13, UNUSED_PIN, UNUSED_PIN, A1, 2.99, 1500, UNUSED_PIN)
#define MOTOR_SHIELD_TYPE MYIBT_2_WITH_ARDUINO
```
You can measure voltages on Arduino using DC scale.
Enable pin 4 will be 5V when power is ON
Signal pins 5 and 6 will be 2.5V
Make sure the track power supply is DC. at least 12V 2A.
The discord server is much better for timely assistance.
https://discord.gg/PuPnNMp8Qf
Sent by (dccextended@gmail.com). Created by fire.
Hans-Jochen created a ticket
Name: Hans-Jochen Schirm
Email: hans-jochen.schirm@online.de
Timezone: 1
Software: EX-CommandStation
Version: 4.0.x
Title: Motor Shield Trouble
Description: Ladies and Gentlemen I have a problem. I use an Arduino Uno. The latest version of DCC++ EX (4.2.54) is loaded on it. In the Config.h file I defined the motor driver #define MOTOR_SHIELD_TYPE IBT_2_WITH_ARDUINO and connected it directly to the Arduino. I made the connections exactly according to the instructions on the "IBT_2 BTS7960 Motor Board" page. However, I did not install the resistors and the diode. The hardware is connected to JMRI and I can see power on/off on the monitor. There is 15 V DC on the power shield, but nothing is getting to the track. My question: where is my mistake? Best regards Hans Jochen Schirm
Remaining email Quota: 99