- HTTP:/www.tinajalabs.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Code uses an Arduino Uno to control a slide scanner and a DSLR to make it easier to digitize slides. | |
I got these relays on Amazon for about $3 each. They take 5VDC, Gnd, and a low | |
voltage to close the normally open relay. http://www.amazon.com/gp/product/B00G9TQH8U | |
Features: | |
This relay module is 5V active low. | |
It is a 1-channel relay interface board, which can be controlled directly by a wide range of microcontrollers such as Arduino, AVR, PIC, ARM, PLC, etc. | |
It is also able to control various appliances and other equipments with large current. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# /etc/init.d/tinaja_sensors | |
### BEGIN INIT INFO | |
# Provides: tinaja_sensors | |
# Required-Start: $syslog | |
# Required-Stop: $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Tinaja_Sensors initialisation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# example code - https://github.com/bear/python-twitter/blob/master/examples/tweet.py | |
# motion detector - https://www.adafruit.com/products/189 - | |
# running on Raspberry Pi A+ | |
import RPi.GPIO as io | |
import os, sys | |
import time |