Etu esi wuo robotic ji obere ego

Foto nke nsonaazụ ikpeazụ nke ogwe aka roboticO doro anya na ọtụtụ n'ime gị ahụla na fim sayensị akụkọ ifo ka ọkà mmụta sayensị ma ọ bụ geek nwere ogwe aka robotic nke na-achịkwa ihe niile na nke nwere ike iburu ihe ma ọ bụ rụọ ọrụ dị ka a ga - asị na ọ bụ mmadụ. Ihe na - aghọwanye ike dapụtakwala na Ihe Ngwanrọ Efu na Arduino Project. Ma gịnị bụ ogwe aka robotic? Kedụ ọrụ ndị akụrụngwa a nwere? Kedu ka esi esi wuo robotic? Ọzọ anyị ga-aza ajụjụ ndị a niile.

Kedu ihe bụ ogwe aka robotic

Ogwe aka robotic bụ ogwe aka nke nwere ntọala kọmputa nke na-enye ya ohere ịhazi ya nke ọma. Na mgbakwunye, ụdị ogwe aka a nwere ike ịbụ otu mmewere mana ọ nwekwara ike ịbụ akụkụ nke robot ma ọ bụ usoro robotic ọzọ. Ogo nke ogwe aka robotic ma e jiri ya tụnyere ụdị igwe ndị ọzọ bụ nke ahụ a robotic ogwe aka bụ n'ụzọ zuru ezu programmable mgbe ndị ọzọ nke ngwaọrụ bụghị. Ọrụ a na-enye anyị ohere ịnwe otu ogwe aka robotic maka arụmọrụ dị iche iche na ịrụ ọrụ dị iche iche dị iche iche na nke dị iche iche, ọrụ ndị enwere ike ịme site na mbadamba kọmputa dị ka bọọdụ Arduino.

Ọrụ nke ogwe aka robotic

Ikekwe ọrụ kachasị nke ogwe aka robotic bụ ọrụ ogwe aka inyeaka. N'ime arụmọrụ ụfọdụ anyị ga-achọ ogwe aka nke atọ na-akwado ụfọdụ mmewere ka mmadụ wee wuo ma ọ bụ mepụta ihe. Maka ọrụ a enweghị mmemme pụrụ iche achọrọ ma naanị anyị ga-agbanyụ ngwaọrụ n'onwe ya.

Enwere ike iji ogwe aka dị iche iche wuo ogwe aka nke na-eme ka o kwe omume iji ha dochie anya arụmọrụ dị egwu. dị ka ịmalite nke ihe ndị na-emerụ emerụ. Ogwe aka robot pụkwara inyere anyị aka ịrụ ọrụ ndị dị arọ ma ọ bụ ọrụ ndị chọrọ nrụgide zuru ezu, ọ bụrụhaala na e ji ihe dị ike ma na-eguzogide ya rụọ ya.

Ihe ndi choro maka owuwu ya

Ọzọ anyị ga-akuziri gị otu esi arụ ogwe aka robotic na ngwa ngwa, ụzọ dị mfe na akụ na ụba maka mmadụ niile. Agbanyeghị, ogwe aka robotic agaghị adị ike ma ọ bụ baa uru dịka ogwe aka anyị na-ahụ na ihe nkiri mana ọ ga-amụta ịmụ banyere arụmọrụ ya na nrụpụta ya. Ka ọ were, ihe ndị anyị ga-eji wee wuo ngwa a bụ:

  1. Efere  Arduino UNO REV3 ma ọ bụ karịa.
  2. Abụọ mmepe mbadamba.
  3. Abụọ axis servos ke ukem
  4. Abụọ micro servos
  5. Abụọ analọg njikwa ke ukem
  6. Cable nwere jumper maka mbadamba mmepe.
  7. Teepu nrapado
  8. Katọn ma ọ bụ ụfụfụ osisi maka nkwụnye.
  9. A cutter na mkpa.
  10. Nnukwu ndidi.

Mgbakọ

Nzukọ nke ogwe a robotic dị mfe. Nke mbụ, anyị ga-bepụ ụyọkọ anọ na ụfụfụ; nke ọ bụla n’ime akụkụ anọ ndị a ga-abụ akụkụ nke ogwe aka robotic. Dịka ị pụrụ ịhụ na onyogho ndị a, ihe ntanetị a ga - abụ nha anyị chọrọ, agbanyeghị na akwadoro ya Ogo nke otu n'ime ha bụ 16,50 x 3,80 cm. na nke anọ rektangulu nwere ndị na-esonụ nke 11,40 x 3,80 cm.
Odumodu nke servomotor na robotic ogwe aka.

Ozugbo anyị nwere rektangulu, na otu njedebe nke ọ bụla rektangulu ma ọ bụ warara anyị ga-teepu ọ bụla servomotor. Mgbe ịmechara nke a, anyị ga-ebipụ ụfụfụ "U". Nke a ga - abụ akụkụ njide ma ọ bụ ngwụcha nke ogwe aka, nke mmadụ ga - abụ aka. Anyị ga-esonye mpempe a na servomotor nke dị na ntanetị pere mpe.

Banye na akụkụ nke ogwe aka robotic

Ugbu a, anyị ga-eme akụkụ ala ma ọ bụ isi. Maka nke a, anyị ga-eme otu usoro ahụ: anyị ga-ebipụ a square nke ụfụfụ na-etinye abụọ axis servo Motors ke ukem dị ka ndị na-esonụ oyiyi:

Robotic ogwe aka isi

Ugbu a, anyị ga-ejikọ motọ niile na bọọdụ Arduino. Mana nke mbụ, anyị ga-ejikọ njikọ ndị ahụ na bọọdụ mmepe na nke a na bọọdụ Arduino. Anyị ga-ejikọ eriri ojii na pin GND, eriri uhie anyị ga-ejikọ na ntụtụ 5V na wires na-acha odo odo -11, -10, 4 na -3. Anyị ga-ejikọkwa ọystụ ma ọ bụ njikwa nke ogwe aka robotic na bọọdụ Arduino, na nke a dị ka ihe oyiyi na-egosi:

eserese njikọ robotic

Ozugbo anyị jikọtara ihe niile ma kpọkọta anyị ga-ebufe ihe omume ahụ na bọọdụ Arduino, nke anyị ga-ejikọ bọọdụ Arduino na kọmpụta ma ọ bụ laptọọpụ. Ozugbo anyị gafere usoro ihe omume ahụ na ngalaba Arduino, anyị kwesịrị ijide n'aka na jikọọ eriri ndị ahụ na Arduino board ọ bụ ezie na anyị nwere ike ịga n'ihu na bọọdụ mmepe ma wepu ihe niile, nke ikpeazụ ma ọ bụrụ naanị na anyị chọrọ ka ọ mụta.

Sọftụwia achọrọ maka ịrụ ọrụ

Ọ bụ ezie na ọ dị ka anyị emechaala ogwe aka robotic, eziokwu bụ na a ka nwere ọtụtụ ihe dị n’ihu na ihe kacha mkpa. Mepụta ma ọ bụ ịmepụta mmemme nke na-enye ndụ anyị aka robotic, ebe ọ bụ na enweghị ya, ndị servomotors agaghị akwụsị ịbụ usoro elekere dị mfe nke na-enweghị atụ.

Emere nke a site na ijikọ bọọdụ Arduino na kọmputa anyị ma anyị mepee mmemme ahụ IDE Arduino, anyị jikọọ kọmputa ahụ na bọọdụ wee dee koodu ndị a na faịlụ oghere:

#include <Servo.h>

const int servo1 = 3;       // first servo

const int servo2 = 10;      // second servo

const int servo3 = 5;       // third servo

const int servo4 = 11;      // fourth servo

const int servo5 = 9;       // fifth servo

const int joyH = 2;        // L/R Parallax Thumbstick

const int joyV = 3;        // U/D Parallax Thumbstick

const int joyX = 4;        // L/R Parallax Thumbstick

const int joyP = 5;        // U/D Parallax Thumbstick

const int potpin = 0;      // O/C potentiometer

int servoVal;           // variable to read the value from the analog pin

Servo myservo1;  // create servo object to control a servo

Servo myservo2;  // create servo object to control a servo

Servo myservo3;  // create servo object to control a servo

Servo myservo4;  // create servo object to control a servo

Servo myservo5;  // create servo object to control a servo

void setup() {

// Servo

myservo1.attach(servo1);  // attaches the servo

myservo2.attach(servo2);  // attaches the servo

myservo3.attach(servo3);  // attaches the servo

myservo4.attach(servo4);  // attaches the servo

myservo5.attach(servo5);  // attaches the servo

// Inizialize Serial

Serial.begin(9600);

}

void loop(){

servoVal = analogRead(potpin);

servoVal = map(servoVal, 0, 1023, 0, 179);

myservo5.write(servoVal);

delay(15);

// Display Joystick values using the serial monitor

outputJoystick();

// Read the horizontal joystick value  (value between 0 and 1023)

servoVal = analogRead(joyH);

servoVal = map(servoVal, 0, 1023, 0, 180);     // scale it to use it with the servo (result  between 0 and 180)

myservo2.write(servoVal);                         // sets the servo position according to the scaled value

// Read the horizontal joystick value  (value between 0 and 1023)

servoVal = analogRead(joyV);

servoVal = map(servoVal, 0, 1023, 70, 180);     // scale it to use it with the servo (result between 70 and 180)

myservo1.write(servoVal);                           // sets the servo position according to the scaled value

delay(15);                                       // waits for the servo to get there

// Read the horizontal joystick value  (value between 0 and 1023)

servoVal = analogRead(joyP);

servoVal = map(servoVal, 0, 1023, 70, 180);     // scale it to use it with the servo (result between 70 and 180)

myservo4.write(servoVal);                           // sets the servo position according to the scaled value

delay(15);                                       // waits for the servo to get there

// Read the horizontal joystick value  (value between 0 and 1023)

servoVal = analogRead(joyX);

servoVal = map(servoVal, 0, 1023, 70, 180);     // scale it to use it with the servo (result between 70 and 180)

myservo3.write(servoVal);                           // sets the servo position according to the scaled value

delay(15);                                       // waits for the servo to get there

/**

* Display joystick values

*/

void outputJoystick(){

Serial.print(analogRead(joyH));

Serial.print ("---");

Serial.print(analogRead(joyV));

Serial.println ("----------------");

Serial.print(analogRead(joyP));

Serial.println ("----------------");

Serial.print(analogRead(joyX));

Serial.println ("----------------");

}

Anyị na-echekwa ya na mgbe nke ahụ gasịrị, anyị zigara ya na efere ahụ Arduino UNO. Tupu ịmalite koodu ahụ, anyị ga-eme nyocha ndị dị mkpa iji nyochaa na ọystụ ahụ na-arụ ọrụ na koodu ahụ anaghị eweta njehie ọ bụla.

Enweela m ya ndoli, ugbu a gịnị?

O doro anya na ọtụtụ n'ime unu atụghị anya ụdị ụdị robotic a, agbanyeghị na ọ dị mma maka isi ihe ọ bụ, ụgwọ ọ nwere na ụzọ isi kụzie etu esi arụ robọt. Site ebe a ihe niile bụ nke anyị pụrụ ichetụ n'echiche. Nke ahụ bụ, anyị nwere ike ịgbanwe ihe, igwe ọrụ na ọbụna mezue koodu mmemme. Ọ na-aga na-ekwughị nke ahụ kwa anyị nwere ike ịgbanwe ụdị mbadamba Arduino maka nke dị ike ma zuo oke nke na-enye anyị ohere ijikọ njikwa dịpụrụ adịpụ ma ọ bụ rụọ ọrụ na smartphone. Na nkenke, a dịgasị iche iche nke ohere awa site Free Hardware na robotic ogwe aka.

Ozi ndị ọzọ - Ozizi


Ọdịnaya nke isiokwu agbaso ụkpụrụ anyị nke ụkpụrụ nduzi. Kpesa mmejọ pịa ebe a.

Nkwupụta, hapụ nke gị

Hapu okwu gi

Adreesị email gị agaghị bipụtara. Chọrọ ubi na-akara na *

*

*

  1. Rụ ọrụ maka data: Miguel Ángel Gatón
  2. Nzube nke data: Nchịkwa SPAM, njikwa okwu.
  3. Ikike: Nkwenye gị
  4. Nkwurịta okwu nke data: Agaghị agwa ndị ọzọ data ahụ ma ọ bụghị site na iwu.
  5. Nchekwa data: Ebe nchekwa data nke Occentus Networks (EU) kwadoro
  6. Ikike: Oge obula inwere ike igbachi, weghachite ma hichapụ ihe omuma gi.

  1.   Jorge Garcia dijo

    N'ezie 3D obibi bụ ọnụ ụzọ nke nnukwu ihe. Arụrụ m ọrụ na ọdụm 2 na atụmatụ nke aka m ma nsonaazụ ya masịrị m. Ebe ọ bụ na a gwara m ka m gụọ banyere ya na http://www.leon-3d.es Ọ na-ama jidere m anya na mgbe m gbalịrị ya na-agba àmà banyere onwe-leveling na nkọwa na ikpeazụ n'ihi, m maara ihe a ọma ego m mere.