-
Re write
08/01/2016 at 07:03 • 0 commentswell with the way things are going here
I'm set to start my first rewrite of most of the code look for some updates in the next few weeks . I will be building a nicer web interface and making a few changes to the firmware going to try to allow for 5 programs that allow you control multiple zones which should also allow for running zones more than once a day. also going to be adding automatic re populating forms so you don't have to refill them each time you want to make a small change
the plane is to allow picking zones the same you pick days currently and giving each one a binary bit so that 9 could be sent converted to 1001 and would be translated to zone 1 on zone 2 off zone 3 off zone 4 on which is how I currently pass my day selection from web to photon hopefully decoding binary like this wont be to hard in php once I sorted it out in C it wasn't to bad but I had a lot of help but this is low on the list for now i just want to get the redesign started
so if anyone is interested in jumping on board and helping me learn as we go with php for much of it this time I think if not at least the to make the form self populating I will need a little php
see you guys in a few days
-
pcb layout started
07/25/2016 at 07:29 • 0 commentswell I broke open kicad for the first time and started to lay out a pcb this first one is going to be pretty simple I'll upload a sch file in a few mins and the rest of it will probably get put on the git hub
-
publishing problems
07/24/2016 at 20:39 • 0 commentshaving to publish to 2 systems that have different limits meant reworking the publish script a bit but also allowed me to remove a few hundred milliseconds of delay out of the publishing loop so its down to only 3 100ms delays this should help with all of the timing in general I may reworks this to eliminate all of the delays completely really shouldn't be to hard to add a few more stops in the 2 minute loop I am trying keep the overall bandwidth down to a minimum I may have to make a server side client to to keep track of the published info so that the status page and loads stats instantly on load rather than wait for the device to publish them
maybe webhooks or something can solve this time to learn some more
-
further grief with analog
07/23/2016 at 04:05 • 1 commentwell I have everything back online in its new enclosure
this should give me more accurate temp and humidity readings also should avoid the temp spikes that the relays caused
this image is of it next to the 24 Ah battery that I use for back up this maybe slight over kill but I had it kicking around
I removed the external antenna as it was not needed and it is one less hole I have to drill in the box the previous case had minor traces of water in it I suspect the antenna connector for that which is why I tried to go with out for now
the analog problem is that I may have inadvertantly burnt the A3 input and relocted this sensor to another pin but I failed to double check the pin out and the pin I attached to is not analog compatable so I may rearange things or re test the A3 pin soon for now that zone doesn't need to have water levels adjusted much anyways
-
soil reading take 2
07/22/2016 at 05:33 • 0 commentstonight I am fixing the soil moisture inputs
putting voltage dividers on the out put f the soil moisture sensors
to protect the analog pins on the photon
and tomorrow it will be re installed in a new encousure