25
Voltmeter Thermometer Voltmeter Added: September 29, 2013 Last Updated: December 30, 2013 The device measures two temperatures and voltages. example, outdoor, indoor temperature and the electrical system of the car or caravan. while displaying outside temperature display may flash - signaling icing. The measured temperature can be from -55 to 125 ° C, it is a full range of sensor DS18B20. band V -9.9 to 99.9 ° C, the temperature displays with a resolution of 0.1 ° C, while the marginal zones are no decimal places. measured voltage range is 0 to 30V with a resolution of 0.1V. The processor section is taken from the structure DS thermostat , but just involve only one button (any). Involvement of the main connector. After each power supply will search identification codes DS circuits. 1.DS Out (T0) 2.DS In (T1) If not found, no sensor fault is indicated [E.00]. The search is repeated.

Voltmeter

Embed Size (px)

Citation preview

Voltmeter

Thermometer VoltmeterAdded: September 29, 2013 Last Updated: December 30, 2013

 The device measures two temperatures and voltages. example, outdoor, indoor temperature and the electrical system of the car or caravan. while displaying outside temperature display may flash - signaling icing.The measured temperature can be from -55 to 125 ° C, it is a full range of sensor DS18B20. band V -9.9 to 99.9 ° C, the temperature displays with a resolution of 0.1 ° C, while the marginal zones are no decimal places.  measured voltage range is 0 to 30V with a resolution of 0.1V.The processor section is taken from the structure DS thermostat , but just involve only one button (any).

Involvement of the main connector. 

After each power supply will search identification codes DS circuits. 1.DS Out (T0) 2.DS In (T1) 

If not found, no sensor fault is indicated [E.00]. The search is repeated. 

Because it searches only the first 8 bits of the identification code can have both sensors the first byte of the same. In this case, the error displayed [E.02]. Searching is repeated one sensor needs to be replaced. 

If the sensors are found, the starting mode of the automatic imaging values alternate one after another. Initially, the title, then to the appropriate value.

MENU LED LED

Out outdoor temperature (T0) B4

In internal temperature (T1) A3

bAt voltage B4 A3

Not only the title but also by signaling LED know what just appears.

Pressing the button will switch from automatic to manual switching display. before I find each value shows the title - press the button, the value will be displayed after the button is released. you hold the button longer (2s), go back to the automatic display.Signalling icing:When displaying outdoor temperature from -1 to +1 ° C, the display flashes. Program (PIC16F1827) TVM15_1827.HEX (5.5 kB)The source code , programming fuses: TVM15_1827.asm (36.8 kB) 

I added (optional) another temperature for the engine.

MENU LED LED

Out outdoor temperature (T0)

In internal temperature (T1) B4

EnG Engine, engine temperature (T2) A3

bAt voltage B4 A3

Automatic display. 

Manual changeover.

Více zde: http://s-o.webnode.cz/teplomer-voltmetr/

Differential thermostat RT2DSAdded: August 27, 2010 Last Updated: December 28, 2013

 The controller solar heating, 2x thermostat, clock, date, recording MIN / MAX temperature, manual mode.Temperature range: -55 ... +125 ° C, resolution 0.1 ° C Accuracy: ± 0.5 ° C in the range -10 ... +85 ° C. Outputs: 3x relay changeover contacts AC250V/8A. supply: AC230V 

Basic display.Top row, left collector temperature T1, the right tank temperature T2. Bottom line, time, day, date. Control buttons.(+) Plus: another view, plus it is set, the output switches RT1 in manual mode.(-) Less: previous display, minus when setting toggles RT2 in Ru. operation.(N) Next: The following value is set, switches RT3 in Ru. operation.(S) Set: start setting, after setting and saving. Control LED and alarm relay switched.Re1         thermostat T1 (RT1 output, collector) Re2         thermostat T2 (RT2 output, stack)Re3         differential thermostat (output RT3)Record    new MIN / MAX temperature sensor test. Control.

 When you view used buttons (+ / -) to toggle the display, (+) forward (-) back. If we want to set one, just the displayed value, press or hold the button (S). Once the value starts flashing, you can change (+ / -), long press to speed up the addition / subtraction. Button (N) to scroll to the next value (right) or back to the beginning. Setting terminate at any time and at the same time save the key values (S). Data are backed up in EEPROM, so that after power lost. The backlight turns off automatically after 256 seconds of inactivity buttons, pressing any button will turn back on.  Viewing is restricted to 30s. since the last reset, then automatically switches to the basic display, temperature, time, date. This does not apply when setting up (flashes) and manual operation. In these cases, the backlight does not go out.  The controller solar heating.

 The temperature in the collector T1 is compared with the temperature in the tank T2. If the collector temperature greater than the stack, the controller switches the circulation pump / valve (RT3 output) relay Re3.  output to react to the slight temperature difference can be set to start and stop difference, T.Dif.ZAP and T.Dif.VYP (0 ... 25.5).

(S) start tweaking. (+ / -) value (0,1). (N) switch setup, ON / OFF. (S) end adjustments. The difference ZAP shall not be less than OFF in violation of this condition values adjusted automatically. Eg. To increase the differential OFF over ON, increases both values. 

Thermostat.

 Temperatures T1 and T2 can also watch separately, using two independent thermostats.  Scope of the reference temperature -55 ... 125 ° C, hysteresis 0 ... 25.5.Ref.Teplota 1 and hysteresis for temperature T1 (RT1 output) relay Re1.

Ref.Teplota 2 and temperature hysteresis for T2 (RT2 output) relay Re2.

(S) start tweaking. (+ / -) value (0,1). (N) switch setup, temperature / hysteresis. (S) end adjustments. Clock and date. The time and date is derived from the clock frequency of the microprocessor. Clock accuracy thus depends on the frequency of the crystal. Besides seconds, all values stored in the EEPROM. After switching or power supply need to re-set everything.

(S) start setting, hold about 3s. until the hours blink. (+ / -) to set the clock. (N) transition in minutes. (S) end adjustments.

(+ / -) To set the minute. (N) the transition to the second. (S) end adjustments.

(+) Or (-) hold - reset and stop seconds. Start running until after the button is released. (N) transition to date. (S) end adjustments.

 Day of the week, date and month are the same way.(+ / -) Value. (N) transition to the next value (from the moon back to the clock). (S) end adjustments. Records MIN / MAX temperature.

 Reaching the minimum or maximum temperature is stored together with the time and date. If there is a new record, the LED lights up when viewing a record, at a particular temperature, flashing MIN / MAX Tx. In addition to recording at a record temperature values can also manually override the - hold (S) for about 3 seconds, put the current temperature, time and date. Manual operation. Use the buttons via the output RT1, RT2, RT3, manually controlled power relay Re1, Re2, Re3.

 When you turn on the manual operation of relay status remains "frozen". Switch can occur while setting where flash output states. Signal LED always indicates closed relay logic state of the corresponding output may yet be 1 or 0, depending on how they are set jumper. (S) start setup, hold for about 3 seconds, until it starts blinking. (+) switches RT1. (-) switches RT2. (N) switches RT3. (S) end switch. The output status lights stop flashing, but regulation begins to exit from this mode, switching to a different screen. Jumper. The relay Re1, Re2, Re3 respond to control output RT1, RT2, RT3.  using jumpers can set the relay switch on log.1 or log.0. In both cases, the warning LED with relay.  Switching level log.1 Utilize heating, while log.0 for cooling.

 Both Jumpers = log.1 left, right = log.0 Spince level will not change often, probably only once, prior to commissioning, so instead of jumpers just by soldering wires, or a drop of tin interconnect PCB. Search the identification numbers of sensors (SEARCH ROM). After each power-on (reset) will take place at one-wire bus (Dallas 1-Wire) identification sensor DS18B20.

 Subroutine SEARCH retrieves and stores the first 8-bit serial number (there are 48). It may happen that you buy 2 sensors and both will have the same first byte, in which case you can use only one of them. It happened to me in 2 of 10 sensors.   sensor code with the lowest measured temperature T1, T2 others. Identification code of the required sensors, seconded processor bus, other sensors will switch to standby mode so you can communicate with only one sensor. P on the command RESET / PRESENCE (reset pulse on the 1-Wire) all sensor returns d on online. Because communication can sometimes fail, verify the received data checksum (CRC) and, in addition, each sensor is assigned a counter disorders. Faulty communication counter is incremented while it is correct to zero. In the interim, the random error remains the last valid temperature, so p orucha sensor not appear immediately. After reaching a certain level of fault counter will be displayed instead of temperature fault. 

 Communication with the sensor but continues and reaches the next level meter failures, enables the test mode. The frequency of loading temperature is roughly 1 in 3 seconds, it also corresponds to the speed increment counters disorders. Mainly affects the communication quality cable length and noise level. For longer cable management is better with a larger cross-section of wires and shielded with interference, such as parallel power lines. The cable can be compensated Pull-up resistors on the 1-Wire, 4k7 to 1k. Longer cable - smaller Pull-Up.

 Here, the sensor continually seek out and written out their identification codes. Retrieving codes are accompanied by flashing LED control record (the search is complete - change of state).  If we have a new, unknown sensor test mode can be used for their detection, to determine which is which for a collector tray. The sensor connect / disconnect and monitor codes (disconnected = 00). After finding the two sensors, press (hold the) key (S) to return to the basic display. If, however, about 4 minutes, no button is pressed, the basic display turns on automatically. Buttons (+ / - / N) only prolong the test mode for the next 4 minutes (256S). Select the ° C (ring). Display LCD module BC1602A YPLEHS, the character set ASCII code ring 178 (B2 HEX). This code is in the preset. Other display with a different character set, you may have a different character instead of ring. Using this mode you can choose any character from the character set of a particular display.

(S + N) start selecting the ring in the basic display, press (hold) two buttons (first S). (+ / -) to change the character. (S) end and save the code into the EEPROM. Program  RT2DS_305.HEX (15.5 kB)The header of the source code, programming fuses  RT2DS_305.asm.txt (2.9 kB) The latest version allows external parasitic (or a combination of both) supply temperature sensor DS18B20.

 The parasitic power just 2 wires, GND and data line (1-wire).  sensor is supplied only from the data line. If the line is in a state of log.1 charges the internal capacitor sensor, which then delivers supply current when the line is in log.0. Note that when the power supply is limited by parasitic measured temperature to 100 ° C.

Parasitic power. 

External power supply. 

The combination of parasitic and external power supply. Circuit diagram and PCB.The processor part (UniModul). UM007.sch (151.5 kB)   UM007.brd (37.2 kB)  

 Real time is derived from PIC16F88 microprocessor clock frequency, so it must be crystal frequency Q1 4194304Hz set accurately. Finely tune out the capacitive trimmer C3. If the clock will precede enlarge the capacity. If C3 is not enough, we increase the capacity of the capacitors C1 and C2.  Retrieving the switches and communication with the LCD display takes place alternately at 4-bit bus (RB4, 5,6,7).  contrast of the display set trimmer R7, well it goes when the display flashes a character adjustment.  Interconnection B3 - Backlight is used for automatic LCD backlight off. To ensure that the display constantly shining, connect the inlet of a backlight +5 V.

 UniModul plate can be ordered on www.bucek.name under the name RR72 . Source part. Z1WIRE.sch (306.6 kB)   Z1WIRE.brd (44.4 kB)  

 joint under the coil L1 should be discontinued, the board is designed for the variant without coil.

 The board also sells www.bucek.name under the name z1wire .  Construction.

 Connect the sensor cable to the phone.

 

 6-module box for DIN rail  www.enclosures-din.com/skE BOX 6M. COVER 3P (4 pieces). Windshield smoke PANEL 6S, or clear PANEL 6C. 

 Distance plastic spacers 30 mm M3 (shortened to 28.5 mm). fuse holder PCB. 

 LED control board. 

 Printing panel paper (photographic paper) under the windshield dimensions width 9.8 cm, height 3.8 cm. List of components.The processor part (UniModul)

IO1 PIC16F88-I / P + socket 18pin precise

Q1 crystal 4194304Hz

Display LCD 2x16 characters BC1602A YPLEHS LCD.pdf (380.1 kB)

T1 KC238 (BC548, etc.)

C1, 2 33p ceramic

C3 0-33p trimmer capacitor

C4 100n ceramic

R1, 2,3,4 1K

R6 8K2

R7 2k2 trimmer (pitch 5-2,5)

R8 10K

TL1, 2,3,4 microswitch 6x6x17mm 12V/0.05A

Connector 10pin connector pins breaking

Connector LCD precision single row socket 16pin

 Source.

(T1, 2) DALLAS DS18B20 temperature sensor, Case TO-92

IC1 7805 stabilizer 5V/1A

Opto1, 2.3 PC815 optocoupler

U1 bridge rectifier 400V/1A DIP package

D1, 2.3 1N4007 1000V/1A

D4 BZV 06-15B 18V 18V transil

D5, 6 BZV 06-5V8B transil 5.8 V

LED1, 2,3,4 LED 3mm/2mA

C1 1000uF/25V

C2, 3 100uF/25V

C4-5 M1 ceramics

R1 2.3 820

R4 1K

(R Pull-Up) 4K7

L1 10mH coil

Re1, 2.3 relay coil DC12V contact: 2x changeover AC250V/8A

TR1 PCB Transformer 1.9 VA AC230V/9V

CON1 SIL single row 10pin

Insurance 0.1 A + 2x fuse holder, PCB

Terminal Row spacing 5mm, 4 x 3 poles, 1 2pol

Jumper connector pins breaking 5Pin 3x + 6x shunts (jumpers)

 

Více zde: http://s-o.webnode.cz/rozdilovy-termostat-rt2ds/

ClockAdded: July 22, 2008 Last Updated: March 16, 2013

Construction hours of classical logic circuits is an excellent school digital technology. Such hours, however, contain a lot of integrated circuits, today it employs a microprocessor. When writing a program (not just for an hour), but knowledge of digital technology very useful.

   The clock displays the time, date, day of week and year. This information is automatically displayed according to the selected mode.

   The only control just two buttons. Upper N , mode selection 1-4, while setting +1. Bottom button S , setting. 

Mod1 - only time 

Mod2 - alternating time (6 s) and date (s 2) 

Mod3 - time (6 s), date (2 s), day (2 s) 

Mod4 - time (6 s), date (2 s), day (2 s), year (2 s)For Mode 2-4 applies: always in the fifty-sixth second begins from the time display. Settings.   specific data can change only when they're displayed on the screen, so that, for example, to set the mode you must first select the fourth Once the year is displayed, press the down key S . The value flashes, press N you can change (+1) button is held accelerate attribution. Button to exit S .    Setting the time is divided into three steps. First flash hours, then minutes and finally seconds. Press S  to select the specific value gradually. When setting will be displayed for SE.sekundy. Press N  is reset to zero, and as long as the button is pressed, the second stopped. The date is set in two steps, the first day, then the month. The year can be set up to 2099, then returned for 2000.    Immediately after setting the year starts manually set the display brightness.

   Jas has ten levels 0-9. manually adjust the brightness but it will be only temporary, in definite times, changing automatically

brightness, brightness 6.00 5 8.00 9 brightness brightness 4 18.00 20.00 brightness 0 Wiring diagram.  Hodiny_01.sch (788 kB)

   Clock accuracy depends on the crystal (4194304Hz), we tune the frequency capacitive trimmer C3. If the frequency is low (time late) - C3 lose capacity. High frequency (time prevents) - C3 add capacity. If time precedes, although C3 to maximum capacity, enlarge the capacity of capacitors C1 and C2 (10 to 20pF). Conversely, if the time is late, although C3 is already at minimum, reduce the capacity C1, C2.    During power failure, the clock is powered by the UPS. That the battery lasted as long as the display during power goes out, only the decimal point flashes (1 Hz). When the power lights display the lowest brightness (0). PCB.  Hodiny_01.brd (124.9 kB)

   The printed circuit board is divided into two parts. Module connector and two screws (M2) holds two boards together. Dimensions of the box correspond to U-KM32B. It all goes down there, so there is no need for additional mounting.    tile display may be reversible. Place the top layer (red) can use the jumper, such as thin tinned wires of the cable conductors. One end of the solder to the soldering point and the other threaded through into the hole for the display. After installation of the display, wires wrapped around the legs and fly through.

 parts list. IC1 PIC 16F628A + 18-pin socket IC2 78L05 Q1 crystal 4194304Hz G1 B250C1000DIL diode bridge     DIS1, 2 HDSP-5521 (high bright, common anode) D1 1N4001 D2 1N4007 SMD housing D0213AB D3 BAT85 (SB160) Schottky diode R1-8 330ohm R9-11 1k R12, 13 10K SMD R0603 C1, 2 30pF C3 0-40pF trimmer capacitor C4 500uF/16V C5, 6 100nF 100nF SMD C7 C0603 TLS, N B6819 microswitch, height 17 mm PCB transformer TR1 AC230/6V/0, 35W tube fuse F1 + 2x 50 mA fuse holder, PCB accu BAT (NiCd) 4.8 V/400mAh + jack connector breaking bar row + SIL 2x7 pin box U-KM32B 

Více zde: http://s-o.webnode.cz/hodiny/