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.
hace 5 años
Bernd Gottschlag
1381cb6634
Add encryption for the sent packet
hace 5 años
Bernd Gottschlag
3a21aef881
Rework the makefile and optimize the code for flash space
hace 5 años
Bernd Gottschlag
8a49c011c9
Update packet protocoll
hace 5 años
Bernd Gottschlag
58a48e5230
Fix order of the element count and packet type bit field
hace 5 años
Bernd Gottschlag
e435620c91
Add a new packet format with the calculation of the CRC
hace 5 años
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.
hace 5 años
Bernd Gottschlag
3dcfae6196
Change the way the TX and RX addresses are written to the nrf24l01
hace 5 años
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
hace 5 años
Bernd Gottschlag
f7bfdf101c
Add definitions of the IRQ pin to the nrf24l01
hace 5 años
Bernd Gottschlag
1dd0f89149
Fix pin definitions of the interface to the nrf24l01
hace 5 años
Bernd Gottschlag
204ff8d220
Add power save mode and send messages every 7.5s
hace 5 años
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.
hace 5 años
Bernd Gottschlag
ddb5b0426e
Send the data from the BME280 with the NRF24L01
hace 5 años
Bernd Gottschlag
33e1d5e700
WIP tidy up the NRF24L01 code
hace 5 años
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.
hace 5 años