Giter VIP home page Giter VIP logo

nrf24_ssd1306's Introduction

nrf24_ssd1306

C++ Raspberry Pi Pico template project for wireless communication with a small display to show received messages.

Components

Functionality

  1. Boot to programming mode for code upload (optional with enable_programming_mode or resetting with BOOTSEL pressed, see Annoyances #2)
  2. Set dormant power mode
  3. Wake from dormant power mode when wireless module sets IRQ pin LOW
  4. Read message from wireless module
  5. Respond to !PING message (if sent) with !PONG
  6. Show received message on OLED display
  7. Go to #2 (loop)

Functionality demonstration

Wiring

Wiring schematic

Picoprobe GP5 / UART1 RX connection is only required if enable_debug_logging = true

Setup

Required repositories:

  • pico-sdk repo
  • pico-extras (for pico/sleep.h) repo

RF24 library is added as a submodule repo & documentation

Files that might require path tweaks:

  • .vscode\launch.json
  • .vscode\c_cpp_properties.json

Annoyances

  1. Powering from a USB power bank turns off power after a few seconds (current draw too low?). USB charger works fine.
  2. Picoprobe can't wake Pico from dormant power mode (reset required for code upload)
  3. Debugging in dormant power mode keeps breaking at main

nrf24_ssd1306's People

Contributors

jiinurppa avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.