Arduino uno and pololu motor shield Not reading loco

jfcastiglia Oct 18, 2018

  1. jfcastiglia

    jfcastiglia TrainBoard Member

    18
    0
    4

    I will give that a try did not know to low could be an issue :)


    Sent from my iPhone using Tapatalk
     
  2. jfcastiglia

    jfcastiglia TrainBoard Member

    18
    0
    4
    No joy :( tried every number between below five I get no response from locomotive between 30 and 8 i’ll either get no response from locomotive or random manufactured numbers that don’t exist.

    [​IMG]


    Sent from my iPhone using Tapatalk
     
  3. Pieter

    Pieter TrainBoard Member

    152
    46
    10
    Last month also had a 308 & mfg 255 error (only use for programming). In my case the power shield & ether card didn't sit properly on the mega. Suppose some of the pins of the shields didn't make contact. After slight bending of one row of pins and then a little bit of pressing to get it to sit level, it worked again.
     
  4. jfcastiglia

    jfcastiglia TrainBoard Member

    18
    0
    4

    I will have to check That...


    Sent from my iPhone using Tapatalk
     
  5. Spike Maul

    Spike Maul TrainBoard Member

    12
    9
    2
    Using jmri 4.10 with dcc++ I've been able to read CV's
    on the programming track ok. 4.11 no, 4.12 no, 4.13.3 no.

    Maybe try jmri 4.10?
     
  6. jfcastiglia

    jfcastiglia TrainBoard Member

    18
    0
    4

    Same thing using 4.10 :(


    Sent from my iPhone using Tapatalk
     
  7. Jimbo20

    Jimbo20 TrainBoard Member

    274
    178
    11
    You could try some simple commands using the serial monitor in the arduino IDE to see if you can read the CV's there - E.G. you could send
    <1> followed by
    <R 8 0 0>

    which (after turning the track power on) should read CV8 and return the decoder Manufacturer code - (NOTE: this will only work on the programming track), or you could load the DCC++ controller and try that to see if you can read data from the loco's

    https://github.com/DccPlusPlus/BaseStation/wiki/Commands-for-DCCpp-BaseStation
    https://github.com/DccPlusPlus/Controller
     
  8. Quax

    Quax TrainBoard Member

    27
    5
    8
    You have measured 3.99V on the track? This would be far below the specs. What kind of DC power supply (by output voltage/wattage) are you using?
     
  9. jfcastiglia

    jfcastiglia TrainBoard Member

    18
    0
    4
    Sorry had it wrong track has 10.3 ac


    Sent from my iPhone using Tapatalk
     
  10. jfcastiglia

    jfcastiglia TrainBoard Member

    18
    0
    4
    So I changed out the shield finally got a L298 shield and I now can read and right to the loco just can’t control them.

    Lol was hopeful that would work better I guess I am getting closer. I go between useing JMRI on my Mac a PC and raz PI


    Sent from my iPhone using Tapatalk
     
  11. jfcastiglia

    jfcastiglia TrainBoard Member

    18
    0
    4
    I was becoming very curious if my base station was actually working correctly or if it was something with in JMRI

    I downloaded the DCC plus plus controller, it’s in the same location with the DCC++ base station Sketch. After some playing around I was able to get my locomotive in his sketch and I’m now am able to program, operate the sounds, and move the locomotive on the track!!!!!

    leading me to believe it’s definitely something inside of JMRI that I am overlooking


    Sent from my iPhone using Tapatalk
     
  12. Onizukachan

    Onizukachan TrainBoard Supporter

    752
    1,198
    24
    Sure sounds like it, I’m running jmri on a Mac and on a Rpi3b+ (Actually, 2 cards, one for headless portable use and one for internet use on my home network) . I’m running a mega and the R3 shield.
    I have fresh installs of jmri in all three scenarios and none of the glitches you are describing.
    Maybe export your roster to a usb card so you don’t lose it, and do a fresh reinstall?
     
  13. jfcastiglia

    jfcastiglia TrainBoard Member

    18
    0
    4

    I have tried that still not sure what I am doing wrong lol


    Sent from my iPhone using Tapatalk
     
  14. Onizukachan

    Onizukachan TrainBoard Supporter

    752
    1,198
    24
    Did you ever figure out what it was? Mine started doing the same after I blew a gs4 decoder, with some help from little hands grabbing at the loco. Replaced decoder and still nothing but 308, I even went as far as buying a new real Arduino shield to replace my China cheapie, but I have not tested it yet.
     
  15. RCMan

    RCMan TrainBoard Member

    271
    132
    12
    If you are using JMRI, go into the Edit>Preferences and check that none of the options for the base station are set to Internal, make sure they are all checked for DCC++. JMRI has and will sometimes on installs or upgrades change these settings.
     
  16. Onizukachan

    Onizukachan TrainBoard Supporter

    752
    1,198
    24
    Thanks Dennis, I did on both RPi and Mac. I got a second Arduino and second motor shield. I will set up the new pair tomorrow.
     

Share This Page