Category Archives: Electric Imp

RPM Counter

Just for fun, I decided to try the pulse counter in the Electric Imp. The counter is quite easy to use, and seems to work pretty well too. To count the pulses from the fan you first need to configure the pin to be a pulse counter, set the duration it should count, and then optionally set a divisor. In […]

Read more

Driving a relay

To drive higher current than 4mA with an Electric Imp (which can’t really drive anything), you need a relay. But to drive that relay you need a few other things too. Here is a list of the items you need to drive a relay: 1x Transistor (2N3904) 1x Diode (1N4148 1x Resistor (10k ohm) In this example I am going […]

Read more
1 2 3