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

Analog temperature sensor and analog potentiometer working incorrectly when not properly powered #288

Closed
juiba2 opened this issue Jan 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@juiba2
Copy link

juiba2 commented Jan 25, 2022

I'm trying to test run reading multiple analog sensor values by using only one pin by following this example: https://create.arduino.cc/projecthub/e_s_c/how-to-read-multiple-analog-values-using-one-analog-pin-f5f6db

However, when selecting either analog temperature sensor or analog potentiometer, I'm not able to run this correctly. It turned out that actually both of the sensors are working even without VCC and GND pins are not connected, e.g. you are able to read correct values from the sensor just by connecting OUT/SIG pin to the A0. Of course, in real life it doesn't work that way.

My understanding is that at least analog temperature sensor and analog potentiometer are working incorrectly by supplying data without properly powered.

@juiba2 juiba2 added the bug Something isn't working label Jan 25, 2022
@urish
Copy link
Contributor

urish commented Jan 25, 2022

Thanks for the report!

Wokwi isn't a full analog circuit simulator - it only has basic support for several analog sensors. There are several open request / suggestions to enhance the analog simulation (#203, #247, #97).

If you do need full analog circuit simulation (e.g. for the project you mentioned), then Circuit.js + AVR8js may be a good fit.

Closing this issue as this is the expected behavior in the current implementation of the simulator. If at some point we implement better analog circuit simulation, this will likely to be resolved as part of that future implementation.

@urish urish closed this as completed Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants