Quick answer
The littleBits micro:bit Adapter lets you connect a micro:bit board to littleBits modules, enabling you to control littleBits circuits with code written in Microsoft MakeCode or Python.
Why use the adapter instead of building from scratch?
If you already own littleBits modules, the adapter saves you from wiring sensors and actuators individually. You simply snap the adapter onto a littleBits mounting board, attach your micro:bit, and start coding. The trade-off is that you are limited to the signals the adapter can pass—analog inputs and outputs—so you cannot directly control every littleBits bit property without additional code logic.
How to set up and use the littleBits micro:bit Adapter
- 1. Gather your hardware: You need a littleBits mounting board (or a flat surface with littleBits magnets), the micro:bit Adapter, a micro:bit board, a power bit, and at least one input or output bit (e.g., a button or a light). Do not skip the power bit—the adapter does not power the micro:bit; the micro:bit has its own battery, but the littleBits circuit needs its own power source.
- 2. Snap the adapter onto the mounting board: Align the adapter’s magnets with the mounting board’s metal contacts. The adapter has two sides: one with a micro:bit edge connector and one with littleBits snaps. Ensure the orientation matches your micro:bit’s pin layout. Common mistake: forcing the micro:bit into the adapter upside down. The micro:bit’s LED matrix should face away from the littleBits snaps.
- 3. Attach your bits and the micro:bit: Snap your chosen littleBits input and output bits onto the mounting board next to the adapter. Then slide the micro:bit into the adapter’s edge connector until it clicks. Checkpoint: the micro:bit must be fully seated—if it wobbles, the connection may drop during use.
- 4. Write and upload your code: Use the free Microsoft MakeCode editor or the Python editor on the micro:bit website. Write code that reads sensor values from the littleBits input (e.g., button press) and writes output to the littleBits bit (e.g., turn on a light). Upload the code to the micro:bit via USB. Common mistake: forgetting to map the micro:bit pin numbers to the adapter’s signal. The adapter uses pins 0, 1, and 2 for littleBits signals—check the adapter’s documentation for the exact mapping.
- 5. Test and iterate: Power the littleBits circuit by snapping the power bit to the mounting board. Press the input bit and observe the output. If nothing happens, re-check connections, power, and code pin assignments. If the output bit does not respond, swap the power bit or try a different output bit to rule out a hardware issue before debugging code.
Product facts
-
littleBits micro:bit Adapter: The littleBits micro:bit Adapter connects micro:bit and littleBits enabling new learning experiences and creative inventions in a less-intimidating way. It lowers the barrier for students who are already comfortable with littleBits hardware but new to coding, because they can start with physical circuits and gradually add software control.
littleBits micro:bit Adapter
