pic 16f877a with lcd flickering problem

Started by siva...@gmail.com in Piclist11 years ago 14 replies

hai to all, Iam using pic16f877a and 16 x 2 lcd to display my string as an array. The problem is when i touch the crystal legs, I could find...

hai to all, Iam using pic16f877a and 16 x 2 lcd to display my string as an array. The problem is when i touch the crystal legs, I could find the characters display steadily or else the display is flickering. I use a 4mhz crystal. I even grounded the body of the crystal. But eventhen the problem occurs. I use 33pf decoupling capacitors for the crystals. Please help me out. thanks siv...


LCD 16X2 Problem

Started by Sumit Bhatnagar in Piclist11 years ago 6 replies

I have been trying to get the LCD working with the PIC16F684. The only thing I could get going is the LCD with one row live and the other blank....

I have been trying to get the LCD working with the PIC16F684. The only thing I could get going is the LCD with one row live and the other blank. Even the LCD code from myke predko. I am not sure if there is something wrong with the connections or I am missing a few resistors and capacitors. But If someone can post a photo or help me with some directions. The code listing is provided below. ...


DS1307 Clock runs fast

Started by kg4pid in Piclist11 years ago 5 replies

I have a project that uses a Dallas 1307 clock chip. Got the code working but the clock runs a little fast, gains about 2 seconds a day. What...

I have a project that uses a Dallas 1307 clock chip. Got the code working but the clock runs a little fast, gains about 2 seconds a day. What can I do to slow it down a bit? I'm thinking that a small trimmer cap connected to one leg of the crystal to ground might work but I don't have any to try and don't know what value is needed so I don't know what to order. Also if I build another on...


hitech c error

Started by siva...@gmail.com in Piclist11 years ago 3 replies

HAI TO ALL, I have coded my program for a adc and a stepper motor. I use 3 functions for this. I get an error..................... Error ...

HAI TO ALL, I have coded my program for a adc and a stepper motor. I use 3 functions for this. I get an error..................... Error [285] F:\pic solar panel\picsolar.c; 22.1 no identifier in declaration Warning [374] F:\pic solar panel\picsolar.c; 22.1 missing basic type; int assumed Error [314] F:\pic solar panel\picsolar.c; 22.1 ";" expected Error [285] F:\pic solar panel\p...


16X 2 LCD with PIC16F684

Started by Sumit Bhatnagar in Piclist11 years ago 3 replies

I have tried to work with the LCD 16X2 but could not get it to work. Even with the code from myke predkos book(123 PIC...

I have tried to work with the LCD 16X2 but could not get it to work. Even with the code from myke predkos book(123 PIC Microcroller Experiments...). I doubt there is any problem with the code listed here http://www.bizto.co.kr/PicEx/cLCD.c OR with my circuit. I am not sure what I am missing here, but it will surely help if someone who has done


fft / ifft using dspic

Started by siva...@gmail.com in Piclist11 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...


Programming and Testing PIC projects

Started by fiestadonald in Piclist11 years ago 3 replies

I am interested in getting a PIC developement board to be able to program various PICs (8 to 40 pin), be able to debug programs and have...

I am interested in getting a PIC developement board to be able to program various PICs (8 to 40 pin), be able to debug programs and have external inputs and outputs that I can test with. I have found three boards that would work out. 1)MikroElektroniks EasyPIC5 $129 2)E-Blocks HP488 $274 3)QLS Electronic Technology QL200 $140 Are there others that have similar features? Has a...


C18 Version 3.21 won't use macros?

Started by Dennis Clark in Piclist11 years ago 4 replies

Hi all, I've an oddball question. I've just installed MPLAB 8.14 and C18 3.21 on a system and tried to build my projects. They fail...

Hi all, I've an oddball question. I've just installed MPLAB 8.14 and C18 3.21 on a system and tried to build my projects. They fail because C18 gives a syntax error on any macro that I try to use. I've done this install on two other systems and had no problems. They are all XP pro setups too. Has anyone else seen this behavior and fixed it? I'm assuming that I must have twiddled...


Learn PIC Microcontroller Programming with PITAC and Technocrafts

Started by Adnan in Piclist11 years ago 1 reply

Time: 6pm to 9pm hrs, 5 days a week Venue PITAC , Pakistan Industrial Technical Assisstance Center, Government of Pakistan, 234-Ferozepur...

Time: 6pm to 9pm hrs, 5 days a week Venue PITAC , Pakistan Industrial Technical Assisstance Center, Government of Pakistan, 234-Ferozepur Road Lahore Pakistan Contacts Technocrafts:Mr. Adnan Ahmad Sheikh Tel 042 6673517 ,0301-4217397 Contacts PITAC: Mr. Zulfiqar 042-9230699, 042-9230701 PITAC Government of Pakistan Certificate of PIC Microcontroller programming on successfull com...


dsPIC?

Started by Staiger in Piclist11 years ago 4 replies

Colleagues, Until now I've only worked with the 12, 16 and 17-series of PICs. There doesn't seem to be a clear and simple explanation on...

Colleagues, Until now I've only worked with the 12, 16 and 17-series of PICs. There doesn't seem to be a clear and simple explanation on Microchip's website of the dsPIC series, in terms of what they are good for and when you would use them in preference to the other families. I wonder what specific strengths and weaknesses they have. Could anyone elucidate? Thanks, SteveT ----...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright