Analog averaging techniques
Analog averaging techniques
Again, just some links I needed to put up for discussion so I can close a few windows that have been open for weeks.
There must be a few ways to skin this cat, and I'm wondering if any of you have any statistical expertise in this regard?
http://www.tigoe.net/pcomp/code/categor ... owiring/37
http://www.tigoe.net/pcomp/code/categor ... owiring/42
http://www.tigoe.net/pcomp/code/categor ... ocessing/7
Thoughts?
Fred.
There must be a few ways to skin this cat, and I'm wondering if any of you have any statistical expertise in this regard?
http://www.tigoe.net/pcomp/code/categor ... owiring/37
http://www.tigoe.net/pcomp/code/categor ... owiring/42
http://www.tigoe.net/pcomp/code/categor ... ocessing/7
Thoughts?
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Analog averaging techniques
A programmable RC circuit, which averages your analog signals analogly.
Re: Analog averaging techniques
We will almost certainly need this very soon :-) Who wants a job working on it? The skeleton is there, just replace the in = out code with averaging code and we are good to go.
High priority here.
Fred.
High priority here.
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Analog averaging techniques
how about simply doing this to start ?
any explanation is all right there. yes it's basic, but does it need to be any more complicated initially ?
whats the deadline ?
any explanation is all right there. yes it's basic, but does it need to be any more complicated initially ?
whats the deadline ?
Re: Analog averaging techniques
Yes, that sounds reasonable! I'm OK accepting patches against my code to apply also (If you don't want to get up to speed with Git).
No specific deadline, but I may be longing for it by the weekend when having no filtering starts to hurt me :-)
If the system sucks without it (and other features) then I can just not use it and can just log the existing setup along side the inputs. Hence no real rush, take your time :-)
Fred.
No specific deadline, but I may be longing for it by the weekend when having no filtering starts to hurt me :-)
If the system sucks without it (and other features) then I can just not use it and can just log the existing setup along side the inputs. Hence no real rush, take your time :-)
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Analog averaging techniques
I'd like to do this proper, so I'll go to the back of the volunteer line until I get straight on what I need to setup exactly. I don't have the bandwidth right now to have something ready in a week. I will ask questions as I move along - I saw a few threads which will get me going.
Re: Analog averaging techniques
No worries! Maybe we can pair program this when/if I get to your place. It's not like it's a particularly difficult one to do anyway :-)
Fred.
Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Analog averaging techniques
right - it really is simple, I could just rip it out and let you integrate it.
I never did any pair programming - let alone on something embedded - thats got to be a pretty rare event. I'd let you drive (which I think is what you're getting at)
.. I was just talking to an IT guy and he recommended VirtualBox .. so I'm getting that setup now on my windows box. I'm doing a netinst of debian now.
I never did any pair programming - let alone on something embedded - thats got to be a pretty rare event. I'd let you drive (which I think is what you're getting at)
.. I was just talking to an IT guy and he recommended VirtualBox .. so I'm getting that setup now on my windows box. I'm doing a netinst of debian now.
Re: Analog averaging techniques
almost there
I had a problem w/eclipse - I just might fall back on vi but I saw that Fred had some kind of template for eclipse, so I'd like to see if I could work it out first.
Code: Select all
sean@chernobyl:/usr/m68hc11/bin$ git --version
git version 1.5.6.5
sean@chernobyl:/usr/m68hc11/bin$
Re: Analog averaging techniques
eclipse is sorted..
git is sorted ...
build fail :
... gotta stop for now, I'll figure it out later. looks like a simple path problem.
git is sorted ...
Code: Select all
sean@chernobyl:~$ git clone git://github.com/fredcooke/freeems-vanilla.git
Initialized empty Git repository in /home/sean/freeems-vanilla/.git/
remote: Counting objects: 1618, done.
remote: Compressing objects: 100% (974/974), done.
remote: Total 1618 (delta 1158), reused 866 (delta 582)
Receiving objects: 100% (1618/1618), 1.13 MiB | 187 KiB/s, done.
Resolving deltas: 100% (1158/1158), done.
sean@chernobyl:~$
Code: Select all
sean@chernobyl:~/freeems-vanilla/src$ make all
################################################################################
# Creating the preprocessedc directory.... #
################################################################################
mkdir -p preprocessedc/hack
rmdir preprocessedc/hack
################################################################################
# Running the C Pre Processor... #
################################################################################
m68hc11-gcc -g -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char -E freeEMS.c > preprocessedc/freeEMS.pp.c
m68hc11-gcc -g -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char -E staticInit.c > preprocessedc/staticInit.pp.c
m68hc11-gcc -g -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char -E main.c > preprocessedc/main.pp.c
m68hc11-gcc -g -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char -E tableLookup.c > preprocessedc/tableLookup.pp.c
m68hc11-gcc -g -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char -E init.c > preprocessedc/init.pp.c
init.c:52:20: string.h: No such file or directory
make: *** [preprocessedc/init.pp.c] Error 1
sean@chernobyl:~/freeems-vanilla/src$