Volver al índice de tutoriales

Ejemplos de dispositivos de salida / Conceptos

Índice:

LEDs

Conceptos sobre LEDs
http://learn.adafruit.com/all-about-leds

Placa Hello RGB

Hello RGB

Conceptos sobre RGB LED:
http://www.tumblr.com/tagged/how-do-rgb-leds-work
Código ejemplo en Arduino:
http://fab.cba.mit.edu/classes/863.12/people/sophia/project11.html

Placa Hello LED Array (matrices de LEDs) (Charlieplexing)

Hello LED Matrix

Conceptos de Charlieplexing / Matrices de LEDs:
http://www.instructables.com/id/Charlieplexing-LEDs--The-theory/
Matrices de LEDs con cortadora de vinilo:
http://www.instructables.com/id/light-circuit/
Programando una matriz de LEDs en C (cambiando el código):
http://academy.cba.mit.edu/2012/students/lubsen.astrid/Assignment13.html
Librería Charlieplexing para Arduino:
http://playground.arduino.cc/code/charlieplex
RGB LEDs usando Charlieplexing en Arduino usando estilo C:
http://academy.cba.mit.edu/2012/students/holt.joshua/JH_week13.html

Hello LED Matrix

La placa en funcionamiento

Programando la placa Hello LED Array (matrices de LEDs) con el FabISP

programming

Programando el microcontrolador:

Para programar tu placa Hello LED Array (matrices de LEDs) - descarga todos los archivos situados en el apartado LED array.

Si estás usando un ATtiny44:

sudo make -f hello.array.44.make program-usbtiny

Si funciona - Esto sería lo que aparecería por consola

avr-objcopy -j .text -O ihex hello.array.44.out hello.array.44.c.hex;\
avr-size --mcu=attiny44 --format=avr hello.array.44.out
AVR Memory Usage
----------------
Device: attiny44

Program:     358 bytes (4.4% Full)
(.text + .data + .bootloader)

Data:          1 bytes (0.2% Full)
(.data + .bss + .noinit)


avrdude -p t44 -P usb -c usbtiny -U flash:w:hello.array.44.c.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e930c
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "hello.array.44.c.hex"
avrdude: input file hello.array.44.c.hex auto detected as Intel Hex
avrdude: writing flash (358 bytes):

Writing | ################################################## | 100% 1.08s



avrdude: 358 bytes of flash written
avrdude: verifying flash memory against hello.array.44.c.hex:
avrdude: load data flash data from input file hello.array.44.c.hex:
avrdude: input file hello.array.44.c.hex auto detected as Intel Hex
avrdude: input file hello.array.44.c.hex contains 358 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.68s



avrdude: verifying ...
avrdude: 358 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done.  Thank you.


Motores

Tipos de motores (Resumen):
Conceptos sobre motores DC: H-Bridge / PWM
MOSFETS (para gran carga capacitiva, como motores)
Recursos de las clases de Physical Computing de Paul Badger's:
Librería Servo de Arduino

Hello Stepper (motor paso a paso)

Hello RGB

Si la placa del motor paso a paso no funciona, prueba lo siguiente: