Cov txheej txheem:

Mesmerizing Sib Nqus Phab Ntsa Moos: 24 Cov Kauj Ruam (nrog Duab)
Mesmerizing Sib Nqus Phab Ntsa Moos: 24 Cov Kauj Ruam (nrog Duab)

Video: Mesmerizing Sib Nqus Phab Ntsa Moos: 24 Cov Kauj Ruam (nrog Duab)

Video: Mesmerizing Sib Nqus Phab Ntsa Moos: 24 Cov Kauj Ruam (nrog Duab)
Video: poj dab nqus ntshav hmoov phem part78 2024, Hlis ntuj nqeg
Anonim
Mesmerizing Sib Nqus Phab Ntsa
Mesmerizing Sib Nqus Phab Ntsa
Mesmerizing Sib Nqus Phab Ntsa
Mesmerizing Sib Nqus Phab Ntsa

Mechanical moos tau ib txwm nyiam kuv. Txoj hauv kev tag nrho cov zog sab hauv, cov kwj deg, thiab kev khiav tawm ua haujlwm ua ke kom ua rau lub sijhawm ruaj khov tas mus li ib txwm zoo li tsis ncav cuag rau kuv qhov kev paub tsis meej. Ua tsaug rau cov khoom siv hluav taws xob niaj hnub no thiab cov ntawv luam tawm 3D tuaj yeem txuas qhov sib txawv los tsim qee yam yooj yim uas tsis cia siab rau qhov me me uas yog xim hlau.

Lub moos phab ntsa tsawg tshaj plaws hides ib khub ntawm 3D luam lub nplhaib iav uas tau tsav los ntawm pheej yig stepper lub cev muaj zog uas tig cov hlau nplaum tom qab cov ntoo ntoo ntoo qub.

Thaum pib muaj kev tshoov siab los ntawm STORY Clock, Kuv xav tau lub sijhawm uas qhia txog lub sijhawm ntawm hnub siv pob bearings tsuas yog piv rau kev nyeem digital thiab qeeb txav pob coj lawv cov khoom siv.

Duab
Duab

Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom

Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom
Cov Cuab Yeej thiab Cov Khoom

Cov ntaub ntawv:

  • 13 x 13 x 2 nyob rau hauv. Plywood/Particle Board (Kuv glued ua ke 3 daim ntoo seem)
  • 13 x 13 nyob rau hauv. Hardboard
  • Arduino Nano Cov
  • Sijhawm Tiag
  • Stepper Motors thiab Tsav Tsheb
  • Hall Effect Sensors
  • Hlau nplaum
  • Fais Fab Cable
  • AC Adapter
  • Plug
  • Assorted Tshuab Ntsia Hlau
  • Assorted Ntoo Screws
  • 3D Luam Qhov Chaw (Kauj Ruam Kawg)
  • Veneer (12 x 12 nyob rau hauv. - ntsej muag, 40 nyob rau hauv. Ntev sawb)
  • Txau Lacquer
  • Xim Tsuag Xim Xim

Cov Cuab Yeej:

  • 3D Tshuab Luam Ntawv
  • Compass
  • X-acto Riam
  • Kua nplaum
  • Clamps
  • Vajvoog Txiav Jig
  • Hack Saws
  • Disk Sander yog
  • Ratchet Clamp
  • Chisel
  • Tus kav
  • Sander
  • Laum
  • Ntsia Hlau
  • Soldering Hlau
  • Kub Nplaum Phom

Kauj Ruam 2: Kua Ua Ke Ntoo Ntoo

Kua Ua Ke Ntoo Ntoo
Kua Ua Ke Ntoo Ntoo
Kua Ua Ke Ntoo Ntoo
Kua Ua Ke Ntoo Ntoo
Kua Ua Ke Ntoo Ntoo
Kua Ua Ke Ntoo Ntoo
Kua Ua Ke Ntoo Ntoo
Kua Ua Ke Ntoo Ntoo

Kua nplaum ua ke peb daim ntoo uas yuav tsim lub thav duab ntawm lub moos. Kuv siv cov rooj tog ntoo rov los ntawm lub txaj qub qub.

Kauj Ruam 3: Txiav Ncej Siv Vajvoog Txiav Jig

Txiav Ncej Siv Vajvoog Txiav Jig
Txiav Ncej Siv Vajvoog Txiav Jig
Txiav Ncej Siv Vajvoog Txiav Jig
Txiav Ncej Siv Vajvoog Txiav Jig
Txiav Ncej Siv Vajvoog Txiav Jig
Txiav Ncej Siv Vajvoog Txiav Jig
Txiav Ncej Siv Vajvoog Txiav Jig
Txiav Ncej Siv Vajvoog Txiav Jig

Kos rau nruab nrab ntawm lub rooj tsavxwm thiab nce mus rau lub voj voog txiav jig. Txiav tsib lub voj voog nrog cov kab hauv qab no:

  • 12in ib.
  • 11 1/4 po
  • 9 1/4 po.
  • 7 1/4 po.
  • 5 3/8 nyob rau hauv

Kauj Ruam 4: Luam thiab Sib Sau Zog

Luam thiab Sib Sau Zog
Luam thiab Sib Sau Zog
Luam thiab Sib Sau Zog
Luam thiab Sib Sau Zog

Lub zog iav tau tawg mus rau ntu yog li lawv tuaj yeem luam tawm ntawm lub tshuab luam ntawv me me thiab sib sau ua ke. Txhua ntu tau luam tawm hauv ABS txhawm rau pab ua cov txheej txheem fusing qhia hauv theem tom ntej. Xuab zeb tag nrho cov npoo thiab qhov chaw ntawm qhov chaw.

Luam tawm qhov ntau ntawm cov ntu hauv qab no pom hauv qib 22:

  • 1 - Teev Ntiv Nplhaib Iav Ntiv Nplhaib
  • 6 - Teev Ntiv Nplhaib Iav Tshooj
  • 1 - Teev Teev Ntiv Ntiv Ntiv Qaum Stepper Mount
  • 6 - Teev Sij Hawm Khaws Ntu Ntu Ntu Pib
  • 1 - Teev Sijhawm Teeb Meem Sensor Holder
  • 1 - Minute Ring Gear Segment Magnet
  • 7 - Minute Ring Gear Segment Basic
  • 1 - Minute Retaining Ring Segment Stepper Mount
  • 6 - Minute Retaining Ring Segment Basic
  • 1 - Minute Hall Effect Sensor Holder
  • 2 - Spur iav
  • 1 - Hluav Taws Xob Mount

Kauj Ruam 5: "Kua nplaum" Tshooj Ua Ke

Duab
Duab
Duab
Duab
Duab
Duab

Hauv lub raj mis iav nrog qee qhov acetone, yaj cov ntawv ua tsis tau tiav, thiab lwm yam. Ib zaug kho, xuab zeb txhua lub tiaj tiaj.

Kauj Ruam 6: Txiav Cov Kev Pabcuam hauv Kab

Txiav Kev Pabcuam hauv Kab
Txiav Kev Pabcuam hauv Kab
Txiav Kev Pabcuam hauv Kab
Txiav Kev Pabcuam hauv Kab
Txiav Kev Pabcuam hauv Kab
Txiav Kev Pabcuam hauv Kab

Tso lub nplhaib iav thiab khaws cov nplhaib hauv lub thav duab thiab txiav tawm cov kev pab rau cov tsav tsheb. Kuv ntsuas thiab txiav lub nplhaib sab hauv loj heev yog li kuv shimmed nws kom loj siv qee qhov maple ntug banding kuv muaj nyob ib ncig ntawm lub khw.

Kauj Ruam 7: Txiav Kev Pom Zoo rau Hall Effect Sensors

Txiav Tshem Tawm rau Hall Effect Sensors
Txiav Tshem Tawm rau Hall Effect Sensors
Txiav Tshem Tawm rau Hall Effect Sensors
Txiav Tshem Tawm rau Hall Effect Sensors
Txiav Tshem Tawm rau Hall Effect Sensors
Txiav Tshem Tawm rau Hall Effect Sensors

Txiav qhov kev tshem tawm los ntawm lub nplhaib sab hauv rau lub sijhawm ua haujlwm ntawm lub cuab yeej feeb thiab qhov rau lub sijhawm teev cov cuab yeej ua haujlwm. Kuv siv txiab txaij, ntawv, thiab tes me pom los txiav cov kev paub no.

Kauj Ruam 8: Nplaum Sab Nplaum

Nplaum Txheej Nplaum
Nplaum Txheej Nplaum

Kua nplaum thiab kaw lub nplhaib sab nraud qhov me me ntawm lub nplhaib tuav.

Kauj Ruam 9: Txiav Hall Effect Sensor Screws

Txiav Hall Effect Sensor Hloov Kho Cov Ntsia Hlau
Txiav Hall Effect Sensor Hloov Kho Cov Ntsia Hlau

Txiav lub tshuab ntsia hlau nrog lub hack pom yog li lawv tsuas yog ntev dua li cov tuab ntawm lub nplhaib tuav thiab cov cuab yeej siv lub ntsej muag lub ntsej muag. Txiav ib lub qhov hauv cov xov kom nws tuaj yeem hloov kho los ntawm cov xov kawg nrog lub hau ntswj ncaj.

Kauj Ruam 10: Muab Rings Rings rau Hardboard

Nplaum Rings rau Hardboard
Nplaum Rings rau Hardboard
Nplaum Rings rau Hardboard
Nplaum Rings rau Hardboard
Nplaum Rings rau Hardboard
Nplaum Rings rau Hardboard

Txiav ib lub voj voos ntawm hardboard tsuas yog loj dua lub nplhaib sab nraud. Kua nplaum sab nrauv thiab sab hauv rau lub ntsej muag tawv tawv. Siv lub sijhawm tuav lub nplhaib thiab lub nplhaib kom tso lub nplhaib sab hauv. Them nyiaj mloog zoo dua li kuv tau ua kom tsis lo lub puab sab hauv ntawm sab nraum qab. Duab ob qhia txog qhov txiav qhov tshiab rau qhov ua kom pom tseeb hauv feeb.

Siv lub tshuab ziab khaub ncaws los txiav cov hardboard kom loj npaum li lub nplhaib sab nraud.

Kauj Ruam 11: Nplaum Sab Hauv Disc

Nplaum Sab Hauv Disc
Nplaum Sab Hauv Disc
Nplaum Sab Hauv Disc
Nplaum Sab Hauv Disc

Kua nplaum sab hauv qhov chaw siv lub sijhawm tuav lub nplhaib thiab lub nplhaib iav tso rau sab hauv lub disc.

Kauj Ruam 12: Txuas Veneer

Txuas Veneer
Txuas Veneer
Txuas Veneer
Txuas Veneer
Txuas Veneer
Txuas Veneer
Txuas Veneer
Txuas Veneer

Txiav ib txoj kab ntawm veneer dav dua lub moos yog tob thiab ntev txaus los qhwv ib ncig ntawm lub moos (3.14 * txoj kab uas hla ntawm lub moos, yuav rov qab qhov ntev xav tau. Ntxiv ib nti kom paub tseeb tias koj muaj txaus. txiav kom ntev. Siv cov kua nplaum ntau rau cov veneer thiab kaw hauv qhov chaw nrog lub pluaj clamp. Cia kom qhuav ob peb teev kom ntseeg tau tias muaj cov nplaum.

Kauj Ruam 13: Txiav Veneer

Txiav Veneer
Txiav Veneer

Siv rab riam ntse, txiav cov veneer ntau dhau los ntawm sab xub ntiag thiab tom qab ntawm lub moos.

Kauj Ruam 14: Txiav Veneer

Txiav Veneer
Txiav Veneer
Txiav Veneer
Txiav Veneer

Kuv veneer muaj qee qhov tawg hauv nws. Txhawm rau ua kom yooj yim rau kev ua haujlwm nrog, Kuv tau siv cov xim pleev xim los tuav nws ua ke. Siv rab riam x-acto hauv lub koob, txiav cov veneer tsuas yog loj dua lub ntsej muag ntawm lub moos.

Kauj Ruam 15: Khov Veneer

Nplaum Veneer
Nplaum Veneer
Nplaum Veneer
Nplaum Veneer

Siv cov hlua txiav txiav kom nthuav tawm qhov siab thoob plaws lub ntsej muag ntawm lub moos. Siv cov kua nplaum ntau rau sab uas tsis yog daim kab xev ntawm cov veneer. Taw qhia cov qoob loo ntsug ntawm lub ntsej muag ntawm lub moos thiab siv ntau lub clamps zawm txhua tus me ntsis ntawm ib lub sijhawm. Qhov no yuav ua kom lub veneer tsis hloov pauv thiab tseem muaj lub siab thoob plaws lub ntsej muag.

Kuv siv ob peb lub rooj zaum tiaj tus nyob ntawm lub ntsej muag ntawm lub moos thiab qee qhov ua rau sab nraub qaum.

Kauj Ruam 16: Xuab zeb thiab Ua tiav

Xuab zeb thiab Tiav
Xuab zeb thiab Tiav
Xuab zeb thiab Tiav
Xuab zeb thiab Tiav

Siv cov ntawv xuab zeb, ua tib zoo tshem tawm cov veneer ntau dhau los ntawm lub ntsej muag ntawm lub moos thiab cov xuab zeb pib ntawm 220 grit txog 600 grit.

Thov nruab nrab ntawm 10 thiab 20 lub tsho tiv no ntawm lacquer. Qhov no yuav txhim kho saum npoo uas lub pob npas yuav caij nrog. Qhov tsis raug vim muaj plua plav thiab lwm yam hais hauv huab cua, Kuv xav tias cov kab yuav tshwm raws txoj kev ntawm txhua lub npas kabmob. Ua ntawv thov ntau txheej ntxiv yuav tsum ncua qhov no kom ntev li ntev tau. Nws tseem yuav ua rau yav tom ntej kho kom yooj yim dua. Kuv yuav hloov kho cov kauj ruam no yog kab tau tshwm sim ntawm kuv lub moos.

Kauj Ruam 17: Nruab Fais Fab

Nruab Fais Fab
Nruab Fais Fab
Nruab Fais Fab
Nruab Fais Fab

Siv qhov 27/64 nyob rau hauv. Laum me ntsis, tho qhov hauv qab ntawm lub moos thiab ntsia hlau ntsaws lub hwj chim rau hauv qhov chaw.

Kauj Ruam 18: Sib Sau Cov Khoom Siv Hluav Taws Xob

Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics

Txuas tus tsav tsheb stepper thiab lub sijhawm tiag tiag rau lub rooj tsav xwm hluav taws xob. Kuv xav tau nrhiav txoj hauv kev kom ruaj ntseg Arduino yog li qhov tau raug laum thiab lub qhov raug txiav rau zip khi. Cov yam ntxwv no tau ntxiv rau hauv cov ntawv pom hauv qib 22.

Kauj Ruam 19: Cov laug thiab txuas hluav taws xob

Solder thiab Txuas Hluav Taws Xob
Solder thiab Txuas Hluav Taws Xob
Solder thiab Txuas Hluav Taws Xob
Solder thiab Txuas Hluav Taws Xob
Solder thiab Txuas Hluav Taws Xob
Solder thiab Txuas Hluav Taws Xob

Ua raws li daim duab thaiv, muab tag nrho cov khoom ua ke. Kub kua nplaum lub nplhaib nyob rau hauv qhov chaw thiab ruaj ntseg ib txoj hlua uas ploj lawm nrog kua nplaum kub ib yam.

Duab
Duab

Kauj Ruam 20: Rov Qab Phaj

Rov Qab Phaj
Rov Qab Phaj
Rov Qab Phaj
Rov Qab Phaj
Rov Qab Phaj
Rov Qab Phaj

Tsim lub phaj rov qab los ntawm kev txiav lwm lub voj voog 1/2 hauv. Loj dua lub ntsej muag ntawm lub moos thiab lub nplhaib nrog lub taub sab hauv tib yam li sab nraum qab ntawm lub moos. Kaw lub nplhaib thiab lub voj voos ua ke nrog qee lub caij nplooj ntoo hlav.

Thaum qhuav, sau ib kab 1/8 nyob rau hauv. Loj dua lub nplhaib sab hauv thiab txiav kom loj raws li siv cov saw pom los yog disc sander.

Txiav ib lub qhov 1 hauv. Ntev 1/4 nyob rau hauv. Dav nyob rau sab saum toj ntawm nraub qaum siv lub router lossis cov khoom siv tho. Countersink plaub qhov kom ruaj ntseg nraub qaum rau hauv lub thav duab ntawm lub moos.

Thov pleev xim dub thiab txuas rau lub moos ib zaug kom qhuav.

Kauj ruam 21: Arduino Code

Tus lej arduino tau tawm tswv yim zoo li ua tau. Nco ntsoov tias kuv tsis yog tus programmer, kuv muaj kev paub dhau los ntawm arduino (ua siab zoo). Txoj cai sau txuas mus txuas ntxiv txhawm rau saib seb lub sijhawm tam sim no puas sib haum nrog "Pib Lub Sijhawm". Vim tias kuv tsis tuaj yeem xav txog txoj hauv kev los txhais lub sijhawm tam sim no rau hauv cov kauj ruam, nws tsuas yog kho nws tus kheej ib zaug ib hnub (ib tag hmo los ntawm lub neej ntawd). Thaum ib tag hmo lub zog tig mus rau txoj haujlwm ib tag hmo ces tos kom txog thaum 00:01 txav mus rau lub sijhawm ntawd txuas ntxiv los ntawm qhov ntawd. Raws li nws tau zaum tam sim no, lub moos tsuas plam li 5 vib nas this dhau 24 teev.

Koj yuav xav tau Stepper thiab RTClib cov tsev qiv ntawv teeb tsa.

Kuv paub cov cai tuaj yeem ua kom zoo los ntawm ib tus neeg uas muaj kev paub ntau dua kuv tus kheej. Yog tias koj tab tom ua qhov nyuaj, thov rov tsim txoj haujlwm no rau koj tus kheej thiab qhia koj qhov kev paub.

#suav nrog

#include "RTClib.h" RTC_DS1307 rtc; #define oneRotation 2038 // tus lej ntawm cov kauj ruam hauv ib qho kev hloov pauv ntawm 28BYJ-48 stepper motor Stepper hourHand (oneRotation, 3, 5, 4, 6); Stepper feebHand (oneRotation, 7, 9, 8, 10); #define hourStopSensor 12 #define feebStopSensor 11 int endStep = 0; // Lub sijhawm dealy rau nrawm ntawm lub moos. int setDelay1 = 168; int setDelay2 = 166; int setDelay3 = 5; // Tam sim no lub sijhawm los ua lej nrog. ntab hr = 0; ntab mn = 0; ntab sc = 0; // Teeb tsa lub sijhawm ntawm hnub kom rov qhib lub moos (24 teev hom). int resetHour = 0; int resetMinute = 0; // Variables los teeb tsa lub sijhawm raug thaum pib thiab pib dua. ntab setTimeStepHour = 0; ntab setTimeStepMinute = 0; ntab handDelay = 0; ntab hourTest = 0; ntab minuteTest = 0; teeb tsa tsis muaj dab tsi () {Serial.begin (115200); // Teeb tsa lub sijhawm tiag tiag thiab rov pib dua cov cuab yeej ua haujlwm. pinMode (hourStopSensor, INPUT_PULLUP); pinMode (feebStopSensor, INPUT_PULLUP); rtc.begin (); // Kab lus tsis pom zoo hauv qab no kom teem sijhawm. // rtc.adjust (DateTime (2020, 2, 19, 23, 40, 30)); // rtc.adjust (DateTime (F (_ DATE_), F (_ TIME_)))); // Teeb tsa kev ceev tshaj plaws ntawm cov tsav tsheb. teevHand.setSpeed (15); feebHand.setSpeed (15); // Loop kom txog rau feeb thiab teev teev yog thaum tav su thaum (digitalRead (hourStopSensor) == LOW || digitalRead (feebStopSensor) == LOW) {yog (digitalRead (hourStopSensor) == LOW) {hourHand.step (2); } lwm {ncua (3); } yog (digitalRead (feebStopSensor) == LOW) {feebHand.step (3); } lwm {ncua (4); }} thaum (digitalRead (hourStopSensor)! = LOW || digitalRead (feebStopSensor)! = LOW) {yog (digitalRead (hourStopSensor)! = LOW) {hourHand.step (2); } lwm {ncua (3); } yog (digitalRead (feebStopSensor)! = LOW) {feebHand.step (3); } lwm {ncua (4); }} // Tau txais lub sijhawm tam sim no DateTime tam sim no = rtc.now (); hr = tam sim no.hour (); mn = tam sim no.minute (); sc = tam sim no.second (); // Hloov mus rau 12 teev hom yog (hr> = 12) {hr = hr - 12; } // Saib dab tsi txhais tes yuav tsum taug kev hla lub ntsej muag ntxiv thiab siv qhov nrug ntawd // txhawm rau kho lub sijhawm kom haum. hourTest = teev / 12; feebTest = mn / 60; yog (hourTest> minuteTest) {handDelay = hourTest; } lwm {handDelay = feebTest; } // Teeb teev teev tam sim no setTimeStepHour = (hr * 498) + (mn * 8.3) + ((sc + (handDelay * 36)) *.1383); // Teeb tsa feeb tam sim no setTimeStepMinute = (mn * 114) + ((sc + (handDelay * 45)) * 1.9); // Xeem tes twg yuav xav tau cov kauj ruam ntxiv thiab teeb tsa mus rau qhov suav cov kauj ruam ntev tshaj plaws rau lub voj. yog (setTimeStepHour> setTimeStepMinute) {endStep = setTimeStepHour; } lwm {endStep = setTimeStepMinute; } rau (int i = 0; i <= endStep; i ++) {if (i <setTimeStepHour) {hourHand.step (2); } lwm {ncua (3); } yog (kuv <setTimeStepMinute) {feebHand.step (3); } lwm {ncua (4); }} // Teeb moos khiav RPM hourHand.setSpeed (1); feebHand.setSpeed (1); } void loop () {// Pib lub moos khiav lub voj. rau (int kuv = 0; kuv <22; kuv ++) {feebHand.step (1); ncua (setDelay1); // Kuaj rau lub sijhawm rov pib dua, yog tias npaj tau rov pib dua, tawg. yog (rtc.now (). teev () == resetHour && rtc.now (). feeb () == resetMinute) {so; }} ncua (setDelay3); rau (int i = 0; i <38; i ++) {hourHand.step (1); ncua (setDelay1); // Kuaj rau lub sijhawm rov pib dua, yog tias npaj tau rov pib dua, tawg. yog (rtc.now (). teev () == resetHour && rtc.now (). feeb () == resetMinute) {so; } rau (int kuv = 0; kuv <20; kuv ++) {feebHand.step (1); ncua (setDelay2); // Kuaj rau lub sijhawm rov pib dua, yog tias npaj tau rov pib dua, tawg. yog (rtc.now (). teev () == resetHour && rtc.now (). feeb () == resetMinute) {so; }}} // Rov pib lub moos ntawm lub sijhawm rov pib dua yog (rtc.now (). Teev () == resetHour && rtc.now (). Feeb () == resetMinute) {// Hloov nrawm ntawm moos hourHand.setSpeed (10); feebHand.setSpeed (10); // Loop txog feeb thiab teev teev mus txog tav su. thaum (digitalRead (hourStopSensor) == LOW || digitalRead (feebStopSensor) == LOW) {yog (digitalRead (hourStopSensor) == LOW) {hourHand.step (2); } lwm {ncua (3); } yog (digitalRead (feebStopSensor) == LOW) {feebHand.step (3); } lwm {ncua (4); }} thaum (digitalRead (hourStopSensor)! = LOW || digitalRead (feebStopSensor)! = LOW) {yog (digitalRead (hourStopSensor)! = LOW) {hourHand.step (2); } lwm {ncua (3); } yog (digitalRead (feebStopSensor)! = LOW) {feebHand.step (3); } lwm {ncua (4); }} // Tos ntawm no kom txog rau thaum lub sijhawm pib dua tau dhau mus. thaum (rtc.now (). feeb () == resetMinute) {ncua (1000); } // Tau txais lub sijhawm tam sim no DateTime tam sim no = rtc.now (); hr = tam sim no.hour (); mn = tam sim no.minute (); sc = tam sim no.second (); // Hloov mus rau 12 teev hom yog (hr> = 12) {hr = hr - 12; } // Saib dab tsi txhais tes yuav tsum taug kev hla lub ntsej muag ntxiv thiab siv qhov nrug ntawd // txhawm rau kho lub sijhawm kom haum. hourTest = teev / 12; feebTest = mn / 60; yog (hourTest> minuteTest) {handDelay = hourTest; } lwm {handDelay = feebTest; } // Teeb teev teev tam sim no setTimeStepHour = (hr * 498) + (mn * 8.3) + ((sc + (handDelay * 36)) *.1383); // Teeb tsa feeb tam sim no setTimeStepMinute = (mn * 114) + ((sc + (handDelay * 45)) * 1.9); // Xeem tes twg yuav xav tau cov kauj ruam ntxiv thiab teeb tsa mus rau qhov suav cov kauj ruam ntev tshaj plaws rau lub voj. yog (setTimeStepHour> setTimeStepMinute) {endStep = setTimeStepHour; } lwm {endStep = setTimeStepMinute; } rau (int i = 0; i <= endStep; i ++) {if (i <setTimeStepHour) {hourHand.step (2); } lwm {ncua (3); } yog (kuv <setTimeStepMinute) {feebHand.step (3); } lwm {ncua (4); }} teevHand.setSpeed (1); feebHand.setSpeed (1); }}

Kauj Ruam 22: Cov Ntaub Ntawv STL

Koj yuav tsum tau sau cov lej hauv qab no ntawm cov ntaub ntawv:

  • 1 - Teev Ntiv Nplhaib Iav Ntiv Nplhaib
  • 6 - Teev Ntiv Nplhaib Iav Tshooj
  • 1 - Teev Teev Ntiv Ntiv Ntiv Ntiv Qaum Stepper Mount
  • 6 - Teev Sij Hawm Khaws Ntu Ntu Ntu Pib
  • 1 - Teev Sijhawm Teeb Meem Sensor Holder
  • 1 - Minute Ring Gear Segment Magnet
  • 7 - Minute Ring Gear Segment Basic
  • 1 - Minute Retaining Ring Segment Stepper Mount
  • 6 - Minute Retaining Ring Segment Basic
  • 1 - Minute Hall Effect Sensor Holder
  • 2 - Spur iav
  • 1 - Hluav Taws Xob Mount

Kauj Ruam 23: Cov Ntaub Ntawv Solidworks

Cov no yog thawj cov ntaub ntawv Solidworks siv los tsim STLs pom nyob hauv cov kauj ruam dhau los. Xav tias dawb los kho thiab hloov kuv cov ntaub ntawv raws li koj pom zoo.

Kauj Ruam 24: Xaus

Lub moos no tig tawm zoo dua qhov kuv tau xav. Muaj kev paub dhau los ntawm Arduino tsawg heev, Kuv zoo siab nrog qhov nws tshwm sim thiab nws raug li cas. Nws zoo nkaus li zoo thiab ua haujlwm ib yam li kuv tau cia siab.

Pom zoo: