💬 AC/DC/Batteries capable atmega328p board
-
After make some test this morning I found a solution but I do not know why and what is the difference.
I explain:
When I used this DHT librairies (https://github.com/markruys/arduino-DHT), this one come with mysensors librairies. I can read my DHT22 sensor with my FTDI cable but is not working with from a DC 5v in, reading always 0.
But If now I used this librairies (https://github.com/adafruit/DHT-sensor-library) , is working with FTDI cable and now with my DC 5v in.
-
After make some test this morning I found a solution but I do not know why and what is the difference.
I explain:
When I used this DHT librairies (https://github.com/markruys/arduino-DHT), this one come with mysensors librairies. I can read my DHT22 sensor with my FTDI cable but is not working with from a DC 5v in, reading always 0.
But If now I used this librairies (https://github.com/adafruit/DHT-sensor-library) , is working with FTDI cable and now with my DC 5v in.
@Carl-H Very strange indeed, but I'm glad it is sorted out.
-
@Carl-H I have used DHT11/22, DS18B20, SI7021, HTU21D, BMP180 and BME280 sensors with Arduino / Particle Photon and I can only suggest using SI7021, HTU21D and BMP180/BME280 temperature and humidity sensors. DS18B20 is very sensitive to noises and throwing temperature abnormal readings (65000C or something). DHT22 is very temperamental needless to say about the size. Also the sensors I suggested are very-very precise. BME280 being probably the most expensive.
-
@GertSanders I have a couple of your board and I will be very happy. Now I will want to try the OTA feature with this board. Did you have DualOptiboot already compiled (hex file) with D8 led pin and with 8 mhz external crystal? It will be cool you include this file like Optiboot 6.2.. Thanks
-
@GertSanders I have a couple of your board and I will be very happy. Now I will want to try the OTA feature with this board. Did you have DualOptiboot already compiled (hex file) with D8 led pin and with 8 mhz external crystal? It will be cool you include this file like Optiboot 6.2.. Thanks
The EEPROMs on this boards are of the I2C type and this is not supported by DualOptiboot, so unfortunatly you can not use OTA on this board.
OTA is only supported with SPI type flash memory.
I also do not have the sourcefiles for DualOptiboot to recompile it with my D8 LED flashing. At the moment I have to concentrate on other tasks at home, but recompiling DualOptiboot to my own desires is on my TODO list for this year (I hope).
-
The EEPROMs on this boards are of the I2C type and this is not supported by DualOptiboot, so unfortunatly you can not use OTA on this board.
OTA is only supported with SPI type flash memory.
I also do not have the sourcefiles for DualOptiboot to recompile it with my D8 LED flashing. At the moment I have to concentrate on other tasks at home, but recompiling DualOptiboot to my own desires is on my TODO list for this year (I hope).
@GertSanders oh thanks, I have made an error... Maybe it will be working with MYSBootloader 1.3pre2 because he don't require any external memory.. Did you try before?
-
@GertSanders oh thanks, I have made an error... Maybe it will be working with MYSBootloader 1.3pre2 because he don't require any external memory.. Did you try before?
@Carl-H
No, so far I have not experimented with OTA on this board or any of my boards.
Someone has used OTA on one of my other (batterybased) boards, because that one has an SPI Flash footprint.
When I get back to doing more MySensor stuff I will be experimenting with OTA. Being a Mac user my options are a bit limited now.