Hello everybody,
I am setting up a serial Gateway at an Ardunino Nano. Controller FHEM@RPi3.
It seems that my gateway is constantly restarting, the state in FHEM changes from connected to startup complete after about a second. Both the Nano and the nRF24L01+ are powered by independent laboratory power supplies (5 and 3.3V) which can provide up to 1.5 AMPS. The NRF has an additionally a 47uF capacitor at its power supply pins. Sketch is the original Sketch from the homepage with no modifications. Mysensor Version 2.2, although I had the same issue with 2.1. The Nano has a FT232 USB-Chip, but everything is Chinese
It seems to be transmitter related. When I disconnect the power supply from the controller it stays connected in FHEM. When I leave the power connected but when I disconnect any data pin from the transmitter (like MISO, CSN etc) it stays also connected. I changed the transmitter -> no effect.
Downgrade to Board definitions 1.6.11 ->no effect.
I then installed the same sketch using to same antenna on an Arduino mini, using additionally an external FT232 USB Adapter, connecting the six Data pins to the Arduino: Same errors as described above. However, when I disconnect the DTR pin between Mini and Adapter, everything seems to work fine. With the very same transmitters, everything works as it should and stays connected.
Any idea what this can be?
THX in advance,
Regards, snudi
Posts made by snudi
-
Serial Gateway constantly restarting (=Startup complete with FHEM)