GithubHelp home page GithubHelp logo

freechw / cc1101_ctrl_std Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmkreddy/cc1101_ctrl_std

0.0 2.0 0.0 13.93 MB

CC1101配置代码,用于物联网采集卡

C 93.50% HTML 2.26% Assembly 3.77% C++ 0.39% Makefile 0.08%

cc1101_ctrl_std's Introduction

cc1101_ctrl_STD

物联网采集卡代码,标准库版本 包括CC1101配置代码(CC1101具体配置在cc1101.h中)和MMA7361L配置代码 添加了Usart(使用USART3,波特率115200,数据位8位,无校验位,停止位1位)和LED逻辑用于测试

接收的使用步骤为: 1.开机首先单片机初始化和CC1101初始化 2.初始化完成后,CC1101进入WOR模式,且单片机处于等待接收中断状态 3.单片机接收到CC1101的接收中断后,在串口打印接收的数据等信息(包长度,RSSI,地址,数据),如果数据接收正常(通过同步字和地址滤波),发送应答数据(此数据为三轴加速度计MMA73661L每隔一段时间采集一次,采集最新10次的数据数组)

发送的使用步骤为: 1.要进入发送模式需要按USER键 2.然后根据提示在串口以此输入CC1101地址,CC1101同步字和要传输的数据(数据不超过60字节) 3.发送完成后等待应答,应答成功串口打印数据,答应失败不打印

PS:发送模式时绿灯亮,接收模式时橘灯亮   蓝灯闪烁代表单片机定时器正常,且每闪一下代表记录一次MMA7361L的数据   红灯闪烁代表CC1101进入WOR或RX状态,每个EVENT0到来LED翻转一次

cc1101_ctrl_std's People

Contributors

phoenix9668 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.