API of Ice and Fire

Javascript is increasingly becoming my language of choice and I’m moving more closer and love staying on the Web. With great power, comes great responsibility. Anyway… this was my first experiments with API within JS. The API were simple JSON REST that I borrowed from An API of Ice and Fire, which is basically, a user-generated API…

Turn on Fan when I enter the room!

I wanted to make a simple circuit with a DC motor causing something to move. So the idea of auto-control of lights when people enter a room fascinated me. I tried to emulate this here, with the fan control when an object passes a sensor. The sensor here is a photo-resistor, an analog input to…