Skip to content

Latest commit

 

History

History

sphere2-lamp-python-controller

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Sphere² Lamp - Python Controller

The Sphere² Lamp can be controlled from a computer connected to the Arduino Nano via USB serial COM Port.

Python class

The file sphere2lamp.py provides constants and a simple class to control the lamp. It requires Python 3 with pyserial, which can be installed via pip install pyserial. A usage example can be found at the bottom of the file.

Interactive 3D control GUI

The file interactive3Dcontroller.py provides an interactive 3D model to control the LEDs. It requires Python 3 with pyserial, numpy and vpython, all of which can be installed via pip install pyserial numpy vpython. Executing the file with python will open the HUI in your browser.

screenshot