Categories

Stepper motor bluetooth serial driver (Attiny85 & L293D)

Posted on Thursday, April 18th, 2013 in Arduino, hacks by DP

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 on Thursday, April 18th, 2013 at 11:00 am and is filed under Arduino, hacks. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “Stepper motor bluetooth serial driver (Attiny85 & L293D)”

  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 Reply

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

Recent Comments

  • Cyk: Well, this is an application that I'd solve with an Android smartphone. Used Moto G phones can be found on Ebay for ~€30, and thanks...
  • Noy: Yuuup
  • Vibhore: I'm waiting. *Fingers_crossed
  • KH: I guess this is a failed attempt at making a pass/fail cable tester out of discrete ICs. A single pass/fail LED is not that useful....
  • Max: Considering it only seems to test that all wires conduct, I'm not sure what exactly does this show you that 7 LEDs each powered through...