This is a downstream E-blocks peripheral module, designed to be controlled by one of the upstream E-blocks processing boards which are available in a variety of MCU/CPLD architectures.
This E-blocks board contains two rotary encoders, an LED and a push switch. Rotary encoders are popular input devices used for varying a value in your embedded system, e.g. a volume control. Unlike a conventional potentiometer, these do not have a start and end position but keep on turning in either direction. These encoders are very tactile and produce small clicks as rotated. This board is supported in Flowcode 4.5 and above.
The rotary encoders each have two digital outputs in a quadrature format that can be read by the upstream microcontroller. The quadrature format means that the microcontroller can detect which way the encoder is turning, how fast and how many rotations have been made simply by monitoring the two signals from the encoder.
E-Blocks Rotary Encoder Board Features
- 2× Rotary encoders with full quadrature output
- Digital pushbutton switch and LED on board
- 3.3V and 5V compatible
The patch system on the board is used to allow the on-board signals to be connected through to any of the eight digital channels or through to another board or port. The connections for the patch jumper system are as shown below.
|Signal ||Default Port Pin ||Patch Pin (J5) |
|Encoder 1A||Pin 4||A1 |
|Encoder 1B||Pin 5||B1 |
|Encoder 2A||Pin 6||A2 |
|Encoder 2B||Pin 7||B2 |
|Switch||Pin 0||SW |
|LED||Pin 1||LED |
E-Blocks Overview E-Blocks are small circuit boards each of which contains a block of electronics that you would typically find in an electronic system. Each E-Block performs a separate function as either an input sub-system, an output sub-system, an input/output sub-system or a processing sub-system.
E-Blocks can be put together to form a variety of systems that can be used for teaching and learning electronics, and for the rapid prototyping of complex electronic systems.
Each E-Block has one or more 9-way D-type connectors that provide up to eight input/output lines and a ground line. These D-type connectors allow connection between E-Blocks to be made in buses of multiples of 8 lines, just like a real electronic system. Power is routed separately to those E-Blocks that need it.
Processing E-Blocks based on PIC, dsPIC, ARM or AVR microcontrollers control the whole E-Blocks system. Processing E-Blocks provide up to five input/output ports with up to eight lines per port.
Please see the E-Blocks Category for a list of available components. For more details on E-Blocks, see the E-Blocks User Guide (in English, French, German and Spanish) or watch the Introduction to E-Blocks video.
E-Blocks Rotary Encoder Board Resources