Adafruit NeoPixel: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
Line 86: Line 86:




'''Official documentation''' (read this)
'''Official general documentation''' (read this)


* [https://learn.adafruit.com/adafruit-neopixel-uberguide/the-magic-of-neopixels Adafruit NeoPixel Überguide]
* [https://learn.adafruit.com/adafruit-neopixel-uberguide/the-magic-of-neopixels Adafruit NeoPixel Überguide]
* [https://learn.adafruit.com/flora-rgb-smart-pixels/overview Sewable NeoPixels]
* [https://learn.adafruit.com/flora-rgb-smart-pixels/overview Sewable NeoPixels]
** [https://learn.adafruit.com/flora-rgb-smart-pixels/code-with-makecode Code with Makecode]
** [https://learn.adafruit.com/flora-rgb-smart-pixels/code-with-makecode Code with Makecode]
'''Tutorials'''
* [https://makecode.adafruit.com/projects/wearable-neopixels/make Wearable neopixels]

Revision as of 23:18, 29 August 2019

E-textile
Module: Adafruit Wearables
draft beginner
2019/08/29 ⚒⚒ 2019/08/28
Objectives
  • hook up a NeoPixel to a micro-controller program the pixel (to do)
See also

Objectives

  • hook up a NeoPixel to a micro-controller program the pixel (to do)

See also

  • Quality: draft
  • Difficulty: beginner

Introduction

In this article we describe the Flora RGB Smart NeoPixel version 2

See also:

The pixel

Main characteristics:

  • 12.5mm diameter
  • 2.5mm total thickness
  • 800 KHz speed protocol
  • Chainable design, meaning that you can connect several of these to one pin and chain them
  • 5-9VDC power (can run at 3.5V but color will be dimmed), constant current 18.5mA per LED (~55mA max total per pixel)

Hooking up a NeoPixel

According to Hook up alligator clips (retrieved Aug 2019), a NeoPixel must be connected with three wires to a FLORA-type board. Depending on the board, the wiring is bit different. E.g. on a GEMMA, the signal must be wired from A1.

Wiring with a GEMMA
Board NeoPixel
VOUT

Power output

+
GND

Grounding

-
D1 / ~A0

General Purpose Input Ouput

↑ (arrow pointing towards the inside)
Gemma - NexPixel wiring (improvised): Read is power, black is grounding and white is the signal


Wiring with a Circuit Playground Express
Board NeoPixel
VOUT +
GND -
A1

General Purpose Input Ouput

↑ (arrow pointing towards the inside)

MakeCode example

Programming a strand of pixels

This also works with a single pixel...

Links

Official general documentation (read this)

Tutorials