Skip to the content
2 layers127.1 × 67.1 mmBlinCAN, the printed circuit board in 3D

A 24 channel LED driver with CAN bus interface and Arduino-style microcontroller.

Size
127.1 × 67.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
103
Nets
107
Pads
393
Tracks, vias
743, 73
Pours
6
Routed
Yes
KiCad
KiCad 4
Created
30 Oct 2017
Updated
30 Nov 2023

Overview

BlinCAN is an open-source printed circuit board by metalhead777, from the metalhead777/blinCAN repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 2-layer board of 127.1 × 67.1 mm with 103 parts on 107 nets, routed with 743 tracks and 73 vias.

It is built around the ATMEGA328P-AU, MCP2551-I/SN and FT232RQ, with the LM35DZ, TLC5947DAP and MCP2515-I/SO among its other parts. Its parts include 25 capacitors, 21 resistors, 17 diodes, 9 connectors and 7 ICs. It belongs with the interfaces and adapters boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

6

README

README.md

blinCAN

A 24 channel LED driver module with CAN bus interface and Arduino-compatible microcontroller.

blinCAN v0.1 2018 top blinCAN v0.1 2018 top

blinCAN v0.1 2018 bottom blinCAN v0.1 2018 bottom

Function description

The blinCAN is based on a multi-channel power LED driver module developed for the Desert Eyes project. It is matched to a small-scale construction prototype dome, which served to test construction and lighting patterns for the full-scale dome.

This module is built around a TLC5947 PWM LED driver IC, which is connected to an ATmega328 microcontroller. For communication, a MCP2551 CAN transceiver and a MCP2515 CAN controller with SPI interface to the microcontroller are utilized. A FT232R USB to UART interface has been added to allow programming via USB, once a bootloader is flashed onto the microcontroller. For ambient air temperature sensing, a LM35 temperature sensor has been placed near the LED driver IC. A DIP switch is used to set a hardware-level address on each device, which also gets indicated by corresponding LEDs. For easier connection of an already wired LED harness, 25-pin SUB-D connectors are used on the output.

On the small-scale construction prototype dome, a Raspberry Pi with a CAN bus HAT was used as a host to centrally generate and send lighting patterns to six blinCAN modules via the CAN bus. Each blinCAN module had a unique address within the CAN bus, and every LED on the dome was purposely connected to a predefined module output. This way, every LED on the dome's shell was distinctly addressable in 3D space. An underlying look-up-table in the host's software was used to map each pattern lighting point to an LED.

Current stage of development

Currently the blinCAN is in early development state in version 0.1. This means, that the hardware is tested and working on a small prototype scale production. Long-term testing (temperature, vibration, EMI) has not been performed yet. In this state the blinCAN is fit to be used for embedded systems and small-scale lighting projects. Any large-scale production is not encouraged, since additional optimization in the hardware layout needs to be done for that.

A few prototypes have been built and successfully tested prior to releasing this repository.

Device commissioning description

Device connection
Device power requirements

Device programming

After assembly, the device can only be programmed using an ICSP in-circuit-programmer. The connector with the reference P103 serves as ICSP header. The square pad is ICSP Pin 1 (MISO).

P103 ICSP header pin connection

P103 ICSP header pin connection

The blinCAN firmware can be flashed directly to the ATmega328P-AU using an In-Series Programmer (ISP). The reset-button needs to be pressed during microcontroller flashing

For editing the blinCAN firmware or testing any other Arduino-compatible code, the Arduino bootlader needs to be flashed first to the ATmega328P-AU used for the blinCAN. A tutorial on flashing the Arduino bootloader can be found here. Use the following settings under "Tools" in the Arduino IDE, if you use another Arduino as a flashing device (ISP):

ParameterValue
Board"Arduino Nano"
Processor"ATmega328P"

After flashing the Arduino bootloader, any further programming can be done using the USB type B connector (P104) on the blinCAN.

Windows
Linux
MacOS
List of successfully tested programming adaptors

Device communication reference

Internal
External
Addressing scheme

Currently known bugs and issues

  • Reset-button needs to be pressed during microcontroller flashing
  • The TLC5947 has a thermal pad, which makes it the only component not solderable by purely using a soldering iron. Using a heatgun to heat the pad from the bottom side, applying solder and then placing the TLC5947 onto it has been done successfully for the prototypes.

Planned future changes and improvements

  • Add Bill of Materials (BOM) for all non-KiCAD users
  • Clean up trace routing around TLC5947
  • Increase number of hardware address bits
  • Change LED output voltage to board input voltage instead of fix 5 V
  • Add polyfuse for input overcurrent protection
  • Add additional mounting points for Raspberry Pi (host system)

Open source hardware and software used in this project

KiCAD

Arduino nano Rev. 3

Arduino SparkFun CAN-Bus Shield Rev. 13

Active contributors to this project

Firmware programmers

Library programmers

License information

This project is open source and licensed under Creative Commons Attribution Share Alike 4.0.

Please refer to License.md for the full legal text. Thanks to idleberg on GitHub for the Markdown format.

The project is distributed as-is. No warranty is given.

Parts

103
QtyValueFootprintReferences
9100NCapacitors_SMD:C_0603_HandSolderingC104, C202, C203, C303, C304, C401, C402, C404, C604
6Tantal 10u/16VCapacitors_Tantalum_SMD:CP_Tantalum_Case-A_EIA-3216-18_HandC101, C102, C602, C603, C605, C606
41kResistors_SMD:R_0603_HandSolderingR102, R104, R201, R202
422PCapacitors_SMD:C_0603_HandSolderingC204, C205, C301, C302
4330Resistors_SMD:R_0603_HandSolderingR101, R203, R401, R402
4MBRS 240 SMDDiodes_SMD:D_SMB_HandsolderingD103, D401, D601, D602
310kResistors_SMD:R_0603_HandSolderingR502, R504, R506
3130Resistors_SMD:R_0603_HandSolderingR501, R503, R505
31N 4001 SMDDiodes_SMD:D_MELF_HandsolderingD101, D102, D104
3LED OrangeLEDs:LED_D3.0mmD501, D502, D503
2100Resistors_SMD:R_0603_HandSolderingR302, R303
216 MHzCrystals:Crystal_HC49-U_VerticalY201, Y301
2560pCapacitors_SMD:C_0603_HandSolderingC305, C306
2Conn_CANPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmP105, P106
2Conn_PWR_INPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmP101, P102
2D-SUB 25DB25FC:DB25FCP601, P602
2EMI suppression Filter 30 OhmsInductors_SMD:L_0805_HandSolderingFB101, FB401
2LED GreenLEDs:LED_0603D403, D603
2P6SMB 27A SMDDiodes_SMD:D_SMB_HandsolderingD301, D302
110KResistors_SMD:R_0603_HandSolderingR602
1120Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR103
1330u/16VCapacitors_SMD:CP_Elec_8x10.5C601
1330u/25VCapacitors_SMD:CP_Elec_8x10.5C103
13K3Resistors_SMD:R_0603_HandSolderingR603
14.7u/16VCapacitors_SMD:CP_Elec_4x5.7C403
14.7u/16VCapacitors_THT:CP_Radial_D5.0mm_P2.00mmC201
1470Resistors_SMD:R_0603_HandSolderingR601
14k7Resistors_SMD:R_0603_HandSolderingR301
1ATMEGA328P-AUHousings_QFP:TQFP-32_7x7mm_Pitch0.8mmIC201
1CONN_ICSPPin_Headers:Pin_Header_Straight_2x03_Pitch2.54mmP103
1Conn_AddressButtons_Switches_THT:SW_DIP_x3_W7.62mm_SlideJ501
1FT232RHousings_SSOP:SSOP-28_5.3x10.2mm_Pitch0.65mmU401
1LD1117S50TR_SOT223TO_SOT_Packages_SMD:SOT-223-3_TabPin2U101
1LED BlueLEDs:LED_0603D105
1LED OrangeLEDs:LED_0603D201
1LED RedLEDs:LED_0603D402
1LM35DZTO_SOT_Packages_THT:TO-92_Inline_Narrow_OvalU102
1MCP2515-I/SOHousings_SOIC:SOIC-18W_7.5x11.6mm_Pitch1.27mmU301
1MCP2551-I/SNHousings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mmU302
1ResetButtons_Switches_SMD:SW_SPST_B3S-1000SW101
1TEST_CLKMeasurement_Points:Measurement_Point_Round-TH_SmallTP605
1TEST_DINMeasurement_Points:Measurement_Point_Round-TH_SmallTP602
1TEST_LATMeasurement_Points:Measurement_Point_Round-TH_SmallTP603
1TEST_OEMeasurement_Points:Measurement_Point_Round-TH_SmallTP604
1TLC5947Housings_SSOP:HTSSOP-32_6.1x11mm_Pitch0.65mm_ThermalPadU601
1USB BConnectors:USB_BP104

The 88 most common of 103 parts.

Similar boards

  • 4 layers154 × 154 mmDC Controller STM32, the printed circuit board in 3D

    DC Controller STM32

    andymartell/Prius-STM32-DC-Motor-Contoller

    STM32 based DC Motor Controller using Prius Gen 3 hardware

    293 parts
  • 4 layers160 × 100 mmStep load, the printed circuit board in 3D

    Step load

    AHGure/step_load

    212 parts
  • 2 layers90.7 × 52.5 mmDriver control, the printed circuit board in 3D

    Driver control

    ericbrauer/driver_control

    PCB Design for ETD555 group project

    38 parts
  • 2 layersMultimeter, the printed circuit board in 3D

    Multimeter

    MadsRudolph/personal-projects

    One passive crossover board per speaker, so build two. Single-sided, through-hole only, CNC isolation-milled with an 0.8 mm end mill (the DTU 62768 process).

    62 parts
  • 2 layers49.5 × 111.8 mmUniversal can board, the printed circuit board in 3D

    Universal can board

    franc0r/universal_can_board

    Contains schematic, pcb layout and software of the francor's universal can board.

    70 partsBSD-3-Clause
  • 2 layers82.5 × 101.6 mmDio module pcb, the printed circuit board in 3D

    Dio module pcb

    gtetil/dio-module-pcb

    76 parts

Questions

How big is the BlinCAN PCB?

It measures 127.1 × 67.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the BlinCAN use?

103 parts, built around the ATMEGA328P-AU, MCP2551-I/SN, FT232RQ and LM35DZ. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the BlinCAN KiCad files?

From the metalhead777/blinCAN repository on GitHub, at the commit this page was made from: the board is blinCAN.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the BlinCAN design in my own project?

Its repository publishes it under the CC-BY-SA-4.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).