Short Background: Bought a Char-Griller Akorn ( Fauxmado ) a year ago. Ran across this project while looking for some ways to control the thing. Saw the 4.2.4 was out a couple of months ago. Built one and a servo/fan combo like this http://tvwbb.com/showthread.php?46004-INTRODUCING-the-quot-Roto-Damper-quot&p=552847&viewfull=1#post552847
I've read through the development thread and I'm not sure how much else. Started tinkering with the Arduino code. Did a fork off your repository and synced in your latest changes.
Things I've done or found so far:
Rewrote the Fan Voltage control - I'm using a Pentium 4 cpu fan. Discovered the stock code wouldn't go below 7Vdc. Basically 35% was the same at 1%. I can run it down to 1 Vdc now.
Reworked the PID - Derivative is more reliable now for me at least. Integration is more contained. Disabled resetting Integral accumulator when you change Integral value.
Tweak the decimation - helped with the Fan control which I least expected.
Added a new mode for fan ganging - Seems to work. Last weekend it was holding steady at 225F in crazy winds. Fan went from off to over 30% during time.
Discovered likely source of servo chatter - The servo isn't real picky about the refresh timing. The pulse width though is very touchy. I was able to make an ISR that could make servo growl. It was funny and then annoying after a few hours. Debating if 50 HZ refresh is even needed once it's on target.
Posted the code so you can pull what you want or tell me I need to work on it. Rob HM Fork
So my questions:
How in the world do you access the HMLG debug output? I've never been a fan of the Lua script file system that Openwrt uses. Feel like i'm in Dos playing with ini's truthfully. Keep getting lost trying to figure out where the output is being sent ( or is it pulled? )
Can I modify the linkmeter code and copy it straight to the Raspberry? I'd like to add the 5th bit flag to the PidOutputFlag ( Thank you for renaming those functions! ). I'm using the manual set field. Works but the web page is off
Enough for my first post I think
I've read through the development thread and I'm not sure how much else. Started tinkering with the Arduino code. Did a fork off your repository and synced in your latest changes.
Things I've done or found so far:
Rewrote the Fan Voltage control - I'm using a Pentium 4 cpu fan. Discovered the stock code wouldn't go below 7Vdc. Basically 35% was the same at 1%. I can run it down to 1 Vdc now.
Reworked the PID - Derivative is more reliable now for me at least. Integration is more contained. Disabled resetting Integral accumulator when you change Integral value.
Tweak the decimation - helped with the Fan control which I least expected.
Added a new mode for fan ganging - Seems to work. Last weekend it was holding steady at 225F in crazy winds. Fan went from off to over 30% during time.
Discovered likely source of servo chatter - The servo isn't real picky about the refresh timing. The pulse width though is very touchy. I was able to make an ISR that could make servo growl. It was funny and then annoying after a few hours. Debating if 50 HZ refresh is even needed once it's on target.
Posted the code so you can pull what you want or tell me I need to work on it. Rob HM Fork
So my questions:
How in the world do you access the HMLG debug output? I've never been a fan of the Lua script file system that Openwrt uses. Feel like i'm in Dos playing with ini's truthfully. Keep getting lost trying to figure out where the output is being sent ( or is it pulled? )
Can I modify the linkmeter code and copy it straight to the Raspberry? I'd like to add the 5th bit flag to the PidOutputFlag ( Thank you for renaming those functions! ). I'm using the manual set field. Works but the web page is off
Enough for my first post I think