Cov txheej txheem:

Lub Sijhawm Corona: 6 Kauj Ruam (nrog Duab)
Lub Sijhawm Corona: 6 Kauj Ruam (nrog Duab)

Video: Lub Sijhawm Corona: 6 Kauj Ruam (nrog Duab)

Video: Lub Sijhawm Corona: 6 Kauj Ruam (nrog Duab)
Video: Sib Hawm Dhau (Time Passed) Music Video by: Deeda/Dib Xwb 2024, Kaum ib hlis
Anonim
Image
Image
Lub Sijhawm Corona
Lub Sijhawm Corona
Lub Sijhawm Corona
Lub Sijhawm Corona
Lub Sijhawm Corona
Lub Sijhawm Corona

Raws li tus mob Coronavirus tau kis mus thoob ntiaj teb thiab ntau thiab ntau lub tebchaws tab tom kaw lawv cov pej xeem mus rau lawv lub tsev kom ua rau tus kab mob qeeb zuj zus peb cov neeg tau ploj mus dhau ib hnub yam tsis muaj dab tsi ua. Luckily Instructables nyob ntawm no kom qiv tes thiab nrog ob peb lub tswv yim hauv siab Kev Qhia Caij Nyoog sib tw zoo li lub sijhawm zoo tshaj plaws:)

Yog tias koj ib yam nrog kev nyuaj siab hauv tsev neeg vim tus mob Coronavirus raug kaw tsis txhob ntshai Lub Sijhawm Corona nyob ntawm no rau koj, nrog kev lees paub 2 hnub ntawm kev tsim sijhawm ntxiv rau cov sijhawm tsis kawg ntawm kev saib lub sijhawm ya los nrog koj lub Corona Clock tshiab!

Yog li, lub tswv yim tom qab lub moos yog kom muaj cov pob hlau ntawm lub ntsej muag ntawm lub moos tsis yog txhais tes coj nrog cov hlau nplaum kom cov pob txav mus zoo li yog khawv koob ncig lub moos. Pob sab nrauv sawv cev rau feeb thiab pob hauv sab nruab nrab yog teev.

Kuv tsim tag nrho CAD cov ntaub ntawv siv Autodesk Fusion 360.

Txhua yam yog programmed siv Arduino.

Kuv vam tias koj txaus siab rau cov lus qhia no thiab tej zaum koj kuj yuav pom nws los ua qhov zoo tshaj plaws Luam/Tsim kev sib tw hauv koj lub sijhawm dawb.

Tsis muaj ado ntxiv cia tau txais Tsev !!!

Khoom siv

ELECTRONICS:

  • 2x TowerPro SG90 Servos (Txuas Ntawm No)
  • 1x Arduino Nano (Txuas Ntawm No)
  • 1x Arduino Nano Shield (Txuas Ntawm No)
  • 1x Mini USB cable (Txuas ntawm no)
  • 1x 5V USB lub xov tooj charger (Txuas Ntawm No)
  • 1x Khawm Modules (Txuas Ntawm No) !!! Nco ntsoov tias koj yuav cov qauv ib yam li qhov no !!!
  • Pob ntawm poj niam rau poj niam jumper xov hlau (Txuas Ntawm No)
  • 2x Steel pob ntawm 10 thiab 15 mm txoj kab uas hla
  • 2x 15mm txoj kab uas hla x 3 mm dav Neodymium hlau nplaum (Txuas Ntawm No) Kuv yuav yuav ntau dua 2 tsuas yog thaum koj tsoo lawv ib yam li kuv tau ua:(

Yas:

Cov khoom tuaj yeem luam tawm hauv PLA lossis PETG lossis ABS.

Koj yuav xav tau 2 xim filaments kom tau txais txiaj ntsig zoo tshaj plaws.

Thov nco ntsoov tias 500g spool ntawm txhua qhov ntau tshaj li txaus los sau 1 Clock

3D tshuab luam ntawv:

Yam tsawg kawg tsim lub platform xav tau: L130mm x W130mm x H75mm

Txhua lub tshuab luam ntawv 3d yuav ua. Kuv tus kheej luam tawm ntu ntawm Creality Ender 3 uas yog tus nqi qis 3D tshuab luam ntawv qis dua 200 $ Cov ntawv luam tawm tau zoo kawg nkaus.

Cov Cuab Yeej:

1x Lub taub hau me me ntsia hlau yog txhua yam koj xav tau:)

Kauj Ruam 1: Luam Ntawv 3D

Txhua Qhov Chaw muaj los rub tawm ntawm Pinshape (Txuas Ntawm No)

Kuv ua tib zoo tsim txhua ntu ntawm lub moos kom luam tawm 3D yam tsis muaj cov ntaub ntawv txhawb nqa, rafts lossis brims xav tau thaum luam ntawv.

Txhua ntu tau kuaj sim luam tawm ntawm Creality Ender 3

  • Lub sijhawm luam tawm: Kwv yees li 20 teev
  • Khoom siv: PETG
  • Txheej siab: 0.3 hli
  • Tus nqi: 15%
  • Nozzle txoj kab uas hla: 0.4mm

Cov npe teev rau lub moos yog raws li hauv qab no:

Dawb:

  • 1 x Base
  • 1 x Lid
  • 1x Servo tuav
  • 1x cog
  • 1x Servo Khib
  • 1x Sab hauv
  • 1x Sab nraum lub voj voog
  • 1x Caj Npab Extension
  • 4 x pin
  • 2x khawm tuav
  • 2x Taw taw

Liab:

  • 2 x pes
  • 1 x Plab

Tom qab ua tiav:

Tshwj tsis yog tias koj muaj hmoo heev lossis muaj lub tshuab luam ntawv kim heev qee qhov yuav xav tau xuab zeb qhov twg cov khoom tig thiab swb ntawm ib leeg

Kauj Ruam 2: Txhim Kho Arduino

Txhim kho Arduino
Txhim kho Arduino

Lub Corona Moos siv Arduino C ++ programming txhawm rau ua haujlwm. Txhawm rau rub cov phiaj xwm mus rau lub moos peb yuav siv Arduino IDE

Nruab Arduino IDE rau koj lub computer

Arduino IDE (Txuas Ntawm No)

Txhawm rau kom paub tseeb tias cov cai ua haujlwm hauv Arduino IDE ua raws cov theem hauv qab no

  • Rub tawm qhov xav tau Arduino Code hauv qab no (Corona Clock.ino)
  • Qhib nws hauv Arduino IDE
  • Xaiv Cov Cuab Yeej:
  • Xaiv Pawg Thawj Coj:
  • Xaiv Arduino Nano
  • Xaiv Cov Cuab Yeej:
  • Xaiv Tus Txheej Txheem:
  • Xaiv ATmega328p (qub bootloader)
  • Nyem rau khawm Txheeb Xyuas (Tick khawm) nyob rau sab laug sab saud ntawm Arduino IDE

Yog tias txhua yam mus zoo koj yuav tsum tau txais cov lus hauv qab uas hais tias Ua tiav kev suav sau. Thiab qhov ntawd yog koj tam sim no tau ua tiav Kauj Ruam 2 !!!

Kauj Ruam 3: Txoj Cai

Nov yog saib cov cai rau cov uas koj txaus siab koj yuav feem ntau yuav tsum tau hloov kho qhov kev pabcuam ntawm caj npab mouvements txhawm rau ntsuas lawv zoo kawg nkaus raws li txhua qhov kev pabcuam muaj qhov sib txawv sib txawv.

#suav nrog

Servo myservoPUSHER;

Servo myservoSLIDER;

const int khawmMinutes = 4;

int buttonStateMinutes = 0;

int FiveMinuteCounter = 0;

int OneHourCounter = 0;

unsigned ntev time_now = 0;

void teeb tsa ()

{Serial.begin (9600);

pinMode (buttonMinutes, INPUT);

myservoPUSHER.attach (2); myservoSLIDER.attach (3); myservoPUSHER.write (90); myservoSLIDER.write (90); ncua (5000); myservoPUSHER.detach (); myservoSLIDER.detach (); }

void lub voj ()

{FiveMinuteCounter = ((millis ()/1000) % (300)); // FiveMinuteCounter = 0 txhua 5 feeb

buttonStateMinutes = digitalRead (buttonMinutes);

Serial.print ("FiveMinuteCounter:");

Serial.print (FiveMinuteCounter); Serial.print ("OneHourCounter:"); Serial.print (OneHourCounter); Serial.print ("buttonStateMinutes:"); Serial.println (buttonStateMinutes);

// yog tias khawm nyem txav pob feeb 5 feeb rau tom ntej

yog (buttonStateMinutes == 1)

{myservoPUSHER.attach (2); myservoSLIDER.attach (3); myservoPUSHER.write (30); tos5seconds (); myservoSLIDER.write (130); tos5seconds (); myservoPUSHER.write (140); tos5seconds (); myservoPUSHER.write (90); tos5seconds (); myservoSLIDER.write (90); tos5seconds (); myservoPUSHER.detach (); myservoSLIDER.detach (); OneHourCounter ++; }

// yog tias 5 feeb dhau los txav feeb pob 5 feeb rau tom ntej

yog (FiveMinuteCounter == 0)

{myservoPUSHER.attach (2); myservoSLIDER.attach (3); myservoPUSHER.write (30); tos5seconds (); myservoSLIDER.write (130); tos5seconds (); myservoPUSHER.write (140); tos5seconds (); myservoPUSHER.write (90); tos5seconds (); myservoSLIDER.write (90); tos5seconds (); myservoPUSHER.detach (); myservoSLIDER.detach (); OneHourCounter ++; }

// yog feeb pob tau txav 12 zaug txav ib teev pob 1 teev rau pem hauv ntej

yog (OneHourCounter> = 12) {myservoPUSHER.attach (2); myservoSLIDER.attach (3);

myservoPUSHER.write (65);

tos5seconds (); myservoSLIDER.write (50); tos5seconds (); myservoPUSHER.write (130); tos5seconds (); myservoSLIDER.write (90); tos5seconds (); myservoPUSHER.write (90); tos5seconds (); myservoPUSHER.detach (); myservoSLIDER.detach (); OneHourCounter = 0; }}

tos tsis tau 5seconds ()

{time_now = millis (); thaum (millis () <time_now + 500) {// tos kwv yees. 500 hli

Kauj Ruam 4: Sib dhos Corona Moos

Image
Image

Tag nrho cov Kauj Ruam hauv qab no tau piav qhia hauv Assembley Video saum toj no

  1. Tshaj tawm cov cai rau Arduino Nano
  2. Ruaj ntseg Arduino Nano mus rau Nano Shield
  3. Ntsia ib qho ntawm Servos rau ntawm Servo khib raws li qhia hauv video
  4. Muab lub Servo thiab Servo khib tso rau hauv tus tuav Servo thiab hla txoj hlua hla lub qhov raws li qhia hauv daim vis dis aus
  5. Txuas qhov Servo rau tus pin D2 ntawm Nano daim thaiv
  6. Txuas lwm qhov Servo rau tus pin D3 ntawm Nano daim thaiv
  7. Ntsia lwm qhov Servo rau Lub hauv paus raws li qhia hauv video
  8. Txuas lub USB cable rau hauv lub hwj chim loj lossis lub laptop
  9. Txuas lwm qhov kawg ntawm USB cable rau hauv Arduino Nano rau 2 vib nas this kom txog thaum Servos mus txog lawv li 90 degree txoj haujlwm hauv tsev.
  10. Tshem lub USB Cable los ntawm lub hwj chim loj lossis lub laptop thiab Nano ntaub thaiv npog
  11. Muab lub Servo caj npab tso rau hauv Servo txuas ntxiv
  12. Ntsia qhov Servo caj npab rau ntawm Servo ntsaws rau tus pin D2 ntawm 90 degree lub kaum sab xis rau lub cev servo raws nraim li qhia hauv video
  13. Txuas Khawm rau GND, V+ thiab S tus pin rau D4 tus pin ntawm Nano Shield nrog 3 dupont cables
  14. Hloov qhov 4 Pins rau hauv Lub Hauv Paus ntawm Moos
  15. Tso Arduino Nano daim thaiv rau hauv Base
  16. Hloov lub pob rau hauv paus
  17. Ruaj lub pob kom ruaj nrog lub khawm khawm
  18. Hloov qhov Taw rau hauv lawv qhov sib txawv hauv lub hauv paus
  19. Ruaj ntseg taw hauv qhov chaw nrog cov taw taw
  20. Txuas lub USB cable rau hauv Arduino los ntawm qhov seem hauv lub hauv paus
  21. Ntsuas tus tuav lub Servo rau hauv Lub Hauv Paus hla 4 pins Nco ntsoov teeb tsa nws txoj hauv kev ib puag ncig (Yees duab)
  22. Hloov lub voj voog qhia tus pin rau tus tuav tuav
  23. Muab qhov seem Servo caj npab tso rau hauv cog
  24. Ntsia qhov Servo caj npab rau lwm qhov Servo ntawm 90 degree lub kaum sab xis rau lub cev servo thiab nrog cov khib servo nyob ntawm qhov chaw ntawm kev mus ncig (yees duab)
  25. Muab lub vojvoog sab hauv tso rau hauv qhov chaw hlau nplaum tig mus rau hauv qab (6) (lub qhov hluav taws xob tawm)
  26. Muab lub vojvoog sab nraud tso rau hauv qhov chaw hlau nplaum lub ntsej muag tig mus rau saum (12)
  27. Ntxig cov hlau nplaum nrog ceev faj (Neodymium hlau nplaum muaj zog thiab tuaj yeem ua rau puas tsuaj rau lawv tus kheej thiab lwm tus yog tias sib cuag nrog ib leeg)
  28. Muab lub phaj tso rau hauv lub hau lub phaj txheej nrog lub hau qhov
  29. Muab lub hau tso rau saum toj nrog tus lej 6 ntsib lub qhov hluav taws xob tawm qhov
  30. Muab cov hlau hlau tso rau saum qhov uas lawv sib nqus tau qhov chaw

Thiab qhov ntawd yog lub moos yuav tsum tau sib sau ua ke thiab npaj ua haujlwm!

Kauj Ruam 5: Teeb Lub Sijhawm Corona

Kev Xav thiab Kev Tsim Kho Ntxiv
Kev Xav thiab Kev Tsim Kho Ntxiv

Txhawm rau teeb tsa lub moos lub voj voog sab nraud yuav tsum pib hauv 12 txoj haujlwm sab saud.

fortunatly lub voj voog sab hauv tuaj yeem pib hauv qhov haujlwm uas koj xav tau

Tom qab ntawd koj tuaj yeem txuas mus rau Hloov Lub Sijhawm los ntawm kev ntsaws nws thiab siv lub pob los kho cov feeb

thiab hloov tus kheej lub pob Steel rau kev kho lub sijhawm.

Kauj Ruam 6: Kev Xav thiab Tsim Kev Ua Yeeb Yam

Nov yog qhov haujlwm txaus thiab tawm tsam kuv lub peev xwm kev tsim kho tshuab kom puv!

Kuv tau muaj lub tswv yim no hauv siab rau ib pliag tam sim no thiab qhov tseeb tau coj txoj haujlwm no mus rau lub neej yog qhov xav tsis thoob. Nws yog kev tawm tsam, tshwj xeeb tshaj yog xam tawm lub sijhawm ua haujlwm thiab ib txoj hauv kev siv pheej yig 180 degree SG90 servos los txhawb nws.

Nws tau coj kuv tsuas yog nyob rau ib lub lim tiam tag nrho kom ua tiav txoj haujlwm no kuv tau mus txog tsawg kawg 10 qhov kev tsim qauv kom ua tiav txoj haujlwm no qee qhov uas nyob hauv daim duab saum toj no. Nws yog txhua yam tsim nyog nws, siv sijhawm zoo!

Pom zoo: