@mwittig said in DHT22 sensors stopped working after upgrading pimatic to v0.9.40:
@Cybolord did you change/update sketch on the Arduino recently, e.g. did you install the experimental sketch
nope - it is running for round about 10-14 month with that sketch - but I have to say it again: nothing touched at all - no wiring with DHTs, no other sketch for Arduino Nano, no changes to OS (Raspbian Jessie on Pi1)… BUT: installed “unbound DNSSEC” and a few weeks later upgraded to pimatic v.0.9.40 and the DHTs are gone… I have no ideas left
so: do you recommend to upload and use a ‘more stable’ sketch to Arduino?!
once again re-building the sketch… same DHT behavior as described before but 433MHz stuff working fine
Arduino.mk Configuration:
- [AUTODETECTED] CURRENT_OS = LINUX
- [USER] ARDMK_DIR = /home/pi/pimatic-app/homeduino/arduino-mk
- [AUTODETECTED] ARDUINO_DIR = /usr/share/arduino
- [AUTODETECTED] ARDUINO_VERSION = 105
- [DEFAULT] ARCHITECTURE =
- [DEFAULT] VENDOR = arduino
- [DEFAULT] ARDUINO_SKETCHBOOK = /root/sketchbook
- [BUNDLED] AVR_TOOLS_DIR = /usr/share/arduino/hardware/tools/avr (in Arduino distribution)
- [COMPUTED] ARDUINO_LIB_PATH = /usr/share/arduino/libraries (from ARDUINO_DIR)
- [DEFAULT] ARDUINO_CORE_PATH = /usr/share/arduino/hardware/arduino//cores/arduino
- [COMPUTED] ARDUINO_VAR_PATH = /usr/share/arduino/hardware/arduino//variants (from ARDUINO_DIR)
- [COMPUTED] BOARDS_TXT = /usr/share/arduino/hardware/arduino//boards.txt (from ARDUINO_DIR)
- [USER] USER_LIB_PATH = /home/pi/pimatic-app/homeduino/libraries
- [DEFAULT] PRE_BUILD_HOOK = pre-build-hook.sh
- [USER] BOARD_TAG = nano328
- [COMPUTED] OBJDIR = build-nano328 (from BOARD_TAG)
- [DETECTED] MONITOR_BAUDRATE = 115200 (in sketch)
- [DEFAULT] OPTIMIZATION_LEVEL = s
- [DEFAULT] MCU_FLAG_NAME = mmcu
- [DEFAULT] CFLAGS_STD =
- [DEFAULT] CXXFLAGS_STD =
- [COMPUTED] DEVICE_PATH = /dev/ttyUSB0 (from MONITOR_PORT)
- [AUTODETECTED] Size utility: AVR-aware for enhanced output
-
- ARDUINO_LIBS =
- [USER] SerialCommand
- [USER] RFControl
- [USER] Keypad
- [USER] DHTlib
- [USER] Keypad/utility
- [COMPUTED] BOOTLOADER_PARENT = /usr/share/arduino/hardware/arduino//bootloaders (from ARDUINO_DIR)
- [COMPUTED] ARDMK_VERSION = 1.3.4
- [COMPUTED] CC_VERSION = 4.8.1 (avr-gcc)
-------------------------
Device: atmega328p
Program: 11816 bytes (36.1% Full)
(.text + .data + .bootloader)
Data: 1545 bytes (75.4% Full)
(.data + .bss + .noinit)
make reset
make[1]: Entering directory '/home/pi/pimatic-app/homeduino'
/home/pi/pimatic-app/homeduino/arduino-mk/bin/ard-reset-arduino /dev/ttyUSB0
make[1]: Leaving directory '/home/pi/pimatic-app/homeduino'
make do_upload
make[1]: Entering directory '/home/pi/pimatic-app/homeduino'
/usr/share/arduino/hardware/tools/avr/../avrdude -q -V -D -p atmega328p -C /usr/share/arduino/hardware/tools/avr/../avrdude.conf -c arduino -b 57600 -P /dev/ttyUSB0 \
-U flash:w:build-nano328/homeduino.hex:i
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1e950f
avrdude: reading input file "build-nano328/homeduino.hex"
avrdude: writing flash (11816 bytes):
avrdude: 11816 bytes of flash written
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.