Skip to content
/ nRF905 Public

nRF905 driver implementation with MicroPython ( Unofficial )

License

Notifications You must be signed in to change notification settings

Melzar/nRF905

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nRF905

nRF905 driver implementation with MicroPython ( Unofficial )

DESCRIPTION

This implementation of nRF905 driver covers full specification datasheet from nRF905 specification

Specification is stored also on repository

nRF905 specification

There are no external dependencies to this library, and it is written in pure MicroPython + Pico Python.

FEATURES

Specification

  1. Write full configuration of nRF905
  2. Writing configuration by segments (AAAA part of specification)
  3. Read full configuration of nRF905
  4. Reading configuration by segments (AAAA part of specification)
  5. Writing TX payload
  6. Reading TX payload
  7. Writing TX address
  8. Reading TX address
  9. Reading RX payload
  10. Fast write of channel configuration ( pphc cccc cccc part of specification)
  11. Reading status ( Reads AM / DR pin state, used in receive_rx_message and send_tx_message message as example )

Additional functions outside specification

  1. Printing to console whole configuration object with translation to human-readable format
  2. Printing to console configuration object segment by segment with translation to human-readable format
  3. Printing whole specification details via print_help method
  4. Provided multiple translation of config for easier understand + bits configuration printing

EXAMPLES

To see examples and how to use driver, see main.py. The idea is to mostly use functions and compose required configurations etc. to get desired result. I did my best to avoid having a need to write binary code ( it's already there ).

DOCUMENTATION

Library contains a lot of comments to explain how to use given method or static value. In case of any questions, please look into specification

LAST WORDS

It's important to mention that this code has been tested on Raspberry PI Pico WH. When it comes to nRF905 board it was 433 MHz variant ( green one if it helps )

This library has been tested intensively in real world.

About

nRF905 driver implementation with MicroPython ( Unofficial )

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages