I’m beginning my install and configurations of a new 3D printing web based controller from XYZBots and wanted to pass on a few things. This controller is pretty strait forward but it sits on a Raspberry PI b+ controller and having never set on up before I ran into a couple of things. First, Make sure you follow the direction on the software site REPRAPWEB when setting things up or like me when you first plug in your board you’ll get nothing but two solid lights on your board, one green and the other red. The issue is if the image you placed on the SD Micro card is not correct you get nothing and that includes nothing on the video to even tell you what is wrong. Below are my steps to get a functional image on the Raspberry pi b+. You’ll know you’ve got a good image as the red light on the board stays red and the green light flashes as it accesses the card.
1) Run “sudo fdisk -l”. Look at what is returned and then plug in SD Micro card and run again, you’ll see the new device name. Mine was.
“Device Boot Start End Blocks Id System
/dev/sdc1 8192 62333951 31162880 c W95 FAT32 (LBA)”
2) Format the card with FAT32, I downloaded GParted app using Ubuntu Software center.
3) Download the latest image from software site REPRAPWEB. I took the image, I might play with the source some day but it won’t be today.
4) Unzip the Download into directory and go to it.
** before I go further you need to remember two things. First, be careful you run dd command against wrong device you will be in a world of hurt. Second, in the directions on the software download site it explains that Raspberry Pi for this install does not use partitions. If you just use the device name you found in step 1 without modifying it and push the image across it will install on the SD micro card but Raspberry pi will not function.
5) to install the code to the SD Micro card run the following. Obviously you need to use the right image name if it’s changed. What is most important is my Step 1 command returned and device of “/dev/sdc1” but my “of” parameter below only uses “/dev/sdc”. The reason for that is removing the last number from the device copies the code in one partition. Also an FYI is this stuff is case sensitive the “M” in the bs=4M needs to be capitalized, found that out the hard way.
sudo dd if=reprapweb-2014-09-09-wheezy-raspbian.img of=/dev/sdc bs=4M
The command takes a while but once it completes you can plug in the SD Micro card to you raspberry and your good to go.