Rotary Encoder Driver, (polled, +button)

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general.
robert_o
Posts: 24
Joined: Fri Feb 17, 2017 11:25 pm
Been thanked: 3 times

Rotary Encoder Driver, (polled, +button)

Postby robert_o » Tue Apr 25, 2017 3:12 pm

This is my first attempt to write a driver using ChibiOS.
This Demo reads a rotary encoder connected to PINS A0,A1,A4 of a Nucleo F411 and dumps
the Values and Button state to uart2 (38400Baud).
It features a polled encoder interface, so you can use any pins you want.
It is intended for user input, NOT quadrature encoders mounted to motors.
I tried to use the chibiOS driver structure.
Feedback is very appreciated.
Attachments
NUCLEO-STM32F411RE-USB-Rotary.zip
(20.91 KiB) Downloaded 58 times

User avatar
Giovanni
Site Admin
Posts: 10489
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 253 times
Been thanked: 220 times
Contact:

Re: Rotary Encoder Driver, (polled, +button)

Postby Giovanni » Tue Apr 25, 2017 4:47 pm

Moving this thread to user projects, just in case somebody is interested.

Giovanni


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 2 guests