PULSE WIDTH MEASUREMENT USING PIC16F690

Started by andy_angad in Piclist9 years ago 1 reply

Hey i wanted to measure the width of a square wave pulse.. Neone have a sample code please let me know. Thank...

Hey i wanted to measure the width of a square wave pulse.. Neone have a sample code please let me know. Thank You ------------------------------------


pic24h SPI Problem

Started by demolitron in Piclist9 years ago 2 replies

Hello again, I think I've exhausted myself over this one. SPI is supposed to be REALLY simple, right? But, I can not get my SPI slave (PIC24)...

Hello again, I think I've exhausted myself over this one. SPI is supposed to be REALLY simple, right? But, I can not get my SPI slave (PIC24) to do even recognize that SPI is happening at all. Here is the rest of the story: My project has two MCU's in it. A dsPIC30F3012 that reads the sensors and performs all the fun DSP stuff. It is the SPI Master and spits out data for the PIC24HJ64GP5...


Timing a 20KHz signal coming into a PIC 16F88

Started by silverfoxgmail in Piclist9 years ago 5 replies

I have the need to measure the duration of short bursts of a square or sine wave signal coming into a PIC 16F88 at a constant frequency of 20KHz....

I have the need to measure the duration of short bursts of a square or sine wave signal coming into a PIC 16F88 at a constant frequency of 20KHz. The bursts last between one and 150 milliseconds and I need the time measurement to be accurate to about a half millisecond. I was thinking of using an interrupt-on-change on the input pin and saving the time of the first interrupt and subtract it from...


18f4685 6 seg clock - dim display

Started by sr_gamer in Piclist9 years ago 20 replies

if you look in the files section under sr_gamer you will find the schematic and the program for a clock I'm building. The display is VERY...

if you look in the files section under sr_gamer you will find the schematic and the program for a clock I'm building. The display is VERY dim. I'd like the display to be very bright. These elements are very bright when supplied with 5v, which should be what is coming off of the PIC, so I'm either suffering from low duty cycle or having trouble sourcing enough current. I tried some 1k pull ...


PIC24F

Started by Paul Laverick in Piclist9 years ago 3 replies

Hi all, I have been researching the PIC24F, a 16 Bit PIC, and found that its voltage is 1.8V-3.6V. Well that's not to bad, get a 3.3V regulator...

Hi all, I have been researching the PIC24F, a 16 Bit PIC, and found that its voltage is 1.8V-3.6V. Well that's not to bad, get a 3.3V regulator or something, but then then i started thinking about LCDs etc, how do you go about interfacing them as they run on 5V? Has anyone used these before? Cheers, Paul


Where can I find the PICKit 3 board manual ?

Started by "dag...@free.fr" in Piclist9 years ago 4 replies

Good afternoon I bought a PICKit 3 which came with a PIC 18F45k20 on an experimental printed circuit board, having some LEDs, resistors, a...

Good afternoon I bought a PICKit 3 which came with a PIC 18F45k20 on an experimental printed circuit board, having some LEDs, resistors, a potentiometer, a jumper, and some other things. When I connected the board to the PICKit 3 programmer, I noticed that the board was powered by the programmer, and the LEDs began to blink. The board had a program inside. I would like to know please, ...


16 Bit PIC

Started by Paul in Piclist9 years ago 8 replies

Hello. Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use C? Thanks ------------------------------------

Hello. Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use C? Thanks ------------------------------------


USB GPS to PIC interfacing

Started by demolitron in Piclist9 years ago 2 replies

Hello, I've got a Pharos GPS-500 USB dongle on hand and I was wondering if it would be possible to hook this up to a PIC of some kind. When I...

Hello, I've got a Pharos GPS-500 USB dongle on hand and I was wondering if it would be possible to hook this up to a PIC of some kind. When I plug it into my PC it is detected as a serial port by windows and the data just streams over as ASCII test. Anyone have a direction they can point me in? I've been looking at Microchip's website, but most of the stuff is on peripheral side devices....


A2D Command on KicChip 8

Started by kabo...@NorthState.net in Piclist9 years ago 3 replies

I downloaded the Kic Studio software as well as the KicChip 8 .hex file from the KicChip WEB page. I then used my PICKit 2 to flash the .hex...

I downloaded the Kic Studio software as well as the KicChip 8 .hex file from the KicChip WEB page. I then used my PICKit 2 to flash the .hex file into a PIC12F683. They seem to set the security bit as I couldn't read the chip after programming. I then made up a PCB with a LF351 op-amp driving an analog signal to Pin 3 (ADC 4) and Pin 5 driving a LED through a 2N7000 FET. It's going to end ...


Frustrating problem with dsPic30F3012 ADC...

Started by demolitron in Piclist9 years ago

Hello, I just got my board built for my new dsPic project and I've run into a very puzzling problem with the ADC. If you all would be kind...

Hello, I just got my board built for my new dsPic project and I've run into a very puzzling problem with the ADC. If you all would be kind enough to take a look for me. I hope this isn't something simple and stupid I've missed... First, my environment: dsPic30F3012 @ 3.3V MPLAB 8.30 MPLAB C30 student edition version 3.12 compiler PICKIT 2 Debugger (DE Version = 1.40.3) USART level s...


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