A nodeschool workshop to learn how smart (iot) things work.
# Installnpm install -g smart-pinhole-workshop# Runsmart-pinhole-workshop
The mission is to create a smart Pinhole Camera while covering core Internet of Things principles.
And, you dont need an Arduino or a Pinhole Camera to get going. We simulate as much as possible. Generally, the challenges will take up 1 to 2 hours.
Also, once you have the Arduino and camera just setup the hardware on the side. This is enough to showcase what a smart camera can do.
Do let us know if you're having any problems. We really want to make this a pleasant learning experience.
Coming soon is our first all in one DIY smart product kit. Stay in touch to find out when its ready.
Our objective is to detect the level of brighness in a space. Then use some basic calculations to tell a photographer how long the camera film should be exposed for.
We will sense brightness using Johnny Five and a cheap light sensor on the Arduino. Then publish that data over the internet and create a real time UI to showcase the optimal film exposure time for a photo.
The workshop will pose a challenge, and test your solution.
You can use your favourite text editor to create a solution.
Each of your solutions can be run directly as a
node program like this:
Again, to start fast NO Arduino OR Pinhole Camera is needed for this workshop.
Sample data is pushed through the solution to simulate the experience.
But wire up an Arduino UNO, connect the USB and you can see your solution run for real.
Here's the list of all the materials to run your solution 100% end to end.
They try the upload process one more time.
Again, we love feedback! Let us know what you thought, good or bad.
To move towards a consistent style for nodeschool projects we use the .jshintrc as defined in learnyounode: https://github.com/rvagg/learnyounode/blob/master/.jshintrc
Your favourite jshint runner will work. And, a gulpfile is provided.
npm install -g gulpgulp
Your workshopper gave us the perfect foundation to build on!