Bernd Gottschlag
08546c2e36
Re-enable dynamic packet length
The nrf24l01 used on the boards is probably a counterfeit chip. It
cannot acknowledge received packets (probably a bit flip of the NO_ACK
bit described here:
https://ncrmnt.org/2015/03/13/how-do-i-cost-optimize-nrf24l01/ ) if the
dynamic packet length is disabled.
il y a 5 ans
Bernd Gottschlag
9694fa3913
Fix the rx0 address
The address was set for the wrong address and thus the module could not
receive acks from the base station
il y a 5 ans
Bernd Gottschlag
f78e2f65c6
Disable the dynamic packet length
The packet length is now fixed to 32 bytes.
il y a 5 ans
Bernd Gottschlag
3a21aef881
Rework the makefile and optimize the code for flash space
il y a 5 ans
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.
il y a 5 ans
Bernd Gottschlag
3dcfae6196
Change the way the TX and RX addresses are written to the nrf24l01
il y a 5 ans
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
il y a 5 ans
Bernd Gottschlag
204ff8d220
Add power save mode and send messages every 7.5s
il y a 5 ans
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.
il y a 5 ans
Bernd Gottschlag
ddb5b0426e
Send the data from the BME280 with the NRF24L01
il y a 5 ans
Bernd Gottschlag
01dff7cfd3
Use spi functions
il y a 5 ans
Bernd Gottschlag
93fd7841a9
Use spi functions
il y a 5 ans
Bernd Gottschlag
9d1b611356
Use dedicated function to read the status register when transmitting
il y a 5 ans
Bernd Gottschlag
fc26a37348
Set the transmission retries and time-out duration to each maximum
il y a 5 ans
Bernd Gottschlag
b9cfc34e94
Flush TX FIFO after an unsuccessful transmission
il y a 5 ans
Bernd Gottschlag
e5ad15dbfa
Add reading from the BME280 using the official API
Currently the data values are written to the debug output.
il y a 5 ans
Bernd Gottschlag
780cedcbc4
Fix order of the bit fields of the register definitions
il y a 5 ans
Bernd Gottschlag
278f7f23fe
WIP: use register definitions to access them
il y a 5 ans
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.
il y a 5 ans