Bernd Gottschlag
4f83ec8bef
Add handling of the salt
On start-up the sensor sends a Get_Salt-message to the base station. The
base station responds and sends the salt, which the sensor uses from
there on.
5 年之前
Bernd Gottschlag
608a6ee253
Fix generation of the salt
5 年之前
Bernd Gottschlag
1381cb6634
Add encryption for the sent packet
5 年之前
Bernd Gottschlag
8a49c011c9
Update packet protocoll
5 年之前
Bernd Gottschlag
e435620c91
Add a new packet format with the calculation of the CRC
5 年之前
Bernd Gottschlag
30fe01bb9e
Generate an ID according to the dip switches
The ID is used as the last byte of the RX address. It is also sent as a
part of the data packet to allow assigning the sending station to a
packet.
5 年之前
Bernd Gottschlag
e7bfca4363
Use the IRQ signal from the nrf24l01 instead of polling the status
This is done to avoid transmission erros as described in
https://forum.mysensors.org/topic/10452/nrf24l01-communication-failure-root-cause-and-solution
5 年之前
Bernd Gottschlag
f1b0ebf618
Move SPI initialization and pin definitions to spi.c
5 年之前
Bernd Gottschlag
204ff8d220
Add power save mode and send messages every 7.5s
5 年之前
Bernd Gottschlag
0c03c24fcd
Change the MCU to the Atmega88
The pin definitions are updated and the uart debug interface is removed
as it is not present on the actual board.
5 年之前
Bernd Gottschlag
ddb5b0426e
Send the data from the BME280 with the NRF24L01
5 年之前
Bernd Gottschlag
e5ad15dbfa
Add reading from the BME280 using the official API
Currently the data values are written to the debug output.
5 年之前
Bernd Gottschlag
780cedcbc4
Fix order of the bit fields of the register definitions
5 年之前
Bernd Gottschlag
33e1d5e700
WIP tidy up the NRF24L01 code
5 年之前
Bernd Gottschlag
347211065c
Add prototyping code for sending a dummy message with the nrf24l01
The firmware is developed using an aduino micro pro with an atmega32u4
as the hardware for the weather station is not ready yet.
5 年之前