DCC++ Hardware - Throttles

KE4NYV Jan 25, 2016

  1. Bret Kuehn

    Bret Kuehn New Member

    4
    4
    1
    Dave, sboyer2,

    It Works!!! sboyer, you were right on....and Dave you spelled it out in the program..."enter your LCD address here, find it in the I2C scanner." I had to do a little google search on how to find the address (mine is 0x3f also) but after that it started to make sense. After all, I have only started tinkering with Arduino's for a couple months now...
    Funny thing, the grand kids came over this afternoon and the first thing out of my granddaughters mouth was "did you get the remote fixed?". I had to give her the bad news at the time...they left a few hours ago but at least I can have this ready for next time they come over!

    Now my final question...at least for now. I'm sure the electronic components are sensitive to shock. Dave I really like your acrylic case but if it was dropped to the ground or knocked off a layout, would it damage any of the electronics? I'm using foam board as a mock up for the face and now I'm thinking it might be a good idea to build the whole case out of foam board to soften any potential grand child mishap and still be sturdy enough as an enclosure.

    Thoughts???

    I REALLY appreciate your guys help!!!
     
    Scott Eric Catalano likes this.
  2. SP_fan_1951

    SP_fan_1951 TrainBoard Member

    11
    7
    2
    Dave, I have got my DCC++ running on a UNO, and your pot throttle running on a NANO with a wired serial connection, and now I'm trying to get the HC-12 wireless link working. I am connecting through COM 1 RS-232 port on my PC. When I try and run the configuration utility with the SET pin grounded, the HC-12 echos back the AT command character for character instead of the expected "OK." I've tried swapping Tx & Rx, a power down and up reset with the SET pin grounded, and powering it up and then grounding the SET pin. With the set pin ungrounded, it does not appear to respond at all. With it grounded, all I get is the echo. I have tried both modules that I have and they both seem to behave the same. Any clue as to what I am doing wrong?
     
    Scott Eric Catalano likes this.
  3. David Bodnar

    David Bodnar TrainBoard Member

    257
    471
    9

    Bret - that is great news - as to shock, there is little that is really sensitive to shock other than the LCD display and your solder joints - I have never had issues with things breaking from a short drop to the floor.
    dave
     
    Scott Eric Catalano likes this.
  4. David Bodnar

    David Bodnar TrainBoard Member

    257
    471
    9
    Have you tried the HC-12 configuration utility program described here:

    http://trainelectronics.com/Arduino/HC-12-Serial_Radio/
    in the section titled Using the HC-12 Configuration Tool

    you can download it here:

    http://www.thebackshed.com/forum/uploads/robertrozee/2016-01-12_042418_HC12_config.zip

    I find it much easier to use.

    dave
     
    Scott Eric Catalano likes this.
  5. SP_fan_1951

    SP_fan_1951 TrainBoard Member

    11
    7
    2
    I got it figured out - I had to build a RS-232 to TTL level shifter. :barefoot:Once I had TTL levels everything started working fine.(y)
     
    Scott Eric Catalano likes this.
  6. sboyer2

    sboyer2 TrainBoard Member

    35
    40
    3
    Hi Dave

    i built you encoder version of the throttle and it keeps freezing, it'll work for a while (not more than 5 minutes) the it will just freeze everything was working before the freeze (loco select, speed up/down, direction change, even change amount of usable loco's (1-4))

    i even turned on debug and the commented out section about recurring commands and i can see in the serial window when it stops updating.

    any ideas?
     

Share This Page