Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emesik/wobbly-lamp
A lamp which reacts to motion with changing colors
https://github.com/emesik/wobbly-lamp
Last synced: 14 days ago
JSON representation
A lamp which reacts to motion with changing colors
- Host: GitHub
- URL: https://github.com/emesik/wobbly-lamp
- Owner: emesik
- License: gpl-3.0
- Created: 2014-11-28T00:43:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-08T23:32:41.000Z (almost 10 years ago)
- Last Synced: 2024-10-15T22:24:49.350Z (29 days ago)
- Language: C
- Size: 340 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
wobbly lamp
Lamp which reacts to movement by changing colors.
It associates red, green and blue components with X, Y and Z axes respectively. The deflection from
initial position is linearly converted to light volume in each axis and returns to normal with
decay adjustable by a potentiometer unless the lamp gets bumped again.Hardware required:
* 12V supply,
* MMA7361 accelerometer breakout board,
* RGB LED strip or other similar light source with common anode,
* 50x50mm single layer board to make the PCB,
* electronic components as listed in the KiCad project (ATmega8, 3×N-FET, 3V3 regulator and
a bunch of resistors, capacitors and connectors),This project aims to be an example of ATmega MCU's use of:
* PWM (pulse width modulation),
* ADC (analog to digital conversion),
* interrupts (timer and ADC),