midon design A 1-Wire Serial Interface TEMP08 Figure 1 TEMP08 TEMP08 User Guide Version 4.0x November 27, 2014 TEMP08 User Guide Version 4.
midon design 1. Table of Contents 1. Table of Contents ..........................................................................................2 1.1. List of Tables ..........................................................................................3 1.2. List of Figures .........................................................................................3 2. Introduction ....................................................................................................4 3. Installation.......
midon design 1.1. List of Tables Table 1 TEMP08 Command List .........................................................................10 Table 2 Sensor Type Descriptions ......................................................................15 Table 3 TEMP08 Software History......................................................................21 Table 4 Common TEMP08 Problems and Resolutions.......................................21 Table 5 TEMP08 Error Messages..............................................
midon design 2. Introduction Thank you for your purchase of the TEMP08 1-Wire Serial Interface. The following instructions will assist you in configuring and operating the product. TEMP08 is a stand-alone 1-Wire interface providing standard serial commands to control the Dallas/Maxim 1-Wire bus and the devices used on it. Sensors can be polled on a regular basis (from 1 to 99 minutes), or manually interrogated. In a typical application, TEMP08 is connected to a serial port on a PC.
midon design • On-board DS2438 voltage and temperature sensor • Jumper-less provisioning - all configuration settings are stored in non-volatile memory • Up to 60 1-Wire are sensors supported • Simple instruction set with a Help (HLP) prompt for recalling command names • Easy to delete sensors, if they are no longer required, using the DEL command • 1-Wire bus errors, such as shorted wires, are flagged when they occur • Support for software serial flow control (Control-S, Control-Q) to permit i
midon design local power is being used to power the sensor, connect the VDD terminal to it. See Figure 2 for device connections. Figure 2 DS18S20/DS18B20 Pin-out TEMP08 User Guide Version 4.
midon design Figure 3 TEMP08 Parts Placement 4. Using the TEMP08 TEMP08 User Guide Version 4.
midon design Connect up a straight-through serial cable between TEMP08's J4 connector and your PC. Open up HyperTerminal (or equivalent terminal emulator program) on your PC. Configure it to 9600 BPS, No parity, 8 bits, 1 start bit and NO hardware handshaking (very important!). Power up the TEMP08 and configure the unit for the devices that you have connected. We recommend that you next use the ERA command for first time use, to erase the EEPROM.
midon design Rain #01[8E00000001562C1D]=003.32 Inch Counter #01[D4000000045C621D]=00000029 00024592 1WIO Status #01 [A400000001042829] = On,Off,On,Off Temp #01[9900080049199310]=79.80F Temp #02[5C00080009242E10]=75.80F Temp #03[9F00000037555326]=79.00F Temp #04[A900000037621A26]=78.77F Temp #05[21000000032E4E22]=76.66F Temp #06[020000002B2CB326]=76.10F > If there are no apparent errors, you are ready to use TEMP08. Enjoy! TEMP08 User Guide Version 4.
midon design 5. TEMP08 Commands These commands are valid for v4.0x versions of TEMP08 software. Table 1 TEMP08 Command List Command Description DEL Delete a sensor that was previously installed via the INI command DIS Display serial numbers of all configured 1Wire devices ERA Erase the EEPROM ETE Enable Temperature displays from DS2438 devices ETI Enable Once-Per-Minute Time Display EWN Enable Wind Direction display for DS2450 sensors FAC Restore to factory settings.
midon design Command Description NOR Set North for a DS2450-based Weather Station RLY Actuate a specific 1WIO relay, or bits 0 to 3 of any connected DS2408 configured as TYPe “O” Syntax NOR RLY Where = 01 to 80 or A for All (the leading zero is required for relay numbers less than 10) RST Reset both DS2423 counters RST SCK Set Clock SCK dd, hh, mm, ss dd = 01 to 07 (Sunday = 01) hh = 00 to 23 mm = 00 to 59 ss = 00 to 59 Note 2 SET Configure
midon design Command Description ZZZ Performs a soft reset of TEMP08 Syntax ZZZ Notes 1. The parameter in some commands above refers to the sensor number as shown via the DIS command. See the DIS command explanation below. 2. Most commands do not require a Carriage Return (enter) following the parameter or command input. One exception is the SCK command. Commands requiring a sensor number input will require a CR if the sensor number is only a single digit. 3.
midon design This option will determine if DS2438’s are queried for their temperature display. DS2438’s are used for many other sensor types and there are times when displaying their temperature may not be desired. If this is the case, the display of these temperatures can be suppressed by setting this option off. Use the ETD command to adjust only this parameter. Regular Time Display This option, when set to on, will provide a once-per-minute time display output from TEMP08.
midon design Serial # disp = On Wind dirn rev = Off DS2438 Temp Display = On OnBoard ADC = On Regular Time Display = Off Display Wind = On SUN 00:00:59 > 5.2.1. DIS output explanations Sensor numbers do not necessarily match up with the output from the regular sensor output readings. This is intentional. The sensor numbers in the DIS output are the memory locator and are used by the DEL and RST commands. The sensor numbers in the scan output are sequential numbers for each type of sensor.
midon design The letters designate the sensor type per the following table.
midon design Rain #01[8E00000001562C1D]=003.32 Inch Counter #01[D4000000045C621D]=00000029 00024592 1WIO Status #01 [A400000001042829] = On,Off,On,Off Temp #01[9900080049199310]=79.80F Temp #02[5C00080009242E10]=75.80F Temp #03[9F00000037555326]=79.00F Temp #04[A900000037621A26]=78.77F Temp #05[21000000032E4E22]=??? Temp #06[020000002B2CB326]=76.
midon design NW NNW In order for these cardinal points to line up to correct North, you must initialize the TEMP08 first by manually (physically) setting the Wind vane to point to North and then use the NOR command to save that direction in memory. Wind speed is shown as an average of the speed over the previous polling interval. The Gust speed is the maximum speed in any 1-minute period of any polling interval.
midon design 5.5. 5.5.1. Discrete Option Commands Once Per Minute Time Display (ETI) Another option is to enable or disable the once-per-minute time display. The command ETI on enables the display. 5.5.2. Temperature Display from DS2438 (ETE) Another option is to enable or disable the temperature display resulting from the on-chip temperature sensors present on DS2438 devices. If enabled, this temperature will be included in the normal poll or TMP display.
midon design 5.5.7. Serial Number Display (SID) Set this to On if you want TEMP08 to display the 1-wire ID of all sensors during the DIS display or poll display. 5.6. Set North Command (NOR) This command is used to calibrate physical North against the electronic North of the DS2450-based sensor. To use this command, align your physical weather vane to point North then enter the NOR command. You will be asked to confirm, do so, and the new North position will then be stored in permenant memory. 5.7.
midon design 5.10. Display Time Command (TIM) You may find it useful to display the time independant of any normal time display, such as prior to a polling cycle. The TIM command will accomplish that. 5.11. 5.11.1. DS2408 Sensor Usage Relay Sensors TEMP08 has the ability to actuate relay modules based on the DS2408 port expander chip from Dallas/Maxim. One such module is the Midon Design 1WIO.
midon design 6. Software 6.1. Software Change History Table 3 TEMP08 Software History Version Date Major Changes from Previous Loads 4.0x 11/26/2014 • Final production version of software 6.2. Upgrading TEMP08 Software Midon Design strives to continue to add value to the TEMP08 product and, as a result, we release new features to the TEMP08 software from time to time. Upgrading TEMP08 is easy. Software updates can be downloaded from our web pages.
midon design Problem I added a new sensor and now all I get is “OW Bus Error” messages I was able to add a new sensor but all I get is “???” readings from it. I removed a sensor from my wiring and now all I get is “???” readings from it. I added a DS2405 (or 2406 or 2407) sensor and I cannot see the state change when I change the input to it. I tried to add a bunch of sensors via the INI command and only some of them showed up.
midon design 8. Error Messages Table 5 TEMP08 Error Messages Message Description ? Entry error You have made a syntax error in entering a command or a parameter Not installed TEMP08 could not communicate to the device that you were trying to access. Check your 1-Wire bus wiring, or make sure that you are specifying the correct sensor number. Try again This error is specific to the NOR, LED and RLY commands and indicates that TEMP08 could not write to the DS2450 or DS2408. Check your wiring.
midon design 9. Schematic Figure 4 TEMP08 Schematic Note that not all components are used. The “*” indicates optional components that are typically not connected. TEMP08 User Guide Version 4.
midon design 10. Conclusion Your comments are appreciated. If you would like to submit feature requests or product recommendations, please e-mail us. 11. Legal Disclaimer YOUR USE OF THIS PRODUCT IS AT YOUR OWN RISK. YOU ASSUME FULL RESPONSIBILITY AND RISK OF LOSS RESULTING FROM THE USE OF THIS PRODUCT.