Why you need this article? Because we will be doing Salesforce IOT examples in upcoming posts.
In this post, we will be getting knowledge about Raspberry Pi. I will be sharing some best link to set up the device instead of writing here. Please follow each step carefully.
What is Raspberry Pi: The Raspberry Pi is a series of small single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and in developing countries. Read More Here...
GPIO Pins: Read Here...
Device's List: You will need one Raspberry Pi, 8 GB SD card, Keyboard, and mouse. (I have Raspberry Pi 3 Model B) Also, you will need one LCD or LED with HDMI port. So you can install OS and connect RPi to WIFI for the first time.
Installing OS: Follow the steps from here. ( Download the Noobs, Don't download Noobs Lite)
Accessing RPi from another machine: After installing the OS, connect RPi to your wifi network. You can connect your RPi and your machine(Laptop or PC) in two ways.
1. SSH: Using this you can connect to RPi to your machine over the LAN. But you can connect only via the command line. Setup SSH from here: I recommend you to use Enabling SSH using User Interface. Don't go for the 3rd way (Headless SSH). After SSH setup, move forward for 4th point(Connect your machine).
Mac's Terminal Command: sudo ssh [email protected]
You can use [email protected] in the terminal instead of IP address. It will locate automatically your RPi from LAN. It will ask your machine password not RPi. After that, it will ask for permission "Are you sure you want to continue connecting (yes/no)?" Type yes here. Now provide your RPi's password. By default it is raspberry.
Congrats, Now you are connected to your RPi over the LAN. Now you don't need LED, Keyboard, and mouse.
2. VNC: Using this you can connect to RPi to your machine over the LAN with RPi's Desktop. It is the easy way to see RPi's User Interface.
Follow these steps here to use VNC.
Get more detail and help about Raspberry Pi here.
Originally posted here..