Skip to content

small project to create optical illusions with pwm

Notifications You must be signed in to change notification settings

kuhball/drehding

Repository files navigation

Dreh Ding

An optical illusion.

  • platformio/ - the project's code; developed with platform.io framework
  • arduinoide/ - code for the Arduino IDE
    • tests/ - component tests, mainly for debugging purposes
    • legacy/ - legacy code, kept to look up old coding patterns
    • sandbox/ - various code snippets in various states
  • ui/ - python template code to communicate with the microcontroller
  • fritzing/ - hardware connection diagrams and components created with Fritzing
  • images/ - images for the readme

Documentation

  • flasheffects.md - A collection of different flash effects that could be programmed.
  • exhibition.md - Collection of ideas for installations and performances based on the project.
  • notes.md - Various notes and remarks which have no better place.
  • ideas.md - Random ideas and notes and such. Can be deleted at any time.

The project

Dreh Dings develops around the stroboscopic effect. The idea is to place a rotating geometrical object (e.g. a cube) in the centre of a stage and light it at specific intervals with flashes from a number of surrounding LED lights. By varying the flash intervals, various optical illusion effects can be generated. See the following images for a high level schema:

High level schema

The project is realized through a number of hardware components and a microprocessor for controlling. Basically, the object turns on a motor whose speed we can modulate. The motor additionally contains a hall sensor (speedometer, clock) to measure the rotation speed. The hall sensor's signal is then used to flash the LEDs at the desired intervals.

The most simple flash configuration is be to flash a single LED always at exactly the same fraction of the object's rotation. Since the object is only illuminated when in the same position, it appears stationary to the observer.

More advanced and interesting flash configurations are also possible.

Set-up

Navigate to arduinoide/releases/ and follow the instructions.

The software

Coding is done with the platform.io framework. Ideally integrated into VSCode as IDE. For every release, an Arduino IDE compatible source code folder is also created.

The hardware

See hardware.md.

About

small project to create optical illusions with pwm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •