Recognizing serial ports in Linux/WINE/MPLAB

Started by Jason Hsu in Piclist9 years ago 1 reply

My OS is Puppy Linux. I'm running MPLAB through WINE instead of Windows. My programmer is a PICSTART Plus. I'm using a USB-serial converter...

My OS is Puppy Linux. I'm running MPLAB through WINE instead of Windows. My programmer is a PICSTART Plus. I'm using a USB-serial converter to connect the PICSTART Plus to a USB port on my laptop, which lacks real serial ports. I can figure out the port my PICSTART Plus (with the USB-serial cable) is attached to by typing "dmesg|grep tty" in a shell window. (It's ttyUSB0.) THE PROBLE...


CCS C (older version 3.245) & PIC16F887

Started by Jeff Cooper in Piclist9 years ago 3 replies

My CCS C compiler (PCM) is old enough to not have a 16f887.h include file but I was wanting to try that chip. I emailed CCS tech support...

My CCS C compiler (PCM) is old enough to not have a 16f887.h include file but I was wanting to try that chip. I emailed CCS tech support asking if they had a 16f887.h but they said "You will need a version 4 compiler to use the 887 chip." I find that hard to believe if, in fact, the PIC16F887 is a true PIC16F family part with classic PIC16F peripherals. So I have that question in to...


CCS PCM C Compiler (Older version 3.245) & PIC16F887

Started by Jeff Cooper in Piclist9 years ago

My CCS C compiler (PCM) is old enough to not have a 16f887.h include file but I was wanting to try that chip. I emailed CCS tech support asking...

My CCS C compiler (PCM) is old enough to not have a 16f887.h include file but I was wanting to try that chip. I emailed CCS tech support asking if they had a 16f887.h but they said "You will need a version 4 compiler to use the 887 chip." I find that hard to believe if, in fact, the PIC16F887 is a true PIC16F family part with classic PIC16F peripherals. So I have that question in to them. ...


Water sensor for Pics.

Started by "Ing. Yosu Izaguirre" in Piclist9 years ago 8 replies

Hi to all, My name is Yosu Izaguirre, I?m electronic engineer and have one master in automation of controls, but I have a little problem for...

Hi to all, My name is Yosu Izaguirre, I?m electronic engineer and have one master in automation of controls, but I have a little problem for you to help me...?? I?m trying to design one water sensor for be read from a one PIC12F675 or PIC16F683, is the same but one have more io pins and another features... So the fact is that the sensor must be hard worker because must be inside the water...


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


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