## REV Counter

The last project for first year students in my uni was to design and develop a REV counter which could cope with frequencies ranging from 15Hz to 150hz (900 RPM - 9000 RPM) using 8051 micro-controller. This is the project where we had to implement 7 segment display to show the data, and because of my previous experience we not only implemented the 7 segment display but LCD character display as well.

This was an interesting project, it really helped me and my friend understand how to preciselly calculate the time with micro-controller. Technician were kind enough to provide us with LCD display, because we finished in less than a week the asked task . We even could almost measure as low as 0.15 Hz and as high as 10kHz. Anyway, after some studying we wrote our own header file for controlling the LCD character display with custom characters for 8051, You can download it down below. It's not perfect, but it was more than enough for our project, if you find it useful you can use it as you wish, however if you are an egnineering student, I would encourage you to develop this header file on your own, it's not that difficult.

But to those who just want to use my header, you can set the pins and ports for EN, RW, RS in the header file. To use the library, of course, just include it in your main application, and run the following commands:

LCD Initialziation and write out data:

initdisp();
lcdClear();
lcdWrite("This is");
goLine2();
lcdWrite("SPARTA!!");

Here is the BIG picture:

### Related Articles

• #### Implementing pulse oximeter using MAX30100

Mar 8, 2017 | by Raivis Strogonovs
• #### nRF51 Makefile with Qt Creator

Jun 4, 2016 | by Raivis Strogonovs
• #### USART, FreeRTOS and C++ on nRF51

Dec 14, 2015 | by Raivis Strogonovs
• #### Starting with nRF51 BLE and Qt Creator

Dec 12, 2015 | by Raivis Strogonovs
• #### Touch gesture recognition using body capacitance

Nov 29, 2014 | by Raivis Strogonovs
• #### Introduction to data encryption

Oct 4, 2014 | by Raivis Strogonovs
• #### MEMS (Part 2) – Guide to using gyroscope L3G4200D

Jun 17, 2014 | by Raivis Strogonovs
• #### Pranav Batra in Implementing pulse oximeter using MAX30100

I am new here I want to know where to add these files in the arduino folder.                                     ...

#### Pranav Batra in Implementing pulse oximeter using MAX30100

I am new here I want to know where to add these files in the arduino folder.                                     ...

#### Pranav in Implementing pulse oximeter using MAX30100

I am new here I want to know where to add these files in the arduino folder.                                     ...

#### Pranav in Implementing pulse oximeter using MAX30100

I am new here I want to know where to add these files in the arduino folder.

#### Pranav in Implementing pulse oximeter using MAX30100

I am new here I want to know where to add these files in the arduino folder

#### Pranav in Implementing pulse oximeter using MAX30100

I am new here I want to know where to add these files in the arduino folder

#### Kim in Implementing pulse oximeter using MAX30100

can i ask sth. I am very new about the electronic. what is the unit of Y axis in every graph?