user6873440
Created January 27, 2016

Present

An object to reconnect to the real life

Present

Things used in this project

Hardware components

Raspberry Pi 1 Model A+
Raspberry Pi 1 Model A+
for the central object
×1
Arduino 101
Arduino 101
For each drawer and eggs
×4

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)

Story

Read more

Schematics

Schema

Code

Led code

Python
# gpio_blink.py
# by Scott Kildall (www.kildall.com)
# LED is on pin 4, use a 270 Ohm resistor to ground

import RPi.GPIO as GPIO
import time

GPIO.setwarnings(False)
GPIO.setmode(GPIO.BCM)
GPIO.setup(4, GPIO.OUT)

state = True

# endless loop, on/off for 1 second
while True:
  GPIO.output(4,True)
  time.sleep(1)
  GPIO.output(4,False)
  time.sleep(1)

Credits

user6873440

user6873440

1 project • 0 followers

Comments