Interactive LED art display


i've been toying using led strips uno , nano.

i want to

*use lot of leds (hence power management issues)
*use sensors , buttons control led modes (hence i/o management issues)
*generate complex lighting events

power
in separate thread wrote that.

* how size power consumption vs power supply
*how filter power spikes r-c diode model?

code: [select]
5v -- resistor ------- diode ------- gnd
                \---capacitor---/


i have insert 1 or more power supplies (1a each), common ground.
the problem leds pwm controlled adjust brightness, hence cause power spikes.
i solved capacitors on power line, spread out, i'd want definitive answer on how
to compute right cap size.
i in process of poaching caps , chokes/inductances old motherboard.


interrupts

the ws2811b/apa led drivers seem disallow use of interrupt handlers, because of timing of instructions.

i wrote simple led lighting modes in library on top of allows me combine modes.

however not use interrupts , feel best have controlled timers. anybody's used interrupts (maybe disabling them when refreshing leds)? what's cost of enabling/disabling interrupts?1 cycle?

* should use interrupt handlers control effects?
* should write real time pixels or use library hence write array serializes?

sensors

each sensor control display parameter. i'm thinking proximity sensor, compass, knock sensor, etc.

* fur , fabric transparent ir or ultrasonic sensor
* if 2 sensors use same protocol (wire.h), how access both


well, many questions have in head, first 1 being finding giant plush can rig interactive.

"* if 2 sensors use same protocol (wire.h), how access both"

wire, a.k.a. 2 wire interface (twi), a.k.a. inter-integrated circuit interface (iic/i2c/i-squared-c) uses addresses.  as long devices have different addresses can share i2c bus.


Arduino Forum > Using Arduino > Project Guidance > Interactive LED art display


arduino

Comments