Search found 61 matches

by saravana_3
Mon Sep 15, 2008 12:12 pm
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

Hi Sean, I found the problem,but it is strange, i am using the pic16f877a, PLCC type, since our kit dont have the facility of the PLCC socket, i use the DIP to PLCC socket adaptor,and use the PLCC type chip instead of DIP type chip, today i remove the adaptor and directly plug inthe DIP type PIC 16F...
by saravana_3
Tue Sep 09, 2008 9:40 am
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

Hi sean, I have checked in the program the input and output is defined propperly, i give the 5v input to the port expander from the switch through the 470ohm resister, but it is not working, if i give directly 5v then it is working some times but the chip heated up. another think i notice when the p...
by saravana_3
Fri Sep 05, 2008 2:25 am
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

thanks Sean,
let me follow your instruction, and let you know the outcome
thanks
Saran
by saravana_3
Thu Sep 04, 2008 9:54 am
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

Hi Sean, after the strugling i can see the port expander is starts to work, i use the expander's portA as the input and connect the switches (5 v direct through switch) and Expander,s PortB as the output (LED through 470 ohm resister). if i give some input and then i can get some output at the LED b...
by saravana_3
Thu Sep 04, 2008 7:43 am
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

Hi sean, thank you verymuch for your information, i follow the connection as you said, but some of the terms you said about the data transfering are not very sure, (writing operation and reading operation) i got the examples from the website and try to run. but still the same i cannot get any input ...
by saravana_3
Wed Sep 03, 2008 1:41 am
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

thank you sean,
i am waiting for your kind reply
thanks
Saran
by saravana_3
Tue Sep 02, 2008 12:30 pm
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

hi Sean, i have assembled the MCP23S17 in pcb and connect it with the pic 16F877A, I wrote the C codes for the communication as per the examples found in the websites, but I cannot get any out puts in the PortA, PortB of the expander (when used as the output) there is no output at the MCU's PORTA or...
by saravana_3
Wed Aug 27, 2008 2:00 am
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

Hi Sean, i manage to get some examples from the web, those examples shows, how to set the expander's (MCP 23S17) ports as Input, output and how to scan the expander ports and transfer to the MCU. but I am using the latch operation that is if I press the swithch the MCU's RA0 then the output is latch...
by saravana_3
Thu Aug 21, 2008 10:47 am
Forum: C and ASM Programming
Topic: how to use RS485 communication and SPI expander
Replies: 3
Views: 5908

how to use RS485 communication and SPI expander

hi friends, I am using the pic16f877a for the RS 485 master slave communication as per the data sheet the SPI or the I2C are the serial communication with the peripherals as a master slave logic, but currently i am using the master slave communication between two pic 16f877a chips, since I need addi...
by saravana_3
Mon Aug 18, 2008 1:19 pm
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

thanks Sean,
let me find in the microchip website, if you are able to give any examples that's fine,
let me keep on try to achieve it.
thanks
Saran
by saravana_3
Mon Aug 18, 2008 9:11 am
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

Re: how to get higher input/output ports

thanks Sean, I think the MCP 23S17 is the right choice, if i use the chip I need to create the external hardware. i went through the data sheet, my under standing is the output of the MCU port (8 bit) will be connected to the MCP 23s17 and it will give the 16 output and it can be connected to the ex...
by saravana_3
Fri Aug 15, 2008 9:09 am
Forum: C and ASM Programming
Topic: how to get higher input/output ports
Replies: 17
Views: 14652

how to get higher input/output ports

hi friends, now i am using the 16F877A and using the HP 488 developmet board for my current project this chip has 33 I/O ports, for my next project I need 40 I/O ports, but if I go for high end chips i need to buy another development board that is capable of 64 pins, is there any way to use the same...
by saravana_3
Mon Aug 11, 2008 12:03 pm
Forum: C and ASM Programming
Topic: why my output is changinh the state
Replies: 0
Views: 7320

why my output is changinh the state

Hi friends, I am using the easy pic5 and using the pic16f877a I am doing the master/ slave communication. if I press the PORTB,7 PORTD,0 to PORTD,7 will lights up and latched, if again i press the RB7 all the PORTD out put will off. it is the example of one bit. the problem is if i keep on pressing ...
by saravana_3
Wed Aug 06, 2008 12:24 pm
Forum: C and ASM Programming
Topic: Rs 485 communication status
Replies: 4
Views: 6565

Re: Rs 485 communication status

hI Benj, as you mention up i send a sequence of bits from master to slave for the regular update, when there is the communication breakdown in between the master and slave, the slave hollding the latest value from the master when the communication was good because after the breakdown the master cann...
by saravana_3
Tue Aug 05, 2008 12:50 pm
Forum: C and ASM Programming
Topic: communication protocol
Replies: 1
Views: 3808

communication protocol

Hi friends,
what is the meaning of the communication protocol, what is the purpose of it, what I found we can give any value for the any variable to declare as the communication protocol, but the condition is the hex value must be same for master and slave declaration.
thanks
Saran
by saravana_3
Tue Aug 05, 2008 12:46 pm
Forum: C and ASM Programming
Topic: Assembly Instruction Set
Replies: 5
Views: 6709

Re: Assembly Instruction Set

Hi sal
the data sheet will give the instruction set for that particular PIC, just look at the data sheet of the PIC that you want to play around.i have attached the web link for the PIC 16f84 data sheet.

http://ww1.microchip.com/downloads/en/d ... 35007b.pdf

enjoy
Saran
by saravana_3
Tue Aug 05, 2008 12:40 pm
Forum: C and ASM Programming
Topic: Rs 485 communication status
Replies: 4
Views: 6565

Re: Rs 485 communication status

Hi BENJ, I have attached the master slave codes can you guide me where to modify to get the regular update (i am using the Micro C) please thanks MASTER unsigned int COUNT1, COUNT2, COUNT3, COUNT4, COUNT5, COUNT6, COUNTER_STATUS; //unsigned int input; //int test_bit; //char oldinput; char Output_Sta...
by saravana_3
Mon Aug 04, 2008 12:35 pm
Forum: C and ASM Programming
Topic: Rs 485 communication status
Replies: 4
Views: 6565

Rs 485 communication status

Hi friends, I am using the pic 16f877a for the RS 485 master slave communication, I want to see the status of the master chip in the slave boards output, I want logic high in one of the slave output, if some thing happend to the master side the slave side output should goes to the logic low, for thi...
by saravana_3
Fri Jun 20, 2008 1:54 am
Forum: C and ASM Programming
Topic: serial communication through ICD2 debugger
Replies: 3
Views: 5971

Re: serial communication through ICD2 debugger

thank you Sean
thank you Benj
i will try the both methods
thanks
Saran
by saravana_3
Wed Jun 18, 2008 10:48 am
Forum: C and ASM Programming
Topic: serial communication through ICD2 debugger
Replies: 3
Views: 5971

serial communication through ICD2 debugger

hi, i am having a development board(HP-488-00-03) which is not supporting the serial communication, i am using the 16f88 and i am using the ICD2 debugger for debugging the codes, my development board support the ICD2, my ICD2 has the RS232 port, in this case am i able to do the serial communication ...
by saravana_3
Tue Jun 17, 2008 10:57 am
Forum: C and ASM Programming
Topic: cannot find the assembler
Replies: 4
Views: 6119

Re: cannot find the assembler

Hi Steve, initially i am using the PIC 16f84 and then i use the 16f88 at that time it is working fine (ASM-IDE), after I start to conect the kit through the ICD2 debugger and use the MPLAB. when again I come back to the ASM_IDE with out the ICD2 i got all those problems. just now I check the clock a...
by saravana_3
Tue Jun 17, 2008 10:50 am
Forum: C and ASM Programming
Topic: serial communication with 16f88
Replies: 1
Views: 4219

serial communication with 16f88

I am new to the pic 16f88 and I want to do the serial communication through the RS232, where I can get the assembly template to start serial communication. any examples please I am having the ICD2 debugger, but the HP-488-00-03development board is not supporting the RS232 can I use the ICD2 to commu...
by saravana_3
Tue Jun 17, 2008 4:17 am
Forum: C and ASM Programming
Topic: cannot find the assembler
Replies: 4
Views: 6119

Re: cannot find the assembler

Hi, I have checked in the option, ( i am using the 16f88) this is currently what I have C:\PROGRA~1\MPLABI~1\MCHIP_~1\MPASMWIN.EXE /aINHX8M /p16F84 /rHEX /w2 /q C:\Program Files\Matrix Multimedia\Common\PPPv3\\PPPv3.exe -cs 1 C:\Program Files\Matrix Multimedia\Common\PPPv3\\PPPv3.exe -cs 1 -config C...
by saravana_3
Mon Jun 16, 2008 12:41 pm
Forum: C and ASM Programming
Topic: adaptor for the QFN type IC
Replies: 1
Views: 4166

adaptor for the QFN type IC

Hi I am using the pic 16f88 DIP type chip with the HP-488-00-03 board, we want to use the 28 pin QFN type Ic for the production, the development board is not able to use the QFN socket, is there any adaptor compatitable for the kit, 18 pin DIP socket to 28 pin qfn socket.
please let me know
by saravana_3
Mon Jun 16, 2008 5:09 am
Forum: C and ASM Programming
Topic: cannot find the assembler
Replies: 4
Views: 6119

cannot find the assembler

Hi friends, recently I starts to use the ICD 2 debugger with the HP-488-00-03 kit, after i starts to use the ICD2, I try to connect the development board with the PC with out the ICD2 debugger, and starts to down load the old program, the compiler shows the error "cannot find the assembler". I alrea...