Skip to content

lucysrausch/iCE40-digipan-hardwaredecoder

 
 

Repository files navigation

iCE40 DigiPan hardware decoder

This is some verilog and python code to capture xray images from digipan sensors in real-time.

Prerequisites

Python:

  • PIL
  • numpy
  • pygame

Building

git clone https://github.com/cyrozap/iCEstick-UART-Demo.git
cd iCEstick-UART-Demo
git submodule update --init
make

Flashing

Plug in your iCEstick, then run make flash. Depending on your permissions, you may need to run it with sudo.

Usage

Connect data positive of the RS422 connection to T1 of the HX8 eval board.

  • python setbaudrate.py <>/dev/ttyUSB0 8000000
  • python image_rt.py /dev/ttyUSB0

Other boards

Only tested on the HX8 eval board. Should work on the iCEstick as well, just change the constrain file in the Makefile.

About

Hardware decoder for DigiPan digital xray sensors based on the iCE40 iCEstick or HX8 boards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Verilog 50.9%
  • Python 41.8%
  • Makefile 7.3%