Introduction: Intel Edison Gate Control
Control gate with Intel Edison.
RFID tag + small car robot + gate with a servo motor + Edison connected to de cloud system + Edison to control the opening and closing gate + Edison to control the camera + Edison to control a system crash + Edison to calculate the energy consumption.
----------------------------------------------------------------------------------------------------
Upgrade de Yocto (Extended version to 1.5GB /root)
Unzip de file.
Copy the files do Edison external location
Access Yocto actual instaled
Running this command: reboot ota (Waiting de System Upgrade Version)
-------------------------------------
Connect 2 USB cables
-------------
ls /dev
/dev/tty.usb????????
tty.usbserial-???????
screen /dev/tty.usbserial-?????? 115200 –L
User: root
Pass: null
-------------------------------------
configure_edison --setup
Set your pass
Configure your Pass
configure_edison --wifi
In the and you get the IP Adress
-------------------------------------------
Installing git Client
echo "src all http://iotdk.intel.com/repos/1.1/iotdk/all" >> /etc/opkg/git-repo.conf
echo "src x86 http://iotdk.intel.com/repos/1.1/iotdk/x86" >> /etc/opkg/git-repo.conf
echo "src i586 http://iotdk.intel.com/repos/1.1/iotdk/i586" >> /etc/opkg/git-repo.conf
-------------------------------------------
Install nodeJS
echo "src intel-edison-repo http://repo.opkg.net/edison/repo/edison" > /etc/opkg/opkg-repo-edison.conf
echo "src intel-edison-repo-all http://repo.opkg.net/edison/repo/all" > /etc/opkg/opkg-repo-all.conf
echo "src intel-edison-repo-core2-32 http://repo.opkg.net/edison/repo/core2-32"> > /etc/opkg/opkgrepocore2-32.conf
echo "src mraa-upm http://repo.opkg.net/edison/repo/core2-32" > /etc/opkg/mraa-upm.conf
opkg update
-------------------------
opkg upgrade
opkg install nodejs
----------------------------------------
Installing Node Request
npm install request
-------------------------------------------
Installing Node MQTT
npm install mqtt
-------------------------------------------
Installing Node MOSCA
npm install mosca
-------------------------------------------
Installing Node socket.io
npm install socket.io
-------------------------------------------
GitHub Codes.