I recommend using just an Atmega 8 and a LCD.
You'll get the AVR (don't know what the price is in your country) for about 2-3 bucks.
I got two LCDs for just 4,50€ each at Pollin (German shop where to get electronical bargains). There also were more expensive ones with background lighting, etc. You won't need that.
It's very easy to program in Bascom, as BASCOM (as a high level language) includes the commands for the standard LCDs.
What else will you need?
A sensor that tells you how fast it rotates? Maybe you could use just a magnet and a loop, but then you'll need to program interrupts.
Those are quite difficult and tricky in C and also in Bascom it's not that easy (yet should be feasible)
Maybe on the internet you'll find a module that puts out a certain voltage depending on the rotation. (Say, 0V = 0RPM, 3V= 3000RPM)
Then you just use the ADC, and convert 1mV=1RPM => 452 mV = 452 RPM. That easy.
Using a potentiometer you could dim the RPM. Or you make three switches , 1000RPM , 2000 RPM , 3000 RPM. This is still easier and the ATMega has enough pins.
This would surely be the cheapest approach. If you have any questions, don't hesitate to ask!
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To view this discussion on the web visit https://groups.google.com/d/msg/diybio/-/3CNPk6QnnnEJ.
To post to this group, send email to diybio@googlegroups.com.
To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/diybio?hl=en.






0 comments:
Post a Comment