No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
fabulous.png
image_processing.py
sketch_apr03a.ino
test.jpg
test.png
test2.png

README.md

toast-printer

A printer which takes an image file and prints the image in "greyscale" onto a slice of bread. Made at HackNY XIII in Spring 2016.

A Python script breaks down an image into a grid, finds the average darkness of each section of the grid and converts that into the number of seconds a heating element should be placed over that section of bread to toast it to appropriate darkness.

An Arduino is connected to two motors, which are hooked up to a heating element by wires. Using Pythagorean theorem the respective lengths of wire (legs of the triangle) are shortened moving the heating element up, down, left, and right over over the slice of bread. Adding a delay ensures the bread at that location is toasted to appropriate darkness.

Please do not replicate without proper safety procedures in place, this is definitely a fire and/or shock hazard.