background preloader

Programacion

Facebook Twitter

Arduino, Tutorial 5, Boton y Estructura IF y SWITCH. Arduino - Módulo 3G, Ultrasonidos, Teclado & Led RGB. Bienvenid@s a un nuevo tutorial Arduino! Aprovecho para deciros que estamos inmersos en grandes cambios, tanto de imagen, como de infraestructura para mejorar la calidad del proyecto, espero no crear demasiadas inconveniencias, comentar también, que este pasado 1 de mayo cerramos el foro de Arduino Academy (ahora Arduteka) para darle continuidad desde el foro oficial en Arduino.cc donde solventaré todas las dudas que os surjan de este tutorial en este post.

Como novedad, a partir de ahora vamos a incluir un Premium Pack descargable con cada tutorial que realicemos y para obtenerlo, tan solo tendrás que regalarnos un Tweet o Post en Facebook!! Barato, no? Lo mejor de todo es que este Pack nos trae alguna que otra sorpresa!! Como adelanto, os digo que en su interior tendréis archivos para Arduino de cada proyecto, librerías utilizadas, en este tutorial, también los sonidos, una versión de todo el tutorial en PDF para disfrutarlo sin conexión.. y alguna sorpresita más!!

Veámoslo en video!! Todo sobre Arduino. Tutorial Arduino #0010 - 3G, SMS, MMS, Cámara, Ultrasonidos, Teclado Matricial, LED RGB, MP3... Rotary encoder based cooking timer @ pavius.net: no refunds. Continuing my experimentations with cooking timer user interfaces, I stumbled upon a cute little rotary encoder on Sparkfun. It immediately looked like a good match for the project. The thing is that all cooking timers I’ve seen have either a simplistic interface requiring many clicks to set the time (like clicking the “minutes” button 50 times) or a complex keypad with way too many buttons.

At first I thought I’d need 2 axes (axis 1 would increment by 1 minute and the other axis by 15 minutes) but fiddling around with the trackball showed me that it was not necessary; that I’d just need one axis with tactile feedback (that is, a clicky switch rather than a smooth flowing motion of the controller) and some selection mechanism to switch between 1 and 15 minutes. The Sparkfun rotary encoder fit the bill – 12 steps for full rotation and clickable! Perfect. The Hardware 4 digit Seven segment display Another Sparkfun gem is the integrated 4 digit seven segment display.

Clickable rotary encoder.