Diferencia entre revisiones de «Glosario de términos»
Ir a la navegación
Ir a la búsqueda
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 16: | Línea 16: | ||
return ((num/16 * 10) + (num % 16)); | return ((num/16 * 10) + (num % 16)); | ||
}</pre> | }</pre> | ||
*Operadores a nivel de bits (o Bitwise) | *Operadores a nivel de bits (o Bitwise) | ||
**http://laurel.datsi.fi.upm.es/~rpons/personal/trabajos/curso_c/node51.html | **http://laurel.datsi.fi.upm.es/~rpons/personal/trabajos/curso_c/node51.html | ||
| Línea 22: | Línea 24: | ||
**Esta es la función que escribe por puerto serie de arduino | **Esta es la función que escribe por puerto serie de arduino | ||
**Si escribimos Serial.print(minutes, BIN); y la variable minutes esta en binario pero BCD, el Serial.print nos lo respeta | **Si escribimos Serial.print(minutes, BIN); y la variable minutes esta en binario pero BCD, el Serial.print nos lo respeta | ||
*Debounce | *Debounce | ||
http://picmania.garcia-cuervo.net/conceptos.htm#PORTA | **http://picmania.garcia-cuervo.net/conceptos.htm#PORTA | ||
https://www.google.es/search?q=debounce&oq=debounce&aqs=chrome.0.57l2j65l3j60.1442&sourceid=chrome&ie=UTF-8 | **https://www.google.es/search?q=debounce&oq=debounce&aqs=chrome.0.57l2j65l3j60.1442&sourceid=chrome&ie=UTF-8 | ||
http://opensourcehardwarejunkies.com/tutorial-15-debouncing-a-button-with-arduino/ | **http://opensourcehardwarejunkies.com/tutorial-15-debouncing-a-button-with-arduino/ | ||
*Open-drain (o drenador abierto) | *Open-drain (o drenador abierto) | ||
https://www.google.es/search?q=Que+es+drenador+abierto&hl=es&lr=lang_es&safe=off&tbo=1&nomo=1&biw=480&bih=256&tbs=lr%3Alang_1es&gs_l=heirloom-hp.3..0l3j0i30l7.94436.100898.0.101351.31.19.0.1.1.3.405.3166.2-4j5j1.10.0...0.0...1ac.1.PdB6GndQ0Fc&oq=Que+es+drenador+abierto | https://www.google.es/search?q=Que+es+drenador+abierto&hl=es&lr=lang_es&safe=off&tbo=1&nomo=1&biw=480&bih=256&tbs=lr%3Alang_1es&gs_l=heirloom-hp.3..0l3j0i30l7.94436.100898.0.101351.31.19.0.1.1.3.405.3166.2-4j5j1.10.0...0.0...1ac.1.PdB6GndQ0Fc&oq=Que+es+drenador+abierto | ||
*uint8_t | *uint8_t | ||
**Es lo mismo que el byte. Es la forma corta de decir: a type of unsigned integer of length 8 bits (unsigned son los valores naturales, es decir los que no llevan signo negativo) | **Es lo mismo que el byte. Es la forma corta de decir: a type of unsigned integer of length 8 bits (unsigned son los valores naturales, es decir los que no llevan signo negativo) | ||
*Character Generation ROM (CGROM) | *Character Generation ROM (CGROM) | ||
**http://www.cursomicros.com/avr/display-lcd/cgrom-del-lcd.html | **http://www.cursomicros.com/avr/display-lcd/cgrom-del-lcd.html | ||
**Es la zona de memoria donde se encuentran grabados los patrones de todos los caracteres que puede visualizar el LCD de fábrica. **La CGROM genera los caracteres disponibles para representar en la pantalla a partir de un código de 8 bits. | **Es la zona de memoria donde se encuentran grabados los patrones de todos los caracteres que puede visualizar el LCD de fábrica. **La CGROM genera los caracteres disponibles para representar en la pantalla a partir de un código de 8 bits. | ||
*Data Display Ram (DDRAM) | *Data Display Ram (DDRAM) | ||
**Es una zona de memoria donde se almacenan los caracteres que se van a representar en la pantalla. | **Es una zona de memoria donde se almacenan los caracteres que se van a representar en la pantalla. | ||
*CGRAM | *CGRAM | ||
**En la CGRAM podemos dibujar nuestros propios caracteres, se pueden almacenar hasta 4 de 5x10 puntos y hasta 8 de 5x8 puntos. | **En la CGRAM podemos dibujar nuestros propios caracteres, se pueden almacenar hasta 4 de 5x10 puntos y hasta 8 de 5x8 puntos. | ||
*Quasi-bidirectional I/Os | *Quasi-bidirectional I/Os | ||
**http://cgervasi.com/blog/?p=26 | **http://cgervasi.com/blog/?p=26 | ||
**A quasi-bidirectional I/O can be used as an input or output without the use of a control signal for data direction (see Fig.15). At power-on the I/Os are HIGH. In this mode only a current source to VDD is active. An additional strong pull-up to VDD allows fast rising edges into heavily loaded outputs. These devices turn on when an output is written HIGH, and are switched off by the negative edge of SCL. The I/Os should be HIGH before being used as inputs. | **A quasi-bidirectional I/O can be used as an input or output without the use of a control signal for data direction (see Fig.15). At power-on the I/Os are HIGH. In this mode only a current source to VDD is active. An additional strong pull-up to VDD allows fast rising edges into heavily loaded outputs. These devices turn on when an output is written HIGH, and are switched off by the negative edge of SCL. The I/Os should be HIGH before being used as inputs. | ||
*latched outputs (with high current drive capability for directly driving LEDs.) | *latched outputs (with high current drive capability for directly driving LEDs.) | ||
*Pull Up y Pull Down | *Pull Up y Pull Down | ||
**http://arduinohome.com/tag/electronica/ Resistencias internas Pull Up Arduino | **http://arduinohome.com/tag/electronica/ Resistencias internas Pull Up Arduino | ||
**http://www.arduteka.com/2011/11/tutorial-0002-controlando-entradas-y-salidas-digitales/ | **http://www.arduteka.com/2011/11/tutorial-0002-controlando-entradas-y-salidas-digitales/ | ||
Revisión del 09:21 1 mar 2013
Esto es un glosario de términos electrónicos que iré rellenando según vaya aprendiendo cosas nuevas para poder recurrir a el cuando tenga dudas:
- BCD
- Se codifica cada digito decimal con 4 bits (esto es así porque es el número de bits necesario para representar el nueve, el número más alto que se puede representar en BCD)
- Existen diferentes tipos de códigos BCD (Natural, Aiken, 5 4 2 1, Exceso 3, ...)
- Dos funciones (bcd2dec y dec2bcd) sacadas de la web sparkyswidgets.com
// Convert Decimal to Binary Coded Decimal (BCD)
uint8_t DS3231::dec2bcd(uint8_t num)
{
return ((num/10 * 16) + (num % 10));
}
// Convert Binary Coded Decimal (BCD) to Decimal
uint8_t DS3231::bcd2dec(uint8_t num)
{
return ((num/16 * 10) + (num % 16));
}
- Operadores a nivel de bits (o Bitwise)
- Serial.print()
- Esta es la función que escribe por puerto serie de arduino
- Si escribimos Serial.print(minutes, BIN); y la variable minutes esta en binario pero BCD, el Serial.print nos lo respeta
- Debounce
- Open-drain (o drenador abierto)
- uint8_t
- Es lo mismo que el byte. Es la forma corta de decir: a type of unsigned integer of length 8 bits (unsigned son los valores naturales, es decir los que no llevan signo negativo)
- Character Generation ROM (CGROM)
- http://www.cursomicros.com/avr/display-lcd/cgrom-del-lcd.html
- Es la zona de memoria donde se encuentran grabados los patrones de todos los caracteres que puede visualizar el LCD de fábrica. **La CGROM genera los caracteres disponibles para representar en la pantalla a partir de un código de 8 bits.
- Data Display Ram (DDRAM)
- Es una zona de memoria donde se almacenan los caracteres que se van a representar en la pantalla.
- CGRAM
- En la CGRAM podemos dibujar nuestros propios caracteres, se pueden almacenar hasta 4 de 5x10 puntos y hasta 8 de 5x8 puntos.
- Quasi-bidirectional I/Os
- http://cgervasi.com/blog/?p=26
- A quasi-bidirectional I/O can be used as an input or output without the use of a control signal for data direction (see Fig.15). At power-on the I/Os are HIGH. In this mode only a current source to VDD is active. An additional strong pull-up to VDD allows fast rising edges into heavily loaded outputs. These devices turn on when an output is written HIGH, and are switched off by the negative edge of SCL. The I/Os should be HIGH before being used as inputs.
- latched outputs (with high current drive capability for directly driving LEDs.)
- Pull Up y Pull Down
- http://arduinohome.com/tag/electronica/ Resistencias internas Pull Up Arduino
- http://www.arduteka.com/2011/11/tutorial-0002-controlando-entradas-y-salidas-digitales/