Bee monitor Atmega328, LoRa, GSM, Weight, Temp, Humidity

Hi, marry Christmas!

I'm planning a upgrade for my bee hive monitor sender, try to lower power consumption.

Data I send by LoRa to my receiver. Receiver sends to Cayenne.
If LoRa range is to short for my needs I will send HTML by GPRS.

My receiver as per today:

Q:
My knowledge in what pin that is best to be used I'm not so skilled so my question is to ask here to get your opinion for witch pins are best to use when I have 5 sensors and 2 switches?
Also, is there pins that is "bad" when idea is to deep sleep CPU and sensors?

Excel pinout sheet download

I'm also not sure if GSM SIM800L is the best to use (Norway), any tip for this sensor?

I will use chip Atmega328P-PU

My devices and pin layout

Excel sheet download

In editable form:

Atmega328-P-PU
Component Connections Pin raw Arduino pin Info
HX711 D_Out 5 D3
HX711 SCK 6 D4
HX711 VCC 5V ???
DHT11 D_Out Serial 4 D2
DHT11 VCC 3.3 V
SX1278 SCK 19 D13
SX1279 MISO 18 D12
SX1280 MOSI 17 D11
SX1281 NSS 16 D10
SX1282 DIO0 3 D1 Duplicate
SX1283 RST 1 Reset
SX1283 VCC 3,3 V
FTDI DTR
FTDI RX 3 D1 Duplicate
FTDI TX 2 D0
FTDI VCC 5 V
Switch NC tare 23 A0
Switch NC VCC 3,3 V
Switch NO alarm 24 A1
Switch NO VCC 3,3 V
GSM
SIM800L_RX
SIM800L_TX
SIM800L_PWRKEY
SIM800L_RST
SIM800L_POWER
SIM800L_DTR

what are the five sensors? what interface? e.g. if I2C all can use same SDA/SLK pins so long as addresses are different
can you upload a schematic showing the wiring and power supplies?
usually when using GPRS to cayenne I use MQTT ?

1 Like

Hi @horace, thanks for reply.

The 5 sensors are:
HX711, ADC load cell, serial
DHT11, temp/humid, serial
LoRa, SX1278, MOSI/ MISO etc
FTDI, programmer interface
GSM, not sure what module to use...

And 2 switches, tare and alarm

I don't have schematic, that I must make after I know the pins that I need to use

Power supply will be battery, with
1 pcs MPC1702 (5V regulator low power use)
1 pcs MCP1702-3302E/TO 3,3 V regulator

With GPRS I have no experience, but MQTT is probably a good solution for me also.

are you planning to design and implement a custom PCB?
rather than a DHT11 I would tend to use a BME280
not sure if the SIM800 supports MQTT directly - I used a Quectel EC21
this may be of interest esp32-cloud-mqtt-broker-sim800l

Hi,

I will make a PCB:

I maybe use a PT1000 sensor with 3 cables, but have not tested how to implement. It needs an op-amp, it also must be calibrated.
image

Here is my v1 board that uses too much power:
image

MQTT is fine if you monitor it 24/7. Every new message, the previous is garbage. Why not use a (home?) database where the GPRS put his values with sql statement. Then you have all the sent data.

edit: ESP8266 and what is the other module at the bottom left corner?

not used a PT1000 - for a waterproof temperature sensor I use a DS18B20 - it uses a one-wire interface

Hi all

Thanks for your input, I will take a closer look into temp sensors and GSM.

What about pins to use, that is my primary goal to get info about:

Q:
My knowledge in what pin that is best to be used I'm not so skilled so my question is to ask here to get your opinion for witch pins are best to use when I have 5 sensors and 2 switches?
Also, is there pins that is "bad" when idea is to deep sleep CPU and sensors?

looks like a RA-01 Lora module

1 Like

Yes @buckfast_beekeeper @horace , it is, I use Band 915E6

Your name @buckfast_beekeeper tells me that you also have bees. Have you made a monitor yourself?

If you want to participate in my project you are welcome! I need all help I can get :slight_smile:

I have bees about 25 years. At the moment on low order. Too few time. In the 'top' time I had 35 production hives and breeding about 100 queens a year. A lot of them fertilized on island Ameland.

I don't have feel the need to make a monitor. One of the problems, where do you monitor the temperature? Only the center of the brood nest is the point of intrest. Then there is the propolis use. In short time all is glued together.

When my hives where in fruit plantations, rapeseed or linden blossom once a week I drive to them.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.