Backpack #4: Breadboard

by CEEOInnovations in Circuits > Sensors

1421 Views, 4 Favorites, 0 Comments

Backpack #4: Breadboard

breadboard111.jpg
IMG_5139.jpg

SPIKE Prime Backpacks are extensions for LEGO Education SPIKE Prime.

This backpack allows you to connect your SPIKE Prime with LEDs, buttons, switches and joysticks to create prototypes to control SPIKE Prime.

We also have a Camera Backpack that lets you integrate image processing and machine vision, a Grove Sensor Backpack that allows you to connect cool sensors, a Pyboard Backpack that lets you connect to the WiFi, a Micro:bit Backpack that enables radio communication.

Supplies

Pyboard: (link)
Pyboard break out board: (link)

Header pins

  • 1x14 Male - 2 (link)
  • 1x14 Female - 2 (link)
  • 1x2 Male - 2 (link)
  • 1x4 Male - 4 (link)
  • 1x2 Female - 1 (link)
  • 1x4 Female - 2 (link)
  • 1x8 Male 1.27 header pins -1 (link)

LEGO beams

  • 1x3 -1
  • 1x7 -1

LEGO pegs - 6

LEGO Distance Sensor connector -1 (From the SPIKE Prime kit)

220 ohm resistor - 1

Blue LED - 1

Tools

A color printer (Optional)

Scissors (or laser cutter)

Soldering supplies

PCB Milling machine (Optional)

Printing PCB

IMG_5146.jpg
IMG_5148.jpg

The PCB will connect the Pyboard's pins to both SPIKE Prime and the breadboard.

Go to the Google Drive folder and download "breadboard.fzz" file. There are many companies that can manufacture PCBs for you. Find the one that is nearby. You will need to print both PCB designs present in the file.

OR,

You can do it at your home. Follow the instructions here. https://www.instructables.com/id/DIY-PCB-Etching.... If you want to open the file go to https://www.instructables.com/id/DIY-PCB-Etching.... and download/install Fritzing on your computer and open the design on your computer.

Soldering Header Pins on PCB

IMG_5144.jpg
IMG_5147.jpg

Solder 2- 1x14 Male header pins on the Pyboard breakout board.
Be careful: The SD card slot on Pyboard may touch the header pins you just soldered. To avoid that place an electrical tape on top of the SD card slot on the Pyboard.

Solder two 1x2 Male header pins, four 1x4 Male header pins, one 220 ohm resistor and one blue LED to the Pyboard Top PCB Board from the Google Drive (one of the two boards that you will need to print).

Also, solder two 1x4 Female header pins and one 1x8 Male 1.27 header pins to the Pyboard Bottom PCB Board from the Google Drive (the other board that you will need to print).

3D Printing

IMG_5152.jpg

3D print the files.

The 3D prints were built using Form 2 Printer. You may need to adjust the dimension based on your printer and you may need to sand down the sides to press fit.

Downloads

Assembling Breadboard

IMG_5151.jpg

Install the breadboard into the 3D-printed case

Note: install the power board first, then install the main board.

Assembling Pyboard Top PCB Board

IMG_5150.jpg

Connect the Pyboard on the Pyboard Breakout Board

Connect the Pyboard Top PCB Board to the Pyboard Bottom PCB Board. Make sure the pins are aligned as shown in the picture above.

Assembling the Pyboard Top PCB Board on the Case

IMG_5154.jpg

Connect the assembly of Pyboard PCB Boards to the breadboard in the 3D printed case .

Note: pins on the PCB and breadboard should be aligned as shown in the picture

Assembling Connector

IMG_5156.jpg

Flip the 3D printed case and you will be able to see the connector pins. Install the SPIKE Prime Distance Sensor connector to the Pyboard Bottom PCB Board.

Use screws from the Distance Sensor to connect the case and the sensor connector.

Assembling Covers

IMG_5142.jpg
IMG_5140.jpg

Install the cover of the case.