Problem in simulaton ina219aid on proteus
Problem in simulaton ina219aid on proteus
I use INA219AID with arduino in simulation , but there have problem where my lcd 16x2 ( not use i2c ) doesn't show correctly output which is 6V and 40mA (max supply) with 150ohm but in hardware was done and successful. I think there no problem in code. Thank you
Re: Problem in simulaton ina219aid on proteus
I cannot replicate your problem with the INA219 model. As you can see in the screen shot below attached, with 6V bus voltage and RL=150 Ohms the supply current in the load is 40mA and this is measured by the INA219 and correctly shown on the virtual terminal. If you are unable to read these values with a simple 16x2 lcd then I tend to presume the problem is in your software. Post here your Proteus project file including your arduino software.
- Attachments
-
- Arduino_and_INA219_simulation_shot.jpg (367.02 KiB) Viewed 466 times
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.
Re: Problem in simulaton ina219aid on proteus
Here i attach file all my code and circuit
Moderator note:
Project and code files deleted.
Moderator note:
Project and code files deleted.
- Attachments
-
- This is a picture output my lcd
- Capture.PNG (38.14 KiB) Viewed 444 times
Re: Problem in simulaton ina219aid on proteus
Sadly you've been using a cracked copy of Proteus, so you are not entitled to get support.
You're right about one thing, though: the main problem is not your code which is indeed based on Adafruit libraries.
The problem is your circuit! There is an obvious mistake and another less obvious one.
I suggest you to purchase a legal copy of Proteus and I will be more than happy to help you. You can see at this link: https://www.labcenter.com/pricing/comm/
With "Proteus VSM for Arduino AVR" license you will get all that you need of.
I must lock the topic. Sorry.
You're right about one thing, though: the main problem is not your code which is indeed based on Adafruit libraries.
The problem is your circuit! There is an obvious mistake and another less obvious one.
I suggest you to purchase a legal copy of Proteus and I will be more than happy to help you. You can see at this link: https://www.labcenter.com/pricing/comm/
With "Proteus VSM for Arduino AVR" license you will get all that you need of.
I must lock the topic. Sorry.
- Attachments
-
- Display_working.jpg (348.2 KiB) Viewed 436 times
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.