Skip to content
/ signiot Public

Embedded control of an animated sign synchronized with an LED array

Notifications You must be signed in to change notification settings

argus1/signiot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

signiot

Open in MATLAB Online

Embedded control of an animated sign synchronized with an LED array

Install Necessary Libraries

You will need the following Python libraries:

Pillow for image processing. pygame for displaying the GIF on the touchscreen. Jetson.GPIO for controlling the LED array (This setup uses Jetson Nano, but code can be easily adapted to Raspberry Pi with "RPi.GPIO"). setup Install these using pip:

pip install pillow Jetson.GPIO TIME-python

signiot accomplishes the following tasks:

  1. GPIO Initialization: Sets up the GPIO pins for the LED array.
  2. LED Control Function: Lights up LEDs in sequence based on the direction.
  3. Vertical Shear Function: Applies an affine transformation to shear the image vertically.
  4. GIF Processing: Loads the GIF and applies the shear transformation to each frame.
  5. Tkinter Initialization: Sets up Tkinter for displaying the GIF on the touchscreen.
  6. Main Loop: Alternates the shear direction and displays the GIF frames, updating the LED array accordingly.

This script will continuously shear the GIF in both directions and update the LED array to indicate the current transformation direction.

About

Embedded control of an animated sign synchronized with an LED array

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published