In previous blog post, I have shared my UpCycle_It proposal for Intel Edison Powered "Enchanted Refrigerator" which can place order on Amazon on my behalf using Amazon Dash Replenishment Service APIs, when consumable is about to run out in refrigerator and refrigerator will be always in sync with my health monitor so when I open my refrigerator, it intuitively show my health parameters with NeoPixel LEDs color pattern and suggest me what food will be good for me to eat.
Intel Edison will get internet connectivity via WiFi connection and it will linked with my Health monitor and Amazon DRS Service as given below..
1. Intel Edison will use MQTT protocol for communicating with my Health monitor
2. Intel Edison will use http secure GET/POST requests for implementing Amazon Dash Replenishment Service APIs.
I will be using Python and shell scripts on Intel Edison for accomplish above two process..
I will be using MRAA Python library for interfacing Sensors with Intel Edison..
NeoPixel LEDs uses one-wire communication protocol with 400KHz data rate, it will be very complicated for me to implement the same on Intel Edison as all GPIO are accessed via I2C using Yocto OS on Intel Edison so task switching latency not make it possible to interface NeoPixels with Intel Edison..
So I am planning to add slave mcu (AVR/MSP430) to provide bridge between Intel Edison and NeoPixel LEDs... Slave mcu communicates with Intel Edison using UART and control NeoPixel LEDs.
If any how I can get direct access to timers of Quark MCU on Intel Edison than I give it a try to interface NeoPixel LEDs with Intel Edison without using Slave mcu..
So at this point I can confirm that I will not be using Arduino IDE for Intel Edison and my entire project will be implemented using SSH access of Intel Edison Yocto OS with python and shell scripting..
As I already have one Intel Edison, In this post I am sharing Intel Edison Getting Started using SSH ..
Intel Edison getting started using SSH
Require software/drivers (I am using Windows 7 32-bit OS):
1. SSH Client Software: I am using "MobaXterm Home edition" which is free, for access Intel Edison using SSH as mobaXterm having intuitive and easy to use GUI interface with its own text editor and easy file transfer between host(PC) and remote device(Intel Edison), you can also use "putty" a light SSH client which is free and open source.
2. Intel Edison USB Driver: Basically to access Intel Edison via SSH, the required driver is Remote Network Driver Interface Spec (RNDIS) for Ethernet over USB but install all drivers as per Intel official link for download and installation guide of Intel Edison Drivers.
Once Driver are Installed on Host system and Intel Edison connected to Host system using middle micro USB port on Intel Edison shown in figure below, Host System detects Intel Edison as RNDIS device and provide Ethernet over USB connection between Intel Edison and Host System with Intel Edison default IP as 192.168.2.15
Also a Intel Edison is available to host system as "Edison" named mass storage drive.
(Note : If you are using USB for power Intel Edison than make sure SW1 is on micro USB connector side)
Fig: USB connection and SW1 position for accessing Intel Edison via SSH
Fig: Screen shot of Device manager window shows Intel Edison as RNDIS
Fig Screen shot of Edison as mass storage drive
So next step is to configure your Host system IP with sub net 192.16.2.XX, In this setup I have configured my host system IP as 192.168.2.20
Fig: configure Host System IP address as 192.168.2.20
at this stage you can successfully ping to Intel Edison using cmd prompt as given below..
Fig Intel Edison responding to ping from Host System
Now we are all set to access Intel Edison from using mobaXterm (or putty if you wish)
here are steps to access Intel Edison using mobaXterm
1. Run MobaXterm_Personal_8.6.exe and create new session
2. Select SSH session
3. Add remote host IP as 192.168.2.15 (Intel Edison RNDIS IP) and select username as root and click OK.
4. Great ... You are connected to Intel Edison using SSH..(Intel Edison do not have any default password as root )
also you have access to Intel Edison file system using sftp at this point so you can easily drag and drop files to/from your host system
Great... Now We are all set to explore more about Intel Edison using SSH..
In next blog I will share Intel Edison firmware upgrade process.. because When all challengers get their Intel Edison board this will be the the first step for all to upgrade it with latest yocto image.. as in most of the cases the Intel Edison board you receive will not loaded with latest yocto image..
Top Comments