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
1381cb6634
Add encryption for the sent packet
5 роки тому
Bernd Gottschlag
3a21aef881
Rework the makefile and optimize the code for flash space
5 роки тому
Bernd Gottschlag
8a49c011c9
Update packet protocoll
5 роки тому
Bernd Gottschlag
58a48e5230
Fix order of the element count and packet type bit field
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
3dcfae6196
Change the way the TX and RX addresses are written to the nrf24l01
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
f7bfdf101c
Add definitions of the IRQ pin to the nrf24l01
5 роки тому
Bernd Gottschlag
1dd0f89149
Fix pin definitions of the interface to the nrf24l01
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
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 роки тому