Test the Raspberry Pi Code on Your Main Computer Using VirtualBox and a Little Tweak

The Raspberry Pi is great because it’s an inexpensive way to test all sorts of crazy electronics ideas, but sometimes you might want to test before you test. Virtual machines are a great way to do this, and Grant Winnie has a guide on how to set them up with VirtualBox .

The idea here is that you don’t always want to sit without the actual Raspberry Pi testing code. A virtual machine means you can work from your main computer, and then transfer that code to the Pi knowing it will work. In this tutorial, Vinnie uses a Debian build to get around Raspbians’ limitations, installs Python, and then sets up a Raspberry Pi GPIO for testing. It’s a smart way to code from your main computer when you don’t want to tweak the Pi. Head over to Vinnie’s website for a complete guide.

How to Create a Raspberry Pi Virtual Machine in VirtualBox | Grant Winnie

More…

Leave a Reply