This is open source tachometer project that is focused on making small ,compact and precise tachometer. In this github repository you will find everything needed to build this , from code to the STL files and building instructions. There are 2 design versions that use same code but cases are slightly different , but that will be discussed elsewhere in this repository.YouTube link of device in action.
There are 2 versions of this tachometer . Only difference is in size and boost converters used.Version that worked for me was v2.0 STL v1.0 STL didnt work correctly for me because i think i had defective boost convereter . So V2 uses larger boost convereter and V1 uses smaller boost convereter(THAT MIGHT NOT WORK FOR YOU TOO).There is also version with buttons and without buttons.I used version without buttons( they also have no use in code).
To use this tachometer you will need to have some kind of reflective tape( I used aluminium foil) that will cover about 1-1.5 cm of the shaft that will be rotating.Rest of the shaft can be any other colour , but i recommend to make rest of the rotating object black because you will have much less trouble calibrating .After you placed tape on shaft you can check at what distance does sensor trigger .Slowly move side of rotating object with reflective tape closer to the sensor , once bottom led triggers rotate object so that non-reflective side is on sensor , it sould not trigger the sensor .If it does go to Troubleshooting. If it does not trigger you can try to mesure speed of your object.I managed to mesure speeds up to 6000 RPM , but it might be able to mesure higher I just didnt have motors that spin faster.
Name | Link | Comment |
---|---|---|
Arduino pro mini | link | |
IR sensor | Link | |
Li ion battery charger | Link | |
18650 Li-Ion battery | Got mine from laptop battery | |
Slide switch | Link | |
15mm M3 screws | 2 pieces | |
5mm M2 screws | 4 pieces | |
M3 nuts | 2 pieces | |
Boost converter V1 | Link | This one is used in V1 and might not work |
Boost converter V2 | Link | This is used in V2 and is proven to work |
Female header pins | Link | |
SMD push button | Link | OPTIONAL |
Perf board | Link | OPTIONAL |
You will also need FTDI USB to TTL Serial Adapter Module to program your arduino pro mini.
Building instructions can be found on instructables page of this project.
Speed test is code I used to comfirm that my tachometer was mesuring right speed.More about how it works and how to implement the code can be found in the file.RPM tacho display is code used on tachometer to mesure speed.
Firstly test if your sensor works correctly.One of its leds should trigger at specific distance that you can tweek by blue pot on board. If it does not trigger at all or stays triggered all the time you maybe have defective sensor. If your sensor on tachometer triggers on both reflective tape and rest of the object try to make rest of the object black. You can print black circle on your printer or 3D print costum part like i did.
Other problems i noticed:
- When mesuring speed i noticed that changes in light can faulty trigger sensor and cause "spike" of wrong speed.
- If sensor is too far from mesured object it will start to shoot random speed values.
- Quick change in speed can cause "spike" in displayed speed
- If sensor is too far from mesured object it will start to shoot random speed values.