Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/123swk123/neoled-frame-grabber
Addressable led (ws2811,ws212b,SK6812RGBW) frame grabber hardware and neoLED virtual viewer as per any given layout
https://github.com/123swk123/neoled-frame-grabber
addressable-leds framegrabber led led-virtual-display sk6812rgbw ws2801 ws2811 ws2812b ws281x
Last synced: 22 days ago
JSON representation
Addressable led (ws2811,ws212b,SK6812RGBW) frame grabber hardware and neoLED virtual viewer as per any given layout
- Host: GitHub
- URL: https://github.com/123swk123/neoled-frame-grabber
- Owner: 123swk123
- License: gpl-3.0
- Created: 2019-11-05T04:18:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-17T13:22:32.000Z (about 4 years ago)
- Last Synced: 2023-05-25T18:52:43.849Z (over 1 year ago)
- Topics: addressable-leds, framegrabber, led, led-virtual-display, sk6812rgbw, ws2801, ws2811, ws2812b, ws281x
- Language: nesC
- Homepage:
- Size: 3.62 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Addressable LED frame grabber and LED virtual display
# neoLED Frame Grabber
This Hardware is made using PIC12F18325 and uses CLC to reconstruct SPI CLK signal and CS signal from LED data signal there by creating SPI Mode 3 type signals which is then fed to internal SPI module.
this way we compose LED data bits to single byte which is read on SPI interrupt and then pushed to PC(USB 2 UART) though **UART @ 2MHz** baud rate. At End Of Frame we push '0D 0A'.Python + Qt QML based PC neoLED Viewer software, which reads the UART and renders them on the fly.
- Many types of LED support (use the trim pot to tune for your LED timing, eg: for WS2811 set pot @ middle pos\[10KOhm\])
- Any layout size and 4 types of LED layout arrangement
- Snake Left 2 Right
- Snake Top 2 Bottom
- ZigZag Left 2 Right
- ZigZag Top 2 Bottom
- New Layout shape can be easily added, currently supports Rectangle shape
- Records and Dumps data for offline play back (WIP)
- Refresh Rate monitoring## neoLED Grabber block diagram
![neoLED Grabber block diagram](analysis/neoLED_Grabber_HW.png)## Schematic and Layout
[Schematic](schematic/neoLED_framegrabber_schematic.pdf)[PCB layout Bottom mirrored](schematic/neoLED_framegrabber_bottom_layer_mirrored.pdf)
### CNC router files to make the pcb using CNC
Thanks to FlatCam for generating the isolation routing and cutouts for CNC router
- use 0.2mm drill bit for the isolation routing
- use 0.8mm drill bit for drilling and cutout[PCB layout Bottom isolation file](schematic/CAMOutputs/copper_bottom.gbr_0.2000_iso1_cnc.nc)
[PCB layout Bottom drill file](schematic/CAMOutputs/drill_1_16.xln_cnc.nc)
[PCB layout Bottom cutout file](schematic/CAMOutputs/copper_bottom.gbr_cutout_cnc.nc)
![PCB made by CNC router](analysis/P_20201011_005735.jpg)
![PCB after assembling front](analysis/P_20201011_115547_1.jpg)
![PCB after assembling back](analysis/P_20201011_115451_1.jpg)
## Firmware
PIC16F18325 was used thanks to CLC, its used to offload the SPI clock recovery mechanism from the LED signal
[Firmware](firmware/neoLED2SPI.X/dist/default/production/neoLED2SPI.X.production.hex)
## Application command line options
```
usage: Virtual neoLED Viewer [-h] --led
[--ledsize ] --layout --width --height
[--port ]
[--file ] [--verbose] [--version]records or preview the neoLEDs with a defined layout
optional arguments:
-h, --help show this help message and exit
--led
LED type
--ledsize LED size in pixels
--layout
Pannel Layout type
--width Pannel Layout width
--height Pannel Layout height
--port live view HW serial port
--file
use the offline recorded
--verbose generate many logs
--version show program's version number and exit
```### Live 12x24 ZigZag Layout Left 2 Right LED panel frame grabbing
![Live 12x24 ZigZag Layout Left 2 Right](analysis/neoLED_Viewer_12x24_ZigZagL2R.gif)### Snapshot 32x32 Snake Layout Left 2 Right
![Screenshot 32x32 Snake Layout Left 2 Right](analysis/neoLED_Viewer_32x32_SnakeL2R.png)