1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

G-Code Controlled Case Lighting

Discussion in 'Mods and Upgrades' started by WheresWaldo, Nov 24, 2017.

  1. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    This might be of value for some folks. The new Robo firmware has D5 enabled to do the case lights. However, the documentation is not so straightforward. Here is what has to be done. I verified this error with Allen at Robo.
    1. unplug FAN2 (which goes to the useless, stock LEDs.)
    2. unplug FAN1 (the fan that cools the robo main board) and plug it into the FAN2 pins.
    3. take the PWM signal from FAN1 (which is actually D5, and what is enabled for the PWM for the CASE_LIGHT_PIN in the stock Robo firmware).
    Hope that helps and saves folks from pulling hair out like I did all week.
    As an aside, the Fan that cools the Robo control board (now connected to FAN2 label) will only turn on when there is motor movement, and times out after two minutes of no movement.
     
    #21 supercazzola, Mar 16, 2018
    Last edited: Mar 16, 2018
    WheresWaldo likes this.
  2. Larry Garrido

    Larry Garrido Member

    Joined:
    Mar 5, 2018
    Messages:
    64
    Likes Received:
    20
    Can you explain this with a bit more detail?
    I got remove fan2 (stock lights) and plug the main board fan (now in fan 1) into the fan2 position, then this is where Im unsure as I do not see a signal wire (or anything marked PWM or D5) in the fan 1 position on the board, just a + and -, is the + the new signal and the - the ground? This would mean the signal and ground no longer go to the D44 position on the board like the original post?

    Thanks

     
  3. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    What I mean is, you use the fan 1 spot for the LED lights in this post. That pulse width modulated (PWM) location is actually what is compiled into the stock firmware to support the commands for the lights.

    Make sense ?



    Sent from my iPad using Tapatalk Pro
     
  4. Larry Garrido

    Larry Garrido Member

    Joined:
    Mar 5, 2018
    Messages:
    64
    Likes Received:
    20
    Not really, unless Im looking at this wrong. Does the fan 1 connection on the board replace this connection in the original post?
    [​IMG]
     
  5. Larry Garrido

    Larry Garrido Member

    Joined:
    Mar 5, 2018
    Messages:
    64
    Likes Received:
    20
    This is what Im trying to connect, main power is coming from the 24v board connection like in Waldo's first post.

    [​IMG]
     
  6. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    Yes, Waldo chose that unused pin. Robo decided to use the one that goes to fan 1


    Sent from my iPad using Tapatalk Pro
     
  7. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    Keep in mind, if you follow Waldo’s instructions, including the compiling of new firmware, then ignore my post. My post is because Robo decided to release the code in their production firmware, but did not use 44 like Waldo. They used the one which correlates to the FAN 1 (label) which is really FAN 2.



    Sent from my iPad using Tapatalk Pro
     
  8. Larry Garrido

    Larry Garrido Member

    Joined:
    Mar 5, 2018
    Messages:
    64
    Likes Received:
    20
    Ok so it the power + from fan 1 to be used as the signal wire?
     
  9. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    Yes


    Sent from my iPhone using Tapatalk Pro
     
  10. Larry Garrido

    Larry Garrido Member

    Joined:
    Mar 5, 2018
    Messages:
    64
    Likes Received:
    20
    Ok I'll give that a try...
     
  11. BRZSer

    BRZSer New Member

    Joined:
    Jul 7, 2018
    Messages:
    5
    Likes Received:
    0
    Hi, I am hoping to get some help with this. I'm almost positive my wiring is ok. However, when i connect the PWM wire as @WheresWaldo has instructed, i get no light at all when every i try to turn on the case lights in the robo web interface, however, when i connect the PWM to @supercazzola method the lights stay on and i still cannot control the lights on the web interface. Any input will be helpful, Thank you!
     
    #31 BRZSer, Jul 14, 2018
    Last edited by a moderator: Jul 14, 2018
  12. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    Did you recompile the firmware, or are you using stock firmware from Robo ?
     
  13. BRZSer

    BRZSer New Member

    Joined:
    Jul 7, 2018
    Messages:
    5
    Likes Received:
    0
    I am using stock latest firmware, since i do not k ow how to modify firmwares.
     
  14. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    Then you need to follow my posts where i specifically state how Robo enabled certain pins in their firmware, and the part about FAN1 and FAN2. Please describe your setup, because if you don’t have things correct, I’d like to help you get things working, but I need to know exactly what you have, where.


    Sent from my iPad using Tapatalk Pro
     
  15. BRZSer

    BRZSer New Member

    Joined:
    Jul 7, 2018
    Messages:
    5
    Likes Received:
    0
    Thank you very much, i am using CHENBO DC 5-36V 400W MOS FET Trigger Switch Board Driving Module PWM Regulator Control Panel from amazon for the moset.

    First connection is through 24v to moset connector in the input+ and input-.

    The LED strip are connected in series plugged into the output+ and output-.

    The ground and PWM are wire through the fan 1. However the led lights stay on the whole time.
     
  16. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    It sounds like you have the wiring correct.

    If you to to the web interface and go to the terminal section where you can enter commands, does this do anything ?

    M355 S1 P1

    Does it dim the lights at all ?



    Sent from my iPad using Tapatalk Pro
     
    mark tomlinson likes this.
  17. BRZSer

    BRZSer New Member

    Joined:
    Jul 7, 2018
    Messages:
    5
    Likes Received:
    0
    hi when i put this in the terminal i get this "
    Send: M355 S1 P1M355 S1 P1
    Recv: echo:Case light: 1
    Recv: ok
    Send: M105
    Recv: ok T:26.34 /0.00 B:30.94 /0.00 @:0 B@:0
    Send: M105"

    The light level is still the same.
     
  18. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    There is always the possibility your mosfet control switch is bad. One of the reviews on amazon said theirs was manufactured incorrectly,

    Do the connections look like this photo?
    Also, does the switching LED seem to indicate a status ?

    [​IMG]






    Sent from my iPad using Tapatalk Pro
     
    mark tomlinson likes this.
  19. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Can you turn the lights on and off (not level intensity) with M355 S0 and on again with M355 S1? Try that first.
     
    supercazzola likes this.
  20. supercazzola

    supercazzola Active Member

    Joined:
    Jun 1, 2017
    Messages:
    424
    Likes Received:
    111
    I thought there was a bug in the code where the S0 didn’t work, hence why I asked about the S1 1 ...


    Sent from my iPad using Tapatalk Pro
     

Share This Page