Skip to content

Instantly share code, notes, and snippets.

View esden's full-sized avatar

Piotr Esden-Tempski esden

View GitHub Profile
@esden
esden / led_panel.md
Last active March 23, 2024 12:00
FAQ: Collection of links and information about RGB LED Panels and FPGA

A common name for the interface is HUB75

The displays use shift registers for columns and two sets of row multiplexers.

Typical organization

32x32 panel

  • Organized in two halfs of 16x32 tiles
  • 32 bit long RGB column drive shift registers
  • 4 bit to 16 row drive demultiplexers
@esden
esden / glasgow-install-steps.md
Last active June 28, 2023 23:28
Install instructions for setting up glasgow software

Glasgow software installation instructions

These instructions are for Ubuntu

Install FPGA tools

Download and install yosys/nextpnr/icestorm FPGA flow.
Recommend using the binary release by yosysHQ.
MAKE SURE IT IS REALLY UP TO DATE AND YOU DON'T HAVE SOME ANCIENT INSTALL IN YOUR PATH!
Download tarball from: https://github.com/YosysHQ/oss-cad-suite-build/releases

@esden
esden / bmp_tpwr_en.scr
Last active September 17, 2020 15:26
Small gdb script to enable Black Magic Probe Target Power 'tpwr'.
#!/usr/bin/env arm-none-eabi-gdb -nx -batch -x
# The Black Magic Probe has level shifter buffers on its frontend,
# this gdb script enables Black Magic Probe target power,
# this is needed if you are not providing reference voltage from your target.
# Do not run this script or enable target power if you have VREF connected.
# The BMP side TPWR is connected to the 3.3V regulator of the Black Magic Probe
# and it has no protections, so don't fry your target or Black Magic Probe by
# being hasty and not thinking about what you are doing. :D
@esden
esden / start-kicad-project.md
Last active August 5, 2020 12:36
Starting a new KiCad Project esden style.

Create a new directory:

mkdir myhardware-git
cd myhardware-git

Initialize git:

git init
@esden
esden / icebreaker-ftdi-public-template.conf
Last active July 5, 2020 21:27
Just the ftdi programming template for icebreaker.
# The Vendor ID and Product ID seem to identify a particular chipset
# to target. I used the libftdi utilities and OS X USB Prober app to
# poke around and figure out what numbers to use.
vendor_id=0x403
product_id=0x6010
# The rest of the fields are settings which can be written to the
# FT2xx with the --flash-eeprom option.
@esden
esden / native-nmigen-win10-guide.md
Created June 29, 2020 02:57
Installing and running nmigen with native binary toolchain on Windows 10

This guide describes the steps necessary to setup the FPGA tools, python, nmigen and zadig drivers for the iCEBreaker-fpga development board on Windows 10.

Download the following software:

Install the following in whichever order:

  • git
@esden
esden / streaming_setup_and_more.md
Last active May 11, 2020 06:00
Esden's (1BitSquared) Streaming setup and a bunch of the tools I use on stream.
@esden
esden / T962a_modlist.md
Last active January 11, 2020 08:20
T962a reflow oven modlist
  • remove masking tape from the inside of the oven and replace with kapton tape, get some nice wide 2 or 3 inch wide one for best results multiple widths for bosus points :D (do not forget to remove the tape under the front lip of the insulation aka. ruler tape)
  • make sure the earth lug of the power connector is connected to all parts of the oven casing (some paint might need to be scraped off from under some screws to allow for the bottom half of the oven to be connected)
  • flash UnifiedEngineering firmware onto the main controller board (works very nicely under linux) https://github.com/UnifiedEngineering/T-962-improvements/wiki
  • solder together and attach the improved thermocouple interface (optionally you can add two additional k type thermocouples to measure temperature inside the oven or on the pcb, they are not used for control but are only shown on the display and can be logged through the serial interface) https://github.com/UnifiedEngineering/T-962-improvements/wiki/Better-thermocouple-interface
Section "Monitor"
Identifier "SAMSUNG"
ModelName "SAMSUNG"
VendorName "SAM"
# Monitor Manufactured week 2 of 2014
# EDID version 1.3
# Digital Display
DisplaySize 1110 620
Gamma 2.20
Option "DPMS" "false"