http://www.circuitsathome.com/mcu/pic_vpp_limiter

VOUT = 2.5V * ( 1 + 24/10 ) = 2.5 * 3.4 = 8.5V

Newer PIC18s, such as my current favorite – PIC18F26K20, don’t like to be programmed with 12V. The datasheet maximum is 9V. Older Microchip programmers/debuggers, such as PicKit and ICD 2, do not support variable programming voltage. When you start a MPLAB project consisting of K-series PIC18 and ICD 2 debugger, you will get a warning and suggested VPP limiting circuit schematic. In this article I’m describing this very circuit, so you can build it beforehand.

The circuit is as easy as it gets. It is TL431 programmable voltage reference configured for 8.5V cutoff. If you are not comfortable having VPP so close to specified maximum, change voltage divider R2R3. Bear in mind that minimum VPP for new PIC18s is VDD+4.5V; if you are powering your PIC from 3.3V (max.VDD), minimum VPP is 7.8V.

To build this circuit, you can use a PCB, or use a small piece of prototyping board. I solder right-angle headers into ground pads; this way, the limiter can be inserted vertically, saving precious breadboard space.

I suggest checking circuit operation after you build it. You will need bench power supply (or any known voltage source of 9V or more) and a voltmeter. The procedure for bench power supply is as follows:

PIC VPP Limiter board layout
  • Set your power supply to minimum voltage and current.
  • Set voltmeter range to 20V DC.
  • Connect circuit IN to the power supply, circuit OUT to the voltmeter, all 3 grounds (power supply, voltmeter, and circuit ) together.
  • Add some voltage on power supply. If it starts showing overcurrent, add little current (but just a little; the current when to become suspicious and start looking for shorts is 30mA).
  • The voltmeter should follow power supply as you add voltage until you reach 8.5V. At 8.5V voltmeter should stop. Continue adding voltage on power supply until you reach 12.5-13V. If voltmeter still shows 8.5V, your circuit is working.

Now, when your know circuit is operational, it’s time to use it. Connect IN to MCLR/VPP signal coming from the programmer, connect OUT to MCLR/VPP of your PIC, connect GND to ground. The last connection is as essential as other two – if ground is not connected, the circuit will bypass input voltage to output without change.

ICD2 VPP limiter for new PIC microcontrollers.的更多相关文章

  1. Using Internal EEPROM of PIC Microcontroller

    There are commonly three types of memories in a PIC Microcontroller, Flash Program Memory, Data Memo ...

  2. RFID 仿真/模拟/监控/拦截/检测/嗅探器

    Sound card based RFID sniffer/emulator (Too tired after recon.cx to do draw the schematics better th ...

  3. Important Programming Concepts (Even on Embedded Systems) Part V: State Machines

    Earlier articles in this series: Part I: Idempotence Part II: Immutability Part III: Volatility Part ...

  4. 如何在 arm 官网上找到合适的手册

    http://infocenter.arm.com/help/advanced/help.jsp 在这里输入合适的版号即可 这样就可以不用去 CSDN 了 100000_0000_00_EN - AR ...

  5. 说说 MicroPython 的项目整体架构

    今天来说说 MicroPython 的架构情况,如果有必要我会做一些源码分析的文章供大家参考. 先来认识一下 MicroPython 整体情况,可以从软件的角度上去看待,首先我们拿到 MicroPyt ...

  6. PIC JDM Prototype Programmer 1001

    In need of a programmer for PIC micro controllers I decided to build my own one. This programmer has ...

  7. USB PIC Programmer (Brenner8)

    http://uzzors2k.4hv.org/index.php?page=usbpicprog My Tait Serial programmer works alright, but not e ...

  8. Cannot send session cache limiter Cannot modify header information

    当php报出  Cannot send session cache limiter 或Cannot modify header information   的错误时   其理论上是因为php代码以前有 ...

  9. VCC、VDD、VSS、 VEE 和VPP的区别

    在电子电路中,常可以看到VCC.VDD和VSS三种不同的符号,它们有什么区别呢? 一.解释 VCC:C=circuit 表示电路的意思, 即接入电路的电压: VDD:D=device 表示器件的意思, ...

随机推荐

  1. Extjs6设置Store、Ajax、form的请求方式(GET、POST)

    Extjs6 设置Store.Ajax.form的请求方式(GET.POST) Ajax请求和Form的submit方法设置请求方式和原来一样,使用method : 'POST'设置 // 表单提交 ...

  2. algorithm之unique

    #include<iostream> #include<algorithm> usingnamespace std; /**< unique函数的算法思想 */ vect ...

  3. Zookeeper安装以及配置说明(三)

    Zookeeper的安装和配置非常的简单,既可以配置成单机模式,也可以配置成集群模式.如下图所示: 下面将分别进行介绍: 单机模式 下载最新稳定版本zookeeper的安装包之后(看第一篇博文), 解 ...

  4. Linux 相关

    一.WCHAN的含义 WCHAN 进程正在睡眠的内核函数名称:该函数的名称是从/root/system.map文件中获得的. 参考:解析ANDROID ps命令执行后各项参数的含义 二.查看线程 ps ...

  5. php中的单引号与双引号详解

    一.引号定义字符串 在Php中,通常一个字符串被定义在一对引号中,如: 'I am a string in single quotes'"I am a string in double qu ...

  6. MST最小生成树

    首先,贴上一个很好的讲解贴: http://www.wutianqi.com/?p=3012 HDOJ 1233 还是畅通工程 http://acm.hdu.edu.cn/showproblem.ph ...

  7. nullptr

    以前都是用0来表示空指针的,但由于0可以被隐式类型转换为整形,这就会存在一些问题.关键字nullptr是std::nullptr_t类型的值,用来指代空指针.nullptr和任何指针类型以及类成员指针 ...

  8. centos7 关闭默认firewalld,开启iptables

    编者按: 对于使用了centos6系列系统N年的运维来说,在使用centos7的时候难免会遇到各种不适应.比如防火墙问题.本文主要记录怎么关闭默认的firewalld防火墙,重新启用iptables. ...

  9. Hive分区和桶的概念

    Hive 已是目前业界最为通用.廉价的构建大数据时代数据仓库的解决方案了,虽然也有 Impala 等后起之秀,但目前从功能.稳定性等方面来说,Hive 的地位尚不可撼动. 其实这篇博文主要是想聊聊 S ...

  10. FILE operattion

    #include "mainwindow.h"#include "ui_mainwindow.h"#include <QMessageBox>#in ...