jasonwebb / Jar-of-Fireflies

Mason jar with interactive LEDs that mimic fireflies on a warm summer night, realized with an Arduino-enabled ATTiny85, multiple power options and a sensor interface.
14 stars 6 forks source link

Create example sketch(es) for external sensors #8

Closed jasonwebb closed 5 years ago

jasonwebb commented 6 years ago

I've added a 3-pin interface for connecting to external analog or digital sensors. Usage is pretty simple, but I'd like to provide at least a couple sketches to demonstrate how it could be used.

Sensors to explore include:

jasonwebb commented 6 years ago

Example for simple digital sensors added - https://github.com/jasonwebb/Jar-of-Fireflies/tree/master/firmware/DigitalSensorExample (commit db0fb9b0f0d7d542fda402aa50b147bec2f344ab).

jasonwebb commented 6 years ago

Example for analog sensors added - https://github.com/jasonwebb/Jar-of-Fireflies/tree/master/firmware/AnalogSensorExample (commit ba47880a6637232c38f7d06e538743938efaf869)

jasonwebb commented 5 years ago

Will break down into multiple issues.