me-no-dev / RasPiArduino

Arduino Framework for RaspberryPI
326 stars 76 forks source link

RasPiArduino Build Status

Join the chat at https://gitter.im/me-no-dev/RasPiArduino

Includes raspberry_pi_revision from Andrew Duncan

Arduino Framework for RaspberryPI

Features

Instructions for Arduino IDE

Instructions for the PI

service avahi-daemon restart


* Install telnet and git
```bash
apt-get update
apt-get install telnet git

_IP=\$(hostname -I) || true if [ "\$_IP" ]; then printf "My IP address is %s\n" "\$_IP" fi

Sync Time

ntpdate-debian -u > /dev/null

Start Sketch

/usr/local/bin/run-sketch > /dev/null

exit 0 EOL


* Prevent some RealTek USB WiFi from sleep (optional) (EU)
```bash
echo "options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1" > /etc/modprobe.d/8192cu.conf
echo "options r8188eu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1" > /etc/modprobe.d/r8188eu.conf

If everything went well

Selecting the board from the list of ports

Select Pi Port

Password prompt before upload

Enter Pi Pass

Monitoring the sketch

Sketch Monitor

Links to external tutorials