We have a 24V solenoid, I was going to use a transistor as a switch to turn the 24V solenoid on and off.
It has to operate without delaying the servo loops.
dont use delay(). It will stop the servos from moving and wont have the desired effect. Take the code from the "blink without delay" example, modify it to "blink" every hour, and add it to your code.
fkeel:
dont use delay(). It will stop the servos from moving and wont have the desired effect. Take the code from the "blink without delay" example, modify it to "blink" every hour, and add it to your code.
p.
genius.... I'll give it a try as soon as my partner stops being stupid and understands that gears can't have play or they bind......it's been about 2 weeks now and he doesn't seem to believe me when I tell him the gearing shafts can't move (except torsionally)
ok, this program works fairly well, however it's important that the "turnstile" move 90* then the "wiper" starts moving and while it's moving, the turnstile is also moving at the same time to a position of 180*.....same on the reverse.
is that possible or incredibly difficult to accomplish?
Fairly easy. The hard part will be syncing them together since they are geared differently. Do you know what the ratios are? Otherwise, it will take some trial and error.
You might check servo city below for gears/pullys to change the final gearing of the servo output. Bottom is a discussion concerning moving a servo at less than full speed.
Just to wrap this up, The project is done however my partner is still under the impression we're working on this so he can solve the worlds problems and become a millionaire with this but it was a school project and we're finished.
I never did get the programming quite right but because of my partners inability to think simple things through it made it quite difficult to get it working.
So I'm done with this, but still have an arduino and nary a thing to do with it
I'd love some suggestions as to what to do with it preferably automotive related.
Document your projects. You wont regret it. ... in a year or two you will have completely forgotten what you did. Its so nice to be able to go back to a blog or a post in this forum or somewhere else and figure out how the hell one solved some random problem two years ago.
I'll try and get some pics of this project tomorrow for you guys then, it was supposed to be a bed bug trap but honestly it was all my partners idea and he is seriously one helluva an idiot. Looking for any idea as his "million dollar idea".
What I am wondering automotive wise with the arduino is could I tap into various sending units on my vehicle and have an LCD to display actual values.
For instance, my oil pressure gauge is a dummy gauge, it only displays normal, low or high. If the PCM detects a signal above X then it displays normal etc no matter how the pressure changes.
I'd like to get the signal directly from the sending unit and have live values of things such as temp, oil pressure and such.
The biggest problem I would see is determining the scale as I don't know what voltage values correspond to what pressure/temp.