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

Marlin Firmware (10/9/13)

Discussion in 'Official Documentation' started by Coby Robo 3D, Oct 9, 2013.

  1. Coby Robo 3D

    Coby Robo 3D Administrator
    Staff Member

    Joined:
    Feb 20, 2013
    Messages:
    75
    Likes Received:
    108

    Attached Files:

    #1 Coby Robo 3D, Oct 9, 2013
    Last edited by a moderator: Jan 25, 2015
    4 people like this.
  2. James

    James Member

    Joined:
    Feb 21, 2013
    Messages:
    48
    Likes Received:
    12
    Does it have the needed support for using A viki lcd?
     
  3. Seshan

    Seshan Active Member

    Joined:
    Feb 20, 2013
    Messages:
    447
    Likes Received:
    153
    It mentions something about viki in the configuration.h files, so Maybe.
     
  4. Coby Robo 3D

    Coby Robo 3D Administrator
    Staff Member

    Joined:
    Feb 20, 2013
    Messages:
    75
    Likes Received:
    108
    This configuration does not support the VIKI LCD, although it does support the reprapdsicount LCD controller. Unfortunately, I do not have a VIKI LCD to see if a configuration would work.
     
  5. pclabtech

    pclabtech Active Member

    Joined:
    Feb 20, 2013
    Messages:
    111
    Likes Received:
    73
    Coby, I have offered time and time again that you can have my ViKi to do what you need to have it configured. Anytime you want I will drop it by for you do what you need to get it to work. Printed Solid knows how and so does Cambo3d. The unfortunate thing is the Robo3D firmware does not have the LCD driver nor the "data pins" mapped out for the jog shuttle and buttons.
     
  6. Printed Solid

    Printed Solid Volunteer Admin
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    1,605
    Likes Received:
    1,001

    Just to clarify so I don't start getting requests to help install vikis. I've only installed the reprapdiscount, which requires nothing more than uncommenting a few lines in the code, plugging in the cable, and uploading the revised firmware. I haven't touched a Viki.

    The reprapdiscount controller is great (and I still have some) but it would be nice if all the people who bought vikis expecting it to work on the robo had a robo approved solution. If not, there's always ebay. Last I checked those vikis were hard to come by and would probably sell pretty easily.
     
  7. Seshan

    Seshan Active Member

    Joined:
    Feb 20, 2013
    Messages:
    447
    Likes Received:
    153
    What more needs to be done? In the config.h file it mentions this:
    Code:
    // Panucatt VIKI LCD with status LEDs, integrated click & L/R/U/P buttons, separate encoder inputs
    //#define LCD_I2C_VIKI
    #ifdef LCD_I2C_VIKI
      // This uses the LiquidTWI2 library v1.2.3 or later ( https://github.com/lincomatic/LiquidTWI2 )
      // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.
      // Note: The pause/stop/resume LCD button pin should be connected to the Arduino
      //      BTN_ENC pin (or set BTN_ENC to -1 if not used)
      #define LCD_I2C_TYPE_MCP23017
      #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander
      #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)
      
    Wouldn't you just need to uncomment this?
     
  8. tesseract

    tesseract Moderator
    Staff Member

    Joined:
    Feb 20, 2013
    Messages:
    1,924
    Likes Received:
    533
    Hey Coby do you by any chance have past firmware configurations and if so could you make them available as well
    if not I would suggest you begin keeping backups of the ones you replace
     
  9. tompeel1

    tompeel1 New Member

    Joined:
    Apr 18, 2013
    Messages:
    78
    Likes Received:
    17
    So am i correct in thinking you can burn your Gcode to a SD and then using the reprapdiscount controller it can act as a stand alone unit not needing to be connected to a pc the whole time?
     
  10. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,275
  11. Racegrafix

    Racegrafix Active Member

    Joined:
    Nov 18, 2013
    Messages:
    213
    Likes Received:
    62
    How on earth do you update firmware....
     
  12. tesseract

    tesseract Moderator
    Staff Member

    Joined:
    Feb 20, 2013
    Messages:
    1,924
    Likes Received:
    533
    first off it is a lot scarier than it sounds
    you need a few things the new firmware and the arduino software

    You should get the arduino software from the arduino site and install it on your machine first

    Then you get the new file which will be folder of files and in that you will see a .ino file that matches the file name.
    Clicking on that file with the arduino software opens arduino and sets everything up for you you simply make a connection to your computer selecting the proper board (a MEGA2560 ) and serial port form the menus and the make any change you need to in the configuration .h file and then compile the code by hitting the button on the upper left area and then upload the files to the printer with the next button over.

    It should recompile again to make sure and then try and upload the files if it has trouble connecting it will give you messages if it succeeds your printer should act as it did before only incorporating the new changes.
     
  13. Matthias

    Matthias Member

    Joined:
    Feb 20, 2013
    Messages:
    174
    Likes Received:
    18
    Make sure that you switch the printer off, remove power cord, then plug in the USB port only and flash right away. Don't use repetier or anything else for the time.
    I had quite some trouble with lost torque after I flashed. See this thread:

    http://forums.robo3dprinter.com/index.php?threads/1525/
    Upgraded to metric rods
     
  14. Racegrafix

    Racegrafix Active Member

    Joined:
    Nov 18, 2013
    Messages:
    213
    Likes Received:
    62
    Um...well. I clicked some buttons, but I have no idea if it actually updated anything.

    Edit:
    It must have updated, it homes twice.
     
  15. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,275
  16. tonycstech

    tonycstech Active Member

    Joined:
    Dec 16, 2013
    Messages:
    571
    Likes Received:
    190
    Does this post always get updated with latest firmware ?
     
  17. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,275
    I'm sure if they update it they will
     
  18. Thor

    Thor Member

    Joined:
    Nov 19, 2013
    Messages:
    64
    Likes Received:
    19
    Is there a good way to contribute back to this?
    I made some code to detect when the thermistor fell out of the extruder...
     
  19. Melody Bliss

    Melody Bliss New Member

    Joined:
    Nov 17, 2013
    Messages:
    276
    Likes Received:
    81
    Thor, it's open source. Fork off a copy, make your mod and push it back to your forked branch in GitHub. You should make a branch that reflects the change you made before you push it back up.

    Then send email to those watching the Marlin source. Someone will eventually look at your code and if they think it's ok and won't break things, possibly merge your branch back into the main tree. :)



    Sent from my iPhone using Tapatalk
     
  20. Rick Collins

    Rick Collins Member

    Joined:
    Nov 20, 2013
    Messages:
    55
    Likes Received:
    18
    Where would one find older firmware for the Robo? I cant get this version to work with my Robo at all, lines of errors all over the show and i havent even modified it yet. Back to the old for me if someone can tell me where to find it :).
     

Share This Page