EmbeddedRelated.com
Memfault Beyond the Launch

I'm a novice working with 16f628a

Started by sr_gamer in Piclist15 years ago 1 reply

I've been searching around for examples, but learning is slow going. At the moment I'm trying to program a 16f628a to light one LED for a...

I've been searching around for examples, but learning is slow going. At the moment I'm trying to program a 16f628a to light one LED for a controlled length of time and then light another for a controlled length of time and then the program should end. This is just a learning exercise. I'm using the HiTech C compiler with MPLAB and programming with a PICkit2. When I run the code that I've...


RTD Interface chip needed

Started by jvoytovich in Piclist15 years ago 4 replies

Hi, I've got an application where an existing RTD interface circuitry needs upgrading, and I'm looking for a custom chip that will handle the...

Hi, I've got an application where an existing RTD interface circuitry needs upgrading, and I'm looking for a custom chip that will handle the current sourcing and amplification necessary. The current circuit is composed of op amps, resistors and caps, and I would think there would be a single chip solution for this, possibly one that might also have a built-in ADC of 12 bits or more, and have a...


Anyone want a USBProg PIC programmer cheap?

Started by dcfrenchgmail in Piclist15 years ago

This is a great PIC programmer (http://www.embedinc.com/products/usbprog/index.htm) and served me well for about a year and a half, but then it...

This is a great PIC programmer (http://www.embedinc.com/products/usbprog/index.htm) and served me well for about a year and a half, but then it stopped working. Olin Lathrop of Embed assures me that from the diagnostics that the problem can be easily located. He didn't say that it could be easily fixed but I guess that was implied. However, I needed a replacement right away so I bought another ...


PIC User Interface Help requested

Started by demolitron in Piclist15 years ago 5 replies

Hello, My initial searches have produced little information and if someone here could point me in the right direction it would be great. I...

Hello, My initial searches have produced little information and if someone here could point me in the right direction it would be great. I am building a smart battery charger. The interface is constructed from a PIC16F877A, a 16x2 parallel LCD display, and 4 switch inputs. I am using Hi-Tech PICC for a compiler. And yes, I know C will produce large code and ASM would be better but I just ...


Recognizing serial ports in Linux/WINE/MPLAB

Started by Jason Hsu in Piclist15 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 Piclist15 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 Piclist15 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. ...


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

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


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


Memfault Beyond the Launch