Looking for Repetier Firmware for Diamond Hotend

Discussion in 'Build Help' started by Jeremy Sabatini, Nov 20, 2016.

  1. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
    Hi,
    I've been messing around with trying to achieve true color mixing with my diamond hotend modified to fix my bigbox with no success. I'm looking for folks more savvy with programing then myself to help me with this. I have tried the configuration tool and can't seam to get heaters to respond and I can't test the extruders with out that. I've checked the pin settings also with no success.

    Anyone interested?

    Thanks,
    Jeremy
     
  2. Tom De Bie

    Tom De Bie Well-Known Member

    Joined:
    May 7, 2016
    Messages:
    191
    Likes Received:
    33
    Jeremy,

    As soon as I move back home I'll also be trying the same thing.

    Regards,

    Tom
     
  3. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
    Hi Tom,
    I'm currently working on getting Marlin to color mix, it looks like the latest update will support it. My other project is to get LED that attach to the RUMBA board and can be controlled with Gcode. I really want them to turn on to show heating / cooling.

    Jeremy
     
  4. Tom De Bie

    Tom De Bie Well-Known Member

    Joined:
    May 7, 2016
    Messages:
    191
    Likes Received:
    33
    Jeremy,

    I suppose you are using rgb ledstrips for that?
    I think this is possible, but you'll need to add some code...
    First thing to do is create a lookup table where the temperature and rgb colors are defined. Then do a lookup for the current temperature and compare in the lookup table. Set the rgb value to 3 unused pins of the rumba and your done (on the software side that is).
    For the hardware you are going to have to make some sort of driver which sets the ledstrip to the right color...

    I'll try to look if I can find some examples of both to get you started when I get back home ;)
     
  5. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
  6. Tom De Bie

    Tom De Bie Well-Known Member

    Joined:
    May 7, 2016
    Messages:
    191
    Likes Received:
    33
    You can use pins 12, 13 and 14from the EXP3 header
    [​IMG]

    In your code you should use pin 63 for pin12(on exp3), pin 60 for pin13(on exp3) and pin 59 for pin14(on exp3)

    Have fun and don't forget to share ;)
     
  7. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
    I was looking at the exp3 for pins, it's like you read my mind. Sure will share, once I get it working. Thank again for your help. Have a good Thanksgiving!!
     
  8. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
    HI Tom,
    So I'm starting to get the code to work, but I'm having an issue with the Pins. I used the ones you suggested, but they don't seam to respond. I've tried it with the lights attached and just with a volt meter. No change when the temp changes. I changed the pins to the Fan 0 and Fan 1 pin (7&8) and it works. What am I doing wrong?
     
  9. A Dragon In A Pie Costume

    A Dragon In A Pie Costume Well-Known Member

    Joined:
    Jul 6, 2016
    Messages:
    202
    Likes Received:
    15
    have you tried swiching the connections? LEDs are directional(theyre diodes, that's basically their purpose)
     
  10. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
    Yup, no change.
     
  11. A Dragon In A Pie Costume

    A Dragon In A Pie Costume Well-Known Member

    Joined:
    Jul 6, 2016
    Messages:
    202
    Likes Received:
    15
    check with a voltage meter if theres power to those ports when there should be
     
  12. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
    Maybe I should ask this first, this is what the code should look like in the Pins.h file for the above mentioned pins?
    #define STAT_LED_RED 63
    #define STAT_LED_BLUE 59
    #define STAT_LED_GREEN 60
     
  13. Tom De Bie

    Tom De Bie Well-Known Member

    Joined:
    May 7, 2016
    Messages:
    191
    Likes Received:
    33
    I think the reason it does work on the fan output is because this can handle the current needed for the leds.
    You'll probably need to install a npn transistor or something... ;)
     
  14. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
    Yea I just ordered some new ones, I had tried some initially but obviously they didn't work. I was talking with a moderator and he sugested using PWM 1 and PWM 2 on exp3. I'm just confused with the pin map, he said pin 5 & 6 are what I need. Reading the map you sent it's pin 1 and 5. I'm confused :confused:.
     
  15. Jeremy Sabatini

    Jeremy Sabatini Active Member

    Joined:
    Feb 21, 2016
    Messages:
    37
    Likes Received:
    19
    I'm going to post a new treat for the led's, maybe someone else has this issue solved.
     

Share This Page