Category Archives: programing

Super Simple Google AIY Surveillance Camera

In may 2018, durning the bay area Maker Faire in San Francisco, I bought a google AIY Vision Kit. A few weeks later during my 4th week of living in the San Francisco area I decided to put together my google AIY vision kit and mess around with it for a...
Read More

maserCycle.py – Cycle through lasers on servos and draw lines

This is the third of five articles on my 2017 laser science project “Rock, Paper, Lasers.” WEAR GOGGLES. To use this code you should have read part one, for servo control, and part two for laser control. DO NOT DELETE THE PART OF THE CODE...
Read More

servoTurn.Py – a simple python script to turn a servo on a raspberry pi 3

This script requires install of the servoblaster program. Please install it into your “pi” home directory as they describe on the servoblaster page. I used the Adafruit Pan/Tilt servo motor kit and the Miniarduino servo motor kit. They...
Read More

maserFire.py – Fire lasers with transistors and python on a Raspberry Pi 3

This is the second part of a five part article. The first part is HERE, although if you are going to use only the laser parts of the code you can start here.  NOTE : PLEASE USE APPROPRIATE GOGGLES. USE LASER SAFETY GOGGLES RATED TO WHICH EVER...
Read More

Read email from a system pipe into python

#!/usr/local/bin/python import sys import email full_msg = “” for line in sys.stdin full_msg += line msg = email.message_from_string(full_msg) to = msg fromwho = msg subject = msg #make an emty variable for email body body =...
Read More