It was prepared with ccs pcm c, temperature measurement software with led display indicator with pic 16f84. Scrolling Temperature Display. -55 – 100C (-67 – 212F) range 4-digit LED display. This project shows a temperature reading on a 4-digit LED display. The temperature shown shifts between Celsius and Farenheit; compile-time options allow a screen to scroll in one direction or ‘bounce’ from side to side.
Parts list:
R1 1k
R2 39k
C1,C2 22pF ceramic disc capacitor
X1 4MHz crystal
D1 1N4148
D2 4-digit 7-segment LED display
IC1 DS1820 (or DS1920 iButton, plus mount)
IC2 PIC16F84
IC3 MAX7219
Equipment
The circuit is based on a working PIC 16F84 microcontroller. at 4MHz. Temperature information is provided by a DS1820 ‘1-Wire’ digital thermometer chip. This is a twisted-pair lead from afar. A MAX7219 serial LED display driver drive a 4-digit 7-segment LED display. The display is mounted with decimal points at the top to give degree symbols.
If you’re building the circuit on a solderless breadboard, it’s worth getting the 7219/screen combination up and running before you add the rest of the circuit. This way you can set the clock manually.
7219 (see Maxim datasheet) upwards to check if the display is wired Additionally, if you are going to program the µC in place, put some sheathing over R1 to keep the programming voltage away
Software
The PIC code is written in C using the PCM compiler. Computer System Services. This is available in the UK from Maplin or Farnell as the electronic components used. This compiler actually includes 1-wire routines, but I wrote my own routine so it can redistribute.
PIC16F84 Scrolling DS1920 Temperature Display Hardware
The circuit is based around a PIC 16F84 microcontroller, running at 4MHz. Temperature information is provided by a DS1820 “1- Wire” digital thermometer chip. This can be located remotely via a twisted-pair lead. A MAX7219 serial LED display driver is used to drive a 4 digit 7-segment LED display. The display is mounted with the decimal points along the top, to give degree symbols.
If you,re building the circuit on a solderless breadboard, its worth getting the 7219/display combination up and running before you add the rest of the circuit. This way you can manually clock the 7219 (refer to the Maxim datasheet) to check the display is wired up correctly. Additionally, if you,re going to program the C in-situ, slip some sleeving over R1 to keep the programming voltage away from the rest of the circuit.
PIC16F84 DS1920 Software
The PIC code was written in C using the CCS C PCM compiler from Computer System Services. This is available in the UK from Maplin or Farnell, as are the electronic components used. This compiler actually includes 1-wire routines, but I wrote my own so I could redistribute them.
The C listing, along with assembly and hex files, are included in the project download package.
I used Bryan Rentoul,s PIC Programmer – it works great and has really nice software. If you build this though, check the voltage regulator pinouts as I found mine differed from what was shown on the schematic.
Temperature Display CCS C source codes;
Password: 320volt.com
Published: 2009/01/27 Tags: ccs c examples, microchip projects, microcontroller projects, pic16f84 projects
12V to 70V DC DC Converter Circuit SG3525 900W
DC-DC converter circuit sg3525 SMPS control IC based on the 900w power can give power transformers used the etd59 output 4N25 opto-isolated with 12 volt input with symmetrical + – 70 volts total of 140-volt outlet is giving auto amp power supply can be used as ares prepared with PCBs have to file scheme no
symmetric 70v complete DC DC Converte