Arduino 2560 and Pololu Motor Shield 308 error

Andy S Feb 9, 2020

  1. FlightRisk

    FlightRisk TrainBoard Member

    548
    237
    14
    Yes, it will.
     
  2. Sumner

    Sumner TrainBoard Member

    2,835
    5,969
    63
    Is the latest version 1.8.12? I'm getting an upload failed using Dex's Installer. Wants me to check upload.log but forgot how to do that.

    The first try it looked like from the bar (screen bottom right) that it uploaded. Next try as soon as I hit the 'compile' button I got the error message.

    Then tried going back to 'classic' and it failed right away. I'm using a Uno and 'real' Arduino motor board.

    Using Dex's installer here ....

    https://github.com/DCC-EX/BaseStation-Installer/releases/tag/alpha-1.2

    That is also the link I have for people to use on my web page...

    http://1fatgmc.com/RailRoad/DCC/page-4.html

    any of this changed? Worked fine before with classic,

    Sumner
     
    Last edited: Jul 31, 2020
  3. Sumner

    Sumner TrainBoard Member

    2,835
    5,969
    63
    UPDATE:

    I tried to load EX with the motor board attached to the Uno. I thought I did this before but not sure. Does the motor board need to be removed? They were both at the computer and not attached to power supply or the main and program track.

    Reconnected the Uno/Shield and trains run and decoder pro works fine. Now I don't know if EX loaded as it did seem to load according to the load bar at the bottom of the screen or if I still have Classic on the Uno. I did get the error message at the end of the EX load.

    Then after that I got an upload failed message on all the subsequent tries to put Classic or EX on the Uno as soon as I hit the compile button. How can I tell what is in the Uno now? Keep it simple if possible or else a phone call.

    Sumner
     
    Last edited: Aug 1, 2020
  4. Sumner

    Sumner TrainBoard Member

    2,835
    5,969
    63
    One thing that I think would help is to have a 'sticky post' at the top of this page with the links to use to github and Dex's installer that are current and have a description. I'm somewhat computer literate but going to github and also Dex's page it is still confusing and somewhat overwhelming. You guys have done some great work and I think it would be much more widely excepted with some straight forward information for someone who isn't computer literate. Maybe you have it there somewhere now so just need a sticky post here on how to get to it.

    Sumner
     
    Last edited: Jul 31, 2020
  5. haba

    haba TrainBoard Member

    78
    32
    10
    I have investigated the MC33926 board with different Versions of DCC++ (Classic, EX, Asbelos, mine(*)). The answer is that 60mA is below where the board is guaranteed to sense anything at all. I measure an offset of approx 100mA. until _something_ is detected at all. What you can do is that you have a constant load of say 400mA (Car lamp 5W) in the circuit and then your current will be in the sensable area of the chip. Otherwise you will not have much success with the MC33926, at least not reliable and reproducable results. You might need a better DCC++ than the Classic as well.

    Another problem with this board is that the inrush current of a bigger layout can trigger the self-protective autoshutdown so that the layout never will actually get any power.

    regards,
    Harald.
    (*)
    https://github.com/DCC-EX/
    https://github.com/Asbelos/CVReader
    https://github.com/habazut/dcc-ardu
     
  6. David Jennex

    David Jennex TrainBoard Member

    15
    16
    6
    This is very simple. Just jumper pin 12 to both pin 8 as well as pin 7. I have a switch which sets eight back to 2 when I need prog.

    David
     
  7. FlightRisk

    FlightRisk TrainBoard Member

    548
    237
    14
    Yes it will
     

Share This Page