本来准备做lora无线温度传感器,现在到温度传感器部分,无线就是串口发送数据,这个比较简单,低功耗就暂时不调了,总结一下收获,熟悉了调试软件和例程。
项目流程框图
功能简介:
采集温度传感器,通过串口发送数据
1.
【EFM8BB52单片机】温度采集(开箱升级软件和跑例程2.
【EFM8BB52单片机】温度采集(熟悉软件基本操作,调试UART0打印串口3.
【EFM8BB52单片机】温度采集项目(焊接温度探头,采集温度数据)简单试用了一下,以后有时间再慢慢玩。
本来准备做lora无线温度传感器,现在到温度传感器部分,无线就是串口发送数据,这个比较简单,低功耗就暂时不调了,总结一下收获,熟悉了调试软件和例程。
项目流程框图
功能简介:
采集温度传感器,通过串口发送数据
1.
【EFM8BB52单片机】温度采集(开箱升级软件和跑例程2.
【EFM8BB52单片机】温度采集(熟悉软件基本操作,调试UART0打印串口3.
【EFM8BB52单片机】温度采集项目(焊接温度探头,采集温度数据)简单试用了一下,以后有时间再慢慢玩。
//-----------------------------------------------------------------------------
// EFM8BB52_Blinky.c
//-----------------------------------------------------------------------------
// Copyright 2021 Silicon Laboratories, Inc.
// http://developer.silabs.com/legal/version/v11/Silicon_Labs_Software_License_Agreement.txt
//
// Program Description:
//
// This program flashes the red/green/blue LED on the EFM8BB52 PK board about
// five times a second using the interrupt handler for Timer2.
//
// Resources:
// SYSCLK - 24.5 MHz HFOSC0 / 8
// Timer2 - 5 Hz interrupt
// P1.4 - LED0
//
//-----------------------------------------------------------------------------
// How To Test: EFM8BB52 Explorer Kit
//-----------------------------------------------------------------------------
// 1) Connect the EFM8BB52 Explorer Kit to a PC using a mini USB cable.
// 2) Compile and download code to the EFM8BB52 Explorer Kit board.
// In Simplicity Studio IDE, select Run -> Debug from the menu bar,
// click the Debug button in the quick menu, or press F11.
// 3) Run the code.
// In Simplicity Studio IDE, select Run -> Resume from the menu bar,
// click the Resume button in the quick menu, or press F8.
// 4) The LED0 should blink at approximately 5 Hz.
//
// Target: EFM8BB52
// Tool chain: Generic
//
// Release 0.1 (RN)
// - Initial Revision
//
//-----------------------------------------------------------------------------
// Includes
//-----------------------------------------------------------------------------
#include <SI_EFM8BB52_Register_Enums.h>
#include <InitDevice.h>
//-----------------------------------------------------------------------------
// Pin Definitions
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// SiLabs_Startup() Routine
// ----------------------------------------------------------------------------
// This function is called immediately after reset, before the initialization
// code is run in SILABS_STARTUP.A51 (which runs before main() ). This is a
// useful place to disable the watchdog timer, which is enable by default
// and may trigger before main() in some instances.
//-----------------------------------------------------------------------------
void SiLabs_Startup (void)
{
// Disable the
有奖活动 | |
---|---|
【有奖活动】智能可穿戴设备AR/VR如何引领科技新潮流! | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
【有奖活动】震撼来袭!这场直播将直击工程师的心灵! | |
“我想要一部加热台”活动,不花钱赢取开发好工具!活动开始了哦 | |
【有奖活动】伙伴们:您的“需求”解决了吗? |
打赏帖 | |
---|---|
老胖子聊电路--分析一个反馈电路被打赏50分 | |
放大↔震荡被打赏50分 | |
【换取手持数字示波器】RTduino驱动ssd1306+sht31温湿度计被打赏40分 | |
【换取手持数字示波器】称植国产开源TobudOS到雅特力AT32F425被打赏40分 | |
【分享评测,赢取加热台】+Telink-泰凌微电子B91点灯篇被打赏20分 | |
【换取手持数字示波器】+精英板驱动LCD屏被打赏50分 | |
【换取手持数字示波器】+DFR0216全彩灯带WS2812示例分享被打赏50分 | |
【换取手持数字示波器】安装雅特力国产IDE-AT32IDE被打赏30分 | |
【换取手持数字示波器】+DFR0654板卡驱动数码管和串口功能分享被打赏50分 | |
【换取手持数字示波器】+DFPlayerMini模块推喇叭示例分享被打赏50分 |