|
Post by earlthesquirrel on Sept 28, 2022 14:54:43 GMT -8
I am building some of the WeatherSense set ups. I have a lot of existing parts and have been printing my own cases (from your designs)
However, I was missing some of the Mini Pro Plus board. I wasn't able to find any for sale on your site, so I ordered some Grove Mini Pro LP Arduino Board boards instead. Overall they are a find substitute, however I can't figure out where to connect the 433 Mhz Radio boards. I figured I might have to connect them to a grove connector or some such. I can dig into the code, but was wondering what the JB10 connector is for.
Can you point me to how I'd connect the radio to this board?
Thanks!
Earl
|
|
|
Post by SDL on Oct 2, 2022 12:08:01 GMT -8
There are two things that the board has that you might need. One is the plugs for the 433MHz radio (which just run to Data pins - so you can spin your own). Look at the code.
There is also a WatchDog timer on the board which very much improves the reliability of the system.
BP
|
|
|
Post by earlthesquirrel on Oct 2, 2022 12:52:06 GMT -8
So from the code, it looks like it wires up to digital pin 7. Correct? Also for the watchdog can I just drop in the watchdog board you sell?
( if so, any particular way to wire it up? )
|
|
|
Post by SDL on Oct 3, 2022 15:23:39 GMT -8
Sounds right. Yes, you can use the watchdog timer. You hook the Arduino output up to the Arduion reset pin.
BP
|
|
|
Post by earlthesquirrel on Oct 6, 2022 12:53:24 GMT -8
So, the Watchdog Arduino output (JP4 on the Watchdog) to the pin labeled RESET on JP6 on the Arduino board. JP4 is 2 pins, how exactly does that get wired up?
I assume I also need to hook up power -- Can I do that using the Grove input (on the Watchdog board)? Or does that need to be on the pair of pins separately? (if so, what is the Grove plug for on the Watchdog board?)
|
|
|
Post by SDL on Oct 7, 2022 5:20:06 GMT -8
Yes, you need to hook up power. Either way. Any Grove plug can be used for just power. check the specification for the watchdog.
BP
|
|
|
Post by earlthesquirrel on Dec 29, 2022 12:07:49 GMT -8
Ok, so I've had time over the holiday to work on the sensors. I've hooked up the cables based on my best guess (see pictures)   I've watched the serial monitor and haven't been able to discern any change in behavior. What should I be watching for? What sort of change in behavior should I observe?? How do I know it's hooked up correctly and I'm seeing the correct expected behavior?
|
|
|
Post by SDL on Dec 29, 2022 15:02:32 GMT -8
Depending on how you set the Watchdogs timer (check your reset line. You should be using the Arduino Pin) you should see the Red LED blink ~200 seconds. That is when the watch dog is triggered. If you are patting the watchdog, then nothing will happen! Because the dog has been patted.
John
|
|
|
Post by earlthesquirrel on Dec 29, 2022 20:32:06 GMT -8
 I am using the code from your git hub repo, so it should be "set up" however you did it. In the attached picture it's unclear to me which is the "Arduino pin". I'm assuming either JP4 or JP2 but not clear which of the two pins should go to the Arduino reset pin. Does it matter? Also, what happens if the code doesn't "pat" the watchdog? Should the board "power cycle"? If so, I'll test one the Lightning sensor box (when I fix the bug you acknowledged) and try turning off the pat routine and see what happens.
|
|
|
Post by SDL on Dec 30, 2022 8:31:09 GMT -8
JP4 top. Looks like you have it right. If you don't pat the watchdog the arduino reset line will pulse and the arduino will reset. So put in some dummy code that just prints to the serial monitor but doesn't pat the dog. Then wait to see if you it resets. Did you look at the watchdog specification? There are some mistakes on the JP4 labelling in the spec. www.switchdoc.com/wp-content/uploads/2016/12/DualWatchDog_110216-V2.02.pdfJohn
|
|