Go Down

Topic: analogReference(INTERNAL) while using 9v adapter as power supply  (Read 12 times) previous topic - next topic

berlad180

Hi all,
I am working on an IOT project and I am measuring an piezoelectric vibration detection, and after a lot of work and some of the help here it works GREAT.
So THANK YOU arduino community .

I have one last problem (I hope), while debugging with the usb serial port, that also acts as the power supply, the code works great.

When I switch to the 9v power supply the relay pin just toggle on off and i pretty sure the analog pin reading have changed.
Some how related to the analog ref pin and my power supply I guess ..
What will be the best solution?

1.I need the 9v to power light via the relay and to power the arduino in parallel
2.I need the internal ref to get the very light vibration sensing ..
Thanks for the help!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy