Skip to content

Instantly share code, notes, and snippets.

View joeyvanderbie's full-sized avatar

Joey van der Bie joeyvanderbie

View GitHub Profile
@joeyvanderbie
joeyvanderbie / Send infrared commands from the Arduino to the iRobot Roomba
Last active June 16, 2019 15:57 — forked from probonopd/Send infrared commands from the Arduino to the iRobot Roomba
Combined IR Roomba controll with ethernet webserver code from W.A. Smith, http://startingelectronics.com Extended script to send command 2 times, since the first command is most of the times not received by the Roomba. The short delay overwrites the first command if this is received, resulting in a total of 1 command excution of the Roomba, as d…
/*--------------------------------------------------------------
Program: eth_websrv_LED
Description: Arduino web server that serves up a web page
allowing the user to control an LED
Hardware: - Arduino Uno and official Arduino Ethernet
shield. Should work with other Arduinos and
compatible Ethernet shields.
- LED and resistor in series connected between
// SparkBot Firmware
// Began 12/4
// Last updated 12/9
//
// Firmware for controlling a Spark Core connected to a Roomba Vacuum cleaner, controlled by sparkbot_bashscript.sh
// Link to project share on Spark Community site below:
//
// https://community.sparkdevices.com/t/sparkbot-manually-automatically-vacuum-your-living-room/625
//
// Credits to http://skaterj10.hackhut.com/2013/01/22/roomba-hacking-101/ for the tips!
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
This script toggles lights on and off using the phue library and a physical switch
It is started on boot in /etc/rc.local with this line:
python /home/pi/light_button_control/light_button_control.py &
'''
from time import sleep
@joeyvanderbie
joeyvanderbie / README.md
Created June 27, 2016 13:49 — forked from jonathantneal/README.md
Local SSL websites on Mac OSX

Local SSL websites on Mac OSX

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on Mac OSX Yosemite.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward edit to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"