Go Down

Topic: CASH FOR CODE$$$ PLEASE HELP!!! (Read 463 times) previous topic - next topic

Johnradiora2

so anyone want cash for a code.

 I'm using a nema 23 stepper motor, dm542t driver and
Arduino Uno R3 Microcontroller A000066.i need to Control forward, stop and reverse with
 WINGONEER New Style Infrared IR Wireless Remote Control Sensor Module :)

wvmarle

Which parts exactly do you need coded?

You have to provide detailed specs for what the code has to do.
- input: what exact data do you get from that IR module?
- output: what speeds (steps per time) do you want from that stepper?
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

Johnradiora2


this is what i have so far, works good but only on direction without ir. ill get the other info tomorrow,its 2:00am and i have to work at 5:00 am
THANKS AGAIN :)



int pulPin = 10;
int dirPin = 11;
int enblPin = 12;
int ledPin = 13;

int loops = 0;

void setup() {
  // put your setup code here, to run once:
  pinMode(pulPin, OUTPUT);
  pinMode(dirPin, OUTPUT);
  pinMode(enblPin, OUTPUT);
  pinMode(ledPin, OUTPUT);
 
  digitalWrite(pulPin, LOW);
  digitalWrite(ledPin, LOW);
  digitalWrite(enblPin, LOW);
  digitalWrite(dirPin, LOW);
 
  Serial.begin(9600);
  Serial.println("init");
 
  digitalWrite(enblPin, HIGH);
  delay(100);
  digitalWrite(enblPin, LOW);
}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(pulPin, HIGH);
  digitalWrite(ledPin, HIGH);
  digitalWrite(pulPin, LOW);
  digitalWrite(ledPin, LOW);
 
  delay(1);
}

wvmarle

What does this code do, and how is it related to your request?
I don't see stepper code or IR code, and what the loop() does just doesn't make much sense.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

Go Up