martinayotte wrote:I think you have much choice to debug using prints to figure out where it is crashing ...
Yes, I did that. Took a while but I narrowed it down. If I understand correctly, the solar tracker code drives stepper motors by "bit-banging" (is this the correct term?) and gets locked in a loop driving the steppers. So I threw in a yield() there and all seems to be well.
Anand Lobo wrote:So, I'm doing this.
After going over the solar tracker code by Gabriel, I noticed there is little to no dependency on AVR-specific code. So, I basically went through all of the files in his program [url=http://www.cerebralmeltdown.com/wp-content/uploads//2012/12/Mega_SunTracking_Heliostat_Program_V098.zip]
Hi
I've just started looking at using esp8266's for a heliostat - and see you had the same idea - a year earlier!
How did you go - did you resolve all the issues? What drive mechanism are you using? Is there a write-up on your webpage somewhere?
More questions to follow.....
thanks
Jeff
Thanks heaps for putting this up, very kind of you to so generously share