arduino voltage sensor library

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Locked
pic_876a
Professional User
Posts: 6
Joined: Wed 2016-03-23 20:41

arduino voltage sensor library

Post by pic_876a »

Guys, I ask you whether or not there is a voltage sensor library for Arduino, attached images :?: :?:
It is to simulate in Proteus and not have to physically perform the simulation on the protoboard.
I have programmed the micro AT89C51 and I will use the ADC0804
Attachments
SENSOR VOLTAJE ARDUINO.jpg
SENSOR VOLTAJE ARDUINO.jpg (57.24 KiB) Viewed 386 times
SENS-VOLT_1.jpg
SENS-VOLT_1.jpg (64.2 KiB) Viewed 386 times
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: arduino voltage sensor library

Post by Ettore »

I suspect you need to rephrase the question as it is not clear enough.
pic_876a wrote: Thu 2022-08-25 17:19 Guys, I ask you whether or not there is a voltage sensor library for Arduino, attached images :?: :?:
It is to simulate in Proteus and not have to physically perform the simulation on the protoboard.
What exactly are you searching for ?
The simulation model for the voltage sensor module ? If so, it is a simple 1/5 voltage divider based to a couple of resistors. Like this:
voltage_sensor.jpg
voltage_sensor.jpg (68.17 KiB) Viewed 381 times

Do you need to know how to use it with Arduino ? Youtube has plenty of examples as this one:
https://www.youtube.com/watch?v=dNRzPUB ... vensGarage
pic_876a wrote: Thu 2022-08-25 17:19 I have programmed the micro AT89C51 and I will use the ADC0804
Why now do you mention AT89C51 and ADC0804 ? Didn't you need to simulate Arduino ?
Kind regards,
Ettore Arena - Labcenter Electronics.
pic_876a
Professional User
Posts: 6
Joined: Wed 2016-03-23 20:41

Re: arduino voltage sensor library

Post by pic_876a »

thanks for answering.

As Arduino has many libraries that can be simulated in Proteus, I thought that the Arduino voltage sensor library existed, and I know that there are videos on YouTube that talk about the Arduino voltage sensor.
I mention at89c51 and adc0804, because I have made a code in c using the Uvision 4 compiler, I am making a digital voltmeter, but when simulating the code in proteus, in the 16x2 lcd it is NOT registering the Adc reading.
attached simulation in proteus and hex code.
can you help me thanks
Attachments
Voltimetro At89c51.rar
(21.5 KiB) Downloaded 84 times
David
Site Admin
Posts: 2267
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: arduino voltage sensor library

Post by David »

Hi,

Unfortunately no further support can be provided due to the fact you are using a cracked version of Proteus. Please purchase a licence from https://www.labcenter.com/pricing/comm/ and we will happily provide full support free of charge with any questions you may have.

Regards,
Dave.
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: arduino voltage sensor library

Post by Ettore »

ADC0804 (ADC080X family) has been fixed in the Proteus 8.15 Beta 2 (Build 33861) to support the "free running" mode for Continuous Conversions.
Kind regards,
Ettore Arena - Labcenter Electronics.
Locked