Rotary Encoder Project Offers Customized UI for Any MCU, MPU, or Display


When developing interactive hardware, especially in IoT and embedded systems, engineers implement a wide variety of input methods that range from traditional buttons and knobs to more modern touch sensors and touch panels.

As an alternative, companies have started to offer innovative crossovers between the tactile features of mechanical components and the interactive capabilities of multi-touch displays. One recent example comes from Rotary Encoder, an MCU/MPU-based touchscreen rotary encoder launched as a Kickstarter project in last summer.

 

Rotary offers three different variations: Rotary HAT (left), Rotary ESP32 (center), and Rotary Pico W (right). Image (modified) used courtesy of Rotary and Kickstarter
 

In this article, we’ll take a look at the variants of this platform, its key features, and potential use cases for engineers using them in their projects.

 

The Hardware Behind Rotary

Rotary Encoder is an open-source touchscreen rotary encoder component that can be embedded into projects as a miniature, interactive, and tactile UI.

The base device includes a mechanical ring that rotates around a stationary 1.28-inch, 240 by 240-pixel circular touch LCD with a color depth of 24 bits. In addition, the device features an array of 32 RGB LEDs placed in a ring formation around its main assembly.

Rotary offers three distinct variants of its platform:

Rotary—Pico W Powered, based on the Raspberry Pi Pico W
Rotary—ESP32-S3 Powered, based on the ESP32-S3
Rotary—Raspberry Pi HAT, intended for use with single-board computers like the Raspberry Pi

Alongside the display and rotary encoder assembly, the first two versions (around $77) feature an embedded development board soldered onto the device itself, while the HAT (around $52) features a block of Raspberry Pi breakout pins.

Rotary Pico W carries a standard RP2040 microcontroller board with a dual-core Arm Cortex M0+ processor clocked at a speed of 133 MHz with 264 kB of SRAM and 2 MB of flash memory.  Similarly, Rotary ESP carries an ESP32-S3 chip with a dual-core XTensa LX7 microcontroller running at 240 MHz with 384 KB of ROM and 512 KB of SRAM.

Both versions support Wi-Fi 802.11 and Bluetooth LE (low energy) and can be programmed directly via the USB interface. Users can also break out remaining GPIO pins for use with other components such as sensors, actuators, and peripherals.

 

Implementing Rotary

According to the developer, this device is compatible with the most popular free and open-source embedded graphics library, LVGL. It also supports many IDEs and programming languages, such as Arduino and MicroPython, commonly used with the Pico and ESP development boards.

Through Rotary, engineers can create various types of graphical user interfaces by combining widgets, animations, buttons, sliders, and other data visualization elements along with the touch display and rotary encoder assembly. Other components can be integrated into their designs via the remaining GPIO ports.

 

Rotary structure

The rotary structure. Image (modified) used courtesy of Rotary and Kickstarter

 

Additionally, engineers can connect their Rotary systems to the internet or use them to build personalized networks thanks to the Wi-Fi and Bluetooth-enabled Pico W and ESP32 hardware and libraries. Doing so would allow Rotary to wirelessly control home automation appliances or be controlled by devices such as smartphones or wearables.

Created with the Internet of Things in mind, the Rotary platform can find potential applications in many systems ranging from wireless MIDI controllers and interactive programmable macro pads to wall-mounted HVAC remotes and smart window curtain controllers.

 

Lowering the Barrier to Entry

In the past, developers have aimed similar products toward the enterprise market. Through this Kickstarter project, however, Rotary seems to be catering to the DIY engineering community, intending to capture a wider audience by embedding the most popular MCU platforms into its technology.

At the time of this article posting, Rotary has already surpassed its £500 goal by a huge mulitple, curently at £13,504. The project is expected to be the subject of many interesting DIY projects. Rotary opened for shipments in September last year.



Source link

Leave a comment