Automatic programming switch - Printable Version
+- WeatherDuino Forum (
https://www.meteocercal.info/forum)
+-- Forum: Weather Stations - WeatherDuino Pro2 Line (
https://www.meteocercal.info/forum/forum-4.html)
+--- Forum: Hardware Questions (
https://www.meteocercal.info/forum/forum-11.html)
+--- Thread: Automatic programming switch (
/thread-1727.html)
Automatic programming switch -
engolling - 03-11-2019
Hello guys,
for those who are using their WeatherDuino with a Raspberry Pi and maybe do not sit directly beneath it like me.
I'm running my system mostly from far away or at least there are some stairs between me and the WetherDuino.
So I looked for an idea how to get into programming mode from away and I found those relay modules with high level trigger.
They are available at ebay or aliexpress but be careful to get one which has an high level trigger (reacting from 3V) and is opto-isolated.
For example this one:
https://www.aliexpress.com/item/33050592084.html
Then if you want to program you can set your connected Pin to high with a bash command.
https://raspberrypi-aa.github.io/session2/bash.html
At the moment I'm waiting for the module to arrive - I will keep you updated how things are going.
Regards,
engolling
RE: Automatic programming switch -
hornychz - 04-11-2019
(03-11-2019, 20:43)engolling Wrote: So I looked for an idea how to get into programming mode from away and I found those relay modules with high level trigger.
They are available at ebay or aliexpress but be careful to get one which has an high level trigger (reacting from 3V) and is opto-isolated.
For example this one: https://www.aliexpress.com/item/33050592084.html
Then if you want to program you can set your connected Pin to high with a bash command.
https://raspberrypi-aa.github.io/session2/bash.html
RE: Automatic programming switch -
werk_ag - 04-11-2019
(03-11-2019, 20:43)engolling Wrote: ....
I'm running my system mostly from far away or at least there are some stairs between me and the WetherDuino.
RE: Automatic programming switch -
engolling - 25-12-2019
The device arrived and I connected the programming switch to the normaly open output of the relay module.
The V+ of the module is connected to 5V of the Raspberry and the V- is connected to GND of the Raspberry and, last but not least the input is connected to GPIO23 of the Raspberry.
The WeatherDuino can be set to programming mode by executing the attached bash script.