NrfSensorNode

From NURDspace

Jump to: navigation, search
NrfSensorNode
Pro-mini-nrf-node.jpg
Participants Dennis, Dreamer, Zarya
Skills
Status Active
Niche Electronics
Purpose
Tool No
Location
Cost
Tool category

NrfSensorNode

pro-mini-nrf-node.jpg {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

Current situation @ space

Zarya had some PCBs made for Arduino Pro Mini based client nodes with an nrf24l01 radio for communications with the Raspberry Pi based masternode called SpaceNanny. Below the sotware Zarya wrote for it:

Spacenanny

SpaceNanny is the master node (node0) in the nrf network it takes care of transmitting the received sensor data to graphite (running on graphite.nurdspace.lan) the current code runs from a screen under the user nanny in the window called NRF this is how you restart it

sudo bash
cd /home/nanny/NrfPiNode
while true ; do ./NrfPiNode ; sleep 1 ; done

The arduino based nodes

  • 1 Located near slab
    • Temperature
    • Pressure
    • Humidity
  • 2 Located near the front door (Only for relaying data from its child nodes)
    • 12 Doorbell node
      • Listen for a doorbell press
      • Temperature
  • 3 Skip button
    • Pulse contact for skipping the current track

NRF Sensor node

PCB

  • The first batch of pcb's is in and is being used by some people.

Parts

  • R1 4.7k 1206 resistor (OneWire pullup)
  • R2 4.7k 1206 resistor (DHT pullup)
  • IC1 3.3v voltage regulator (AMS1117 AMS117-3.3 3.3V)
  • C1,2 10uf Cap
  • 3 x 15 pins male pin header
  • 2 x 12 pins female header
  • 2 x 4 pins female header
  • nrf24l01 radio
  • Arduino Pro Mini or clone (5V)

Low Power PCB

Wishlist

  • Mostly SMD (to save space)
  • Same as the standard board features.
  • Battery monitor
  • NRF Interrupt pin connectable (for feature use)
  • add more

Order

PCB

  • zarya 10 x
  • dreamer 5 x
  • maze 10 x
  • niz 5 x
  • buzz 5x

Ebay part list

Using the hardware with MySensors

In order to use the hardware with MySensors, you need to change two pin numbers in MyConfig.h, which is located in your libraries directory. These are the right numbers:

#define MY_RF24_CE_PIN 8
#define MY_RF24_CS_PIN 7

This needs to go before:

#include <MySensors.h>  
 
Our site is hosted by Site4U
Site4U
Part of our connectivity is made available by BIT
To BIT's joboffers