Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPC-N3 Power Requirements #14

Open
yash-dahima opened this issue Sep 27, 2023 · 2 comments
Open

OPC-N3 Power Requirements #14

yash-dahima opened this issue Sep 27, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@yash-dahima
Copy link

Hi @Nighthater,

Thanks for this work. I do not have much experience in electronics, so I am facing some trouble in providing proper power to the OPC-N3. Please suggest me how should I power it when using it with along either ESP32 or Raspberry Pi?

Should I power it via RPi/ESP or should I power it separately via 5V mobile charging adapter? I tried to power it via ESP32 Vin and GND pins, but its not working. Your help would be greatly appreciated. Thanks :)

@Nighthater
Copy link
Owner

Hi @yash-dahima,

You can power the OPC with either the VIN/GND pins (RPi: 5V/GND) or a 5V Charging adapter. When using an external power supply, like an external charger, make sure that the GND of the Charger and the GND of the ESP/RPi are connected together.

The sensor also won't power on after supplying it with power. You have to send it commands to start up and start measuring data.

Do you currently use an ESP or a RPi to interface with the OPC?
You should also consider that the SPI logic levels on the OPC-N3 Sensor are 3.3V, despite its 5V power supply. I chose an ESP because of that. A RPi uses 5V logic and probably wont recognize a 3.3V high Signal.

@yash-dahima
Copy link
Author

Thanks you very much @Nighthater for your prompt response. I will attempt as per your suggestions and will let you know how it goes.
Again thanks and best wishes :)

@Nighthater Nighthater added the question Further information is requested label Sep 27, 2023
@Nighthater Nighthater self-assigned this Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants