[elektro] PIC16F1824 adc, dac hibák

Cser Tamas maguspr53 at gmail.com
Mon Jul 22 06:37:39 CEST 2013


csak így a partvonalról kérdezem, hogy már egy
"bit banged mester" megjavította  a rutinok hibáját?

----------------------
http://www.microchipc.com/sourcecode/#heater
 By Mike Pearce. From readme.txt: "A complete set of bit banged,
software driven I2C routines I created for any PIC device - and they
work!! These functions are single master only functions, and are ideal
for communicating with things like EEPROMs, LCD Drivers, ADC
Converters etc.". Intel enquired about using this code in one of their
products.

Download (51KB).
------------------------
http://www.microchipc.com/sourcecode/PIC_Hi-Tech_C_Mike_Pearces_I2C_routines.zip

pilt down <piltdownman at freemail.hu> írta, 2013.07.21.:
> A +5V  -  0V referenciákra kötött  ADC 0V bemenet  esetén  az  adresh,3
> (balra igazított tíz bites ADC 6.bitje) "1",pedig ez kb.  156mV-nak felel
> meg.
>
> A DAC b'00000000' bemenetre 0V helyett kb. 500mV ad.
>
> Tippek ?
>
> Kösz.előre is.
> PDM
>
>
> -----------------------------------------
>           elektro[-flame|-etc]



More information about the Elektro mailing list