PIC17C756 replacement

Started by mmk_tsm in Piclist9 years ago 2 replies

Hello, My comapany (industrial controls) has been using a PIC17C756 as the sole microcontroller on all our smaller control boards for a...

Hello, My comapany (industrial controls) has been using a PIC17C756 as the sole microcontroller on all our smaller control boards for a long number of years. It has proven to be fantastically reliable. It is a 68 pin PLCC device, and so has a large no. of i/o pins. But it is old, expensive, and OTP. It is time to upgrade to something more modern, flash based, in system programmabl...


4-20ma Analog Current Loop to Pic A/D

Started by kg4pid in Piclist9 years ago 13 replies

I'm trying to find a way to interface a pressure sensor that uses a 4- 20ma analog current loop and I would like to read it using a Pic A/D...

I'm trying to find a way to interface a pressure sensor that uses a 4- 20ma analog current loop and I would like to read it using a Pic A/D converter. I have tried using google but have not found what I'm looking for. There will be about 30 feet of cable between the sensor and the Pic / interface circuit. The sensor is currently connected to a device called a Labjack which is loaned to me...


I2C and SPI on same PIC

Started by Rodrigo in Piclist9 years ago 7 replies

Hi... I have 2 sensor which I need to read with a 18F452 PIC, but one is I2C and the other is SPI. Taking a look at datasheet I saw that the...

Hi... I have 2 sensor which I need to read with a 18F452 PIC, but one is I2C and the other is SPI. Taking a look at datasheet I saw that the pins used for both protocols are the same pins. Is there anything I could do to read them both? Thanks in advance... Rodrigo Basniak ------------------------------------


decimal to binary routine does not provide correct result

Started by Ken Stuempges in Piclist9 years ago

The attached routine by Peter Hemsley, March 2003, does not return the correct conversion. As an example I am trying to convert decimal 12345 to...

The attached routine by Peter Hemsley, March 2003, does not return the correct conversion. As an example I am trying to convert decimal 12345 to binary, and it returns hex 31 in the high byte and hex D4 in the low byte. I checked several on-line converters and they all return the answer hex 31 in the high byte and hex 39 in the low byte. I am using MPLAB ver 8.1, and am using a PICKit 2 ...


pic 16f877a with lcd flickering problem

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


icd2 debugger with pic16f877a

Started by siva...@gmail.com in Piclist9 years ago 1 reply

Hai, I use pic16f877a with 33pf and a MPLAB ICD2 LE incircuit debugger to program the controller. But iam unable to debug. The message I...

Hai, I use pic16f877a with 33pf and a MPLAB ICD2 LE incircuit debugger to program the controller. But iam unable to debug. The message I receive is " UNABLE TO ENTER DEBUG MODE". But Iam able to program the ic and run it outside. Before this I was using PIC16LF877A where i was able to debug in real time. But now this particular ic is not available. What may be the reason for


LCD 16X2 Problem

Started by Sumit Bhatnagar in Piclist9 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. ...


voice recognition using dspic 30f5011

Started by siva...@gmail.com in Piclist9 years ago 2 replies

Hai everybody, Greetings to all... Iam involved in a project wherein my robo needs to be controlled using voice. I have to use dspic...

Hai everybody, Greetings to all... Iam involved in a project wherein my robo needs to be controlled using voice. I have to use dspic microcontroller 30f5011. I need to record the voice into the microcontroller and then use the library to recognize the signal and take the respective action. Have i selected the correct device and can anyone guide me with the project? Thanks, Siva ...


DS1307 Clock runs fast

Started by kg4pid in Piclist9 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 Piclist9 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...


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