Joe's Hobby Electronics
  • Joe's Hobby Electronics
    • Electronics Blog

Temperature monitor and alarm

11/4/2016

4 Comments

 
This was one of those projects that should have taken an afternoon and didn't, however it's now complete and working rather nicely.
Picture
I already had a box from a defunct project that had the 4x20 LCD display installed and power switch, mains transformer and a mains IEC socket on the rear so I decided to re-task it for this.

Inside is a PIC18F25K22 running this show, and the device can monitor up to three channels. Each channel has a 5-pin din connector and cable that connects to a Maxim DS18B20 temperature sensor.
You can set the alarm temperature independently on each channel, and the project starts beeping and flashing the LCD backlight if a maximum is exceeded. I also included a relay that can be used as a power interrupter for the project under test. This way I can leave a project on soak but if it starts to over heat, the power can be cut automatically.

The reason it took longer than anticipated was for some reason the PCB never etched correctly and I had some messing around to do. The software only took around an hour to write and debug. I love Proton BASIC.

...and the reason it's three channels and not more, well I happened to have three 5-pin din sockets in my junk box. If I'd had more... who knows.

If anybody is interested I'll make available the circuit diagram, PCB foil and PIC firmware but this really is an easy project to design and build.

So, now that's up and running, I can get back to the original task of designing a decent voltage boost converter.

4 Comments

Overheating computer and equipment rooms

29/4/2012

0 Comments

 
The organisation I work for have many buildings and most contain at least one computer or equipment room. In one particular building, the computer room air-conditioning is temperamental to say the least and because people don’t often need to go in there, one more than one occasion the air-conditioner has tripped and it’s been a while before anybody’s noticed the tropical heat wave going on in there.

Yesterday I designed and built a temperature alarm system. It’s nothing too clever, just three large LED displays in a box, with an 18F25K22 PIC running everything. A Dallas 18B20 sensor has been mounted in a small box and is connected via a piece of three-core cable to the main display unit that can be mounted outside the room.

You can set the maximum allowed temperature and this is stored in the PIC’s EEPROM.

If the temperature rises about the pre-set maximum, the display flashes and there are a couple of 5v buzzers inside the main unit to help attract attention.  There are three additional indicator LEDs housed within the main display unit as well. One is a green LED that flashes indicating all is well, a yellow LED that indicates that the unit is in setup-mode (started by powering on the unit whilst depressing the external push-button switch mounted on the side), and a red LED that indicates the temperature alarm has been tripped at some point. Depressing the push-button switch once clears this indicator and the complete unit is powered from a small 9v plug-in mains transformer.

Inside the unit there are two PCBs. One is the top display board, and the other is the logic and PSU board.

If people are interested I’ll publish the design details for this unit.
Picture
Completed unit on the bench being soak-tested.
0 Comments

    Author

    A software and hardware engineer who loves retro computers.

    Archives

    June 2020
    May 2020
    April 2020
    March 2020
    September 2019
    January 2019
    April 2018
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    May 2015
    April 2015
    March 2015
    January 2015
    December 2014
    September 2014
    August 2014
    April 2014
    March 2014
    January 2014
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    April 2013
    March 2013
    January 2013
    September 2012
    June 2012
    May 2012
    April 2012
    February 2012
    January 2012
    December 2011
    November 2011
    October 2011
    September 2011
    August 2011
    July 2011
    June 2011

    Categories

    All
    18f25k20
    18F25K22
    1-wire
    2114
    2764
    74hc595
    74ls595
    86-0325
    8MHz
    Access Speed
    Acorn
    Acorn System 1
    Alarm
    Aluminium Panel
    Amicus
    Amicus18
    Amicus Basic
    Amplifier
    Antex 1107
    Anti-static Mat
    Arduino
    Assembler
    Backlight
    Bargains
    Basic
    Bat
    Batdetector
    Bat Detector
    Bats
    Bench Audio Amplifier
    Bench Light
    Breadboard
    Bubbler
    Buck
    Bug
    "C"
    Cable
    Cable Gauge
    Cable Wire Size
    Capacitors
    Catalogue
    Clive Maxfield
    Clock
    Clocks
    Common Emitter
    Compiled
    Compiler
    Connector
    CPU
    CPU Simulator
    Crownhill
    Custom Computer
    Custom CPU
    Damage
    Develop
    Diode
    Diptrace
    Double-sided
    Double-Sided PCB
    Dry-joint
    Ds1302
    DS1820
    Ds18b20
    Ebay
    EEPROM
    Electronics And Circuits
    Eprom
    Erase
    Etch
    Evaporator
    Failed Capacitor
    Fake
    Fax Paper
    Ferric Chloride
    Fire Hazzard
    Firmware
    Florescent Tube
    Health And Safety
    Hidden Part Numbers
    High-Voltage
    Hv
    Incubator
    INS8154
    Instruction Set
    Inverter
    Kickstarter
    Lcd
    LM2596
    LM386
    Maxim
    Maximum Current Rating
    Mega
    Mit
    MITx 6.002
    MK4
    Molex
    Mosfet
    NE555
    Nixie
    Nixie Clock
    Npn
    OXO
    Oxo Machine
    Pcb
    Pic
    Pic Basic
    Pickit2
    Pickit3
    Pic Programmer
    Pixy
    Poster
    Pre-amp
    Prices
    Programming
    Project Box
    Project Case
    Project Enclosure
    Psu
    Psu Failure
    Qfn
    RAM
    Rapid Electronics
    Raspberry Pi
    Regulated 5v Psu
    Regulator
    Repair
    Review
    SAD (Segment Address Decoder)
    SCC
    SCC MK4
    Seven Segment Display
    Shift Register
    Silient 700
    Slow Progress
    Smoke
    Smps
    Soldering
    Speed
    Speed Test
    Stepper Motor
    Supression
    Swg
    Switch Box
    Tank
    Tantalum Capacitor
    Temperature
    Temperature Sensor
    Texas Instruments
    Thermometer
    Tic Tac Toe
    Tic-tac-toe
    Timer
    Tools
    Traffic Lights
    Transistor
    Usb
    Uv
    Vbe
    Vcb
    Vce
    W65C02
    Wash
    Weller
    Wirecutters
    Wire Cutters
    Wire Strippers
    Wiring
    Wp3eu
    X2 Capacitor
    X Capacitor
    Y Capacitor

    RSS Feed

© Joe Farr, 2011 - 2020 - Email: HobbyElectronics@kcsl.uk.com