Internet of things devices libraries
To run using DIO remember to add -Djava.library.path="/home/pi/dio/build/so" -Djava.security.policy="/home/pi/dio/dio.policy" to your Java command
Want to learn how this was done? You can watch the following videos on livecoding.tv where I went through configuring a Raspberry Pi and Grove Pi and showed how to use the library stored here.
Download now the Raspberry Pi Image used in the examples, libraries, etc.
https://mega.nz/#!WQNWFYjA!XamnrYZPCKcELORwb_B6nRZRdU_dBR-D75Zt0wN0_cA
Write it to a 2gb (or more) SD Card! using: http://sourceforge.net/projects/win32diskimager/
Connect your raspberry pi to your pc using the ethernet cable (direct connection)
Putty to the pi IP address: 192.168.127.1 username:pi password:raspberry
The Pi is running a simplified Raspbian (no Desktop GUI environment) with Java, Python, etc. The pi has a DHCP server
Raspberry Pi Environment Setup
- Raspberry Pi Setup https://www.livecoding.tv/video/java-and-the-internet-of-things-1/
- Raspberry Pi Setup https://www.livecoding.tv/video/java-and-the-internet-of-things-2/
- Raspberry Pi Setup https://www.livecoding.tv/video/java-and-the-internet-of-things-2-3/
- Raspberry Pi Setup https://www.livecoding.tv/video/java-and-the-internet-of-things-3/
- Device IO https://www.livecoding.tv/video/java-and-the-internet-of-things-4/
Device Exploration
Creating IoT projects
- Sensors and Led fun!, REST and JavaEE 7 https://www.livecoding.tv/video/java-and-the-internet-of-things-6/
- Creating a Java IoT project https://www.livecoding.tv/video/java-and-the-internet-of-things-7/
- Creating a Java IoT project https://www.livecoding.tv/video/java-and-the-internet-of-things-7-2/