|
|
Category: Microcontroller Circuits / PIC Microcontroller Views: 3110 Rank: 3 This project was designed and constructed as enhancement to the 0-30V Stabilized Power Supply Project with the DIY electronics hobbyist in mind. The circuit uses a single PIC Microchip to perform the Voltage, Current and Temperature conversions and display functions. The PCB Board uses large tracks and can easily be made using the `press-n-peel` method and a hobby drill. Components should be readily available anywhere in the world. Furthermore the hex files are available for the PIC16F877A and the PIC16F887 and the display can either be LCD or LED. There is only one warning - do not attempt to construct this project unless you are sure what you are doing. Nobody else but you can make the decision to construct it and therefore you are solely responsible for what you are doing or not doing with it.The PIC Microchip Processor must be programmed before it will function as a Volt & Amp meter. There are many internet sites and PIC programmers that you can use. I used a Microchip MPLAB ICD 2 during the project. You might need to made changes to the circuit to accommodate a different type of programmer, do read the programmers instructions carefully. The circuit relies on the internal analogue to digital converter (ADC) of the PIC Microchip Processor. The accuracy is dependant on scaling the input voltage for the ADC for all three measurements. The good news is that both the PIC's which can be used for this project have 10-Bit resolution ADC units which should work adequately in most circumstances. In order to determine the resolution, simple to advanced mathematics can be used - I will use simple mathematics and present a basic explanation in order for you to get going on the project. The Voltage of the PSU can be adjusted from 0 to 33V depending on the components in your circuit. The PIC can only measure voltages between 0 - 5V and represent the values measured as a 10bit binary number from 0 - 1024. In order to determine the voltage increments which can be measured one has to divide the scaled input voltage by 1024 and that equals: 33V/1024 = 32.2mV. Similarly the current range is 0 to 3A. Which means that we can measure in 3.0/1024 = 2.9mA increments in a near perfect circuit. Best Voltage resolution at 33.0V - 32.2mV Best Current resolution at 3.0A - 2.9mA Features: ? Either a LED or LCD display can be used ? LCD Output is compatible with most LCD Displays with a HD44780 drive chip, it was designed for a 2 line x 16 character display ? 6 x 7 Segment LED Display using Common Anode displays ? Configuration via RS232 terminal to set Voltage and Current conversion factors ? Two PIC16F processors are supported, the 16F877A and 16F887 - separate hex files provided for download here ? IPSC Connector for Programming the PIC in circuit ? Separate -12V - 0 - +12V, Power Supply visit page. The PIC Microchip Processor must be programmed before it will function as a Volt & Amp meter. There are many internet sites and PIC programmers that you can use. I used a Microchip MPLAB ICD 2 during the project. You might need to made changes to the circuit to accommodate a different type of programmer, do read the programmers instructions carefully. The circuit relies on the internal analogue to digital converter (ADC) of the PIC Microchip Processor. The accuracy is dependant on scaling the input voltage for the ADC for all three measurements. The good news is that both the PIC's which can be used for this project have 10-Bit resolution ADC units which should work adequately in most circumstances. In order to determine the resolution, simple to advanced mathematics can be used - I will use simple mathematics and present a basic explanation in order for you to get going on the project. The Voltage of the PSU can be adjusted from 0 to 33V depending on the components in your circuit. The PIC can only measure voltages between 0 - 5V and represent the values measured as a 10bit binary number from 0 - 1024. In order to determine the voltage increments which can be measured one has to divide the scaled input voltage by 1024 and that equals: 33V/1024 = 32.2mV. Similarly the current range is 0 to 3A. Which means that we can measure in 3.0/1024 = 2.9mA increments in a near perfect circuit. Best Voltage resolution at 33.0V - 32.2mV Best Current resolution at 3.0A - 2.9mA Features: ? Either a LED or LCD display can be used ? LCD Output is compatible with most LCD Displays with a HD44780 drive chip, it was designed for a 2 line x 16 character display ? 6 x 7 Segment LED Display using Common Anode displays ? Configuration via RS232 terminal to set Voltage and Current conversion factors ? Two PIC16F processors are supported, the 16F877A and 16F887 - separate hex files provided for download here ? IPSC Connector for Programming the PIC in circuit ? Separate -12V - 0 - +12V, Power Supply http://www.electronics-lab.com/projects/mcu/008/index.html
Related circuits Build a simple data recorder for solar energy lab. The Recorder uses a calculator solar cell as the input sensor and a Multimedia Memory Card for nonvolatile data storage. The device used for measuring daily insolation has been developed. The device was built with a PIC18F458 and the 128MB... This Programmer is powered by the RS-232 and it works with RS-232 levels at only < ±8.6V. It programs PIC12C5XX, 12C67X, 24CXX, 16C55X, 16C61, 16C62X, 16C71, 16C71X, 16C8X, 16F8X and ISO-CARD`s with ASF. Other serial programmable chips by adapter. The high Vpp is obtained by using negative... IR 4 channels remote control with PIC12F629 The circuit above illustrates using the IR receiver module along with a PIC12F629 microcontroller to decode 5 individual IR remote control keys so the circuit will only toggle one of the 4 outputs when a particular key is pressed. The 5th key is assigned to the master clear function... When the circuit is first powered on LED's D2 and D4 light just to indicate the circuit is operating. When the start button (SW2) is pressed all the LED's turn off. They then illuminate sequentially at one second intervals until all five LED's are on. After a random interval between 0 and... Voltage programmable square wave generator Here's another daft yet interesting PIC12F675 idea I came up with. When I wanted to show someone how logic gates worked I could only find a NAND gate which wasn't very handy for demonstrating AND's OR's, NOR's and ExOR's. I also wanted to have a play with the A/D converter on the 12F675 so I... A Microchip PIC12C508 8-pin CMOS Microcontroller turns a night light on and off with preset time everyday. Save Energy, No EMI, No Battery, Built-in Lamp Fixture, and Peak Shaving. It`s time for 8-pin microcontroller Microchip PIC12C508, the SAVER V3.2, my latest design of a device that turns a... Build a low-cost and very simple serial programmer for a PIC16F84 Microchip Flash Microcontroller. Below picture is my personal writer for F84 chip, it works very nice with Nigel WPicProg V1.20. 12F675 as a D-type or JK-type flip flop Since I implemented a D type flip flop using the PIC Logic Elements I thought I might go the other way and implement an entire D type flip flop in a single PIC. This uses the edge triggered and port change status interrupts and was an opportunity to have a play with interrupts on the PIC. As... Breaker Boxes Explained - New Improved Version
PWM Based DC Motor Speed Conrol Circuit Diagram
Comments
Facebook Comments
Most searched
lm3915
Results: 15 Count: 10855
Automatic battery charger
Results: 960 Count: 9476
12v counter
Results: 965 Count: 8142
signal generator using XR2206
Results: 3108 Count: 7532
multivibrator
Results: 243 Count: 7501
12f629 switch
Results: 1604 Count: 7356
optocoupler
Results: 52 Count: 7116
2 digit counter ic 4026
Results: 9619 Count: 6452 |
Accounts area
Circuits
Audio Filters
Stereo Circuits Ultrasonic Circuits Amplifiers Audio Oscillators Preamplifiers Audio Mixers Equalizers Tone Balance Beeper Buzzer Vacuum Tubes Valves Musical & effects Microphone Circuits
PLL Circuits
UHF circuits VHF Circuits FM radio GPS Circuits Jammer Circuits RF Transmitters RF Receivers RF Amplifiers AM radio Antenna Circuits FM Transmitter Transceiver Circuits
Demodulators
Buffer Circuits Triac Circuits Mosfet Circuits Sequencer 555 Timer Circuits Doorbell Circuits Switching Circuits Remote Control Toy H Bridge Circuit Game Circuits Keypad Circuits
Metal Detector Circuits
Liquid Sensing Circuits Light Sensing Circuits Voltage Detector Circuits Air-Gas Detection Circuits Human Sensing Circuits RF & Radiation Medical Circuits Sensor Circuits Magnetic circuits Optical Sensing Circuits Hall Effect
Varius Circuits
Astable Colpitts Crystal Hartley RF Sine wave Square wave Volt controlled Wein Bridge Monostable Circuits Pierce
Tesla Circuits
Inverter Circuits Free Energy Circuits Chargers AC to DC & DC to DC Solar Cell Circuits Current Limiting Mirco Power Circuits High Voltage Switching Power Supplies
Timer Circuits
Voltmeters Frequency meter Meters Circuits Counters Clock Circuits Checker Circuits Delay Circuits Thermometer Circuits VU Meters
Infrared
Xenon Lighting Light Sensing Laser Led circuits Fluorescent Circuits LCD circuits Light Dimmers
Readout Circuits
Logic Circuits Digital to Analog Display Circuits Analog to Digital Data Logging Data Bus Circuits Decoder Circuits
Voltage to Pulse
Current to Voltage Frequency to Voltage RF Converter Circuits Sine to Square Wave Voltage to Current voltage to frequency Period to Voltage
Video Mixer
Video Wall circuits TV Video Circuits Modulator Camera Circuits Television Photo Flash Video Amplifier
Stepper Motor
Remote Control Servo Circuits Robotics Direction Finder Power Control Relay Circuits Motor Control Circuits
Arduino projects
PIC Microcontroller AVR Microcontroller Programmers 68HC11 Microcontroller 8051 / 8052 MCU Circuits
|
