PIC18f452 LCD schematic

Started by Travis L. F Bailey in Piclist14 years ago 1 reply

Anyone have a schematic on connecting a pic18f452 to a Sanyo DM2023 ( HD55780 Controller)? Thanks Travis ...

Anyone have a schematic on connecting a pic18f452 to a Sanyo DM2023 ( HD55780 Controller)? Thanks Travis


porting tinyOS onto pic18f452

Started by Sandhya PC in Piclist8 years ago

hello all.. i am trying to port tinyOS onto pic18f452 controller. there seems to be very little documentation about this. has somebody tried...

hello all.. i am trying to port tinyOS onto pic18f452 controller. there seems to be very little documentation about this. has somebody tried it out? any suggestions for reading? thanks, sandhya. -- The world needs anger. The world often continues to allow evil because it isn't angry enough. ~ Bede Jarrett


Having trouble with recieving data with PIC18F452 HW USART

Started by Travis L. F Bailey in Piclist14 years ago 2 replies

I am trying to get the serial to work on my pic18f452 chip. I can print data to hyperterm from pic with no problem. But, I can not...

I am trying to get the serial to work on my pic18f452 chip. I can print data to hyperterm from pic with no problem. But, I can not figure out how to get data from hypterterm to the pic. I am able to print, here is a sample of my output: First 2 RCSTA 144 TXSTA 160 First 3 RC


PIC18F452 for Qwikflash

Started by Mohammad Tariq Iqbal in Piclist13 years ago

Hi I am trying to program PIC18F452 for Qwikflash board. (picbook.com) I am using picstart plus programmer. I progrmmed...

Hi I am trying to program PIC18F452 for Qwikflash board. (picbook.com) I am using picstart plus programmer. I progrmmed qfpv.hex into PIC and it works fine. But when I programmed PIC with QB124.hex and linked qwikflash with a PC running Tera Term Pro then it does not


Could help in spi interface of PIC18f452 with accelerometer

Started by vadnala_anil in Piclist9 years ago

Dear frens, I am using digital accelerometer with PIC18f452 to read data of acceleration through spi interface. Here I am getting problem...

Dear frens, I am using digital accelerometer with PIC18f452 to read data of acceleration through spi interface. Here I am getting problem in writing conversion command for three axis accelerations into digital output. I am new to embedded but I have written a C program by referring from datasheet of accelerometer. I am writing the code here so any one tell me where I went wrong an...


A/D continuous operation with PIC18f452

Started by kalyanramu vemishetty in Piclist14 years ago

Hi all,   I am trying to do continuous sampling of the signal at uniformly spaced intervals using PIC18f452.   I...

Hi all,   I am trying to do continuous sampling of the signal at uniformly spaced intervals using PIC18f452.   I looked at microchip website and found some notes.   I came up with solution of using CCP module along with timer1


A/D conversion problems on ADC_CHAN1 and ADC_CHAN2

Started by scubagreg7777777 in Piclist13 years ago 3 replies

Hi everyone, I'm still quite new to micros, and am doing a project on the PIC18F452. I am experiencing some troubles...

Hi everyone, I'm still quite new to micros, and am doing a project on the PIC18F452. I am experiencing some troubles with ADC conversion, and think that it is a simple solution, but I'm not sure what it is. I tried to provide all the pertienent info, and e


PIC18F452, chip interfering with DIP switch

Started by scubagreg7777777 in Piclist13 years ago 1 reply

Hi everyone, I'm pretty new to PICS, but will do my best to characterize my problem and provide as much pertinent info as...

Hi everyone, I'm pretty new to PICS, but will do my best to characterize my problem and provide as much pertinent info as possible. I perplexed as to what is going on with my PIC. I am using an 18f452 on a PICDEM 2 Plus board, and my own PCB that I milled.


I need software routine for interrupts

Started by Sudhakara Reddy Pareddy in Piclist9 years ago

hi to all, I am developing software for interrupts.But i am unable to develop the interrupt code.So if anybody know the initialization of...

hi to all, I am developing software for interrupts.But i am unable to develop the interrupt code.So if anybody know the initialization of interrupts then kindly send me.I am using PIC18F452. --------------------------------- Best Jokes, Best Friends, Best Food. Get all this and more on Best of Yahoo! Groups.


Need help with calculating interrupt rate.

Started by holopoint.rm in Piclist14 years ago 1 reply

I need an interrupt to fire every 10ms. I'm using a PIC18F452 at 20mhz. Whats the Div multiplier and timer initialization I need ?...

I need an interrupt to fire every 10ms. I'm using a PIC18F452 at 20mhz. Whats the Div multiplier and timer initialization I need ? How do you calculate that ? Thanks, Shachar Weis.


Serial com weirdness

Started by holopoint.rm in Piclist14 years ago 2 replies

Hey all. I have a PIC18F452 doing serial comm with my PC via one of it's UARTs. I wrote a simple test program that outputs a char...

Hey all. I have a PIC18F452 doing serial comm with my PC via one of it's UARTs. I wrote a simple test program that outputs a char every second, and echos serial input. I open up a terminal, chars are coming in every second, key strokes are echoed, all is well. Until I try to se


Another beginer looking for a jumpstart

Started by Travis L. F Bailey in Piclist14 years ago 10 replies

I am another newbie, trying to get started with pic programming. I have the following items: MPLAB, Pic-MCP-C programmer, a c18...

I am another newbie, trying to get started with pic programming. I have the following items: MPLAB, Pic-MCP-C programmer, a c18 compiler and three pic18f452 chips, powered protoboard. and various other supplies I want to get started and just get a simple LED to blink.


help about smt160

Started by ali_2331 in Piclist13 years ago

hi anyone with PIC18F452 i have a project with smt160 temperature sensor and some other peripherals . in this project i...

hi anyone with PIC18F452 i have a project with smt160 temperature sensor and some other peripherals . in this project i used all interrupt and timers and captures for doing tasks . i want communicate with smt160 without using timer , interrupt or capture


compiler error on external interrupt

Started by wantoniet in Piclist12 years ago 2 replies

Hi folks, I?ve got a problem with compilation a sw through CCS compiler. I?m using PIC18f452 and error occur on external interrupt0. A...

Hi folks, I?ve got a problem with compilation a sw through CCS compiler. I?m using PIC18f452 and error occur on external interrupt0. A piece of my sw described below: ... ext_int_edge(0,h_to_l); enable_interrupts(int_ext); enable_interrupts(global); clear_lcd(); while(true) { comand_lcd(0x80);


Register RCON

Started by wantoniet in Piclist12 years ago 2 replies

Hi Folks, I need help to understand what is going on... I?m using a PIC18F452 and suddenly it resets when it?s communicating via SPI. ...

Hi Folks, I need help to understand what is going on... I?m using a PIC18F452 and suddenly it resets when it?s communicating via SPI. In such to debug this weird problem, i monitored register RCON (register that provides the sources of reset). When i power up the board, the register contains 12D (1100 at LSB nibble), what means that power-


PIC 18F452 and internal EEPROM - corrupted

Started by ffvi...@gmail.com in Piclist9 years ago

Hello, I'm new at group, i'm getting some problem with corrupted internal EEPROM on PIC18F452, i believe that it could be happening with some...

Hello, I'm new at group, i'm getting some problem with corrupted internal EEPROM on PIC18F452, i believe that it could be happening with some connection with electrical noise. is it the answer? what more could be happening? it's a C program and this just happened in the outside, here in the lab i'm not able to reproduce the problem. I have tried almost everything. Tks for the help! :-) ...


Problem with PICC18

Started by Gustavo Vilela Vargas in Piclist14 years ago 1 reply

Hi all, I'm using PICC18 to create code for a PIC18F452, now my code grow up to 4058h in size, and the linker do not fit the...

Hi all, I'm using PICC18 to create code for a PIC18F452, now my code grow up to 4058h in size, and the linker do not fit the correct psetc CODE. At the Hi-tech site I found this: "The command-line driver inserts a page break at address 04000h in the CODE


Help with usart receive

Started by Travis L. F Bailey in Piclist14 years ago 4 replies

Help, I am missing some obvious mistake. I just don't see it. I am using a pic18f452 chip and a max232 chip to communicate...

Help, I am missing some obvious mistake. I just don't see it. I am using a pic18f452 chip and a max232 chip to communicate to my laptop's serial port. I can send data from the pic to the pc, but, I can not receive data from hyperterm to the pic chip. I am also connect


PIC -ISA interfacing weird problem

Started by kalyanramu vemishetty in Piclist13 years ago 1 reply

Hi all, I am interfacing pic microcontroller (pic18f452) to FDC37c672 from SMSC. FDC37c672 has some UART and IrDA capabilities...

Hi all, I am interfacing pic microcontroller (pic18f452) to FDC37c672 from SMSC. FDC37c672 has some UART and IrDA capabilities which I want to explot. It has an ISA bus interface. I am able to read the registers from the FDC37C672. But for some reason I am unable t


PIC running way too slow ?

Started by holopoint.rm in Piclist14 years ago 1 reply

I have a PIC18F452 with a 20mhz crystal. I setup timer0 interrupt with a DIV multiplier of 256 20,000,000/4/256/256 = 76...

I have a PIC18F452 with a 20mhz crystal. I setup timer0 interrupt with a DIV multiplier of 256 20,000,000/4/256/256 = 76 interrputs per second. I flip the state of a led each interrupt. from the led blink rate I can see that the interrupt is called once every 3 seconds or so.