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.
Hi, sorry for the delay, i'm very busy!!
Soon as possible i Will use your source code: many, many thanks!!!
In the last days, i have Made the best i can in the hardware scenario: ground plane under the breadboard, .1u cap on AN0, Vcc best possibile parallel filters caps.
In this way the Vin...
Sorry, no, cause I have spent the entire day to try to resolve in application of Klaus suggestions!
I will try tomorrow...now in Italy is 9 p.m.
Ok!
You got it(sorry per imprecision!)....the "ramp" is measured with a DMM not Oscilloscope!!
Dan1138,
my configuration word:
Cause I used the in build Adc_Read library, the ADC0N0's others flag are set inside the function!
Thanks
A.
1648624972
vishweshgm
Check if LVP (Low voltage programming) is enabled and program pin are left floating (PGM Pin). This can cause unstable behaviour on...
Klaus, gain thanks for suggestions.
I forget to tell that, to improve performance and noise immunity, i have buffered Analog input with op amp in Voltage follower configuration, followed by passive rc lpf ( Fcut about 1hz).
In addition, i have by-passed locally with a .1u ceramic cap, every...
Hi Klaus,
Thanks for contribute!
Offset, gain, linearity errors and noise can justify the "Pwm modality" on portb?
Until now, i know that, in digital way, the output can be only
logic 0 and 1 ( not like PWM, with variabile duty cycle!)
A SAR can working in they way?
Alex
First, thanks for the answer!
1) beetween 6 to 8mV, RB0 must be zero (and RB1 must be 1!).
2) Now i'm not in lab...tomorrow i'll check the part number.
3) Yes, in RB0 (every pins of portb that became 1has this "ramp"!).
4) In that range RBO increase slowly from avut 0 to some hundred of mV.
Alex
Hi, I'm Alex from Italy.
Sorry for the bad English.
I'm trying to verify what is the input voltage level on AN0 that sets the LSB to 1 (in theory 5/1024 = 4.88mV!).
On breadboard I stabilized Vdd = 5V with lm317.
I send the converted value to 10bits on portb (8 least significant bits!), And on...
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.