{"id":21534687,"url":"https://github.com/danesparza/halloweenfire","last_synced_at":"2025-04-10T01:43:34.908Z","repository":{"id":151777252,"uuid":"42006826","full_name":"danesparza/Halloweenfire","owner":"danesparza","description":":jack_o_lantern: Arduino sketch for multiple neopixels to create spooky 'fire' effect","archived":false,"fork":false,"pushed_at":"2020-10-08T13:51:29.000Z","size":7,"stargazers_count":32,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T03:24:04.776Z","etag":null,"topics":["adafruit","arduino","electronics","fire","halloween","led","leds","multiple-neopixels","neopixels"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danesparza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-06T15:07:32.000Z","updated_at":"2024-04-09T17:34:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"96b666b6-a40b-4445-b5e2-cc5808fd946f","html_url":"https://github.com/danesparza/Halloweenfire","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2FHalloweenfire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2FHalloweenfire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2FHalloweenfire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2FHalloweenfire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danesparza","download_url":"https://codeload.github.com/danesparza/Halloweenfire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142366,"owners_count":21054630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adafruit","arduino","electronics","fire","halloween","led","leds","multiple-neopixels","neopixels"],"created_at":"2024-11-24T03:12:21.013Z","updated_at":"2025-04-10T01:43:34.898Z","avatar_url":"https://github.com/danesparza.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Halloweenfire\nArduino sketch for multiple NeoPixels to create spooky 'fire' effect\n\nI have tested this with an [Adafruit Metro Mini 5v](https://www.adafruit.com/product/2590) and an [Adafruit Pro Trinket 3v](https://www.adafruit.com/products/2010) successfully.  You'll also need to get your hands on some [NeoPixels](https://www.adafruit.com/search?q=neopixel\u0026b=1) and the [NeoPixel library](https://github.com/adafruit/Adafruit_NeoPixel).\n\nI recommending powering this with a USB [battery charger](http://www.amazon.com/Anker-Generation-Astro-mini-Lipstick-Sized/dp/B005X1Y7I2).\n\nRemember to indicate what pin you're using and how many NeoPixel LED's are in your chain:\n```cpp\n#define PIN 6\n\n// Parameter 1 = number of pixels in strip\n// Parameter 2 = Arduino pin number (most are valid)\n// Parameter 3 = pixel type flags, add together as needed:\n//   NEO_KHZ800  800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)\n//   NEO_KHZ400  400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)\n//   NEO_GRB     Pixels are wired for GRB bitstream (most NeoPixel products)\n//   NEO_RGB     Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)\nAdafruit_NeoPixel strip = Adafruit_NeoPixel(4, PIN, NEO_GRB + NEO_KHZ800);\n```\n\nYou can also adjust some parameters of the sketch to easily tweak the fire effect.  Here, we are using an orange flame effect by default:\n```cpp\nRGB flameColors[] = {\n  { 226, 121, 35},  // Orange flame\n  { 158, 8, 148},   // Purple flame \n  { 74, 150, 12},   // Green flame\n  { 226, 15, 30}    // Red flame\n  };\n```\n\nI also recently tweaked this sketch to make use of a momentary push button.  Pushing the button will cycle to the next item in the color array (effectively changing the color):\n```cpp\n//  The button pin\nconst int buttonPin = 2;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanesparza%2Fhalloweenfire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanesparza%2Fhalloweenfire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanesparza%2Fhalloweenfire/lists"}