Search Engine www.edaboard.com

Adc i2c

Add Question

Are you looking for?:
i2c adc , i2c adc , i2c adc , i2c adc
74 Threads found on edaboard.com: Adc i2c
Hi Andre, My post was referenced to post#4. Here is the first occurance of the wrong formula. Since the IC is a delta sigma modulator it needs a SINC filter to reconstruct the adc value. I can'find the filter. Klaus
I can't sure, you can get one IC with i2c communication, but you can consider LMP90100 which comes with SPI interface. Again it may take some spaces. For similar kind of application you can use some adc where you can get adc bit out which you have to convert it into temperature. Udhay
i connected a ds3231 rtc to pic 18f4620 if i use soft i2c ( ccs complier) the rtc is working good if i switch off and on the main power for 3 are 4 times one time the day or time changes how to solve this problem. the soft i2c settings are : #include <18F4620.h> #device adc=16 #FUSES NOWDT //No Watch Dog (...)
i want interface spi and i2c adc's with fpga spartan 3e board with this i have attached data sheets of adc's115854115855
I think a Waveshare AD Keypad will be better. It needs one adc pin to interface 4X4 keypad for RTC setting and LCD navigation. A MCP9808 will all do.
Hi! First,I think you should go to learn some basic programming techniques.This will help you to know the basic grammar of C language. Second,you should read the adc part datasheet deeply,know how it works,and parse the timing exactly. Final,you can write the code to adapt the timing, to generate the corresponding timing to operate hardware IC.
how many channels of data acquisition, how many bits converted by the adc, how fast, etc? what do you want to control, e.g. how many devices, how are they attached (i2c, SPI, CANBUS, etc) to aid in selecting a target device you can use product selectors, e.g. Microchip
Do you have any idea how can i modify this code that instead of showing the data from adc or DAC on the webpage, show data from i2c (from Master micro-controller AT90CAN128) on the webpage?
105026 I have to access the adc chip ADS1015 by sending data throughi2c bus. In the data sheet Yellow box highlights Read/write bit, Green is ACKnowledgement bit and the Red box is something which i do not understand, what it means. After that the second byte of data is sent to ADS1015. Do i have to worry about genera
Trying to communicate with lpc2148 inbuilt i2c protocol(i2c0) to external adc chip (pcf8591 philips adc-dac chip) to read adc voltage from it. But proteus simulation with lpc2138 is not responding to the code written.Being a newbie to i2c protocol specifically on LPC2148, can anyone guide (...)
i am using MCP3428 differential adc using single shot conversion and interface through i2c to my micro controller. it's working fine but after10 or 12 hour continuous working ic is not giving any vales same as like hang. When i remove power of the MCP3428 (same as like restart) and connect it's start working. Why its happening..how can i solve this
What adc device are you suing?
adc0804 is the probably the most common general purpose A/D chip. But using an external A/D is really unnecessary. just switch your microcontroller to a variant that a built-in A/D module
Hi, I'm a newbie in Fpga's and vhdl, we are using spartan-6 lx150t development kit, this board consists of one max7500(temperature sensor) adc with two wire i2c protocol. please anyone guide me to implement i2c interface between spartan 6 and the adc. any tutorial or links will be helpful. Thanks
hai everybody, i need to give 3 channels of 4 - 20mA input to adc ,which adc i can use for this type of inputs? can anyone help me on this
I have wrote many c codes for lpc2148 like adc,i2c,spi... but now i want to write codes in assembly language but i am not getting the start. cam anybody give few examples of assembly coding of lpc2148 The LPC21XX family of ARMs actually support two very different instruction sets and conversely two differen
i have not tried ethernet libraries but many other library like i2c,adc.. many other were working fine on proteus
Look at Cypress semiconductors PSoC controllers. It has some useful features. You can configure any pin to any port or any function just like a FPGA. example you can configure any pin to a analog pin, UART pin, i2c pin, USB, etc...., It has build in & configurable adc/DAC. You don't need external OPAMP because it has buid in digital gain controled
use mikro c help ,it has its own help and examples for adc, i2c etc
That's one way. Have a fixed resistor on the main board and use the peripheral resistor as a voltage divider and measure with an adc. Make sure to leave a big enough gap between values to allow for tolerance stack up. Another way, especially if you think you're going to have a fair number of different sensors, is to use a i2c port expander (such a
I'm trying to read adc MCP3421. But in display it shows different values. Where i'm doing wrong? Please help. #include "18F2520.h" #include "f2520_regs.h" #fuses INTRC #use delay(clock=4000000) #define RS PIN_A2 #define EN PIN_A1 void lcd_init(); void lcd_cmd(unsigned char); void lcd_data(unsigned char); /********** i2c fu
So I am trying to create an i2c controller with a Nexys2 FPGA to interface with an adc (digilent AD7991) I am trying to get accelerometer data from. This is my first attempt at this and I want to fully understand what is happening step by step so I created a VHDL design that does just that: Library IEEE; USE IEEE.STD_LOGIC_1164.ALL;
I'm reading the 16 bit adc value and displaying in LCD using MCP3421. When i use inbuilt i2c functions in CCS, everything works good. But I'm trying to use the registers and displaying the value. Below program shows how i configured. But in the display, it shows different value what i expect. Please help #include "18F2520.h" #include "f252
adc have i2c, spi or parallel outputs. I dont know of an adc that have an uart output. you could make one with a pic with inbuild adc, and uart output but if you cannot make an ad7714 to work in spi, I'm not sure you will be able to make that adc-uart pic based device. please describe why you cannot use tha (...)
For voltage sensing, you can use a voltage divider and sense the voltage using the PIC adc module. For date and time, you can use a RTC chip and interface it to PIC16F877A. You can use DS1307 and interface it to PIC16F877A using i2c protocol. You may save the data on the PIC EEPROM or you may use an external memory for larger storage space, eg an
hey everyone i have this problem i'm using MikroC pro for pic , and i have a 16f876a ?c i'm trying to connect 2 devices to the ?C one device uses i2c and the other uses adc (analog digital converter) when i use only i2c its works very good , and when i use only adc its works also very good , but if i'm using (...)
Hai, I am using APDS 9300 light sensor for lux calculation. This sensor have an i2c interface which gives the adc readings of the sensor. I am reading these values using a microcontroller. It has two channels: CH1 reads only IR, while CH0 reads IR and Visible light. When I used it inside the room, I found that CH1 reading(IR only) is less than CH0
I suggest you to learn more pheripheral, not changing different microcontroller. It's like adc, PWM, UART, SPI, i2c, USB and their application or device about this RS232, RS485, Modbus, CANBus. Also, interfacing mcu with VB and android. I also have learn more than 2 years but still more to learn the list here[
Can you be more specific, what type of sensor? Sensors can be used with SPI, i2c, digital pins or analog adc inputs. If you got a good programing experience with c it should be fairly easy to interface anything if you check the datasheet of your device and AVR
The FPGA wont have a DAC or adc in it, but the board probably has one connected to the FPGA. And yes, you would need to connect that 8 bit bus to the DAC (and maybe some other controller signals too, like i2c). If there isnt one on the board, then yes, you need and external one. And I dont know what code you found on google. It will either be a DA
hello, here i ve a code for tlv2543 using i2c protocol for pic c compiler. we are not getting any results on serial terminal.pls rectify the errors and let us know how do we correct it. #include <16F877A.h> #device adc=16 #BYTE PORTB = 0x06 #BYTE PORTD = 0x08 #BYTE PORTC = 0x07 #BYTE PORTE = 0x09 #BYTE PORTA = 0x05 #BIT RC0
Hi, I am using PIC 16F887 and CCS-C compiler(version 4.093) plugin in MPLAB IDE I have dumped the code in hardware and i2c is working. now , i do not know at what speed the i2c communication is taking place ? can u help? Master code: #include <16f887.h> #device adc=10 #use delay(clock=16000000) #fuses HS, NOWDT, NOPROT
Hello, I need the source code for external adc(TLV2543) connected to pic dem2 plus board, using i2c protocol on pic c compiler... please help !!!
SOC design is a term used for integration of smaller subsystems into a single system block on a single IC. A microcontroller is a "system on chip". It integrates the CPU core and various peripherials (USB , SPI , i2c , adc etc...) on the same IC. A SOC can be implemented on either FPGAs or ASICs (wich is termed VLSI).[/QUO
Hi, There are no hard and fast rules as to what ports you use, though generally PortA is handy for inputs /adc, PortB for outputs and / or Inputs with interrupts. PortC for data transmission like USART,SPI,i2c and PortD for General purpose i/o - typically a lcd. TRIS sets the Direction of a Port, 0 for Output 1 for Input. However for
Is this a high precision requirement ? if not you can consider using other SPI or i2c based digital thermal monitoring solutions and interface them directly to SPI or i2c ports of DSPIC. In this case, you will need to connect the LM324 (again.. why quad Op-amp, and why not a 741 device ? ) to one of the adc bits of DSPIC, configure that (...)
hi, i have to transmit a digital data after adc conversion (from a sensor) and send it another PIC16f877A where i need to display the result in an lcd... I am using mikroC compiler... i dont know how to write the code for the operation...if any one know the codes please help.....:grin:
for temperature sensor u will need an adc and u could try fsm ,if ur using parallel adc it would be easy than one with communication protocol like spi,i2c ...........
I want to use a couple of LM35 sensors, and hook them up to an adc to which I can then talk using the bus. Apart from that, I'll need a couple of sensors that would simply check whether windows are closed, etc.
As far as i know there is no avr part with built in adc above 10 bits. If you need more resolution better use external adc with i2c or any other input with 12 bit or 16bit.
Can you specify the 16-bit adc Chip you are using?
LTC2497 is an 16 bit adc... it needs to be connected to controller using i2c Protocol..
buy some cheap boards that will teach you simple interfaceing like lcd, keyboard, stepper motor, adc, implement i2c Protocol.. visit N S K E L E C T R O N I C S Sunrom Technologies, Your Source for Development for some cheap developments boards.. you can learn a lot with them..
the first thing is to draw up a specification listing the sensors you require, how you will interface them to the PIC (adc, SPI, i2c, digital IO, etc). Also outputs (drive motors, pump, etc) This will determine of the PIC you have slected has sufficent IO to do meet the specifications. How will you control the robot (wire, Wifi, MiWi, Zigbee) ? A
I have a project and I can't figure it out why it isn't working the i2c. I need to transfer some data from a PIC16F877A to another using i2c. Here is the code: Master.h #include <16F877A.h> #device adc=10 #FUSES NOWDT //No Watch Dog Timer #FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz
Hi, I'm planning to use DS1307(previously had worked on this) & MCP3421 18-Bit adc(will be using it for 1st time) in a project, & on SAME i2c lines. But as the address for both the devices is same "0xD0" won't there be any problem? if so, how can i handle this problem. Please Reply. Thanks in advance :-) Regards.
adc: adc101C021 DAC: Mcp4725
Another option is to build small, single-channel adc blocks that are fed through isolated dc/dc converters and ?talk? to them via normal optocouplers .. 3-wire or i2c .. IanP :wink:
To give a rough estimation, 1 % resistors are usually sufficient related to the expectable accuracy of the PIC adc, which may be around 8 Bit absolute precision. If you need more, you should e.g. consider an external 16 Bit adc. There are smart devices like TI ADS1100 with i2c interface.
Hi, i2c pins are RC4 and RC5, while adc pins are RC0, RC1, RC2, RC3, RC4 and RC5. So, since you are using i2c, you need RC4 and RC5 for i2c, then use either RC0, RC1, RC2 or RC3 for adc, what's the problem? Hope this helps. Tahmid.