0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示

使用NOKIA3310液晶屏及DS18B20制作的数字温度计,Digital thermometer

454398 2018-09-20 18:56 次阅读

使用NOKIA3310液晶屏及DS18B20制作的数字温度计,Digital thermometer

关键字:数字温度计,DS18B20,NOKIA3310,PIC12F629

文本原自:http://www.electronics-lab.com/
看不明白的朋友可以通过GOOGLE的翻译页面http://translate.google.com/帮助,虽然翻译并不是很准确,但是也是值得参考的。

Use parts of an old or broken mobile phone? Why not!

One useable part of a mobile phone is its LCD, which can be used in many applicationswhere we need data visually presented.

Nokia 3310 has a LCD with 84*84 dots, that isn't that hard to get and can be very useful in DIY (do it yourself) electronics.

This page describes a device I designed to test such a display and turned out to be the circuit that I am proud to share with you. Since my motto is 搒implicity in construction? with a few parts you will be able to create a relatively accurate and visually appealing thermometer.

Technical characteristics :

  • Voltage ....................... 3 - 3.3 V
  • Range (1) ....................-55 do 125' C
  • Min. temp. step ............ 0,1 ' C
  • Max. error ................... +/- 0,5 ' C
  • Max. resolution ............. 0,0625 ' C
  • Temp. refreshed every.... 1,2 sec.
  • Dimensions ................... 40 * 38 mm
  • 2 modes of display .........normal/inverse
  • Llcd ............................. 84*48pixela
  • Amperage (2)................. 0,2 mA - 0,8 mA
  1. Range of -55 to 125癈 is possible if ONLY the sensor is in that area not the whole device!

  2. Amperage of the device varies because of the conversion of DS18B20 (measuring the temperature and reading the measured temperature), that lasts about 700ms and at that time the device uses 0.8mA, for the next 500ms the device is in 搒leep?mode and uses 0.2mA.

The LCD supports two modes of operation (normal and inverse), the jumper placed on the back of the device is used for changing modes.

Negative temperatures are given a 搈inus? the bar shows temperatures normally but with an added minus.

In this picture I charged the device with a 3.6V lithium battery. Do not use a greater voltage then this because the Nokia 3310 LCD works with 2.7 to 3.3V!!! Careful!

Lcd

First we need to extract/salvage the LCD from the Nokia 3310 mobile phone. Be extremely careful and patient during this process, because as you know the display is just a thin piece of glass that is very sensitive.

There is an 8 pin connector on the back of the display, in our case it's glued to the glass (Nokia 3210 has 搑ubber?connectors so this one is much easier to use). This is a Phillips PCD8544 display, it can be easily found on the net if you want more information about it.

PCB

The second step is making the board which is small and isn't that difficult to make. Pay close attention while gluing the plastic edges on the board because they will be holding your LCD. Double check connector positions before gluing. In the bottom corners I glued two plastic separators so the LCD leans on them and not the solder points.

Layout of elements

On the back side we can see the layout of elements, they aren't hard to find and there aren't that many of them.

I placed the temperature sensor DS18B20 in a socket for testing purposes, it is also possible to connect the sensor at a distance by adding wire (I haven't tested 1 wire sensors at a distance yet).

If by any chance the contrast isn't to your liking, it can be changed during the programming of Pic12F629, in the program location D2h. the current value A9h is the one I use with my LCD and don't know it will be for other LCDs. The value can be set to anything between 80h and FFh, 80h being minimum contrast and FFh maximum.

Since I have noticed that there is a problem with programming these microcontrollers you should read the short how-to for programming PIC12F629/675 microcontrollers.

This device was just a test and I hope to have many more circuits that utilize this LCD soon because I'm very fond of its easy implementation.

If you have any difficulty in making this device, feel free to mail me.

附件是相关的程序和电路,如果感兴趣可以下载试做哦

2007615193243.rar

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
收藏 人收藏

    评论

    相关推荐

    DS18B20温度传感器的工作原理和硬件设计

    通过本文可以了解DS18B20温度传感器工作原理、硬件设计、DS18B20单总线接口驱动编写。
    的头像 发表于 10-24 14:38 723次阅读
    <b class='flag-5'>DS18B20</b><b class='flag-5'>温度</b>传感器的工作原理和硬件设计

    ds18b20传感器的使用方法

    DS18B20是一种广泛使用的数字温度传感器,它基于1-Wire(单总线)通信协议。这种传感器因其高精度、易用性和低成本而受到欢迎。 DS18B20传感器简介
    的头像 发表于 10-18 14:52 426次阅读

    ds18b20温度传感器怎么接线

    DS18B20是一种广泛使用的数字温度传感器,它基于1-Wire(一线)通信协议工作。这种传感器因其高精度、易用性和低成本而受到欢迎。 DS18B20传感器引脚介绍
    的头像 发表于 10-18 14:50 700次阅读

    ds18b20温度传感器如何使用

    DS18B20是一款广泛使用的数字温度传感器,它具有高精度、低功耗和易于使用的特点。 DS18B20温度传感器简介
    的头像 发表于 09-03 16:51 531次阅读

    ds18b20温度传感器是什么类型

    DS18B20温度传感器是一种数字温度传感器,它属于单总线(One-Wire)数字温度传感器类型
    的头像 发表于 09-03 16:46 777次阅读

    ds18b20温度传感器和dht11的区别

    DS18B20和DHT11都是常用的温度和湿度传感器,它们在许多项目和应用中都有广泛的应用。 1. 工作原理 DS18B20 DS18B20是一种
    的头像 发表于 09-03 16:44 1146次阅读

    MY18E20、MY1820 与 DS18B20 性能对比表

    MY18E20、MY1820 与 DS18B20 最高测温精度一样,都是±0.5℃,M1820Z 最高测温精度±0.1℃。芯片感温原理基于 CMOS 半导体 PN节温度与带隙电压的特性关系,经过
    的头像 发表于 07-29 18:22 718次阅读
    MY<b class='flag-5'>18E20</b>、MY1820 与 <b class='flag-5'>DS18B20</b> 性能对比表

    STC32和STC8H驱动DS18B20测温串口发送数据

    STC32G12K128 和 STC8H8K64U 驱动 DS18B20 模块,采集环境温度并通过串口发送数据至电脑
    的头像 发表于 06-27 16:27 735次阅读
    STC32和STC8H驱动<b class='flag-5'>DS18B20</b>测温串口发送数据

    基于51单片机烟雾及DS18B20温度检测设计

    本资源内容概要:       这是基于51单片机烟雾及DS18B20温度检测设计包含了电路图源文件(Altiumdesigner软件打开)、C语言程序源代码(keil软件打开)、元件清单(excel
    发表于 06-27 11:33 0次下载

    基于51单片机DS18B20温度采集控制风扇设计

    本资源内容概要:       这是基于51单片机DS18B20温度采集控制风扇设计包含了电路图源文件(Altiumdesigner软件打开)、C语言程序源代码(keil软件打开)、元件清单
    发表于 06-26 10:43 0次下载

    基于51单片机DS18B20温度采集1602液晶显示报警设计

    本资源内容概要:       这是基于51单片机DS18B20温度采集1602液晶显示报警设计包含了电路图源文件(Altiumdesigner软件打开)、C语言程序源代码(keil软件打开)、元件
    发表于 06-25 10:16 0次下载

    DS18B20温度传感器工作原理

    DS18B20以其独特的工作原理、卓越的技术参数和广泛的应用场景,成为了市场的明星产品。 深入了解DS18B20的工作原理 DS18B20温度传感器的工作原理基于热敏电阻的特性和
    的头像 发表于 06-19 16:01 1048次阅读

    基于STC8H8K64U和DS18B20温度采集和LabVIEW上位机显示

    之前通过 STC 单片机和 DS18B20 实现了环境温度采集并串口显示,后面进一步想要实现温度的实时监测和数据记录保存,因此编写了 LabVIEW 程序,修改了部分单片机程序代码。经过实验验证
    发表于 04-08 12:28

    DS18B20温度传感器的优缺点

    可编程寄存器:DS18B20内部具有可编程寄存器,允许用户对其进行配置和控制,以满足不同的应用需求。
    发表于 04-04 11:39 4148次阅读

    基于51单片机的多点温度检测网络,DS18B20传感器,代码,仿真,原理图等资料

    设计概述 基于DS18B20的多点温度测量监控系统设计,以AT89C52单片机作为主控制器,不断循环读取4组DS18B20(T1、T2、T3和T4)温度数据,同时使用LCD1602
    发表于 03-24 22:08