{"id":59371,"key":"Beaglebone:MOST","title":"Beaglebone:MOST","latest":{"id":1223538,"timestamp":"2026-01-08T22:51:39Z"},"content_model":"wikitext","license":{"url":"https://www.appropedia.org/Appropedia:Copyrights","title":"CC-BY-SA-4.0"},"source":"{{MOST}}\n\n{{MOST-RepRap}}\n\n''' Using a Beaglebone Black to control 3-D printers '''\nNote: These instructions are a work in progress. Using these instructions is not recommended for production use at this point. These instructions assume the\n\n== Hardware ==\n\nYou will need the following hardware:\n\n* 3-D printer with a Melzi or similar controller.\n* [http://beagleboard.org/BLACK Beaglebone Black].\n* USB cable to connect the printer to the Beaglebone.\n* Custom cable (optional, see below).\n\n== Custom Cable ==\n\nThere are two ways to connect the printer. When using a custom cable, the Beaglebone can be powered by the Melzi, so only one power supply is required. In that case, the USB cable is only required for uploading the firmware to the Melzi. Setting up and using the printer is all done over the custom cable. The cable connects:\n\n* GND on Melzi to GND on Beaglebone.\n* 5V on Melzi to VDD5V on Beaglebone.\n* RX1 on Melzi to TX on Beaglebone (J1).\n* TX1 on Melzi ''through a level shifter'' to RX on Beaglebone.\n\n=== Level shifter ===\n\nThe signal from the serial port on the Melzi would damage the Beaglebone if it isn't shifted down. The level shifter consists of two resistors, one of them twice as big (or slightly as the other one. The bigger one needs to be between the Beaglebone and the Melzi, the smaller one between the RX of the Beaglebone and the GND.\n\n== Package Installation ==\n\n* Remove /etc/init.d/led_aging.sh with\n\n rm /etc/init.d/led_aging.sh\n\nif it didn't exist, you get an error which you can safely ignore.\n\n* Upgrade the system using\n\n apt-get update; apt-get upgrade\n\n* Disable the serial console on /dev/ttyO0 with\n\n systemctl mask serial-getty@ttyO0.service\n\n* Disable kernel console output by removing '''console=${console}''' from the line near the end of /boot/uboot/uEnv.txt\n* Get the Franklin package for armhf and the modules it requires (network, websockets, xdgbasedir).\n* Install the packages:\n\n dpkg -i *.deb\n\n* Finish installing the packages:\n\n apt-get install -f\n\n* Reboot the Beaglebone for the serial port changes to take effect.\n* Wait 30 seconds for the Beaglebone to generate an encryption key.\n* Navigate a browser to https://beaglebone.local:8000?setup=1\n* The browser will warn that the encryption key is not trusted. This is expected.\n\n== Uploading the firmware ==\n\nTo upload Franklin firmware to the printer, connect the USB cable from the Beaglebone to the Melzi. On the website, a new tab named /dev/ttyUSB0 appears. Click it. Then click upload for the Melzi.\n\n* For using the USB cable connection, the printer should autodetect.\n* For using the custom cable, click the /dev/ttyO0 after uploading and click detect.\n\n{{Page data\n| license = CC-BY-SA-3.0\n| description = Beaglebone Black improves 3D printer control. Appropedia provides setup and firmware guidance for efficient, sustainable production.\n}}\n\n[[Category:MOST methods]]"}