sorry guys didn't update in a few days but that's cos theres a lot been going on and wrestling with one issue in particular. 3 white widow auto seeds have been soaking and popped out yesterday.
since its cold weather though, im starting them in a propagator to give them a decent chance. they are going well in that thing, I will give them a few days more then put them in the chamber to grow.
a few days ago I setup the system in the grow area, strapped the control box up on to the wall and the robot on the floor. getting it up and running was not as straightforward as I hope though...
first thing to get stuck on was network cable, seemed the length Id wanted to run into the room just wouldn't work between the pi and the router (other eqpt was working but lossy). In the end it seemed easier to go wifi, so that's what I did, adding a nano wifi adaptor to the USB hub. That was the first of the install problems solved (or so I thought).
Second was that there was flickering in the lights, the grow light and the white lights. since I was testing before with regular bulbs, I didn't "see" the issue. but with the led's that can turn on and off fast, they didn't ride it out, so the issue was a bit of a surprise
Got to it with a bit of debug, looks like Fotek relay's only part work at 5V control voltage. They are rated 3V up but 5V just wont hold the relay steady ON. I jacked up the drive voltage to 7.5 and the lighting is now switching on/off OK and no flicker at all. After some head scratching I rerouted the high side supply of the level shifter driving those relays to the arduino-bot's motor voltage (7.5V). Thankfully it was not so hard once the problem was understood.
So far so good I started the timelapse running and left it be to see how it got on. Seems all went well until something went wrong six hours later and the pi was left in a weird state of coma. Over the last couple days I have been trying to get to the bottom of that one still. adding more debug code to try and work out what happens when it crashes, modifying behaviour, changing HW setup...
whats happened is that the HD is no longer on the hub, but direct to the pi. HD and Pi share a USB supply and are not connected at 5V to anyone else. Also I have increased the min memory limit according to
http://stevenhickson.blogspot.co.uk/201 ... ashes.htmlit did run perfectly stable on the bench before so had to try revert things, removed the wifi adaptor and instead made use of a couple of powerline networking units I had in the garage. If it is a memory low issue, then the USB wifi adaptor wont help things - it will consume more memory than just a straight lan connection, and draw more power. this is the latest thinking anyway.
its been running happy for some hours already, lets see how it is in the morn... hope I got the fix this time round, need to have it stable cos in a few days it'll be "showtime"