Author |
Message |
Topic: MCP3204 ADC output fluctuation |
paddy
Replies: 2
Views: 8356
|
Forum: General CCS C Discussion Posted: Tue Nov 24, 2015 6:58 am Subject: MCP3204 ADC output fluctuation |
Hi,
Greetings of the day!!
I am using MCP3204 ADC interfaced with PIC18F4520. The reference voltage of MCP3204 is from voltage divider network of resistor and set to 500mV. Potentiometer value i ... |
Topic: Interfacing MCP4921 with PIC18F4620 through optocoupler |
paddy
Replies: 9
Views: 15395
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2015 11:59 pm Subject: Interfacing MCP4921 with PIC18F4620 through optocoupler |
Hi all,
Thanks for your suggestions. I will check out the options which you have suggested.
Thanks,
Paddy |
Topic: Interfacing MCP4921 with PIC18F4620 through optocoupler |
paddy
Replies: 9
Views: 15395
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2015 2:47 am Subject: Interfacing MCP4921 with PIC18F4620 through optocoupler |
Hi Mike,
I do not have oscilloscope to check the waveforms. |
Topic: Interfacing MCP4921 with PIC18F4620 through optocoupler |
paddy
Replies: 9
Views: 15395
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2015 12:24 am Subject: Interfacing MCP4921 with PIC18F4620 through optocoupler |
Hi,
Greetings of the day!!!
I am using driver files of MCP4921 to interface with PIC18F4620.
Compiler version is 4.119.
Everything working fine when I directly interface MCP4921 with PIC18F ... |
Topic: Selection for MODBUS ADDRESS and MODBUS_SERIAL_BAUD |
paddy
Replies: 1
Views: 5418
|
Forum: General CCS C Discussion Posted: Thu Sep 18, 2014 2:37 am Subject: Selection for MODBUS ADDRESS and MODBUS_SERIAL_BAUD |
Hi,
I am using ex_modbus_slave.c file of CCS compiler version 4.119. The code working fine. But I need to provide the selection of Baud rates for communication. Instead of fixed baud rate I need fl ... |
Topic: Insufficient data received error in modbus |
paddy
Replies: 2
Views: 9258
|
Forum: General CCS C Discussion Posted: Fri Jul 25, 2014 3:49 am Subject: Insufficient data received error in modbus |
Hi,
I am sorry for using wrong term. I mean to say multidrop connection. The problem was occurring because of improper voltage (reverse voltage i.e. VCC is connected to GND and vice versa) to bias ... |
Topic: Insufficient data received error in modbus |
paddy
Replies: 2
Views: 9258
|
Forum: General CCS C Discussion Posted: Thu Jul 24, 2014 5:12 am Subject: Insufficient data received error in modbus |
Hi,
I have a monitor which is programmed as modbus slave (RTU).
When I am connecting single device and checking the RS485 communication using Modbus poll and RS232 to RS 485 converter, it works ... |
Topic: Malfunction in working code!! |
paddy
Replies: 4
Views: 6038
|
Forum: General CCS C Discussion Posted: Wed Jun 18, 2014 11:15 pm Subject: Malfunction in working code!! |
Hi,
Thanks for suggestions!!
I have re installed everything (CCS compiler as well as MPLAB IDE) and it starts working again!! Surprised Surprised
Thanks a lot for your help!! |
Topic: Malfunction in working code!! |
paddy
Replies: 4
Views: 6038
|
Forum: General CCS C Discussion Posted: Wed Jun 18, 2014 12:47 am Subject: Malfunction in working code!! |
Hi,
I am using MPLAB IDE version 8.60 and CCS compiler version 4.119 for programming of microcontroller PIC18F4520. I have working code which I am using since last 1 year. But suddenly I am facing a ... |
Topic: mcp 3204 driver |
paddy
Replies: 4
Views: 7156
|
Forum: General CCS C Discussion Posted: Sun Mar 17, 2013 11:35 pm Subject: mcp 3204 driver |
Yeah... You are right ckielstra!!!
I was confused in MSB and LSB part. Now I understood that function.
Thanks a lot. |
Topic: mcp 3204 driver |
paddy
Replies: 4
Views: 7156
|
Forum: General CCS C Discussion Posted: Sun Mar 17, 2013 9:46 am Subject: mcp 3204 driver |
Thanks temtronic for quick reply!!!
I did some similar kind of calculations but failed to get expected results.
Anyways I'll try it again as per your suggestions.
Thanks,
paddy |
Topic: mcp 3204 driver |
paddy
Replies: 4
Views: 7156
|
Forum: General CCS C Discussion Posted: Sun Mar 17, 2013 9:02 am Subject: mcp 3204 driver |
Hi,
I am using driver file of mcp3204 and having some trouble in understanding "read_analog_mcp " function used in it.
Control bits calculated in code is not matching with datasheet fo ... |
Topic: Inter-frame delays in modbus RTU |
paddy
Replies: 2
Views: 9146
|
Forum: General CCS C Discussion Posted: Sat Mar 09, 2013 12:02 am Subject: Inter-frame delays in modbus RTU |
Hi,
I am working with a device which has RS-485 communication (modbus protocol).
I have used modbus_slave.c example file for this.
Now I have to interface this device with PLC. But while do ... |
Topic: Writing multiple registers function in modbus |
paddy
Replies: 2
Views: 5786
|
Forum: General CCS C Discussion Posted: Sat Jan 12, 2013 4:34 am Subject: Writing multiple registers function in modbus |
Yes!!! It worked!!!!
Thanks for your kind support. |
Topic: Writing multiple registers function in modbus |
paddy
Replies: 2
Views: 5786
|
Forum: General CCS C Discussion Posted: Fri Jan 11, 2013 4:34 am Subject: Writing multiple registers function in modbus |
Hello All,
I am using modbus_slave.c example file in which i am using FUNC_WRITE_MULTIPLE_REGISTERS.
It works fine when i am writing data from starting address 0001. But when i change it with so ... |
|