Tagged Questions
-2
votes
0answers
37 views
Digital Audio Filter: Delay, Echo, and Pitch Conversion [closed]
I'm using dsPIC Starter Kit (DM330011).
And I want to put those three stuff as a main functions.
Delay: when you speak on Microphone to record it and play it through speakers, hear your voice in 2 ...
4
votes
3answers
87 views
Failed to get Device ID - PICkit 3 & PIC16F684-ICD & AC16205
Like it is already mentioned in the title I have question regarding this dev stack:
MPLAB X IDE v1.80
PICkit 3
PIC16F684-ICD (datasheet)
AC16205
There is image of how things are connected (I don't ...
0
votes
4answers
141 views
How do I get started with PIC programming? [closed]
So I opened up a big bucket o' worms asking this question. Two of the answers mentioned that instead of using a 555, a PIC10F200 or PIC12F675 may do the trick.
Now, I've been spoiled with Arduino's ...
5
votes
3answers
236 views
How do I program a PIC12?
I have a PIC12F675 that I need to program. I'm using a Pickit 2 and the Pickit 2 software. Supposedly I should be able to program it using this circuit, but the Pickit 2 software is not detecting the ...
2
votes
2answers
92 views
Programming a PIC with a PIC
I'm building a device with two PICs, a PIC18F46K22 and a PIC16F88. I have a buffer on the 18F46K22 which contains a program that I want to write to the program memory of the 16F88. I can't do this ...
0
votes
1answer
39 views
Value of FNOSC in the configuration of my code
I am using PIC24FJ64GA002 and I have configured my setting for PIC as following.
...
4
votes
3answers
142 views
ICD3err0045 - PIC16F819 Programming
After posting: Programming/Debugging with ICD3 and PIC16F819-I/P
I'm still getting the MPLAB error:
ICD3Err0045 - You must connect a target device to use MPLAB ICD 3
My Setup (pinout and wireup):
...
5
votes
2answers
676 views
Using multiple external interrupts in PIC
I've used PIC16F877 (datasheet) for several projects. For a single external pin change interrupts, you can use PORTB0 interrupt. ...
1
vote
1answer
207 views
Programming/Debugging with ICD3 and PIC16F819-I/P
ICD3 passes internal test with MPLAB IDE using the Test Interface Module
PIC16F819-I/P supports ICSP and In-Circuit debugging source.
ICD3 pinout is as follows (source):
...
3
votes
1answer
687 views
How to offset program location in memory with MPLABX XC8?
I have a bootloader residing at locations 0x0000 to 0x0fff on an 8-bit PIC18F. How do I tell the XC8 compiler to output a hex file which starts at 0x1000?
With a CCS compiler my friend is using, he's ...
5
votes
2answers
240 views
Why is PIC Programming Voltage Higher Than Vsupply
I work with PIC microcontrollers quite a bit and have never understood why Vpp (programming voltage) is higher than the max supply voltage that powers the PIC?
1
vote
3answers
340 views
MPLAB XC16 compiler outputting 8-bit HEX files for PIC24?
I am trying to understand a HEX file I compiled with Microchip MPLAB X IDE using the Microchip MPLAB XC16 Compiler.
Concerning the MCU, I am targeting the PIC24EP512GU814. However the scope of this ...
0
votes
1answer
155 views
PIC Write-Protect Behavior
When I write protect a PIC using the config bits, does it prevent all future programming or can I still reprogram the part if I erase it first? I assume this behavior should be standard across all ...
0
votes
2answers
80 views
PIC24E writing address and increment for ICSP programming
I am trying to program my Microchip PIC24EP512GU814 in ICSP mode. The resource I'm using to do this is the Microchip dsPIC33E/PIC24E Flash programming Specifications (70619B) and the Microchip ...
3
votes
3answers
285 views
Microchip PIC10 (8 bit microcontroller) learning reference. Where to start?
So I've generally learned how to use an Atmel Attiny13a, but now I have found that I need to switch to a Microchip PIC 8 bit microcontroller such as the PIC10 series.
Can anyone give me some good ...
4
votes
2answers
3k views
C/C++/C# programming for interfacing USB to PIC microcontroller
I am a computer sciences student looking to do some PIC microcontroller programming for some small home projects . I am fluent in C/C++/C#/Java and i also have an understanding of programming ...
0
votes
4answers
742 views
PIC16F877a input always true
I am programming a PIC16F877a with 3 toggle switches and a 20 x 4 LCD. The 3 switches are soldered to pins B0 - B2 on the PIC. The other end of the switches is connected to +5v (PortsB have internal ...
0
votes
1answer
170 views
LMB204BDC with CCS Flex 4x20 driver not displaying text
I am trying to get an LMB204BDC LCD screen working with a PIC16F877a and the Flex 4x20 Driver (I'm programming in CCS BTW), however for some reason the text is not displayed. Before, I mistaked the ...
2
votes
1answer
301 views
PIC12F617 Device ID read when debugging but not when programming
First time using a PIC12F (I've used PIC16, PIC18, DSPIC24F, DSPIC30F and DSPIC33F in the past).
Made a very simple pcb (see sch below), but I'm having problems programming it with an ICD3. Didn't ...
4
votes
1answer
356 views
Adding third channel to the PIC32 starter kit `DMA chaining and PWM´ example
I just received my PIC32 starter kit, and played with the demos. I have never used any higher-end uCs than the 8-bit PICs.
One of the new things to me in the PIC32 is DMA. The starter kit came with ...
4
votes
3answers
174 views
MPLAB 8: Hotkey for “Program Target Device”
I am looking for a hotkey that will have the same effect as "Program Target Device" from the toolbar or menu.
...
0
votes
0answers
586 views
Program a PIC16F877A using VB.NET
I have bought a PIC16F877A microcontroller and its board before and since then, I haven't used it much because I don't really have enough time and patience to learn C. I was thinking to buy a ...
1
vote
2answers
609 views
PIC24FJ64GA002 not running at speed
I'm trying to get my PIC24FJ64GA002 running at 32 Mhz. I measure the frequency on OSCO pin, and it's only 4 Mhz. Here's my code:
...
1
vote
2answers
461 views
What type of USB Protocol for Datalogger
I am attempting to create a USB datalogger and would like to first start with creating a program that transmits Hello World over USB not using some kind of CDC communication. I am trying to figure ...
2
votes
3answers
257 views
Logic problem with alarm system?
In short, I have a bag that I'm making, the top of the bag is lined with LDR's (3-6), and there's a hidden switch to toggle the alarm on/off. I'm horrible at circuits, but I program, so it looks like ...
2
votes
1answer
498 views
How does one go about programming a PIC microcontroller?
I am working on my first project using a PIC microncontroller, a PIC12F675.
How do I load a program onto the microcontroller?
I bought this programmer to start, but don't really know how to use it.
...
2
votes
1answer
430 views
PIC pinout function
My device controlling motor using PWM and read data from serial (uart).
Previously I was using 40 pin and now only 14-pin.
It happenned the "RX" and CCP1 (PWM) are on the same pin. RC5, pin 5.
There ...
0
votes
1answer
111 views
PIC mcu gets programmed but doesnt get executed
I am using 'pickit2' through Mplab to burn my code. Suddenly none of the codes(even blinking led) that i fuse through it gets executed.
I confirmed whether it writes the hex code properly using ...
4
votes
4answers
1k views
What causes turning ON an single output pin on a Microchip PIC16F690 to spontaneously turn OFF another pin on the same port?
What causes turning ON an single output pin on a Microchip PIC16F690 to spontaneously turn OFF another pin on the same port? I can work around this problem by writing a byte to the entire port, ...
4
votes
7answers
981 views
Open source pic programmer in windows
I started a project with my students to build a full open source PIC IDE in windows. My first try was to port Piklab to windows but it is dependent on Qt and KDE. We decide then to use Eclipse CDT as ...
2
votes
4answers
481 views
Looking for a PIC board with webserver
I am looking for a PIC which has a webserver builtin or has the ability to install one(with) . I want to experiment connecting in reasonable price please)two PIC/PICAXE boards or different type and ...
4
votes
3answers
483 views
pic 32 starterkit i/o
I just bought a pic 32 starter kit, and since I did little reading before I picked up the product I found that it came with no simple way of accessing the pic32's input and output. I know there is a ...