Show Posts
Pages: [1] 2 3 ... 16
1  Using Arduino / Microcontrollers / Arduino Mega 2560 Driver Install Change Name on: November 24, 2013, 04:51:44 pm
Hi everyone.

On Windows  7 for example,  when for the first time one plugs their Mega 2560 board to their computer a little pop up appears telling you that it's installing  the drivers.

On this pop up it says "Arduino Mega 2560", can this be changed at all? Maybe by burning the bootloader to the board again?

Any help is appreciated.

Thanks.
2  Using Arduino / Motors, Mechanics, and Power / Re: EasyDriver stepper motor driver not fast on: September 17, 2013, 09:26:24 am
Anybody?
3  Using Arduino / Motors, Mechanics, and Power / Re: EasyDriver stepper motor driver not fast on: September 12, 2013, 01:51:31 am
Yes you're right, I was typing in a hurry.

The Easydriver board is powered with the Arduino via +5v and GND pins. No power to the PWR IN pins. I've tried the same code with a power supply via PWR IN pins but the stepper motor doesn't move at all.
4  Using Arduino / Motors, Mechanics, and Power / Re: EasyDriver stepper motor driver not fast on: September 11, 2013, 09:48:08 am
Yes the clip is what the code does. It's working fine but I need it to go faster.

The wiring diagram is exactly like in this link:http://bildr.org/2011/06/easydriver/

I'm going to try it with a12v PSU to see what happens.
5  Using Arduino / Motors, Mechanics, and Power / Re: EasyDriver stepper motor driver not fast on: September 11, 2013, 04:23:49 am
Here is a clip of it on the cluster. It goee about 270 degrees.

https://www.youtube.com/watch?v=hrXkIfIyvt8&feature=youtube_gdata_player

It's only getting power from the arduino.

It's a car stepper motor so theoretically should go pretty fast. I haven't got much info on it.

I've tried longer periods of up to 5 seconds without any luck.

Thanks.
6  Using Arduino / Motors, Mechanics, and Power / EasyDriver stepper motor driver not fast on: September 11, 2013, 12:48:36 am
Hi.

I have been using the bildr's tutorial for Easydriver stepper motor driver to run a stepper motor on my car cluster.

bildr.org/2011/06/easydriver/

It works fine to go back and forth but only at speeds of up to 0.3. For example:   rotate(4200, 0.3);

If I make it any faster "rotate(4200, 1);" , you can see that it tries to move but it doesn't at all! I need it to move as fast as possible. Is there any solutions at all?

Here is the code:

Code:
#define DIR_PIN 2
#define STEP_PIN 3

void setup() {

  pinMode(DIR_PIN, OUTPUT);
  pinMode(STEP_PIN, OUTPUT);
}

void loop(){

  //rotate a specific number of microsteps (8 microsteps per step)
  //a 200 step stepper would take 1600 micro steps for one full revolution
  rotate(1600, 1); //reverse
  delay(1000);

  rotate(1600, 1);
  delay(1000);
}



void rotate(int steps, float speed){
  //rotate a specific number of microsteps (8 microsteps per step) - (negitive for reverse movement)
  //speed is any number from .01 -> 1 with 1 being fastest - Slower is stronger
  int dir = (steps > 0)? HIGH:LOW;
  steps = abs(steps);

  digitalWrite(DIR_PIN,dir);

  float usDelay = (1/speed) * 70;

  for(int i=0; i < steps; i++){
    digitalWrite(STEP_PIN, HIGH);
    delayMicroseconds(usDelay);

    digitalWrite(STEP_PIN, LOW);
    delayMicroseconds(usDelay);
  }
}

void rotateDeg(float deg, float speed){
  //rotate a specific number of degrees (negitive for reverse movement)
  //speed is any number from .01 -> 1 with 1 being fastest - Slower is stronger
  int dir = (deg > 0)? HIGH:LOW;
  digitalWrite(DIR_PIN,dir);

  int steps = abs(deg)*(1/0.225);
  float usDelay = (1/speed) * 70;

  for(int i=0; i < steps; i++){
    digitalWrite(STEP_PIN, HIGH);
    delayMicroseconds(usDelay);

    digitalWrite(STEP_PIN, LOW);
    delayMicroseconds(usDelay);
  }
}
7  Using Arduino / General Electronics / Re: Reading Car Indicators Signal with Arduino on: August 07, 2013, 04:02:46 am
Anybody?
8  Using Arduino / General Electronics / Re: Reading Car Indicators Signal with Arduino on: August 02, 2013, 02:52:25 pm
Using a colour LCD to build a selection of warning light to be shown on it. I'd like to get the signals from the lights on the dashboard. I also wanna show the indicators on this.

Hope this helps.
9  Using Arduino / General Electronics / Re: Reading Car Indicators Signal with Arduino on: August 02, 2013, 03:26:20 am
Thanks for the reply. Much appreciated.

I now how to program LCDs etc, no worries there. Is voltage dividers the only way?

Thanks.
10  Using Arduino / General Electronics / Reading Car Indicators Signal with Arduino on: August 01, 2013, 11:28:22 am
Hi everyone.

What's the best way of reading car indicator signals with an Arduino preferably via the digital pins?

This is then used to show some sign on an LCD.

Any help would be appreciated.

Thanks.
11  Using Arduino / Sensors / Re: MAX31855 thermocouple always reading zero on: June 03, 2013, 01:42:27 am
I've checked the wiring over and over again many times.
12  Using Arduino / Sensors / Re: MAX31855 thermocouple always reading zero on: June 02, 2013, 07:03:37 pm
Both internal temp and sensor temp read 0.

I only have the chip connected, nothing else.
13  Using Arduino / Sensors / Re: MAX31855 thermocouple always reading zero on: June 01, 2013, 09:03:35 am
Hi and thanks for your reply.

How do you do that?
14  Using Arduino / Sensors / MAX31855 thermocouple always reading zero on: May 31, 2013, 03:19:48 pm
I've got a MAX31855K chip and followed the datasheet to make a circuit. I've connected it to my Arduino Duemilanove and powered it with 3.3v. I've got a K-type TC sensor connected also .I've used the Adafruit's library to get values out of it, but I always get 0 for both internal and TC sensors.

https://github.com/adafruit/Adafruit-MAX31855-library

Any ideas?
15  Using Arduino / Displays / Re: 4D Systems μLCD-μLED-μVGA Serial_LCD Library Suite on: May 09, 2013, 06:24:14 am
Obsolescence Notice
 
The Serial_LCD Library Suite was designed for 4D Systems screens on serial SGC mode.
 
4D Systems has launched new screens and a major update of its Workshop 4 IDE with an outstanding feature: ViSi-Genie. ViSi-Genie provides a graphical environment to design a user interface in just a couple of minutes.
 
The new serial connection SPE2 mode is not compatible with SGC, making the Serial_LCD Library Suite obsolete. 4D Systems provides new libraries for the Arduino, PixAxe, Raspberry Pi, Pascal and C platforms.
 
 
Links
Workshop 4 IDE with ViSi Genie
Libraries for SP2 serial connection GitHub repository
• Serial_LCD Library Suite reference and maintenance on a case by case basis

Hi,

Can the PmmC file not be updated on these new ones to turn it into a serial salve device like before so we can still use your library?
Pages: [1] 2 3 ... 16