Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Ok. I didn't check it on oscilloscope for noise or fluctuations (as I don't have it in my home setup) but when checked on DVM, it constantly shows 2.88V.
@KlausST Please find attached asm code in .txt file.
Yes column 1 & 2 are real values measured on actual hardware using DVM. Also, I checked the refrence voltage for entire range of input voltage i.e. 0-1Volts, its rock steady. Sorry, i cant publish circuit schematic here as it is developed by...
adding table by adding column for voltage at pic analog channel after amplification below:
Volts
(in mV)
V at AN4 (in Volts-
post amplification)
Expected
ADC count
Actual
ADC count
0
0
0
0
50
0.13
51
46
100
0.26
102
97
150
0.39
154
148
200
0.52
205
199
250
0.65
256
248
300
0.78...
I hope you are able to view and download my mplabx project folder through link I shared. @FvM @KlausST
Please find the adc reading (expected vs actual) for 0-1V with step of 50mV
Volts
(in mV)
Expected
ADC count
Actual
ADC count
0
0
0
50
51
46
100
102
97
150
154
148
200
205
199...
Thanks for the reply.
@FvM Yes, the code is not complete since I was keen to post the most obvious problem areas (ofcourse in my openion ;)). However, I am attaching the complete MPLABX project (in zip file), if that helps. I did not type casted ADRESH, since its a 1 byte register.
@KlausST...
Hello all, I am using PIC16F886 to read the input voltage 0-1 Volt (amplified to 0-2.88V) at channel AN4. I have set +Vref=2.88 (external) and -Vref=Vss. I am displaying the measured voltage on 3 digit 7 segment display. The problem I am facing is- I get the displayed voltage lesser than the...
Hello andre, as already mentioned
1. I want to use one of the USB port of RPi3b+.
2. I don't want to use Tx/Rx of pi (because I know how it can be done with these pins. ;-)).
So what could be the solution in this case? I am sure that it is possible. I have thought of the solution mentioned...
Thanks andre for your reply. I will try to be more clear.
As mentioned Data logger has RS232 interface.
I need to know about this interfacing approach. Am i interfacing both in a correct way?
Dear friends hope you all are doing fine!
I have one temperature logger with RS232 out on its back panel. which throws out the instantaneous temperature reading every second.
I need to connect the RS232 output of temperature logger to one of the USB ports of raspberry pi 3b+. I dont wish to use...
hello guys, thinking that XC8 might be better option i have installed XC8 and trying to compile the code but i get loads of warning like following:
I am not getting this, what will be the solution to this errors? Thank you.
Hello friends thanks for your replies. I tried every solution given but couldn't get it working. However, to keep every variables in float I written the code like;
float tempvar;
tempvar = AdcValue /10;
DecTemp = (tempvar*0.001);
The reason for extra tempvar is to keep everything in float. And...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.