2016:smart_remote_control
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
2016:smart_remote_control [2016/05/10 20:42] – [Step #5: Start Web Interface Server] 75.177.137.2 | 2016:smart_remote_control [2016/05/10 20:45] (current) – [Step #2: Install Software Dependencies] 75.177.137.2 | ||
---|---|---|---|
Line 30: | Line 30: | ||
* After you connect to the Yún's command line, it will show the firmware version. This project has been tested and works with BusyBox v1.19.4 dated 2014-04-10 and later. If you're using an older version, you may need to follow these instructions to update your board. | * After you connect to the Yún's command line, it will show the firmware version. This project has been tested and works with BusyBox v1.19.4 dated 2014-04-10 and later. If you're using an older version, you may need to follow these instructions to update your board. | ||
* From the command line, execute the following command to update the package manager: | * From the command line, execute the following command to update the package manager: | ||
+ | < | ||
opkg update | opkg update | ||
- | + | </ | |
* Now install PIP, the Python package manager:\\ | * Now install PIP, the Python package manager:\\ | ||
+ | < | ||
opkg install distribute && opkg install python-openssl && opkg install python-expat && easy_install pip | opkg install distribute && opkg install python-openssl && opkg install python-expat && easy_install pip | ||
- | + | </ | |
This process may take a few minutes. You may see some warnings; they' | This process may take a few minutes. You may see some warnings; they' | ||
* Create a directory on the SD card to store Python packages: | * Create a directory on the SD card to store Python packages: | ||
+ | < | ||
mkdir / | mkdir / | ||
- | + | </ | |
* Install the Flask Python web framework: | * Install the Flask Python web framework: | ||
+ | < | ||
pip install --target / | pip install --target / | ||
- | + | </ | |
You may see some warnings; they' | You may see some warnings; they' | ||
* Update Python' | * Update Python' | ||
+ | < | ||
echo " | echo " | ||
- | + | </ | |
* Create the directories where the Arduino IDE will upload the web server files: | * Create the directories where the Arduino IDE will upload the web server files: | ||
+ | < | ||
mkdir / | mkdir / | ||
mkdir / | mkdir / | ||
- | + | </ | |
* Restart your Arduino Yún to make sure the Python search path is updated. | * Restart your Arduino Yún to make sure the Python search path is updated. | ||
==== Step #3: Load Arduino Sketch ==== | ==== Step #3: Load Arduino Sketch ==== |
2016/smart_remote_control.1462927364.txt.gz · Last modified: 2016/05/10 20:42 by 75.177.137.2