Output swatch
Swatch: LDR Light switch
For the output swatch I used this code:
Needs for the output swatch:
LDR sensor
female - male connections
male - male connections
Arduino NodeMCU
Bread board
RGB LED
Black 10x10 paper
Backing paper
Copper tape
Soft ball
This is how I made the swatch:
I used backing paper and cut it the same size as my black 10x10 cm paper..
I made two holes with a scissor in the black paper for the LDR and the RGB LED.
I taped the backing paper on the paper with copper tape, just for the look and feel.
Put the soft and fluffy ball in the middle so people could push on a soft 'button'.
Then I installed my NodeMCU in such a way that the LDR and the LED would fit into the holes. I made the connection cables longer by attatching them with a female-male cable.
And run the code!
Installation details:
Last updated