PI4 DCC++EX

sidney Jul 23, 2023

  1. sidney

    sidney TrainBoard Member

    1,249
    2,122
    38
    screen goes black the back to normal

    no screen saver.. it goes black but then when i remove short everything comes back to life an locos resume there speeds...
    but the screen does go black untill i remove short an its back with every thing resumed.... i think i can live with that ok. id prefer that it did not do any of that. its way better than when i first started a few years ago. i can run locos an program locos now with out my main desk top.
     
  2. Sumner

    Sumner TrainBoard Member

    2,849
    6,017
    63
    Sounds good....

    Sumner
     
  3. sidney

    sidney TrainBoard Member

    1,249
    2,122
    38
  4. Sumner

    Sumner TrainBoard Member

    2,849
    6,017
    63
    Thanks for putting the video up. My screen doesn't go off like that but as I said I'm running lots older versions of the image file, JMRI and DCC-EX.

    I'm kind of old fashion besides being old and don't update software unless I need a new feature or something isn't working right. I use Windows and it works fine for me but hate that at some point you can't put the 'updates off' or it updates in the night and I've got something going in a program and haven't backed it up and loose it. Same with my Android phone basically forcing you to update at some point.

    Sumner
     
  5. Mark Ricci

    Mark Ricci TrainBoard Member

    481
    652
    13
    While a single network adapter can connect to only 1 network, the Pi4 is also equipped with ethernet. Before going pure DCC-EX, used Pi4 wireless + JMRI as the MRR access point and connected the Pis ethernet to the router for internet and VNC server. Personally, not a fan of putting MRR on network with internet but like the file time stamping (Pis don't have RTC real time clock built in) and running Arduino IDE on the Pi when making changes to DCC-EX. Moreover, since DCC EX can do everything that is needed PLUS much more from an operations perspective (Decoder Pro for programming is still the best), I too don't want to concern with updates for MRRing. Any device exposed to the internet needs to be updated. With a JMRI based MRR, there are O/S (Raspian if using Todd's image), JMRI and DCC EX updates. After 20 years in IT, want my MRR to be "controlled" LOL.

    The Pi4 should be powered by a 5V 3A supply. Used a Buck converter off the single 12V 5A supply that also powers both the 12V for motor shield and Tam Valley booster plus the 9V buck converter for Arduino unless the PI is powering the Arduino via USB cable. Able to run 3 locos and throw double crossover without stutter.

    Used this buck with USB-C connector
    https://www.amazon.com/gp/product/B086KTGRH1/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

    Main Power supply
    https://www.amazon.com/gp/product/B01461MOGQ/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

    Also, generally grounds are not interconnected and cause havoc if tied together among devices. Running a Tam Valley booster for additional power and isolating track but would most likely, if needed another motor shield, would purchase the 5A DCC EX MotorShield8874 which can eliminate the need for 9V buck since it has built in support for powering the Arduino.
     
    Sumner likes this.
  6. sidney

    sidney TrainBoard Member

    1,249
    2,122
    38
    well i was texting back n forth with steve. he is telling me it an power issue with the monitor. but the monitor is on its own power and the PI4 controls the monitor so to my thinking its the PI4 and his image file thats turning that off..
    for the record i separated all power to everything and this still happens.
    the monitor is controlled by the PI4 and the PI4 controls the Arduino through a usb cord.

    as it is now the PI4 has its own power supply.....
    the Arduino is powered through the usb from the PI4.......
    i had tried separate power supply for Arduino an makes no difference..........
    the monitor is powered from 12 volt 3 amp power supply and the track power to the motor shield it slit power from the 12 volt 3 amp supply..
    SOMETHING in the PI4 shuts down the monitor at the same time shuts down the Arduino for just seconds when the track is shorted.......

    for the record the monitor is made for the PI4 its not a generic off the wall monitor.

    Mark i have run this setup from a 12 volt 12 amp power supply from a led power bank and split that voltage into 5 volt and so on
    i do have that very same buck converter as well too (have three of them )they work pretty good . one of them runs the PI4 on my 3d printer...

    The monitor shutting down for a few seconds is more of a nuisance than any thing really. i really dont need it for anything other than for programming.
     

Share This Page