Giter VIP home page Giter VIP logo

pico_pio's Introduction

PICO_PIO

RF input decoding using PICO PIO

The work on the F007 has now moved to another repository - https://github.com/peter-g-wilson/yaesa

The changes going to the yaesa repository are

  • even more commonality for message and bit queues and also the bit-stream decoding
  • added DS18B20 and one-wire
  • added BME280
  • some name changing
  • moved most documentation to the readme and code

Why do it?

I had a fridge that kept freezing vegetables. It was interesting to see how bad the overshoot and undershoot of the controller was.
And why not monitor the freezer too. It had a much tighter controller.
The attic was getting extra loft insulation and I wondered how cold the water tank now got.
There is a water softener in the garage that didn't want to get too cold.
So I got 5 Ambient Weather F007T sensors with base station. The base station was rubbish, invariably displaying 'HH', impossible temperatures and push button switches from the 1960's.
Then my youngest son inherited a Fine Offset WH1080 weather station from his grandfather ...

Overview

overview

Code

  • PICO_PIO_F007T_WH1080.c has the CPU core 0 main entry point that calls the WH1080 and F007T timer and PIO initialisations and also has the core 1 entry point to handle the 2nd UART and the output of messages that have been received
  • PICO_PIO_F007T_WH1080.pio has the two state machine programs - both feeding their FIFOs with data bits
  • PICO_PIO_WH1080.c and PICO_PIO_F007T.c use repeating timer callbacks to read the PIO FIFOs and "parse" the data bits looking for their respective messages
  • queues_for_msgs_and_bits.c has support routines for message and bit queues
  • uart_IO.c has support routines for the 2nd UART where the message data is sent over RS232
  • output_format.c prints to std output (1st UART) debug and statistics

More details and performance results are in -

PICO_PIO_OOK_Manchester_and_PWM.pdf

pico_pio's People

Contributors

peter-g-wilson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mfkiwl

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.