Skip to content

a PCB that turns the Colorlight 5A-75B into an easy to use development FPGA platform for cheap

License

Notifications You must be signed in to change notification settings

cyber-murmel/chubby-hat

Repository files navigation

Chubby Hat

A PCB that turns the Colorlight 5A-75B into an easy to use development platform for cheap. This project ist based on q3k/chubby75.

Read more on hackaday.io.

Directory Structure

directory content
source KiCad project directories
production fabrication files (Gerber, BOM, placement)
exports schematic and layout plots, board 3D model and renderings
datasheets component datasheets
assets board setups, component 3D models, logos
scripts BOM export plugins, miscellaneous helper scripts for file conversion
hooks git hooks, for example for automatic documentation export

Version 0.1.0

  • USB to JTAG via STM32 or FTDI
  • two 3x Pmod ports

Version 0.2.0

  • USB to JTAG via extra dev board or on-board RP2040
  • three 2x Pmod ports

Automation

This repository contains a Makefile that automates PDF and Gerber export, as well as PCB art pattern creation.

Requirements

Apart from KiCad 7 this requires some additional software.

The Makefile calls a Python script that makes use of sexptdata to parse KiCad files. Install Poetry and run poetry shell followed by poetry install in the root of this repositoryto set up a virtual environment with the required package(s). To re-enter this environment, simply run poetry shell in the root of this repository.

For PDF export you need to install Poppler. Gerber export requires zip. Pattern creation is implemented with OpenSCAD.

Nix(OS)

If you are using the Nix package manager, you can enter a development environment with KiCad and all other software by running nix-shell in the root of this repository.

Export

To export all PDFs and Gerbers, simply run

make

PDFs and Gerbers are exported automatically when you git commit, if you have Git Hooks set up.

Pattern

To recreate the pattern, first remove the pattern from the board and save it, then run

make pattern

Add the new pattern graphic to the board.

Installing Git Hooks (optional)

The hooks directory contains client-side git hooks. Currently only the pre-commit hook is used to automatically export plots.

To enable the hooks locally, run the following in the root of the repository.

git config core.hooksPath ./hooks

KiCad Version

Version: 7.0.1, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 6.0.0
	FontConfig 2.14.0
	libcurl/7.87.0 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libssh2/1.10.0 nghttp2/1.51.0

Platform: , 64 bit, Little endian, wxBase, , wayland

Build Info:
	Date: Jan  1 1980 00:00:00
	wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 0.0
	Boost: 1.79.0
	OCC: 7.6.2
	Curl: 7.87.0
	ngspice: 37
	Compiler: GCC 12.2.0 with C++ ABI 1017

Build settings:
	KICAD_USE_EGL=ON
	KICAD_SPICE=ON