What are correct Pins to use on Mega with IR Optocupler

I am changing from an Uno, to a Mega for my Coin Counter project. I am not quite sure what pins to use for fuor(4) of

these: LM393 Chip Motor Measuring Comparator Speed Sensor Module Slot Type IR Optocoupler for MCU Arduino

• Product Name : Speed Sensor Module;Working Voltage : DC 3.3-12V
• Main Chip : LM393;PCB Board Size : 33 x 14mm/ 1.3" x 0.55" (L*W)
• Slotted Width : 5mm/ 0.2";Hole Size : 3mm/ 0.12"

• VCC: Connect the positive 3.3v-5v power supply
• GND: Connect power negative
• DO: TTL switch signal output
• AO: This module does not work, The module do not have

I am not quite understanding the inout's I have seen on the pinout map for Mega.

What pins did you use on the Uno?

I was using a IR sensor that had Analog output. Switching to Digital output (Different sensors), and Switching to a Mega. The sensor board does not supply analog output.

That did not answer the question.

A0-A3. But those are analog and on the uno. I am switching to a mega for additional digital pins.

What is the problem? The Mega has plenty of analog and digital pins. Please post a schematic or connection information for the module you're using now.

I am to the point of trying to determine what digital pins I use. can I utilize any of the digital pins? I do not have the wiring figured out to this point.

Post the information I asked for.

This is what I Think I need.....

How many times do I have to ask? You still haven't posted usable information about the module. "part1, part2, part3" is even less than you posted in the first message...

apparently I do not get what you are asking.. If you are referring to the Sensor, that is in the beginning post.

I read your original post. I see a lot of text. I'm asking for real information like pinouts and specifications. How about a link to the actual sensor you're using?

Partially, I'm asking because of vague and confusing statements like,
"• AO: This module does not work, The module do not have"

this is all I got

Well, it's 99.99% likely that you can power it with GND/VCC and connect D0 to any digital pin on the Mega. Any more questions?

that is what I was looking for...

Why did you not simply test it?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.