Installation Arduino-IDE First you need to get and install the development software. Don’t worry, it is easy and you won’t need special programming skills. Get your version of the Arduino IDE from. The software is available for WIndows, Linux and Mac. Follow the instruction on the Arduino site. You will need Arduino 1.8.5 or higher. The IDE contains only the officially supported board driver. If your board is not included, you need to install the missing device files. Not included are files for Gen 6, Sanguinololu, Gen7, Teensylu and Printrboard. The next step is driver installation. The boards all use a serial protocol. Which is fine if your printer had a serial port. The designer of the Arduino knew this problem and have added a usb->serial converter on board. That is the reason, you need to install the usb driver used on the board. Some board/OS combinations don‘t need a special driver. If you are a Windows user – I didn‘t mean you. Use the links on this page to download the latest version of Arduino Mega 2560 drivers. All drivers available for download have been scanned by antivirus program. To understand the IDE, you should now download the latest version of. It is not necessary to clone the repository. All you need is to download the contents as a ZIP file. Download the file and unpack the contents. Start the IDE and go to File->Open and select the file „Repetier.ino“ in the repetier subdirectory. Before you can compile and upload the firmware, you need to select the board and port. You do this in the Tools menu. Start with your board. The port can only be selected, if your printer is online and connected. For a first successful upload, follow the next steps: • Open the register tab named „Configuration.h“ • Search the line „#define MOTHERBOARD“ and change the number behind to match your board. Side tone for usb headsets mac. • Near the bottom you see a line „#define BAUDRATE 250000“. Change the baud rate to match your preferences or leave it. • Make sure the printer is connected and port and board type are set correctly. • Press the upload button. That is the button with the arrow to the right. • After a while you see the length of the compiled firmware file and the upload starts. On most boards you will see a led starting to flicker. After it stops flickering, the upload is verified and then you see the message „Upload done“ in the IDE. You just compiled and uploaded your first firmware. You can start your host software and connect to the board with the set baud rate. Don‘t try to print now. You haven‘t set up everything needed. But you can already ask firmware name with „M115“ or move the printer head a bit (no long distance before you set up the correct steps per mm for your axis). Common errors • If the MOTHERBOARD setting does not match your board settings, you will get a corresponding error message. • If your host is still connected to the board, you can not update a new firmware. • Sometimes the uploader fails to reset the board to start the bootloader. If you see the firmware is compiled and the led doesn‘t start flashing within 5 seconds, press the reset button on the board. Often this helps. • Sometimes you will get a fsync error message from the uploader. Unplug the printer and reconnect it. If it doesn‘t go away reboot your computer. ![]() General configuration In general you will only need to update two configuration files. The main configuration is „Configuration.h“ which is handled in this chapter. If you have a LCD display and optionally some keys, you also need to change the „uiconfig.h“ file if it is not supported by the firmware directly, which is handled in the next Chapter. The default is no LCD and no keys. If you have an unknown board or changed the usage of some pins, you need to update pins.h. When you open the „Configuration.h“ file, you see a lot of comments and some values to change. These configurations are all done with preprocessor commands. If you don‘t know what a preprocessor is or does, you should read this section carefully. I will explain everything you need to know for your configuration. Experienced programmer can skip this section. The target of your configuration is to write a firmware that works perfectly with your printer. Viewing the RepRap webpage, you see man different kinds of printer using different boards and different sensors and setups. To create one firmware that works with all variations, it needs to be very flexible and to use data defining your special setup. To do this the preprocessor is used.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |