Stepper motor bluetooth serial driver (Attiny85 & L293D)

in Arduino, hacks by DP | 2 comments

thefinishedboard

Trandi blogged about his Stepper motor bluetooth serial driver project:

How to put together a simple bluetooth driver for a nice little stepper motor (Mitsumi M35SP-11HPK) that I salvaged from an old Canon printer.
It uses a small Attiny85 (the more I use them the more I love them ! :) ) programmed in Arduino, a L293D H bridge, a few discrete components and a bluetooth to serial adapter

Check out the video after the break.

This entry was posted in Arduino, hacks and tagged , , .

Comments

  1. Alex says:

    Hi,
    I need to know schematic and components value to building myself.
    Thanks for your held in advance.
    Bye

  2. Benjamin says:

    I am trying to figure out how to connect bluetooth with ATtiny85?

    Here is the code I used to connect bluetooth with adruino uno.
    #include // import the serial library

    SoftwareSerial Genotronex(10, 11); // RX, TX
    int ledpin=13; // led on D13 will show blink on / off
    int BluetoothData; // the data given from Computer

    void setup() {
    // put your setup code here, to run once:
    Genotronex.begin(9600);
    Genotronex.println(“Bluetooth On please press 1 or 0 blink LED ..”);
    pinMode(ledpin,OUTPUT);
    }

    void loop() {
    // put your main code here, to run repeatedly:
    if (Genotronex.available()){
    BluetoothData=Genotronex.read();
    if(BluetoothData==’1′){ // if number 1 pressed ….
    digitalWrite(ledpin,1);
    Genotronex.println(“LED On D13 ON ! “);
    }
    if (BluetoothData==’0′){// if number 0 pressed ….
    digitalWrite(ledpin,0);
    Genotronex.println(“LED On D13 Off ! “);
    }
    }
    delay(100);// prepare for next data …
    }

    What changes do I need to make so that code can work an ATtiny85?

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.