Harsha’s Halloween Shopping List

White Rabbit from Alice in Wonderland

I am focusing my halloween costume on the white rabbit from Alice in Wonderland, specifically due to the clock accessory. I wanted to play with analogue inputs more and having a clock gives me the ability to control various motions such as speed/colour/dimness.

Materials

8″ diameter Clock Materials

Rest of outfit

Arduino function

LED lights in a RGB swipe function, so that they are imitating a clock ticking, but can bed adjusted by the potentiometers for the speed, dimness, and I am wondering if there is a way to use potentiometers to control colour. I haven’t seen this in Arduino code, but sometimes random() takes on a seed value which can determine levels of randomness, so I was still researching if that is a thing. It would be fun to explore if the potentiometer could also control colour in some way. Also need to read more about how potentiometer values are read in code, maybe what I am thinking of needs to be more of a button state (switch on is random/switch off is in RGB “order”)

Code

In progress

%d