1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

tachometer + arduino - tacometro + arduino

Discussion in 'DIY peripherals' started by nicko_esx, Jan 30, 2014.

  1. nicko_esx

    nicko_esx Member

    Joined:
    May 28, 2012
    Messages:
    37
    Location:
    argentina
    Balance:
    696Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    Arduino
    hola gente les muestro lo que me tuvo ocupado estos dias.
    Quería retomar el tema tacometro y arduino. y un gran amigo me regalo un viejo y hermoso orlan rober. la electrónica estaba totalmente muerta... y la mecánica en muy mal estado. decidi probar con un motor pap bipolar de 200 pasos. epson e258. retomando un codigo que publique hace un tiempo.
    aqui les subo un video resumen.. espero les guste :D gracias.

    hello people I show them what I was busy these days.
    I wanted to regain and tachometer arduino topic. and a great friend gave me a beautiful old Orlan Rober. electronics was completely dead ... and mechanics in very poor condition. I decided to try a pap bipolar motor 200 steps. epson E258. returning a code to publish some time.
    Here I upload a video abstract .. I hope you like it: D thanks.

    • Like Like x 5
  2. JBoogie

    JBoogie Member

    Joined:
    Jan 14, 2014
    Messages:
    82
    Occupation:
    Pre-sales Engineer
    Location:
    Northern VA
    Balance:
    1,524Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, SimforceGT
    Very nice! Me gusta mucho!
  3. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,942Coins
    Ratings:
    +3,328 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Lovely! I like these things so much!
    Nice work, @nicko_esx !
  4. eaorobbie

    eaorobbie Well-Known Member SimTools Developer Gold Contributor

    Joined:
    May 26, 2009
    Messages:
    2,574
    Occupation:
    CAD Detailer
    Location:
    Ellenbrook, Western Australia
    Balance:
    20,464Coins
    Ratings:
    +1,686 / 23 / -2
    My Motion Simulator:
    2DOF, DC motor, JRK, SimforceGT, 6DOF
    Sweet nice job indeed, so is that running from the GameDash, I have helped in a similar project where the dash actually contained steppers in it already, so it was quiet simply to hack into the circuit and drive them with a stepper driver and the Ard, in all contained 6 analogue gauges and 13 led lights.
    Possible you will share the Ard code and maybe a wiring diagram for others to follow. Big Thanks.
    I have done this before myself for a friend but we used servo motor, not as smooth as a stepper.
    Very cool to bring an old gauge back to life.
  5. nicko_esx

    nicko_esx Member

    Joined:
    May 28, 2012
    Messages:
    37
    Location:
    argentina
    Balance:
    696Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    Arduino
    hello.
    thank you very much for your feedback.
    tell them the project.
    pap engine is powered by an L293 driver. this link: http://txapuzas.blogspot.com.ar/2009/12/paperstepperl293d-driver-de-potencia.html
    construction is very easy, and it works only with two pins.


    the code is this:
    Code:
    #include <Stepper.h>
    
    #define STEPS 200
    
    Stepper stepper(STEPS,10,11);
    
    
    int rpm;
    int i;
    int previous_potion = 0;
    int rotate;
    int led = 13;
    char kind_of_data;
    
    void setup(){
    
    Serial.begin(9600);
    
    stepper.setSpeed(100);
    pinMode(led, OUTPUT);
    }
    
    void loop()
    {
    while(Serial.available() > 0)
    {
    
      kind_of_data = Serial.read();
      if (kind_of_data == 'R' ) Read_Rpm();
     
    }
    
    
    }
    
    void  Read_Rpm(){
    
    delay(2);
    int Rpm100 = Serial.read()- '0';
    delay(2);
    int Rpm10 = Serial.read()- '0';
    delay(2);
    int Rpm1 = Serial.read()- '0';
    
    int rpm = 100*Rpm100 + 10*Rpm10 + Rpm1;
    rpm = map(rpm,0,200,0,200);
      rotate = rpm - previous_potion;
    stepper.step(rotate);
    previous_potion = rpm;
    }
    can imagine that the wiring and connection is easy.
    arduino> driver two pins> motor.

    should clarify that unfortunately run simtools achievement ... I need more experience. so sorry
  6. bsft

    bsft

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Nice job, I hope you dont get too confused trying to sort the information you have asked for on another site as well.
    I think you will find Simtools better.