Re:

Started by peterhawken in Piclist14 years ago

Several things need to be considered here: The ADC runs on a clock up to 2Mhz at standard CMOS ot TTL levels. This clock...

Several things need to be considered here: The ADC runs on a clock up to 2Mhz at standard CMOS ot TTL levels. This clock determines the sample time for the converter and the data transmission rate. If you are using a 4Mhz clock for the pic, each intruction will take 1uS. De


adc574a interface & source code required

Started by Adnan in Piclist9 years ago 1 reply

Hello, Please share any information available to interface AD574 or ADC574a with pic or other microcontroller, it is 12-bit adc with parallel...

Hello, Please share any information available to interface AD574 or ADC574a with pic or other microcontroller, it is 12-bit adc with parallel data output. I need schematic and source code in any language. Regards Dani:D ------------------------------------


ADC

Started by nanoboticslover in Piclist15 years ago 7 replies

Hi! I wonder what if I connect the load impedence of more than 10k ohm to analog input of PIC 16F877. The recommended impedence...

Hi! I wonder what if I connect the load impedence of more than 10k ohm to analog input of PIC 16F877. The recommended impedence is 10 k ohm for PIC 16F877. I'd like to know what are the effect. Regards. bryan


MAX 110/111.Please help

Started by praveen in Piclist15 years ago

I am using Maxim ADC's max110/max111 for converting analog signals. I have used the following control words for the first three...

I am using Maxim ADC's max110/max111 for converting analog signals. I have used the following control words for the first three steps of caliberation. offset correction-8D0C gain caliberation-8D08 offset null 8D04 I have used the following specifications


AD with 12F675 fluctuations

Started by d1camero in Piclist14 years ago 21 replies

I am trying to measure 10-15volts to 0.01 volt accuracy. I am using the built-in 10bit ADC on the 12F675 with 1% tolerance ...

I am trying to measure 10-15volts to 0.01 volt accuracy. I am using the built-in 10bit ADC on the 12F675 with 1% tolerance resistor voltage divider. I find that the values fluctuate way more than expected, +/- 0.03 volts. The voltage is coming from a regulated power supply


Binary Range Detection

Started by bg3009 in Piclist14 years ago 7 replies

guys , Does anyone know how to do a binary range detection code? This is the picture. I have a range of voltages (0.0V to...

guys , Does anyone know how to do a binary range detection code? This is the picture. I have a range of voltages (0.0V to 2.5V) being converted by the 10 bit ADC. I need to light up an LED when the voltage level falls between two levels ( say between 1.8V to 2.4V). H


POT command question...

Started by clayforge in Piclist13 years ago 3 replies

When using the POT command in PicBasic Pro to read a potentiometer, does the pin that the potentiometer is attached to have to have ADC, or ...

When using the POT command in PicBasic Pro to read a potentiometer, does the pin that the potentiometer is attached to have to have ADC, or can any I/O pin be used? Thanks! Scott


Testing #ifdef & #endif

Started by Basic Poke in Piclist10 years ago

Does anyone know of any programs I can use to test the #ifdef's and #endif's in my C code. I think I may have some of these mismatched...

Does anyone know of any programs I can use to test the #ifdef's and #endif's in my C code. I think I may have some of these mismatched somewhere. I'm getting the following linker error and everything looks ok to me: MPLINK 4.21, Linker Copyright (c) 2008 Microchip Technology Inc. Error - could not find definition of symbol 'c_to_f' in file './adc.o'. Errors : 1 Thanks BasicPok...


Help with -870 USART

Started by Eirik Karlsen in Piclist14 years ago 2 replies

Hi, anyone have any ideas why I can't get the 16F870 USART to work? The baudrate is not critical as the USART is only going to be...

Hi, anyone have any ideas why I can't get the 16F870 USART to work? The baudrate is not critical as the USART is only going to be used during debugging to read out variables and verify the workings of the ADC. Fosc=100Khz, baudrate 1200, or actually 1234 @ 100Khz....but this is well


RTD Interface chip needed

Started by jvoytovich in Piclist9 years ago 4 replies

Hi, I've got an application where an existing RTD interface circuitry needs upgrading, and I'm looking for a custom chip that will handle the...

Hi, I've got an application where an existing RTD interface circuitry needs upgrading, and I'm looking for a custom chip that will handle the current sourcing and amplification necessary. The current circuit is composed of op amps, resistors and caps, and I would think there would be a single chip solution for this, possibly one that might also have a built-in ADC of 12 bits or more, and have a...


Circuit to read voltage for ADC - PIC

Started by devonsc in Piclist14 years ago 5 replies

First of all, thanks a lot for everyone's kindness in guiding me on my doubts before this. Would like to ask regarding the...

First of all, thanks a lot for everyone's kindness in guiding me on my doubts before this. Would like to ask regarding the following matter: Firstly, the voltage output of my solar panel varies from 4V to 10V (Will not exceed 10V). I intend to shut the PIC down if the output


Short PIC Program - Help needed badly

Started by Devon Lee in Piclist13 years ago 18 replies

Hi there, I'm a newbie in PIC programming using assembly language. Recently, I've written a short program using PIC16F876...

Hi there, I'm a newbie in PIC programming using assembly language. Recently, I've written a short program using PIC16F876 which involves PWM and ADC. I've tested the program in the lab but it does not function in a proper manner. I've tried reading and edit


Re: code

Started by Pavan Kumar Vepuri in Piclist14 years ago

Sir  The expression is   T = d o +d 1 E+d 2 E 2 +d 3 E 3 . where T is the Temperature in Degree Centigrade,...

Sir  The expression is   T = d o +d 1 E+d 2 E 2 +d 3 E 3 . where T is the Temperature in Degree Centigrade, E is in milli volts in Digital format coming from external serial ADC. First


Handling -ve voltages as adc input..

Started by AMIT KAPOOR in Piclist14 years ago 4 replies

Hello everyone, I have one question: Actually my sensor output is from -5v to +5v and we know that PIC can take only 0 to+5v...

Hello everyone, I have one question: Actually my sensor output is from -5v to +5v and we know that PIC can take only 0 to+5v as analog input....so what should i do....i knw one method: to use one +5v source from power suppy ...connect to 10k resistor and sensor ouptut i


fft / ifft using dspic

Started by siva...@gmail.com in Piclist10 years ago 4 replies

Dear, I have decided to use dspic 30f4012 with 48k rom and 2k ram for implementing fft/ifft. My aim is to sample the incoming voice from a mic...

Dear, I have decided to use dspic 30f4012 with 48k rom and 2k ram for implementing fft/ifft. My aim is to sample the incoming voice from a mic to the adc module for 5sec and then perform fft. I also wanted to inverse the process to play back the voice, just to check the process. So please help me regarding the SAMPLING RATE, HOW TO USE THE LIBRARY FUNCTION IN DSPIC FOR MY DEVICE, WHAT SHOULD B...


Re: Problem involving configuring pins for analog/digital operation

Started by Eirik Karlsen in Piclist10 years ago

Jason, Sure you're not, the very first time I used the ADC I found that none of the A/D combinations in ADCON was a perfect fit... No problem,...

Jason, Sure you're not, the very first time I used the ADC I found that none of the A/D combinations in ADCON was a perfect fit... No problem, just moved the digital data to available pins on another port. Adds a tiny bit of software overhead, but we're talking bytes so no problem. Personally I find switching port or pin mode under program control a slightly 'dirty' practice and have managed ...


How to perform >8 bits operation using the PIC16F87?

Started by nibnewux in Piclist14 years ago 1 reply

For example the ADC module in the chip gives a 10-bit answer (say 00 1111 1111). Suppose I want to perform a mathemtical operation...

For example the ADC module in the chip gives a 10-bit answer (say 00 1111 1111). Suppose I want to perform a mathemtical operation on the answer, say multiply by 80. the result in decimal is 20400 which is 100 1111 1011 0000 when converted to binary. Is the chip capable of such p


Re: Code

Started by Pavan Kumar Vepuri in Piclist14 years ago 6 replies

Hai    I am doing project on Thermocouple based Digital Thermometer. I am using external Serial ADC1876, PIC16F870...

Hai    I am doing project on Thermocouple based Digital Thermometer. I am using external Serial ADC1876, PIC16F870 Microcontroller and LCD Display for showing the temperature.    In software i will read the serial data coming from ADC co


A2D Command on KicChip 8

Started by kabo...@NorthState.net in Piclist9 years ago 3 replies

I downloaded the Kic Studio software as well as the KicChip 8 .hex file from the KicChip WEB page. I then used my PICKit 2 to flash the .hex...

I downloaded the Kic Studio software as well as the KicChip 8 .hex file from the KicChip WEB page. I then used my PICKit 2 to flash the .hex file into a PIC12F683. They seem to set the security bit as I couldn't read the chip after programming. I then made up a PCB with a LF351 op-amp driving an analog signal to Pin 3 (ADC 4) and Pin 5 driving a LED through a 2N7000 FET. It's going to end ...


Code not running on PIC16F88 when pic kit 3 is disconnected

Started by Andrew in Piclist8 years ago 14 replies

Hi, I have a project where I have a PI16F88 to communicate with a PC via RS232, and control a relay, and read an ADC. When I have the PIC kit 3...

Hi, I have a project where I have a PI16F88 to communicate with a PC via RS232, and control a relay, and read an ADC. When I have the PIC kit 3 interface connected to my board and MPLAB is communicating with the PIC my code works fine. As soon as I disconnect the PIC kit 3 from my board, and reset the power the code stops running. I have a 1k resistor pulling MCLR to 5V, and a 0.1uF capacito...