Quantcast
Channel: PIC24 Topics
Browsing all 3494 articles
Browse latest View live

Timer module in pic18f45k22 to measure pulse width (Tan Chee Wei .)

Sir Can give some hint in programming to measure pulse with since I need to integrate with ultrasonic sensor? Thanks for helping.Regards,Chee Wei..

View Article


PIC24FJ256DA210 : how to Handle the Trap Error or RESET source for system log...

Hi, thanks in advance for sharing the experience and support. I am using PIC24FJ256DA210 Family controller in my project. For System log, i need to capture the system activity(like Reset source, TRAP...

View Article


PIC24FJ256DA210: how to optimize or arrage the data(or program) in the...

Hi, Thanks in advance for sharing the experience and support. I am using PIC24FJ256DA210 Family controller. I have insufficient memory space in the Lower 32 Kbytes Data Space. so i used Internal...

View Article

Turning on and off a PWM channel (arigead)

I'm driving a small speaker with a single frequency tone from a PWM channel on the PIC24FJ256GB106. That's all good but I want to turn that tone on and off. There is no single on/off bit for the PWM...

View Article

PIC24F hardware connection to 23LC512 (gmorfeus)

Hi, I have a little "discrepancy with myself":) regarding hardware connection of PIC24F and SRAM SPI chip. Does hardware connection need to bePIC SRAMSCK1 SCKSDI1 SI/SIO0SDO1 SO/SIO0SS1 CSor PIC...

View Article


PIC24FV16KM202, VREF+ Input Problem (robertvwhite)

I am trying to use the A/D converter in a PIC24FV16KM202 using an external reference of 2.55 V. When the device is in reset, the voltage on the VREF+ pin is 2.55 V. Once I start the chip running, the...

View Article

PIC24FJ64GB002 USB Host and SD Card File Copy (NIMIT VACHHANI)

Hello Everybody,I have successfully implemented USB Host and SD Card File Manager with FAT support on PIC24FJ64GB002 both at once.I want to know the best way to copy file from SD Card and save it in...

View Article

Confusion about Flash Program memory size in PIC24FJ256GB106 (arigead)

The PIC24FJ256GB106 is a 256KBytes device. That's fairly clear, but what I'm confused by is the data sheet (PIC24FJ256GB110 FAMILY DEVICES) states in figure 4.1 that the device has 87K Instructions....

View Article


Need help on getting servo working on PIC24FJ128GC010 (wirespeed)

Hi all,My team do class project, we do not have any experience on C code. Right now we need to get servo HS-422 working on develop kit PIC24FJ128GC010. so Far, we get servo hand go back to 0 degree ( I...

View Article


Sleep and Idle Mode PIC24H Wake-up Interrupt Timings (mwill195)

Hi, I am working on a project that periodically enters either sleep or idle mode of a PIC24HJ64GP510. When in sleep it wakes based on the WDT, when in idle I use a dedicated timer ISR. I have a...

View Article

UART transmits too many characters - [PIC24HJ128GP202] (tomb)

Hi,I got program that is writing on UART TX (to terminal) character '1'. When I reset (re-program MCU PIC24HJ128GP202), program writes on terminal '111'.When I change in program from...

View Article

The Synchronous Counter of PIC24FJ256DA106 (GAMBOL)

I want to use TIMER1 as a Synchronous Counter. The T1CK pin is connected to a digtal oscilloscope's output(0-3V,1KHz).When debugging, it never runs into _T1Interrupt. Did I missed setting anything in...

View Article

Smart_Card_Demo application debugging using ICD 3 (Vinay Joshi)

Hi, We have purchased the Explorer 16 board and the Smart Card Pic tail daughter board from microchip and are trying to flash the Smart_card_demo project which is available in the Microsoft Library...

View Article


ADC with PIC24FJ64GA004 (maxime33370)

Hi,I would like to make current acquisition using ADC module. I have to measure currents from 0 to 5A. But I can simply measure currents from 0A to 0.7A, this correponds from 0 to ~135 in ADC value....

View Article

PIC24F16KL401 Data EEPROM problems (Neno)

I am trying to read data EEPROM but result is always 0.After PIC bulk erase and reprogramming, EEPROM values should be FFFF. Procedure 1: bset CORCON, #PSV ;enable remapping setm PSVPAG ;remap EEPROM...

View Article


Self-programming code protection (zijo)

I have code writing to flash 1532 bits of data. Date is written in flash but from 128-256 bit, I get all zeros.In configuration, I have two chip options.Strongly with first one, it works and with the...

View Article

Posted by mistake (CoderX)

Sorry..

View Article


Interrupt on falling edge -> reset pic24 (tomb)

I would like to have interrupt on falling edge on PIC24HJ128GP202 on pin RB10. Unfortunately when intterupt happen, a PIC will reset. Code is following: #include ....void interruptInit()<..

View Article

PIC24FJ64GA002 and MCP2515 connection (haiboshen)

I bought a 16-bit 28-pin starter board(Part Number: DM300027) which has PIC24FJ64GA002 on it and CAN Bus Monitor Demo Board(Part Number MCP2515DM-BM). I am wondering is there any way to connect them...

View Article

Explorer16 LCD Issue (alex28)

Hi, I am new to the world of PIC programming, and i am a little stuck with the programming of a string appearing on my Explorer16 LCD. I am following the book Learning to Fly the Pic24 and am beginning...

View Article
Browsing all 3494 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>