So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By theslashy
#73783 Hi Guys,
I'm completely new to all this, have good bit experience in programming and unix/linux etc and I want to start a project for myself:

I have a ESP288 Node MCU V3 and a TCRT5000 like this:
Image

Image

What I want to achieve is read my Power Meter, an old Ferraris Meter with a spinning disk,
The first thing was to see if the TCRT5000 will "see" my spinning disk and it does: when the red mark comes across the contact is off and when the mark is gone the contact is on. I can see that on a LED on the TCRT5000.
I 3D Printed a mount for the TCRT and so this is good.

The BIG Problem I have now:
I want to count the spins of the disk for let's say 15 minutes and then send the count to server with a http request.

I have literally no idea how to start, I tinkered with arduino a bit for my 3d printer but thats about it.

Can someone point me in the right direction?
I set up my arduino enviroment and test flashed a sketch to the esp so this is working already.