-
Notifications
You must be signed in to change notification settings - Fork 538
Embedded RaspberryPI
This page might be outdated... See
- Setup a fresh Raspberry Pi image on an SD card and get it connected to the internet
- Download the most recent Raspbian image from raspberrypi.org. Make sure to use their recommended methods to upload Raspbian to an SD card.
- Connect to power, a monitor/TV, keyboard, and mouse. Do the standard setup of an RPi image, expanding the file system and setting it boot to the GUI.
- Optional: Connect the RPi to the internet via Ethernet or using a Wifi dongle and GUI Wifi setup tool. If not, bCNC runs great as a stand-alone Grbl GUI!
- Load bCNC onto your Raspberry Pi!
- If connected to the internet, open the RPi web browser and download bCNC from github. Unzip the downloaded file.
- If not connected to the internet, you'll need to download bCNC onto a USB stick and copy it onto your RPi.
- Run bCNC!
- Simply run bCNC by clicking on the bCNC icon. When asked, it's recommended that you select
Execute from terminal
the first time you run it to know if there are any problems. Or, you run it from terminal directly. That's it!
All of the dependent libraries should already be part of the standard RPi image (confirmed on RPi 2). If bCNC doesn't load and gives a serial error, you may need to update pyserial manually. To fix, install pip via sudo apt-get install pip
, followed by sudo pip install pyserial --upgrade
. (You may want to run sudo apt-get update
and sudo apt-get upgrade
beforehand.)
There is also a a RPI image with bCNC, XRDP, CuteCom at http://wiki.protoneer.co.nz/Raspberry_Pi_CNC#bCNC_.5BPython.5D.5BRecommended.5D
Reported as working
It work on this platform: Olimex A20-Olinuxino-Micro
You can order the SD card with the Olimex official Debian Wheezy image (rel 10)
EDIT: Tested and is working also on the Armbian Platform, that works on many SBC boards
Or you can download and write the same image on a SD card as described in the above link, around the mid of the page (it is a long page and there you will find all the information you need)
"The default SD card setup is made with settings for HDMI 720p/60H" so if you want to use a VGA monitor you have to:
- use the board VGA output (the cheap "A20-VGA-CABLE" is needed or you can DIY it with the appropriated connectors). An important warning is to connect the monitor power plug to the same power outlet of the board to avoid differential ground potential that could destroy the VGA output of the board. The VGA output may be disturbed a little (maybe a lack of some shielding in my installation) but many people have an old VGA monitor somewhere and this is a perfect way to use it.
- follow the instructions under the FAQ: "How to change HDMI, VGA and LCD resolutions in the official Debian image?" to set the resolution, and/or the preferred display type (The board could use HDMI, VGA and even a dedicated LCD attached to a dedicated connector on the board). To do so you have to connect to the board to launch the proper commands.
Follow the direction in the How To..
-
I don't have neither serial cable, nor HDMI monitor. I also can't access the local Ethernet network. Can I somehow access the board anyway?
-
Using the the USB-Serial-Cable-F connected to the UART0, The RX line of the cable (GREEN wire) should go to TX line of the target board; the TX line of the cable (RED wire) should go to the RX line of the target board. The BLUE wire should go to the target's GND line. After you install the drivers the default terminal settings for the port associated with USB-SERIAL-CABLE-F are: 115200 baud, 8-N-1
When you are connected with the board you are in a serial console and you can launch the command to set the display type and resolution and then install the required additional software:
With both of the tested software you use Debian Linux so the packages to install are:
sudo apt-get install python-pil python-pmw python-tk python-serial
The remaining as far as i know are installed by deafult.