Go Down

Topic: Need Help With Arduino :-| (Read 3324 times) previous topic - next topic

UKHeliBob

What signal voltage range does it work with ?
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Adam164

The signal is from 0.1V to 1.5(~2)V

UKHeliBob

I wonder what would happen if you fed it with a PWM signal with a value between 0 and about 75 ?  The actual voltage swing would still be 0 to 5V of course but depending on how fast the circuit reacts it may still work.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.

Adam164

void Read_Rpm(const unsigned int value)
{
  tone(9, map(value,0,5700,55,423));
}


This is the code I should customize... but how?

PaulS

Code: [Select]
void Read_Rpm(const unsigned int value)
{
  tone(9, map(value,0,5700,55,423));
}

What is there about that code that reads RPM?

PaulS

Can't be bothered posting code correctly, but you still want us to help you change it? I'll pass.

Adam164


Is this the kind of thing you mean?





Yes, it is finally!!! :) I change the input potensiometer with Read_Rpm and it's ok! Thank you very much!

Steve Virgo

Hi everyone, I haven't posted on my topic for a while.
Updates...

Currently i am working on the 'looks' of the dash and improving it.
Soon you will see the progress I have made with the led's and gauges.
I have received my Speedo/Tacho Head and have just got to get around to fitting it.
When I get some time I will post some pictures so you can see how everything has moved on.
Good luck to Adam164 with your project and I cant wait to see some pictures, Sorry If I haven't been reading but what game/simulator is your project for?

Steve
------------
Youtube: http://youtube.com/virgocomputing
Current Projects: Using an Arduino UNO To Control a Model Railway's Points and Signa

Steve Virgo

Here is my latest update:
http://www.youtube.com/watch?v=tlHZw60KkE8&feature=youtu.be
------------
Youtube: http://youtube.com/virgocomputing
Current Projects: Using an Arduino UNO To Control a Model Railway's Points and Signa

Adam164


Good luck to Adam164 with your project and I cant wait to see some pictures, Sorry If I haven't been reading but what game/simulator is your project for?


It's the same project for OMSI, like Gazz. The difference is that because I don't have the tachometer, I thought about showing the RPM (or velocity) with LEDs. I am gonna upload video as soon as possible.

Congratulations for your project!

Steve Virgo

oK, I hope to see a video of your project soon, As of mine, I just have the buttons left to do on mine!
------------
Youtube: http://youtube.com/virgocomputing
Current Projects: Using an Arduino UNO To Control a Model Railway's Points and Signa

Go Up