Posts

Running Raspbian in a Virtual Machine

Image
Raspbian is the most common operating system used on Raspberry Pi single-board computers. It’s simple and comes with some cool toys  preinstalled  readily available for installation, such as Geany, Node-Red, and Scratch. The large use base behind the OS encouraged the development of an x86 version. This means any regular desktop or laptop PC can run Raspberry, and users can take it for a test drive without loading or even owning a Raspberry Pi. Whether you’re new to Raspbian and want to play around with Linux, or an experienced programmer looking to test scripts before deploying them on a $35 Raspberry Pi, running Raspbian in a virtual machine is a great alternative to installing it on a full desktop. For those who have never used them before, virtual machines allow you to run a virtual computer  within  your computer, allowing you to run an operating system inside the one you’re currently using. Scroll past the instructions to follow along with the video on LBRY or YouTube

Cayenne on Arduino Uno

Image
Cayenne for Arduino Wait, Cayenne on Arduino? Yes, Cayenne on Arduino. The same Cayenne we've covered in the past can also be installed on, among many others, an Arduino board. Today we'll be covering the installation process. Hardware First, you'll need compatible hardware. The two basic things you need are the micro-controller itself and a network interface card. We used an Arduino Uno (rev. 3) and a SeeedStudio Ethernet Shield (v1.1). Cayenne is compatible with a wide range of other network cards and Arduino boards as well; check their site for full compatibility list. You also of course need a network to connect to, either wireless or wired, and a power source. If you plug into a computer, you can use the serial monitor to view debugging information. Software Installation Try watching this video: Go to Cayenne Log in or sign up Choose to add a new device Follow the prompts to select your board and network card(A SeeedStudio ethernet shield i

CodePy Christmas

Image
Merry Christmas: An Introduction to Google Apps Script What is Google Apps Script(GAS)? GAS is a JavaScript-based platform for writing cloud applications and expanding/integrating with Google services. That probably doesn't sound very useful to the average user, but anyone with any JavaScript experience can start using GAS to automate tasks. Today we'll walk you through using a script we've written with GAS and break the commands down into pseudo-code. CodePy Christmas GAS This script does one simple thing: when it is Christmas, it will email you. To use: Go here to open the script Click the 'triggers' button Click 'No triggers set up. Click here to add one now.' Change 'Hour Timer' to 'Day Timer' In the last drop down box select what time of day you want to receive your email Click save and wait for Christmas! Watch the video below:   Awesome, now it's working! But wait, what does all this do? Ho

myDevices Cayenne

Image
About Cayenne Cayenne is an IOT cloud program to assist you in quickly building automated projects with the Raspberry Pi, Arduino, and other boards. You can the easy to use graphical interface to manually control pins, view live sensor data, and set up automated responses to run based on time or events. It also let's you remote control the device in a way similar to a VNC server. Cayenne may no be for everyone though, on some board models the program takes up 100% of the processing power constantly. But not to worry, the program is almost as easy to uninstall as it is to install. This tutorial will walk you through the installation process for Raspbian. Installation Android App Cayenne is best used with the companion Android and iOS apps. After opening the app, it will walk you through logging in (or creating an account) and autonomously locate and install your Pi. After it scans the network, click your Pi and enter the username and password (Default Raspbian Username:

Raspberry Pi Static IP

Image
Raspbian Jessie uses a different network manager than most other Linux systems and previous versions of Raspbian. Most users will have no use for a static IP, but it is necessary in some environments. There is a lot of confusion online, but this method has been tested to work with the newest edition of Raspbian as of August 8th, 2016. Also please note, depending on what you need a static IP for, it may be easier to go into your router(or other DHCP server) and specify an IP for your device there. First, open /etc/dhcpcd.conf with your favorite text editor(We'll use nano). Run the command: sudo nano /etc/dhcpcd.conf Add this to the end: interface eth0 static ip_address=192.168.1.7/24 static routers=192.168.1.1 static domain_name_servers=8.8.8.8 Use Ctrl+X to save and exit Replace ip_address with an IP of your choice, routers with the IP of your router or gateway, and domain_name_server with the IP of a DNS server. If you're on Wi-Fi, change "eth0" to

Install Weaved on Raspberry Pi

Image
Weaved is a free service that allows you to temporarily open local ports to the public internet without the need for re-configuring a firewall. Learn more at their website . Security In any setup, it's a good idea to change the default password. Weaved exposes your Raspberry Pi to the internet, making it necessary to change it. The first step before installing Weaved should be changing your password. On the Raspberry Pi, open a terminal and enter the command: passwd The system will ask you to confirm the old password. The Raspberry Pi's default password is "raspberry". Then enter your new password twice. Remember, as a security enhancement, UNIX-like systems don't show your password as you type. It it also a good idea to add a root password. You can do this by running sudo passwd By default, there is no root password, and this password can be the same as the first one. Getting Started with Weaved In order to use Weaved, you need to make an account. T

Installing Raspbian Jessie

Image
Installing Raspbian Jessie is fairly straight forward. In this post we'll about downloading the image file, installation, and the first boot. Check out the updated version of this post on Steemit! Downloading Raspbian Raspbian can be downloaded from the official Raspberry Pi website . If you don't need all the bells and whistles, or are working with a small SD card, you'll want to download the lite version. However, most users will want the full edition. Please Download with Torrent! For those who haven't used torrents before, it's a method of downloading files, but instead of downloading them from the server, you download from other users who already have the file. Torrents are safe to use and often faster than downloading from the server. By using Torrent, you also save the Raspberry Pi foundation money by not using their server. Remember, they're a non-profit! They need to save as much money as they can! Installation You can follow our instruction