/SMBeeHiveKiCad

KiCad 5 design for SMBeeHive programmer / dock PCB

Creative Commons Attribution 4.0 InternationalCC-BY-4.0

SMBeeHiveKiCad

Anybody making an SMBee needs access to a programmer.

This is a low cost custom programmer you can use to give an SMBee a one-time programme or develope custom LED sequences for it. It uses the cheap widely available USBASP ISP programming module that you can purchase and re-flash with the required custom firmware.

There are two associated GitHub repositories:


SMBee Hive A fully assembled unit. The USB programmer on the right is inexpensive, easily sourced and can be easily reprogrammed to support the project.


Top Bottom
PCB top PCB bottom

The programmer PCB design images and a completed PCA.

Manufacturing Data

This is the information you need to have SMBeeHive PCBs manufactured.

Gerber files

Generated gerber files for SMBeeHive version:

SMBeeHive Generated with KiCad Download
1.2 (latest) 5.0.2-5-10.14 SMBeeHive1.2.zip

Typically just send the zip. The file formats and identifying file extensions will be accepted by most manufacturers including:

See the SMBeeHive PCB costs spreadsheet for more information on manufacturers.

Manufacturing options

Some manufacturers have additional options that need to be specified:

Parameter Value
Layers 2
Thickness 1.6mm
Finish HASL lead-free
Copper weight 1oz
PCB colour your choice
Dimensions 88 x 76mm
Castellated holes no

BOM (Build Of Materials)

This is the SMBeeHive BOM Spreadsheet. It lists all the required components and suggested and alternate supplies and prices dependant on order quantity.

Assembly instructions

See the Project documentation.

Schematic

Schematic

Key features & operation:

  1. The device functions as both a simple power-supply for the docked SMBee and flash memory programmer. For SMBee power-only operation, the USBASP module on J2 can be connected to a USB power supply or power bank.
  2. SW1 mirrors the functionality of the SMBee toggle-sleep switch which isn't accessible when docked.
  3. The docked SMBee connects to J1.
  4. R1 limits the SMBee LED current for operation from a 3V or 5V supply voltage. The voltage is selectable with the USBASP J1 link and only affects LED brightness while docked.
  5. The S10V2F12 DC-DC convertor on J3 generates the 12V Vpp programming voltage during SMBee programming. It is controlled by the USBASP custom firmware.
  6. PRG is active at 12V only during programming, then removed, SMbee execute its new firmware when PRG is removed.
  7. D1 is a Schottkey diode for low forward volt-drop. The diode prevents the DC-DC converter output from sinking current when it is disabled.
  8. R2 limits the DC-DC current for protection if SW1 is pressed during programming.
  9. JP1 is for manual programming voltage control. It is isn't used with the custom USBASP firmware and relies on the default link track; the USBASP reset signal has been repurposed to supply the DC-DC converter providing the 12V programming voltage to PRG.
  10. The SMBee battery should be removed when connected to prevent charging of its primary cell. The case provides a mechanical lockout to prevent docking with the battery inserted.

View or edit the PCB design

The PCB was designed using KiCad EDA software. If you would like to view or edit the design files, download it from KiCad download and install the software.

Clone this repository into your local file space and open SMBeeHive.pro.

SMBeeHive case

The case also performs as a jig to position the SMBee against the contact pins. It can be laser cut from 3mm acrylic sheet. You can find the details here: SMBeeHive case.


This work is Copyright © 2019 Mike Longworth

Creative Commons Licence
This work is licensed under a Creative Commons Attribution 4.0 International License.