We would be using a Windows PC with Virtual Box installed.
Also make sure that you have the latest Virtual Box extentions installed!
First we need to add a Virtual Box NAT network for the given PC.
#!/bin/sh | |
# This script adds a menu item, icons and mime type for Arduino for the current | |
# user. If possible, it will use the xdg-utils - or fall back to just creating | |
# and copying a desktop file to the user's dir. | |
# If called with the "-u" option, it will undo the changes. | |
# Resource name to use (including vendor prefix) | |
RESOURCE_NAME=arduino.arduinoide |
MQTT is the protocol of choice for M2M and IoT Applications.
Mosquitto is an open source iot.eclipse.org project. It implements the MQTT protocol versions 3.1 and 3.1.1. For more details please refer to http://mosquitto.org/.
We would look at setting up the broker both on Raspberry Pi and an Ubuntu VM on PC.
Though some special configuration is needed to begin with using the VM.
This was inspired by the concise works of jeff's Skinner Box
Primary Article to begin with:
Lets make sure that we have all the sheilds up!
#!/bin/bash | |
# Raspberry Pi Mosquito Install Script | |
sudo wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key | |
sudo apt-key add mosquitto-repo.gpg.key | |
cd /etc/apt/sources.list.d/ | |
sudo wget http://repo.mosquitto.org/debian/mosquitto-jessie.list | |
cd | |
sudo apt-get update | |
rm mosquitto-repo.gpg.key |
#!/bin/bash | |
# Backup the Network Config | |
cp /etc/network/interfaces /etc/network/interfaces.bak | |
cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.bak | |
# GUI-related packages | |
pkgs=" | |
xserver-xorg-video-fbdev | |
xserver-xorg xinit |
/** | |
* Arduino Pro Mini Low power Sleep Example | |
* | |
* @license BSD Open Source License | |
* Copyright (c) 2004-2021 Abhijit Bose < salearj [at] hotmail [dot] com > | |
* If you require a license, see | |
* http://www.opensource.org/licenses/bsd-license.php | |
* | |
* @note | |
* This example show how to properly enter sleep mode and wake up |
Log Into the LinkIt Smart 7688 One can connect to the LinkIt Smart via AP interface or via USB to Serial. See the user manual
Copy the file ralink.sh
to /lib/netifd/wireless/ralink.sh
on the LinkIt Smart 7688
One can copy the file via SCP from the host machine. Or connecting a usb flash drive to the host port.
Give the Command to make this file executiable:
/** | |
* Project WiFi Display | |
* | |
* This project is intends to enable WiFi Connectivity for the LED Panel | |
* In order to do, a WiFi Accesspoint configuration is used. | |
* The WiFi Access point serves a Dynamic Page where the text to | |
* be sent can be written and the same would passed on through | |
* Serial Port on ESP8266. | |
* This program was tested on a NodeMCU V1 with ESP-12E module. | |
* There are two serial ports being used the `Serial` which is |
Here are the instructions: | |
1. Install the MinGW with MSYS and MSyS MinGW Dev system checked | |
2. Download the Repository from | |
https://github.com/CHERTS/esp8266-devkit | |
3. Copy the Downloaded Repository Folder to Root "C:" making it =: | |
C:\esp8266-devkit | |
4. Open Administrator command prompt ("Type cmd in search bar, then rightclick on the icon and Run as Administrator") | |
5. Now cd C:\esp8266-devkit\Espressif | |
6. Run Command "install-mingw-package.bat" - press enter to begin | |
7. Once the package installation is complete then close the Command window |