|
Post by snakn1 on Oct 10, 2018 11:22:20 GMT -8
I was thinking of adding a WittyPi 2 Bd to power off the pi at night to save the battery. I would get the SDL solar bd, but I am running a 12V (18v) solar panel and I know that the solar bd can not handle the voltage. I already know I will have to change the default Hault pin on the Witty, but that is no issue, the question is the WittyPi 2 bd has a built in RTC DS3231. to prevent the conflict with the plugg in one on the "Weather BD" can I unplug it from the Weather bd and if so will the Weather pi software still see it from the Witty bd? I am just brainstorming this before I buy the bd.
|
|
|
Post by SDL on Oct 11, 2018 13:50:17 GMT -8
Snakn1,
Yes, that should work. One issue you may run into is what I2C bus segment the DS3231 is on. If it's different than the WB, you still should be able to change the code to select the correct bus segment.
BP
|
|
|
Post by snakn1 on Oct 11, 2018 15:57:26 GMT -8
ok thanks
|
|
|
Post by snakn1 on Oct 18, 2018 6:48:51 GMT -8
ok I pulled the trigger and got a WittyPi 2. after figuring out a few things and modify the code. this is what I ended up doing.
my modified version of GWP did not like the rtc on the WittyPi 2. and if I kept them both in, it worked, but i did not get a temp from either bd (conflict in the ic2 buss). so I figured that the WittyPi 2 was already syncing the rtc with the system time. there was no need to pull the time from the Weather BD rtc. so I pulled it, and "rem out" the code looking for that time. I then just requested the time from the system as I knew it was set already to the RTC of the WittyPi2. now all is fine. I have the pi power it self down at night to save on battery and power itself up in the morning. because my project does not require a log of the data, but we are only using this as real time data, this does not matter that I have no data at night.
|
|
|
Post by SDL on Oct 23, 2018 12:35:27 GMT -8
Sounds like you have the whole system working. The I2C Address conflict makes sense.
BP
|
|
|
Post by snakn1 on Oct 28, 2018 10:20:11 GMT -8
Yes all is now good. I will be install it out on the RC field in the spring. I am waiting for a clubmenter to make up a plate to go on the place we will be mounting it to. It is now getting cold and the field will be closing soon. I will keep it at my home (backyard) until spring time so I can fully test and tweak the system. I want to thank you and your group (and this forum) for all the advice and help with this project.
Brad
|
|