Arduino Halloween Party

by RonFrtek in Circuits > Arduino

56 Views, 1 Favorites, 0 Comments

Arduino Halloween Party

#shorts Arduino Halloween Party

Learn how to quickly make a Arduino Halloween Party project using Neopixels LED Ring and Arduino.

Watch the Video!

What You Will Need

Adafruit-1643-30091150-01.jpg
2022-10-30_20-19-24.jpg
FZEK4WBK3XGYAP0.LARGE.jpg
jumper-wires.jpg
VisuinoAdvrtisemenESPNowESP32C3-1.jpg
  • Arduino UNO (or any other Arduino)
  • Neopixel LED ring
  • Halloween pumpkin (can be decorative)
  • Jumper wires
  • Visuino program: Download Visuino


The Circuit

2022-10-20_16-40-32.jpg
  1. Connect LED Ring pin [VCC] to Arduino pin [+5V]
  2. Connect LED Ring pin [GND] to Arduino pin [GND]
  3. Connect LED Ring pin [IN] or (DI) to Arduino digital pin [6]


Start Visuino, and Select the Arduino UNO Board Type

FRWQB80K1RVKKV9.LARGE.jpg
Visuino-Select-Board-UNO.jpg

Start Visuino as shown in the first picture Click on the "Tools" button on the Arduino component (Picture 1) in Visuino When the dialog appears, select "Arduino UNO" as shown on Picture 2

In Visuino Add Components

F9EMMVDL9H2QTQT.jpg
FBMEN73L9H2QTQW.jpg
FKVFN3CL9H2QTQX.jpg
FOXNFWAL9H2QTQV.jpg
  1. Add "Random Clock Generator" component
  2. Add "Clock Multi Source" component
  3. Add "Random Color" component
  4. Add "NeoPixels" component


In Visuino Set Components

FAXKJ0RL9H2QTSZ.jpg
2022-10-30_19-54-27.jpg
2022-10-30_19-55-01.jpg
2022-10-30_19-55-16.jpg
  • Select "RandomClockGenerator1" and in the properties window set "Max Frequency" to 20 and "Min Frequency" to 10
  • Select "RandomColor1" and in the properties window set "Max" to clRed and "Min" to clBlack
  • Double click on the "NeoPixels1" and in the "PixelGroups" window drag "Running Color" to the left
  • On the left side of the "PixelGroups" window then select "Running Color" and in the properties window set "Count Pixels" to 12 or 16 (Depends on how many LED your LED ring is having)
  • Close the "PixelGroups" window


In Visuino Connect Components

2022-10-30_19-57-37.jpg
hparty.png
  1. Connect "RandomClockGenerator1" pin [Out] to "ClockMultiSource1" component pin [In]
  2. Connect "ClockMultiSource1" pin [0] to "RandomColor1" component pin [Clock]
  3. Connect "ClockMultiSource1" pin [1] to "NeoPixels1" >"RunningColor1" component pin [Step]
  4. Connect "RandomColor1" component pin [Out] to "NeoPixels1" >"RunningColor1" component pin [Color]
  5. Connect "NeoPixels1" component pin [Out] to Arduino digital pin[6]


Generate, Compile, and Upload the Arduino Code

Visuino-Compile-UNO.jpg

In Visuino, at the bottom click on the "Build" Tab, make sure the correct port is selected, then click on the "Compile/Build and Upload" button.

Play

If you place the LED Ring into the Halloween pumpkin and power the Arduino UNO module, the LED ring will start to change its colors that will imitate the fire in the Halloween pumpkin.

Congratulations! You have completed your project with Visuino. Also attached is the Visuino project, that I created for this Instructable, you can download it here and open it in Visuino: https://www.visuino.eu