Rotary encoders are pretty interesting pieces of technology. They’re a solid way to accurately measure rotation including the direction. [David] recently wrote some software to handle these input ...
Inexpensive OLED displays with I2C interfaces abound, but there is a catch: they tend to be stuck on I2C address 0x3C. Some have a jumper or solder pads to select an alternate (usually 0x3D), but they ...
Inputting multiple bits of information using a single entry pin of a microcontroller without the complexity of UARTs can prove useful. Such a scheme could allow scanning of a keyboard, mode switches, ...
Using the analog converter input function of a compact microcontroller’s input pins to read ternary logic encoding allows two pins to sense as many as nine configuration states. When designing with ...
In most keypads, pressing a key closes a contact that bridges two lines in an xy matrix. If you use a microcontroller to detect a key closure, checking the states of (x+y) lines requires an equal ...
In this article, I'll be explaining the basics of how microcontrollers work, physically and virtually. First off, microcontrollers are no simple thing, so don't be discouraged if you find it ...
Microcontroller port pins can typically be driven either high or low, or else be put into an "input" or high-impedance state. This circuit uses the three states to drive two separate LEDs with one ...
Atmel has introduced a 6-pin microcontroller. The 8bit AVR ATtiny10 has 1kbyte of flash and 32byte of SRAM in a 2x3mm SOT-23 package. Performance is claimed to be up to 12MIPS, and peripherals include ...
– Small size: As small as a thumb(20×17.5mm) for wearable devices and small projects. – Multiple development interfaces: 11 digital/analog pins, 10 PWM Pins, 1 DAC output, 1 SWD Bonding pad interface, ...
Embedded code development software does not come cheap if you are developing tens of thousands of lines of code in a multi-engineer project. On the other hand, if the project is smaller, and ...