DevBytes

Hopeworks Code Day (Talk/Lab) - Arduino Circuit and Code Talk

Sat Oct 20, 2018

This project reads the light level using a photoresistor and will turn on an LED if the light level drops below a certain threshold. This project was created for a presentation to be given at Hopeworks Code Day.

Circuit board

Presentation Slides

The presentation slides can be viewed and downloaded here.

Code

The code for this project can be found under the code folder. This code can be copied and pasted in to the Build Editor in your console on Particle IO’s website. There are two version of the source code. One file has a bit more debug code included and will push sensor values and light status to the cloud for debugging purposes. The other file does not include the debugging code.

Circuit Diagrams and Schematics

A full Fritzing project file can be found under the schematics directory. There are also renders of the breadboard, schematic, and pcb under the /schematics/schematic_renders/ folder.