Cov txheej txheem:

Arduino Sensor Gauntlet: 13 Kauj Ruam
Arduino Sensor Gauntlet: 13 Kauj Ruam

Video: Arduino Sensor Gauntlet: 13 Kauj Ruam

Video: Arduino Sensor Gauntlet: 13 Kauj Ruam
Video: How to Make a Mechanical Arm at Home out of Cardboard (DIY) 2024, Kaum ib hlis
Anonim
Arduino Sensor Gauntlet
Arduino Sensor Gauntlet

Lub Hom Phiaj: Tsim kom muaj lub ntsuas cua nrog ntiv tes ntsuas lub siab dhau los ntawm Arduino teeb tsa

Vim li cas: Kev daws teeb meem paj hlwb nyob rau sab laug los ntawm Ganglion Cyst

Dab tsi: Poob siab ntawm tes/tus ntiv tes xoo ua rau muaj cov kab mob sib kis ntawm kev poob txhua yam uas muaj nyob hauv txhais tes.

Yuav ua li cas: Arduino tau ua haujlwm nrog ob lub ntsuas hluav taws xob, ib qho ntawm tus ntiv tes xoo thiab ib qho ntawm tus ntiv tes nruab nrab, pub cov ntaub ntawv rov qab rau lub cev muaj zog hauv lub hnab ntim khoom. Qhov no yuav tsum tso cai rau kev lees paub tias cov khoom raug tuav hauv tes ua tiav tsis ua rau poob ib yam khoom.

Kauj Ruam 1: Cov Ntaub Ntawv: Arduino Uno

Cov ntaub ntawv: Arduino Uno
Cov ntaub ntawv: Arduino Uno

Arduino Ib

Los ntawm Amazon

Kauj Ruam 2: Cov Khoom Siv: Force Sensitve Resistor-Me thiab Txiv Neej Txuas

Cov ntaub ntawv: Force Sensitve Resistor-Me thiab Txiv neej Txuas
Cov ntaub ntawv: Force Sensitve Resistor-Me thiab Txiv neej Txuas
Cov ntaub ntawv: Force Sensitve Resistor-Me thiab Txiv neej Txuas
Cov ntaub ntawv: Force Sensitve Resistor-Me thiab Txiv neej Txuas

Yuam Kev Ruaj Ntseg Resistor - Me

www.sparkfun.com/products/9673

Txuas

Solder mus rau qhov kawg ntawm Force Sensitive Sensor kom yooj yim sib dhos

Kauj Ruam 3: Cov Khoom Siv: Kev Tsav Tsheb

Khoom siv: Kev Tsav Tsheb
Khoom siv: Kev Tsav Tsheb

Kev Tsav Tsheb

www.sparkfun.com/products/8449

Kauj ruam 4: Resistor

Resistor
Resistor

10K Resistor (Kuj)

Kauj ruam 5: Breadboarding

Breadboarding
Breadboarding

Breadboard kom pom tias cov cim thiab Arduino yuav sib tham.

  • Force Sensitive Sensor

    • 3.3V (Ntsuab hlau hauv daim duab) rau Force Sensor
    • A0 tus pin (Xiav xaim hauv daim duab) rau Force Sensor Pin nrog 10K resistor
    • Av Hlau (xiav hauv daim duab) rau lub rooj mov ci
  • Kev Tsav Tsheb

    • Hauv av (Xiav Hlau)
    • Tus Pin 3 (Liab Hlau)
  • Muaj peev xwm ua tau los ntawm 9V Plug

Kauj ruam 6: Code

/* FSR kev sim yooj yim kos duab. Txuas ib kawg ntawm FSR rau lub zog, lwm qhov kawg rau Analog 0.

Tom qab ntawd txuas ib kawg ntawm 10K resistor los ntawm Analog 0 rau hauv av

*/

int fsrPin = 0; // FSR thiab 10K pulldown txuas nrog a0

koj fsrReading; // qhov sib piv nyeem los ntawm FSR resistor faib

int motorpin = 3; // tus pin rau kev co lub cev muaj zog

void teeb (tsis muaj dab tsi) {

Serial.begin (9600);

tus pinMode (motorpin, OUTPUT);

}

void loop (tsis muaj dab tsi) {

fsrReading = analogRead (fsrPin);

Serial.print ("Analog nyeem ntawv =");

Serial.println (fsrReading); // cov ntaub ntawv analog nyeem nyoos

int vspeed = daim ntawv qhia (fsrReading, 0, 810, 0, 255)

; analogWrite (motorpin, vspeed);}/*

Kauj Ruam 7: Mobilize Setup

Mobilize Setup
Mobilize Setup
Mobilize Setup
Mobilize Setup
Mobilize Setup
Mobilize Setup

Kauj Ruam 8: Rau Gauntlet

Kuv siv tawv los ua daim ntaub, lwm cov ntaub ntawv tuaj yeem siv tau.

Tawv kuv siv

Kauj Ruam 9: Ntsuas

Ntsuas
Ntsuas
Ntsuas
Ntsuas
  • Tsim tus qauv rau tes thiab caj npab.
  • Taug qab ntawm Bristol Board lossis lwm daim ntawv khov kho thiab txiav tawm.

Kauj Ruam 10: Tsim Tsim

Tsim Tsim
Tsim Tsim
Tsim Tsim
Tsim Tsim
  • Kos cov qauv xav tau thiab daim kab xev rau tawv tuav nws ruaj ntseg
  • Siv cov cuab yeej los taug cov qauv rau tawv thiab kos/bevel raws li xav tau.
  • Tawv yuav tsum ntub tab sis tsis ntub heev ua ntej yuav txiav

Kauj ruam 11: Sib sau ua ke

Sib sau ua ke
Sib sau ua ke
Sib sau ua ke
Sib sau ua ke
Sib sau ua ke
Sib sau ua ke
  • Siv hlua los khi ua ke
  • Kuv siv tawv tag nrho cov punch los tsim qhov
  • Rau kev tuav ib ntus, Kuv tau siv daim kab xev hluav taws xob los tuav cov khoom siv hluav taws xob nyob hauv qhov chaw. Txog kev daws teeb meem tas mus li, Kuv npaj yuav ua cov tawv tawv xaws rau hauv cov khoom siv hluav taws xob.
  • Lub zog quab yuam nyob hauv tus ntiv tes xoo thiab kev co co yog nyob rau sab saum toj ntawm tes

Kauj ruam 12: Dye

Dye
Dye

Kuv siv tawv zas xim rau xim tsim, tsuas xav tau yog xav tau.

Kauj Ruam 13: Xeem

Kuaj kom paub tseeb tias txhua yam ua haujlwm.

Pom zoo: