background image

DFRobot

版权所有

Copyright © DFRobot. All rights reserved.CC BY-NC 3.0 CN

P a g e

|

7

2

) 打开

Arduino IDE

,选择板类型为:

LilyPad Arduoino USB

Open Arduino IDE & the selection panel shall be LilyPad Arduoino USB.

3

) 打开

ds3231

adjust

样例程序

Summary of Contents for LeoYan

Page 1: ...Weather Station 使用手册 Weather Station Manual LeoYan DFRobot 10 10 2014 DFRobot 版权所有 CC BY NC 3 0 CN Copyright DFRobot All rights reserved CC BY NC 3 0 CN ...

Page 2: ...rved CC BY NC 3 0 CNP a g e 2 注意事项 Notes A 本产品含有微小部件 不适于 6 岁及以下幼儿使用 Micro components are included in this component kit Please keep it away from kids under age six B 本产品无防雨淋功能 请在防雨的环境下使用 This product is not waterproof Please keep it away from rain ...

Page 3: ...激光切割件 用于支撑和保护内部模块 并减少 阳光辐射对测量的影响 3mm AA laser cut basswood plywood to support protect modules inside and reduce solar radiation s influence on measurements 1 Palette 主控板 Palette main control panel 基于 Atmega32U4 的控制板 兼容 Arduino Leonardo Based on Atmega32U4 compatible to Arduino Leonardo 1 mini 面包板 mini breadboard 面包板 用于各模块的连接 breadboard for connection of all modules 1 LCD 液晶模块 LCD Module LCD 1602 用...

Page 4: ...10 12cm 5 用于电气连接 To wire things up 1 太阳能板 Solar Module 光合太阳能电池板多晶 6V2W 用 于将太阳能转换成电能 Polycrystalline solar panels photovoltaic modules 6V2W used to transfer solar energy into electric energy 1 太阳能配线 Solar Cables 太阳能板的引出线 需要自行焊接 Leads for the solar panel You need to weld it on your own 1 太阳能充电模块 Charge Module 太阳能充电模块 用于给锂电池充 电 Solar charge module used to charge the lithium battery 1 锂电池包 Lithium Bat...

Page 5: ...nt marks when assembling 4 蓝丁胶的使用 How to use the blue tack 蓝丁胶是一种压敏型胶粘材料 能反复使用 环保无害 Blu tack is a reusable putty like pressure sensitive adhesive Also it s harmless and environment friendly 粘贴方法如下 How to paste with Blu tack 通过拉扯揉捏 使其充分软化 变得粘手 Pull twist the Blu tack to make it soft and sticky 取适量揉成小球 在制作气象站时揉成 3 4mm 左右的小球即可 Roll it into balls with 3 4mm in diameter 将 3 到 4 个小球放在粘贴物的表面 然后平均用力将其粘贴到被...

Page 6: ...ed on our website 3 解压后 将其拷贝到 Arduino libraries 目录下 Unzip the files and then copy and paste it to the file of Sketchbook location within the Arduino file just as it is shown below Arduino 的程序库位置 Sketchbook location libraries public ds3231 bmp085 dht WeatherStation 3 程序加载 Program Loading 1 1 设置时钟模块时间 Set time for the clock module 1 硬件连接 如何将实时时钟模块和主控板连接 注意 VCC 要连接到 ICSP 区域 R 区的 VCC 是需要通过程序打开才能使用 Har...

Page 7: ...t 版权所有 Copyright DFRobot All rights reserved CC BY NC 3 0 CNP a g e 7 2 打开 Arduino IDE 选择板类型为 LilyPad Arduoino USB Open Arduino IDE the selection panel shall be LilyPad Arduoino USB 3 打开 ds3231 中 adjust 样例程序 ...

Page 8: ...0 比如 使用 08 是不正确的 Change the parts in red within the adjust code into the current time dt DateTime dt 2014 8 4 12 1 0 1 shown in the picture below means 12 01 00 on 4 August 2014 Monday Note No zero before any number For instance 08 is incorrect 5 将 4Drawing 控制板上的开关拨到 MAKE 状态 Turn the switch on the 4Drawing control panel to MAKE as it is shown below 6 将电脑和 4Drawing 的控制板通过 micro USB 线缆连接 ...

Page 9: ... port within Arduino IDE If there is no serial port within it you will have to install a serial port driver Click here for reference http arduino cc en Guide Windows toc4 8 下载 adjust 程序到控制板 Download the adjust program to the control panel 9 打开 Arduino 串口 能够看到当前的时间的显示 则设置正确 将 RTC 模块取下 否 则重新设置时间 Open the Arduino serial port and you can see the time displayed on the screen Then remove the RTC module ...

Page 10: ...the switch on the 4Drawing control panel to RUN as it is shown below 4 制作 Assembling 1 1 前板安装 Assemble the Front Plate 将触摸模块和 LCD 如图方式用固定在前面板上 并将配套线缆接入相应的模块接口 安装 LCD 时 在图中红色圆圈的地方需要 3 4 片垫片 用以保持 LCD 安装后的平整 Fix the Touch Panel LCD Module on the front plate just as it is shown in the photo below and slide cables into correspondent connectors of the modules When assembling the LCD Module place three o...

Page 11: ...s the aluminum paper covering the holes in the rear plate Aluminum paper is used to reduce the influence of sunshine on the internal sensor 2 如图将太阳能板通过蓝丁胶安装在有铝箔的一面 接线从椭圆孔中穿过 Stick the solar panel to the side of the rear plate pasted with aluminum paper by applying Blu tack Then slide the cables through the oval shaped holes in the plate 3 如图将充电模块 锂电池用蓝丁胶固定在背板上 然后将线接好 Fix the charge module lithium ...

Page 12: ...用蓝丁胶固定在底板上 位置如下图 Fix the main control plate mini breadboard on the bottom plate with Blu tack Details are shown in the photo below 2 将时钟模块 I2C 接口一侧 和气压传感器插入到面包板中 参照下图进行接线 Slide the clock module the side with I2C input and the barometric pressure sensor into the breadboard When connecting the cables you can refer to the map below ...

Page 13: ... nuts into cross slots at the bottom of the side plate Two of the nuts will be used to connect it with the rear plate Practically we will only used the two nuts close to the rear plate Here we slide them all into the slots to make things easy for the overall installation 1 6 整体组装 Overall Installation 1 按下图将各模块连接 连接好后点击前面板的触摸模块 若有内容显示则正常 否则检 查接线 Follow the map below and connect the modules Once con...

Page 14: ...ghts reserved CC BY NC 3 0 CNP a g e 14 2 按下图将各部件依次拼接 后面板装好后拧上两个螺丝 则组装完成 Connect the components in an orderly manner as it s shown in the photo below and cover it with the rear plate Then tighten the two screws And the installation is done ...

Page 15: ...DFRobot 版权所有 Copyright DFRobot All rights reserved CC BY NC 3 0 CNP a g e 15 ...

Page 16: ...on 5 1 准备 Preparation 请购买如下模块 Please purchase the following modules 部件 工具 Components T ools 说明 Description 数量 NO 图示 Illustration 空气质量传感器 Air Quality Sensor Sharp GP2Y1010AU0F 空气质量传感器 Sharp GP2Y1010AU0F Air Quality Sensor 1 转接模块 Module Adapter SHARP 空气质量传感器转接模块 SHARP Dust Module adapter for the Air Quality Sensor 1 5 2 加载气象站程序 Load the Weather Station Program ...

Page 17: ...下载到主控板 Modify WeatherStation s example program Delete within the line starting with a red arrow just as it is shown in the photo below to initiate the air quality sensor Download this program to the main control panel 5 3 制作 Assembling 如图将空气质量传感器和转接板按如下图方式进行安装和接线 Refer to the map below and connect the air quality sensor and processing panel ...

Page 18: ...DFRobot 版权所有 Copyright DFRobot All rights reserved CC BY NC 3 0 CNP a g e 18 5 4 组装 Installation 和基础制作方式相同 Refer to basic installation instructions ...

Page 19: ...光的情况下 待机为 15 天左右时间 It offers 15 days standby time without abundant sunshine 当触摸前面板上的触摸区时 液晶屏将显示测量信息 When you tap the touchable area within the front plate information monitored will be displayed on the LCD screen 2 推荐使用模式 We recommend you the following two ways to use it 1 模式一 学生 儿童的气象统计科学活动 Way One For students kids to collect weather data 将气象站放在阳台上 太阳板朝向太阳中午的方向 Put the weather station on the bal...

Page 20: ...DFRobot 版权所有 Copyright DFRobot All rights reserved CC BY NC 3 0 CNP a g e 20 2 模式二 Maker 制作 Way Two Maker 如何用由你决定 About the way to use it it s all up to you ...

Reviews: