Skip to the content
4 layers45 × 40 mmCityscope can module, the printed circuit board in 3D
Size
45 × 40 mm
Copper layers
4
Thickness
2 mm
Parts
35
Nets
39
Pads
125
Tracks, vias
241, 196
Pours
5
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
22 Feb 2023
Updated
2 Mar 2023

Overview

Cityscope can module is an open-source printed circuit board by CityScience-TaipeiTech, from the CityScience-TaipeiTech/cityscope-hardware repository on GitHub. It is a 4-layer board of 45 × 40 mm with 35 parts on 39 nets, routed with 241 tracks and 196 vias.

It is built around the SN65HVD231D, HC-SR04 and LD39050PU33R. Its parts include 10 capacitors, 7 connectors, 4 resistors, 2 ICs and 1 diode. It belongs with the STM32 boards of this library.

Main components

3

README

README.md

CityScope-hardware

Environment Setup

config path

NamePath
CITYSCOPE_LIBYOUR_FOLDER_PATH/cityscope-hardware/libraries

Config Symbol Library

Preferences -> Manage Symbol Libraries

NicknameLibrary Path
CityScope_Component${CITYSCOPE_LIB}/CityScope_Component.kicad_sym

Config Footprint Library

Preferences -> Manage Footprint Libraries

NicknameLibrary Path
CityScope_Component${CITYSCOPE_LIB}/CityScope_Component.pretty

Generate GERBER Files for Fabrication

Gerber Plot

In File -> Plot... plot

Drill Plot

In File -> Plot... plot

Generate .pos Files for SMT

  • Make sure you set origin point for you .pos file. In the fish head PCB, set FID2 fiducial as origin. Click the icon bellow in tool set to place your origin.

    plot

  • Files -> Fabrication Outputs -> Component Placement (.pos)

    plot

  • The following files will be generated.

    1. PROJECT-bottom-pos.csv
    2. PROJECT-top-pos.csv
  • Convert the generated file to smt machine format by a python file in tools/ folder.

    bash
    python3 convert_form.py --file-name ../YOUR_FOLDER_PATH/PROJECT-top-pos.csv
  • An output.csv will be generated in tools/.

  • If the footprint name is too long, for example "JST_SH_BM03B-SRSS-TB_1x03-1MP_P1.00mm_Vertical ", please make it shorter or just delete this row.

Generating BOM Sheet

Requirements

  • Install BOM extension:Interactive Html Bom in the Plugin And Content Manager.

Generate BOM

  • Open your PCB Editor -> Tools -> External Plugins -> Generate Interactive Html Bom

Release Files Structure

  1. GERBERs/
  2. bom/
  3. PROJECT_v1_0.pdf
  4. PROJECT_3d_v1_0.png
  5. PROJECT_3d_v1_0.step
  6. PROJECT_gerber_v1_0.zip

Recommend Plugins

  1. Interactive Html Bom
  2. pcb-action-tools
  3. KiKit
  4. KiBuzzard

KiKit Panelize

Fisheye configuration

json
{
    "layout": {
        "hspace": "3.2mm",
        "vspace": "3.2mm",
        "rotation": "45deg",
        "rows": "6",
        "cols": "5"
    },
    "tabs": {
        "vwidth": "3.2mm",
        "hwidth": "3.2mm"
    },
    "cuts": {
        "type": "mousebites"
    },
    "framing": {
        "type": "frame",
        "hspace": "3.2mm",
        "vspace": "3.2mm",
        "width": "3.2mm"
    }
}

Parts

35
QtyValueFootprintReferences
4100nFCapacitor_SMD:C_0603_1608MetricC1, C2, C4, C9
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
31uFCapacitor_SMD:C_0603_1608MetricC5, C6, C8
2CANConnector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalJ6, J7
2FiducialFiducial:Fiducial_0.75mm_Mask1.5mmFID1, FID2
11000uFCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC10
1100kResistor_SMD:R_0603_1608MetricR1
110kResistor_SMD:R_0603_1608MetricR3
110nFCapacitor_SMD:C_0603_1608MetricC7
11kResistor_SMD:R_0603_1608MetricR2
13.3VTestPoint:TestPoint_Pad_D1.0mmTP2
14.7uFCapacitor_SMD:C_0603_1608MetricC3
1470Resistor_SMD:R_0603_1608MetricR4
15VTestPoint:TestPoint_Pad_D1.0mmTP1
1DC_INConnector_AMASS:AMASS_XT30PW-M_1x02_P2.50mm_HorizontalJ2
1DC_OUTConnector_AMASS:AMASS_XT30PW-F_1x02_P2.50mm_HorizontalJ3
1GNDTestPoint:TestPoint_Pad_D1.0mmTP3
1HC-SR04Connector_JST:JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_HorizontalJ5
1LD39050PU33RCityScope_Component:SON95P300X300X100-7N-DPS1
1LEDLED_SMD:LED_0603_1608MetricD1
1NeoPixelConnector_JST:JST_PH_S3B-PH-SM4-TB_1x03-1MP_P2.00mm_HorizontalJ4
1RSTButton_Switch_SMD:SW_SPST_TL3305ASW1
1SN65HVD231Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1STM32F303K8TxPackage_QFP:LQFP-32_7x7mm_P0.8mmU1
1ST_LINKConnector_JST:JST_SH_BM06B-SRSS-TB_1x06-1MP_P1.00mm_VerticalJ1

Similar boards

  • 2 layers40 × 53.6 mmCanLite, the printed circuit board in 3D

    CanLite

    voltlog/CanLite

    ESP32 based CAN development board

    42 parts192GPL-3.0
  • 2 layers93.5 × 53 mmTi bms, the printed circuit board in 3D

    Ti bms

    catphish/ti-daisychain-bms

    BMS master hardware for bq76PL455A modules

    57 parts11
  • 2 layers43 × 108 mmBird3Controller, the printed circuit board in 3D

    Bird3Controller

    ysoyjcgoxohxoh/Bird3

    Drop-in replacement Bird Brain design for Bird 3 scooters.

    69 parts8MIT
  • 4 layers74 × 28 mmOpenFlowMeter, the printed circuit board in 3D

    OpenFlowMeter

    JochiSt/OpenFlowMeter

    Measuring Flow

    156 parts6GPL-3.0
  • 2 layers93.5 × 53 mmCharge controller, the printed circuit board in 3D

    Charge controller

    catphish/ev-charge-controller

    Charge controller for DIY EV project

    49 parts5
  • 2 layers25.4 × 41.8 mmEsp32, the printed circuit board in 3D

    Esp32

    mgerczuk/PCB-ESP32

    22 parts3
  • 2 layers48.6 × 49.5 mmReaction wheel bldc motor control pcb, the printed circuit board in 3D

    Reaction wheel bldc motor control pcb

    vatsalbansal123/reaction-wheel-controller-pcb

    Open-source FOC motor controller PCB for a reaction wheel — STM32G431 + DRV8311H driving a BLDC motor, with CAN bus interface. Designed in KiCad.

    50 parts3

Questions

How big is the Cityscope can module PCB?

It measures 45 × 40 mm and has 4 copper layers, 2 mm thick.

What parts does the Cityscope can module use?

35 parts, built around the SN65HVD231D, HC-SR04 and LD39050PU33R. 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 Cityscope can module KiCad files?

From the CityScience-TaipeiTech/cityscope-hardware repository on GitHub, at the commit this page was made from: the board is cityscope-can-module/cityscope-can-module.kicad_pcb and its schematic cityscope-can-module/cityscope-can-module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cityscope can module design in my own project?

Its repository states no licence, so its author keeps all rights: ask CityScience-TaipeiTech before reusing the design.