Contactless Tachometer

by 4D Makers
Contactless Tachometer

About this Project

Jun 14, 2018

by 4D Makers

Platform : 4D Systems

License :

Category : 4D System

Difficulty Level : Easy

Downloads :

Tags

   
Add to Collections

This simple contactless tachometer project, uses gen4-uLCD-35DT and an infrared sensor module. This can be used to measure the revolution per minute of a motor. Note that the measurement is not as accurate as the commercial one’s but you can modify the code to make it as accurate as you want to.  

How it Works

On this project, as you press the test button on the display the infrared sensor module is now ready to detect a black and white colour. As soon as it received a pulse it will start to record the time until an idle time in which there is no pulse to make one revolution, the idle time is approximately 150 milliseconds.

Note: You can adjust the delay for your own Infrared sensor module. You can also see the flowchart below for understand more.

Components

HARDWARE COMPONENTS

  • gen4-uLCD-35DT
  • gegen4-PA
  • uSB Cable
  • uSC Card
  • FFC Cable
  • Infrared Line Follower Module
  • Jumping wires
  • 5V power supply

 

SOFTWARE APP

Implementation

Step 1: Build

Build the circuit as shown in the diagram.
Contactless Tachometer

Step2: Program

Open the project using Workshop4 IDE. This project uses the ViSi Environment.

Note: If you do not have the codes please download the related code from our official website www.4dmakers.net

Step3: Compile

Click on the “Compile” button.

Note: This step could be skipped. However, compiling is essential for debugging purposes.

Step 4: Comms Port

Connect the gen4-uLCD-35DT to the PC using µUSB cable. 

Go to “Comms” tab to check if the display is detected. Select the COM port where the display is connected. Blue button indicates that the device is detected. 

Step 5: Compile and Upload

Go back to “Home” tab. This time, click on the “Comp’nLoad” button.

Workshop 4 will prompt you to select a drive to copy the image files to a uSD Card. After selecting the correct drive, click OK.

Step 6: Mount uSD Card

The module will prompt you to insert the uSD card.




Unmount the uSD Card properly from the PC and insert it to the uSD Card slot of the display module.

 

Demonstration

Press “TEST” to start measuring rpm


Start reading a motor speed

Completed a reading

On this project, as you press the test button on the display the infrared sensor module is now ready to detect a black and white colour. As soon as it received a pulse it will start to record the time until an idle time in which there is no pulse to make one revolution, the idle time is approximately 150 milliseconds.

Note: You can adjust the delay for your own Infrared sensor module. You can also see the flowchart below for understand more.

HARDWARE COMPONENTS

  • gen4-uLCD-35DT
  • gegen4-PA
  • uSB Cable
  • uSC Card
  • FFC Cable
  • Infrared Line Follower Module
  • Jumping wires
  • 5V power supply

 

SOFTWARE APP

Step 1: Build

Build the circuit as shown in the diagram.
Contactless Tachometer

Step2: Program

Open the project using Workshop4 IDE. This project uses the ViSi Environment.

Note: If you do not have the codes please download the related code from our official website www.4dmakers.net

Step3: Compile

Click on the “Compile” button.

Note: This step could be skipped. However, compiling is essential for debugging purposes.

Step 4: Comms Port

Connect the gen4-uLCD-35DT to the PC using µUSB cable. 

Go to “Comms” tab to check if the display is detected. Select the COM port where the display is connected. Blue button indicates that the device is detected. 

Step 5: Compile and Upload

Go back to “Home” tab. This time, click on the “Comp’nLoad” button.

Workshop 4 will prompt you to select a drive to copy the image files to a uSD Card. After selecting the correct drive, click OK.

Step 6: Mount uSD Card

The module will prompt you to insert the uSD card.




Unmount the uSD Card properly from the PC and insert it to the uSD Card slot of the display module.

 

Press “TEST” to start measuring rpm


Start reading a motor speed

Completed a reading

Related Projects

Comments

Please log in or sign up to post a comment.

MAKE, SHARE and CONNECT