Moderator: The Mod Squad
fivebob wrote:A lot easier than you might imagine, certainly easier than designing circuits to do the same thing. Chances are someone has already done what you want to do before and it's just a matter of copying their code
Akane wrote:You can etch your own board.
http://www.youtube.com/watch?v=tWnfnt2rNO0
From memory of the Bosch LSU 4.2 Datasheet, it's not linear. There's the Rich gas and Lean gas sections and they're curved. :/
Also there is the wideband sensor heater.
I think you're better off buying a controller. I had to.
sergei wrote:You can use AVR/PIC hookit up straight to 2x LED 7seg. display (no drive circuit needed) and use ADC inputs for your input. will only need 5V regulator, couple of capacitors, 1 uC, and bunch of resistors.
You can program a map/table of the values into it to follow any curve you want.
Only problems are
1) assembling it (beginner to intermediate soldering skills/board making)
2) programming it (intermediate C or your language of choice, and lots of RTFM on the uC).
cat007 wrote:sergei wrote:You can use AVR/PIC hookit up straight to 2x LED 7seg. display (no drive circuit needed) and use ADC inputs for your input. will only need 5V regulator, couple of capacitors, 1 uC, and bunch of resistors.
You can program a map/table of the values into it to follow any curve you want.
Only problems are
1) assembling it (beginner to intermediate soldering skills/board making)
2) programming it (intermediate C or your language of choice, and lots of RTFM on the uC).
Thanks for that sergei!
I'd pay for someone to do this as long as it wasn't going to cost the earth!
I can solder find and have made all sorts of things in my time but I'm really a bit of a novice when it comes to designing electronics....
sergei wrote:here http://www.avrfreaks.net/ is good place to start.
they even have articles for n00bs.
Putting hardware together will be easy: basically you have one 14pin chip, one 3pin regulator, couple of capacitors, a few resistors and whole bunch of interconnects.
Hardest bit is actually writing firmware. The good thing that AVRs come with easily configurable ADC (your input) and since your voltage range is 0 to 5V there is no need for extra hardware (like opamps) to buffer the input.
To make ADC on, is just matter of setting couple of registers, and from there you can make a while (1) {} loop that that looks up the values on your table (that defines the "curve"), interpolates them, and decodes them into 7led output. Setting output is very easy, again you just write to output register (which in binary represent each pin). .
fivebob wrote:sergei wrote:here http://www.avrfreaks.net/ is good place to start.
they even have articles for n00bs.
Putting hardware together will be easy: basically you have one 14pin chip, one 3pin regulator, couple of capacitors, a few resistors and whole bunch of interconnects.
Hardest bit is actually writing firmware. The good thing that AVRs come with easily configurable ADC (your input) and since your voltage range is 0 to 5V there is no need for extra hardware (like opamps) to buffer the input.
To make ADC on, is just matter of setting couple of registers, and from there you can make a while (1) {} loop that that looks up the values on your table (that defines the "curve"), interpolates them, and decodes them into 7led output. Setting output is very easy, again you just write to output register (which in binary represent each pin). .
Or buy a development board with bootloader and software libraries and bypass all the hard stuff.
FYI it takes less than 10 lines of code to do what you want to using a serial LED/LCD for display. Programming without the libraries etc would take closer to 100 lines
sergei wrote:While serial LED/LCD are a lot awesomer they are much more expensive then 2x basic 7segment LEDs.
cat007 wrote:I'm really useless at reading code in any form - let a lone writing it. Not sure why but my brain just doesn't like it lol
cat007 wrote:Except the gauge kit for the LC1 is like $300 which is ridiculous!
Guss wrote:http://www.europerformance.co.nz/product_info.php?products_id=62 thats probably the XD16 gauge which is programmable to all the innovate products.
standalone AFR gauges 'only' $170
depends what you want it for - tuning or as a gauge to occasionally check ?
Users browsing this forum: No registered users and 9 guests