Skip to content

andrefdre/Encoder-Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Encoder Tester

Tester for six channels Encoder with pulses and full rotations as well as channels plotter
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

Product Name Screen Shot

Encoders are helpful devices to implement in all kinds of machines that move and need precision. For example, all CNCs (Computerized Numerical Control) machines that require precision in the order of microns, autonomous vehicles and robots. To achieve such accuracy, the motors used are usually servomotors that use an encoder to perceive their global position. While the encoders are of great benefit they require maintenance, since they work in a harsh environment with a lot of electrical noise, making it cumbersome to verify their work with tools such as an oscilloscope.

With this in mind, a new prototype for testing optical encoders was developed consisting of a microprocessor that will capture the signals and display this information on an LCD (Liquid Crystal Display). While displaying captured information, it also saves it into an SD (Secure Digital) card and shows it using LEDs (light-emitting diode) with the help of an I/O (Input/Output) extender for future use in testing also the movement of motors.

(back to top)

Built With

Arduino - Arduino IDE

(back to top)

Getting Started

To replicate first wire the components following the wiring diagram presented in the docs folder.

Prerequisites

Required components:

  • Esp32
  • LCD \verb|nx4827t043_011|
  • Comparator lm339
  • Expander Module I/O pcf8574
  • MH-SD Card Module
  • Any Encoder
  • LED

Installation

  1. Clone the repo
    git clone https://github.com/andrefdre/Encoder-Tester.git
  2. Upload the code to the ESP32

(back to top)

Usage

Before using the tool, plug an SD card into its appropriate place, followed by connecting the encoder in question to the tool. After plugging the tool into the computer, it displays all the information to verify the proper working order of the encoder. It is also possible to connect an H-bridge motor control to the equipment using the I/O expander to test a motor moving when the encoder moves. In the end, it is also possible to read all the encoder inputs by opening the text file inside the SD card, allowing the plot of graphs with previously recorded data.

For more examples, please refer to the Documentation

(back to top)

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

André Cardoso - linkedin - andref@ua.pt

Project Link: https://github.com/andrefdre/Encoder-Tester

(back to top)

About

Device to test the functionability of encoders of up to 6 channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages