Building a weather station on a wisblock that will need to use NB IoT to send its data out.
Will need a I2C interface (temp/humidity), an ADC (wind direction) and at least 2 GPIOs (wind speed interrupt and rain gauge interrupt). Previously using LoRa this worked well with the IO expansion board.
If I plug the NB IoT board on it uses the same slot as the IO expansion - are there enough required pins (listed above) on the Base Board or core I am using (Lora)?
IO2 is useable as GPIO pin if you are not using it to enable/disable 3V3_S. With that, it seems a WisBlock Base RAK5005-O will be enough: I2C, 1 analog and 2 digital.
Sadly, there is no core with built-in NB-IoT capability and no plan in the future yet.
Bit of development at last - got it all talking but have realised that IO1 is the BG77 power key so that can’t be used.
So I have decided not to use the wind meter (just rain IO2 interrupt and temp/humidity via I2C) - and would like to reinstate the resistor between AIN0 and VBAT to read the battery level.
What resistor value was R7?
and would it be as simple as me adding a resistor between those two pins (AIN0 and VBAT)?
If you connect VBAT directly to AIN0, you will kill the nRF52. VBAT can be between 3.7 and 4.2V, the nRF52 ADC accepts only 3.3V. You might burn the whole MCU.
There is a voltage divider to reduce the voltage on the RAK5005-O