![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
I'm tinkering with an 18F14K50, which is rated for 1.8V to 5.5V. Once I updated MPLAB to the latest, the PICkit2 happily connects to it and supplies 3.3V to it. For reasons related to my circuit I want to supply it with 5V. When I do this and try to have MPLAB connect I get this error: Code: Found PICkit 2 - Operating System Version 2.32.0 PK2Error0023: Target Vdd measured at 4.99V which is outside the programmable range of this device ( 1.88V - 3.60V) PICkit 2 Ready The PICkit 2 program, v2.61, seems to be ok with external 5V supply, but refuses to allow the PICkit 2 to supply more than 3.3V.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | |
| |
| | #2 |
|
Its a tricky part because the PGD and PGC pins are multiplexed with the D+ and D-, which I think only support 3.3V. I only used the Pickit 2 as a standalone. If you got this for the USB, then you could power the device from USB, or a separate battery supply, at least that's what I did.
| |
| |
| | #3 | |
| Quote:
I didn't get it for the USB, tho I may yet play with that. I was just starting a new project and had a couple 18F14K50's so I thought I'd use one. Anyway, the 3.3V thing isn't a big deal. For now I just let the PICkit 2 supply the MCU power and power the breadboard with 5V.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 26th October 2009 at 07:02 AM. | ||
| |
| | #4 | |
| Quote:
If you happen to be using the Pickit2 low pin count demo board, just make a little pigtail to run over from the breadboard power, the pads are already there. Level conversion makes a real birds nest of wires. | ||
| |
| | #5 | |||
| Quote:
EDIT: After thinking about it for a bit, I realized what you probably meant. Run it at 5V breadboard power to avoid level shifting. Switch the power off to program and back on to run. Trouble with that is that I hate flipping switches to program (though I've done it a lot - Motorola 68HC programmer), and I'd have no debugging available that way. May end up doing it anyway... Quote:
Quote:
__________________ ========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 26th October 2009 at 07:42 AM. | ||||
| |
| | #6 |
|
Futz I have happily powered a LCD with5v and mcu with 3.3v.as long as mcu is 5v tolerant meaning why not just power mcu with lower voltage and other devices with higher voltage?
__________________ AtomSofts eBay Store AtomSoftTech: C18 TIPS & TRICKS v9 PDF Nokia 6100 Driver/Software My Name: Jason Lopez http://atomsofttech.info/ | My YouTube Videos! My Favorite Store: dipmicro Electronics | |
| |
| | #7 | |
| Quote:
For some reason I thought I could leave the 5V to the device and program the the device at 3.3V, Wrong! Rechecked, and had to disconnect the USB power for programming, brain burp again......arghhh.
| ||
| |
| | #8 |
|
The only hassle from my way would be if you use adc but that's one register to fix ADCON heh
__________________ AtomSofts eBay Store AtomSoftTech: C18 TIPS & TRICKS v9 PDF Nokia 6100 Driver/Software My Name: Jason Lopez http://atomsofttech.info/ | My YouTube Videos! My Favorite Store: dipmicro Electronics | |
| |
| | #9 | |
| Quote:
![]() Work is so nuts that I only get an hour with it per night. Tonight I wired up a LM386 and a speaker to it and started making some crazy noises. I may add a DAC or two to it to make life simpler. I'm toying with the idea of making a simple synth. Maybe even a not-so-simple synth. I'll have to add MIDI input to it (very simple) so I can play it from one of my keyboards. But for now I'm just tinkering with the basics.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
|
| Tags |
| volts |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| 2.4-3 volts to 5 volts | davidbball13 | General Electronics Chat | 11 | 26th May 2008 12:20 AM |
| 9 Volts + 9 Volts = bang ! | RODALCO | Chit-Chat | 6 | 4th May 2008 04:05 AM |
| How to turn 0-5 volts to 5-0 volts | Markley02 | Electronic Projects Design/Ideas/Reviews | 36 | 22nd December 2007 01:39 AM |
| Reduce 5 volts to 3 volts, suggestions? | prprog | Electronic Projects Design/Ideas/Reviews | 19 | 21st December 2006 07:02 PM |
| 3.7 volts LED with 2 volts | Grimchuck | General Electronics Chat | 9 | 27th April 2003 05:26 PM |