Home

Awesome

neo:bit

The neo:bit is a board which attaches to the edge connector of the BBC micro:bit and provides:

This repository contains KiCad and gerber files for the neo:bit board.

neo:bit board

Usage

Power

Note that the voltage which comes in on the barrel jack is used directly to power the NeoPixels and DotStars, so you need to choose a voltage which is appropriate for the NeoPixels and/or DotStars you are using. Most NeoPixels are 5V, although there are a few 12V ones. I don't know of any DotStars which are not 5V. You can't have a different voltage for the NeoPixels and the DotStars.

The neo:bit contains a low-dropout 3.3V voltage regulator, which is used for back-powering the micro:bit, and for supplying the 3.3V power on the Qwiic connector. You probably shouldn't draw more than 90 mA on the Qwiic connector's power pin.

The neo:bit also contains a low-dropout 5V voltage regulator, but that is just to supply the 5V signal on the NeoPixel and DotStar data lines.

Potentiometers

To read the slide potentiometers, just configure P1 and P2 as analog inputs, and read them. The idea is that you could use these inputs to control your NeoPixel animation, such as the speed, color, or brightness.

NeoPixels

J4 has the NeoPixel output, along with +V and GND. You may want to connect a JST-SM pigtail to the J4 screw terminals. This will let you connect strings of 5V NeoPixels, such as ones from Alitove or Wesiri, or my chainable NeoPixel butterflies. (The Wesiri lights come with the necessary pigtail, so you don't need to buy one separately.)

You must have an external power supply (such as this one or this one for 5V, or this one for 12V) connected to the neo:bit's barrel jack in order to power the NeoPixels. If the external power supply is connected, the neo:bit will also supply 3.3V back to the micro:bit, so it is not necessary to power the micro:bit from another source. (However, this is done with a protection diode, so it is OK to have the micro:bit connected to another source at the same time the external supply is connected.) If you only want to use the potentiometers and/or Qwiic but not the NeoPixel output or DotStar output, then you do not need to have an external supply connected, as long as the micro:bit is powered by another source.

Following the NeoPixel best practices, the neo:bit includes a 470 ohm resistor on the NeoPixel data line, and there is a 1000µF capacitor on the +V power line.

Once you have your NeoPixels hooked up, you should be able to access them by instantiating a NeoPixel strip on pin P16 in either MakeCode or Python. The Alitove and Wesiri strings, as well as my NeoPixel butterflies, use RGB order instead of the default GRB order.

example MakeCode program

Qwiic

I have an example for how to use the Qwiic Keypad, and another example for how to use the Qwiic Joystick.

Ordering the Board

You can order this board directly from OSH Park without needing to upload anything.

Or, if you prefer to go with another fab like Elecrow or JLCPCB, all you need to do is zip up the files in the gerber directory, and upload that zip file to the fab.

If you want to modify the design, the source is provided in KiCad format.

Bill of Materials

RefDescriptionMPNDigi-Key PN
C1CAP ALUM 1000UF 20% 25V RADIAL25PX1000MEFCT810X161189-1583-1-ND
C2CAP CER 0.1UF 50V X7R RADIALK104K10X7RF5UH5BC2665CT-ND
C3-C6CAP CER 1UF 50V Y5V RADIALK105Z20Y5VF5TH5BC1168CT-ND
C7CAP ALUM 47UF 20% 16V RADIALECE-A1CKS470P969-ND
C8, C9CAP ALUM 220UF 20% 10V RADIALUVK1A221MDD1TD493-7455-1-ND
C10CAP CER 10000PF 50V X7R RADIALK103K15X7RF5TL2BC1078CT-ND
D1DIODE SCHOTTKY 20V 1A DO411N58171N5817FSCT-ND
J1CONN JACK STEREO 3.5MM R/ASJ1-3533NGCP1-3533NG-ND
J2CONN PWR JACK 2X5.5MM SOLDERPJ-063AHCP-063AH-ND
J3Qwiic JST Connector - SMD 4-pinPRT-14417(SparkFun)
J4TERM BLOCK 4POS SIDE ENT 3.5MM1776275-4A98038-ND
J5micro:bit through-hole right-angle edge connector3342(Adafruit)
J6TERM BLOCK 3POS SIDE ENT 3.5MM1776275-3A98037-ND
R1RES 100 OHM 1/4W 5% AXIALCF14JT100RCF14JT100RCT-ND
R2RES 470 OHM 1/4W 5% AXIALCF14JT470RCF14JT470RCT-ND
R3RES 22 OHM 1/4W 5% AXIALCF14JT22R0CF14JT22R0CT-ND
RV1, RV2SLIDE POT 10K OHM 0.25W TOP 45MMPTA4553-2015CPB103PTA4553-2015CPB103-ND
U1IC BUF NON-INVERT 5.5V 14DIPSN74AHCT125N296-4655-5-ND
U2IC REG LINEAR 3.3V 250MA TO92-3MCP1702-3302E/TOMCP1702-3302E/TO-ND
U3IC REG LINEAR 5V 250MA TO92-3MCP1702-5002E/TOMCP1702-5002E/TO-ND
(qty 2)KNOB SMOOTH 0.157 X 0.039" NYLON1300-E[1722-1329-ND][61]

Plus you'll need a micro:bit, a power supply (such as this one), and some NeoPixels.

The right-angle micro:bit edge connector (J5) is 4UCON 10156, which is available from Adafruit in the US and from Cool Components in the UK.

Assembly

Most of the assembly should be straightforward, but there are a few connectors worthy of more discussion.

Qwiic connector

The four electrical pins are not enough to hold this connector in place. There are two mounting pins which are also meant to be soldered, but I found hand-soldering them was nearly impossible. So, I used a drop of epoxy to hold the Qwiic connector in place.

Terminal blocks

I've found that stranded wires don't stay in the terminal blocks very well, so I recommend using solid wire. Or, you may wish to omit the terminal blocks entirely and solder wires directly to the board.

micro:bit connector

The micro:bit connector has 80 pins, but only 40 of them need to be soldered. The pins that need to be soldered are the two rows farthest from the edge. (These pins are slightly taller than the others.) I usually solder just a few of the pins on the row closest to the edge, too, just for mechanical stability.

neo:bit edge connector

License

The files in this repo are licensed under CC-BY-SA 4.0.

Some symbols and footprints in this repo are under different licenses:

neo:bit with string of LEDs neo:bit with Qwiic keypad and joystick