Cov txheej txheem:

IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos: 4 Kauj Ruam
IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos: 4 Kauj Ruam

Video: IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos: 4 Kauj Ruam

Video: IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos: 4 Kauj Ruam
Video: Make an ATTiny85 Laser LED Sign 2024, Kaum ib hlis
Anonim
IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos
IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos
IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos
IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos
IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos
IOT123 - ATTINY85 SOFTWARE SERIAL JIG Sib dhos

Kuv tau siv ATTINY85's rau lub zog qis sensor mashups. Thaum xub thawj kuv xav tias tsis muaj txoj hauv kev debug cov chips siv lub console thiab siv qee qhov zoo nkauj "tawm muaj" txoj hauv kev los saib seb muaj dab tsi tshwm sim-sijhawm.

Tom qab ntawd kuv tau hla SoftwareSerial. Nws yog lub tsev qiv ntawv, koj txhais koj tus TX thiab RX pins (yog peb tsis tau txais ntau) thiab koj tau txais kev daws teeb meem debugging ntawm TTL-232 adapter.

Kuv tsim tus khoos phis tawj uas sib yuav tus pin cuam tshuam ntawm ATTINY thiab TTL-232 (VCC thiab GND) thiab ua txhaum TX thiab RX rau koj tus kheej daim duab. Ib txoj kab tsheb ciav hlau rau VCC thiab GND kuj tau tawg tawm. Kab lus no piav qhia txog kev sib dhos ntawm jig; kab lus no muab cov lus qhia rau siv SoftwareSerial nrog ATTINY85 siv lub Arduino Console window.

Raws li ATTINY85 lub rooj zaum qis dua ib puag ncig lub hauv paus hauv DIL IC Qhov (Socket), nws tau pom zoo kom muab daim ntawv Mylar (ruaj khov) kab xev ntxiv rau cov nti (s) kom yooj yim tshem tawm ntawm Jig.

Kauj Ruam 1: Cov Ntaub Ntawv thiab Cov Cuab Yeej

Cov Khoom thiab Cov Cuab Yeej
Cov Khoom thiab Cov Cuab Yeej
Cov Khoom thiab Cov Cuab Yeej
Cov Khoom thiab Cov Cuab Yeej
Cov Khoom thiab Cov Cuab Yeej
Cov Khoom thiab Cov Cuab Yeej
  1. Ob tog ob tog protoboard (6 x 7 qhov)
  2. 8 Pin DIL IC Qhov (1)
  3. 4P Poj niam lub taub hau nrog tus pin ntev (2)
  4. 6P Poj niam lub taub hau nrog tus pin luv (3)
  5. Cyanoacrylate kua nplaum (1)
  6. Hookup hlau (7)
  7. Cov Hlau Hlau (1)
  8. Cov laug (1)

Kauj ruam 2: Jig los ua ke

Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
Sib dhos
  1. Nyob rau sab saum toj ntawm pawg thawj coj saib txuas DIL IC Qhov (Socket) los ntawm BLUE1 - BLUE8, khoov tus pin sab nraud rau hauv qab thiab laug.
  2. Nyob rau sab saum toj, siv Cyanoacrylate nplaum rau sab ntawm DIL IC Qhov (Socket) thiab ntxig 4P lub taub hau ntev rau hauv GREEN1 - GREEN4 thiab GREEN5 - GREEN8. Thaum cov kab laug sab qhuav ntawm sab hauv qab, ua kom ntseeg tau tus choj txuas mus rau cov pins uas nyob ib sab (BLUE dots).
  3. Nyob rau sab saum toj, siv Cyanoacrylate nplaum rau lwm sab ntawm DIL IC Qhov (Socket), thiab ntxig 6P Lub Taub Hau rau hauv YELLOW/ORANGE qhov thiab PINK qhov. Thaum cov kab laug sab qhuav qhuav hauv qab.

  4. Nyob rau sab saum toj, siv Cyanoacrylate nplaum rau qhov sib txawv kawg mus rau 6P header glued hauv #3. Ntxig 6P Header rau hauv RED/nthuav tawm qhov. Thaum cov kab laug sab qhuav qhuav hauv qab.
  5. Hauv qab, txuas tus pin los ntawm PINK1 txog PINK6. Tom qab ntawd txuas tus choj ntawd nrog xaim dub rau RED1.
  6. Hauv qab, txuas tus pin los ntawm ORANGE1 mus rau ORANGE4. Tom qab ntawd txuas tus choj ntawd nrog xaim liab rau RED2 thiab rau BLUE1.
  7. Hauv qab, txuas cov hlau ntsuab los ntawm RED3 mus rau YELLOW1.
  8. Hauv qab, txuas cov xaim dawb los ntawm RED4 mus rau YELLOW2.

Kauj Ruam 3: Ntxiv Daim Ntawv Cim

Ntxiv daim ntawv lo
Ntxiv daim ntawv lo
Ntxiv daim ntawv lo
Ntxiv daim ntawv lo
  1. Luam daim ntawv lo nrog rau qhov dav ntawm 68mm mus rau cov ntawv nplaum.
  2. Npog nrog daim kab xev tseeb/tiv tauj.
  3. Txiav rau sab kab dotted.
  4. Tshem cov ciab zaj duab xis thiab qhwv daim ntawv lo raws li qhia.
  5. Ntxiv daim kab xev txiav rau ntawm lub ces kaum.

Kauj Ruam 4: Cov Kauj Ruam Tom ntej

Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
Cov kauj ruam tom ntej
  1. Txuas cov hlua los ntawm qhov koj nyiam ATTINY pins rau TX thiab RX rau qhov tawg YELLOW1 thiab YELLOW2.
  2. Ua raws cov lus qhia rau kev siv SoftwareSerial. Raws li tau hais hauv tsab xov xwm txoj hauv kev no suav nrog kev debugging, tsis yog qhov pib rub tawm ntawm lub software.
  3. Ua tib zoo saib koj siv cov hlua li cas hauv cov ntawv luam tawm: lawv nqus nco.
  4. Peek qhov tseem ceeb thaum txhim kho koj cov cai.

Pom zoo: