Cov txheej txheem:

RGB Led Tswj los ntawm Bluetooth lossis Potentiometer: 5 Kauj Ruam
RGB Led Tswj los ntawm Bluetooth lossis Potentiometer: 5 Kauj Ruam

Video: RGB Led Tswj los ntawm Bluetooth lossis Potentiometer: 5 Kauj Ruam

Video: RGB Led Tswj los ntawm Bluetooth lossis Potentiometer: 5 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Kaum ib hlis
Anonim
Image
Image

Nyob zoo!

Hnub no kuv xav qhia kuv qhov project Arduino nrog koj. Kuv tau ua RGB coj tswj los ntawm Arduino. Nws muaj 3 hom thiab 2 interface. Thawj hom yog phau ntawv tswj hwm, thib ob txias zaj sawv thiab xim thib peb. Thaum xub thawj koj ntsuas lub zog potentiometer. Tom qab ntawd koj tuaj yeem ua txhua yam koj xav tau, thiab muaj kev lom zem.

Cia peb tsim nws!

Khoom siv

  • 1 HC-06 Bluetooth module
  • 1 I2C LCD adapter
  • 1 RGB LED (hom catode, txhawm rau siv cov anode koj yuav tsum hloov kho duab kos (kab 42))
  • 3 Ntsuab LED
  • 1 Arduino Leonardo
  • 1 Logic Level Converter
  • 4 220 Ohm Resistors
  • 5 nyees khawm
  • 1 LCD 16x2
  • 1 tx8574
  • 1 daim phaj hu
  • 1 potentiometer

Kauj ruam 1: Tsim Circuit Court

Rub tawm thiab teeb tsa RoboRemoFree
Rub tawm thiab teeb tsa RoboRemoFree

Ua ntej koj yuav tsum tsim kom muaj ib lub voj voog. Koj tuaj yeem siv daim duab txuas, lossis ua tib zoo saib hauv Fritzing app.

Kauj ruam 2: Rub tawm thiab teeb tsa RoboRemoFree

Rub tawm RoboRemoFree. Tom qab ntawd rub tawm cov ntawv no uas muaj interface los ntshuam. Tom qab ntawd ua raws cov lus qhia saum toj no, txhawm rau import interface. Yog tias koj xav txhim kho lub interface koj yuav xav tau daim ntawv thov puv version (pub dawb muaj qhov txwv rau cov ntsiab lus suav):

Kauj Ruam 3: Thauj Txoj Cai rau Arduino

Load Code rau Arduino
Load Code rau Arduino

Rub tawm cov cai los ntawm no, thiab xa nws mus rau Arduino siv Arduino IDE. Koj yuav xav tau cov tsev qiv ntawv ntawd.

Kauj Ruam 4: Txuas RoboRemo rau HC-06

Txuas RoboRemo rau HC-06
Txuas RoboRemo rau HC-06

Txhawm rau ua qhov no ua raws cov theem hauv qab no. Ua ntej yuav tsum ua khub HC-06 nrog koj lub xov tooj. Txoj cai tsis raug yog 1234 lossis 0000.

Kauj Ruam 5: Muaj Kev Lom Zem

Muaj Kev Lom Zem
Muaj Kev Lom Zem

Txaus siab rau cov xim txias thiab hom zaj sawv!

Ua tsaug rau kev nyeem ntawv!

Ntsib koj zaum tom ntej!

Pom zoo: