background image

14

UNI-DS6

MikroElektronika

page

10. DS1820 temperature sensor

DS1820 is a temperature sensor that uses 1-wire communication for its operation� It is used to measure temperature in 

a range between -55 and 125°C and provides ±0�5°C accuracy for temperatures in a range between -10 and 85°C� The 

power supply voltage of 3�3V to 5V is used for the operation of this sensor� It takes maximum 750ms for the DS1820 to 

convert temperature with 9-bit resolution� There is a socket for this temperature sensor provided on the development 

system� Communication between this module and the microcontroller is enabled via the microcontroller pins RC1 and 

RA4� To use pin RC1 place jumper J15 in the RC1 position and for the RA4 pin place jumper J15 in the RA4 position�

1-wire® serial communication enables data to be transferred over one single communication line, while the process 

itself is under control of the 

master 

microcontroller� The advantage of this communication is that only one microcontroller 

pin is used� All slave devices have a unique ID code, which enables the master device to easily identify all devices 

sharing the same communication bus� 

VCC-BRD

DS1820

DQ

DS1820-DQ

R13

1K

-55  C

125  C

Botoom view

VCC-MCU

DQ

GND

DS

1820

VCC-MCU

DQ

GND

RC1

RA4

J15

RA4

RE4

RE2

RA12

RB4

RF12

RB12

RG4

RC4

RG12

RC12

RH4

RD4

RJ4

RD12

USB-VBUS

RA6

RA14

RF6

RB6

RF14

RB14

RG6

RC6

RG14

RC14

RH6

RD6

RJ6

RD14

#RX232A

#TX232A

#SCL

#SDA

#SS1#

#SCK1

#MISO1

#MOSI1

USB-DP

RA0

RE0

RA8

RF0

RE6

RB0

RF8

RB8

RG0

RC0

RG8

RC8

RH0

RD0

RJ0

RD8

RA2

RA10

RF2

RF4

RB2

RF10

RB10

RG2

RC2

RG10

RC10

RH2

RD2

RJ2

RD10

RA5

RA13

RB5

RF13

RB13

RG5

RC5

RG13

RC13

RH5

RD5

RJ5

RD13

RA7

RA15

RF7

RF5

RF3

RB7

RF15

RB15

RG7

RC7

RG15

RC15

RH7

RD7

RJ7

RD15

#RX232B

#TX232B

#CS1#

#CS2#

#SS2#

#SCK2

#MISO2

#MOSI2

USB-DN

RA1

RE1

RA9

RF1

RE7

RE5

RE3

RB1

RF9

RB9

RG1

RC1

RG9

RC9

RH1

RD1

RJ1

RD9

RA3

RA11

RB3

RF11

RB11

RG3

RC3

RG11

RC11

RH3

RD3

RJ3

RD11

VCC-SW

VCC-5V

CN20

CN21

Figure 10-4

: DS1820 and microcontroller connection schematic

Figure 10-1

: DS1820 

connector (DS1820 is 

not connected)

Figure 10-2

: Temperature 

sensor DS1820 is 

connected via pin RA4

Figure 10-3

: Temperature 

sensor DS1820 is 

connected via pin RC1

NOTE

:

 

Make  sure  that  the 

rounded  side  of  the 

DS1820 matches half-

circle on the board

Содержание UNI-DS6

Страница 1: ...large number of add on modules and ready to use examples all our users regardless of their experience have the possibility to develop their project in a fast and efficient way Development system If yo...

Страница 2: ...rruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right t...

Страница 3: ...Placing mikroBoard 8 4 Programming microcontroller 9 5 USB UART1 and USB UART2 modules 10 6 ADC module 11 7 USB communication 12 8 EEPROM module 12 9 Piezo buzzer 13 10 DS1820 temperature sensor 14 11...

Страница 4: ...ration of your target device Full featured development system for microcontroller based devices UART communication via USB connector MMC SD card connector Integrated EEPROM module Graphic LCD display...

Страница 5: ...istors 9 DIP switches for enabling pull up pull down resistors 10 I O ports 11 GLCD contrast potentiometer 12 Touch panel controller 13 GLCD display connector 14 Touch panel connector 15 DIP switches...

Страница 6: ...rd socket provided on the development system The position of jumper J16 depends on the voltage level required When a 5V mikroBoard is placed in the socket it is necessary to place jumper J16 in the 5V...

Страница 7: ...ikroBoard uses two 2x40 male headers In addition the mikroBoard can be used as a standalone device There are several mikroBoard types mikroBoard for 8051 40 pin mikroBoard for AVR 64 pin mikroBoard fo...

Страница 8: ...aced in a universal mikroBoard socket Figure 3 1 This socket consists of two 2x40 female headers To place mikroBoard in this socket follow the steps below Figure 3 1 mikroBoard placed in socket STEP 1...

Страница 9: ...which mikroBoard is in use it is necessary to install the appropriate software for MCU programming mikroBoard for 8051 40 pin 8051Flash mikroBoard for AVR 64 pin AVRFlash mikroBoard for PSoC PSoC Fla...

Страница 10: ...CTS CBUS1 USBDM GND CBUS2 GND USBDP NC CBUS3 CBUS1 3V3OUT RI CBUS4 FT232RL U1 OSCI DTR OSCO TXD TEST VCC RTS DSR AGND RESET VCCIO DCD NC GND RXD CTS CBUS1 USBDM GND CBUS2 GND USBDP NC CBUS3 CBUS1 3V3...

Страница 11: ...RA8 RF0 RE6 RB0 RF8 RB8 RG0 RC0 RG8 RC8 RH0 RD0 RJ0 RD8 RA2 RA10 RF2 RF4 RB2 RF10 RB10 RG2 RC2 RG10 RC10 RH2 RD2 RJ2 RD10 RA5 RA13 RB5 RF13 RB13 RG5 RC5 RG13 RC13 RH5 RD5 RJ5 RD13 RA7 RA15 RF7 RF5 RF3...

Страница 12: ...B10 RG2 RC2 RG10 RC10 RH2 RD2 RJ2 RD10 RA5 RA13 RB5 RF13 RB13 RG5 RC5 RG13 RC13 RH5 RD5 RJ5 RD13 RA7 RA15 RF7 RF5 RF3 RB7 RF15 RB15 RG7 RC7 RG15 RC15 RH7 RD7 RJ7 RD15 RX232B TX232B CS1 CS2 SS2 SCK2 MI...

Страница 13: ...9 2 Otherwise place jumper J14 in the RA4 position in order to use the RA4 MCU pin for signal generation Figure 9 3 VCC 5V BUZZER R22 PZ1 10K R23 1K Q1 BC846 RC1 RA4 J14 RA4 RE4 RE2 RA12 RB4 RF12 RB12...

Страница 14: ...vices have a unique ID code which enables the master device to easily identify all devices sharing the same communication bus VCC BRD DS1820 DQ DS1820 DQ R13 1K 55 C 125 C Botoom view VCC MCU DQ GND D...

Страница 15: ...C MMC MMC CS 3 3 MMC CS 3 3 MMC CS MOSI 3 3 MOSI 3 3 MOSI MISO MISO 3 3 SCK 3 3 SCK 3 3 SCK VCC BRD VCC VCC BRD C6 100nF C7 100nF C28 100nF C27 100nF VCC MMC C8 100nF SW13 MMC CS CS2 SW14 MOSI MOSI2 M...

Страница 16: ...D4 RJ4 RD12 USB VBUS RA6 RA14 RF6 RB6 RF14 RB14 RG6 RC6 RG14 RC14 RH6 RD6 RJ6 RD14 RX232A TX232A SCL SDA SS1 SCK1 MISO1 MOSI1 USB DP RA0 RE0 RA8 RF0 RE6 RB0 RF8 RB8 RG0 RC0 RG8 RC8 RH0 RD0 RJ0 RD8 RA2...

Страница 17: ...12 RC12 RH4 RD4 RJ4 RD12 USB VBUS RA6 RA14 RF6 RB6 RF14 RB14 RG6 RC6 RG14 RC14 RH6 RD6 RJ6 RD14 RX232A TX232A SCL SDA SS1 SCK1 MISO1 MOSI1 USB DP RA0 RE0 RA8 RF0 RE6 RB0 RF8 RB8 RG0 RC0 RG8 RC8 RH0 RD...

Страница 18: ...W16 SW17 VCC 5V LCD BCK CN12 D7 LED LED D6 D5 D4 D3 D2 D1 D0 E R W RS VO VCC GND 1 LCD Display 4 bit mode P1 10K R65 10 D7 D6 D5 D4 LCD E LCD RS Vee Vee RA4 RE4 RE2 RA12 RB4 RF12 RB12 RG4 RC4 RG12 RC1...

Страница 19: ...LCD RW LCD RS LCD RST Vee LCD CS2 VCC 5V Vo Vo D7 LCD CS1 D6 VCC 5V R12 10 GLCD BCK GLCD BCK RA4 RE4 RE2 RA12 RB4 RF12 RB12 RG4 RC4 RG12 RC12 RH4 RD4 RJ4 RD12 USB VBUS RA6 RA14 RF6 RB6 RF14 RB14 RG6 R...

Страница 20: ...h panel connection schematic D5 D4 D3 D2 D1 D0 E R W RS LED Vo LED VCC Vee GND RST CS2 D7 CS1 D6 1 20 TOUCHPANEL CONTROLLER GLCD Q7 BC856 Q5 BC846 VCC BRD VCC BRD VCC BRD VCC BRD Q8 BC856 Q BC846 6 R4...

Страница 21: ...linked to the microcontroller I O ports Pull up or pull down resistors can be connected to I O ports via jumpers J1 J11 and DIP switches SW1 SW11 Figure 17 5 Port PORTA connection schematic Figure 17...

Страница 22: ...ion As a result every time you press the RA0 push button the RA0 pin will be fed with a logic one VCC BRD voltage provided that jumper J13 is placed in the VCC BRD position VCC BRD J1 SW1 RN1 8x10K R5...

Страница 23: ...rruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right t...

Страница 24: ...large number of add on modules and ready to use examples all our users regardless of their experience have the possibility to develop their project in a fast and efficient way Development system If yo...

Страница 25: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information MikroElektronika MIKROE 701...

Отзывы: