Cov txheej txheem:

LED Cylon Scooter - 80s Larson Scanner: 5 Kauj Ruam (nrog Duab)
LED Cylon Scooter - 80s Larson Scanner: 5 Kauj Ruam (nrog Duab)

Video: LED Cylon Scooter - 80s Larson Scanner: 5 Kauj Ruam (nrog Duab)

Video: LED Cylon Scooter - 80s Larson Scanner: 5 Kauj Ruam (nrog Duab)
Video: I gave my scooter a very 80's upgrade... 2024, Kaum ib hlis
Anonim
Image
Image
Tus Phooj Ywg Tsis Pub Leej Twg Paub
Tus Phooj Ywg Tsis Pub Leej Twg Paub

Los ntawm bekathwiaBecky SternFollow Ntau los ntawm tus sau:

Tus Phooj Ywg Tsis Pub Leej Twg Paub
Tus Phooj Ywg Tsis Pub Leej Twg Paub
Daim kab xev ntsuas Yagi Kav hlau txais xov nrog 3D Luam Couplers
Daim kab xev ntsuas Yagi Kav hlau txais xov nrog 3D Luam Couplers
Daim kab xev ntsuas Yagi Kav hlau txais xov nrog 3D Luam Couplers
Daim kab xev ntsuas Yagi Kav hlau txais xov nrog 3D Luam Couplers
Zodiac Paj Ntaub
Zodiac Paj Ntaub
Zodiac Paj Ntaub
Zodiac Paj Ntaub

Txog: Ua thiab sib qhia yog kuv ob qhov kev mob siab rau! Nyob rau hauv tag nrho kuv tau tshaj tawm ntau pua ntawm kev qhia txog txhua yam los ntawm microcontrollers rau knitting. Kuv yog New York City tus neeg caij tsheb kauj vab thiab niam dev tsis hloov siab lees txim. Kuv wo … Ntau Ntxiv txog bekathwia »

Txoj haujlwm no yog 80s hloov kho mus rau 80s scooter heev- Kuv tab tom muab ib qho LED sawb tso rau hauv cov hniav ntawm kuv tus hluas nraug Smokey's Honda Elite los tsim lub larson scanner cov duab ua kom pom tseeb thaum qhia nws yuav ua li cas thiaj li tau siv tau.

Cov kab hluav taws xob thiab cov lej tau rov ua dua los ntawm Phil B's Larson Scanner Shades project.

Khoom siv

Rau txoj haujlwm no kuv tau siv ib txoj hlua ntawm WS2812b LED sawb, tseem hu ua NeoPixels. Kuv xaiv ntau qhov ntom ntom ntim rau ntau qhov LEDs hauv qhov ua tau rau qhov ua kom zoo nkauj zoo nkauj.

  • WS2812b LED sawb: https://amzn.to/30ibJA5 lossis
  • Trinket microcontroller: https://amzn.to/2G7t6N1 lossis
  • Permatex silicone nplaum:

Txhawm rau ua raws qhov kuv tab tom ua haujlwm, ua raws kuv hauv YouTube, Instagram, Twitter, Pinterest, thiab sau npe yuav rau kuv tsab ntawv xov xwm. Raws li Amazon Kev Koom Tes Kuv khwv tau los ntawm kev tsim nyog yuav khoom koj ua siv kuv cov koom nrog txuas.

Kauj Ruam 1: Txuas lub Hwj Huam thiab Cov Hluav Taws Xob

Txuas Lub Hwj Huam thiab Cov Hluav Taws Xob hauv av
Txuas Lub Hwj Huam thiab Cov Hluav Taws Xob hauv av

Lub rooj tsavxwm tau siv ncaj qha los ntawm lub scooter lub zog 12v, yog li peb txuas cov xov hlau rau lub zog thiab cov ntaub qhwv hauv qab ntawm lub rooj tsavxwm.

Kauj Ruam 2: Txuas LED Sawb

Txuas LED Sawb
Txuas LED Sawb
Txuas LED Sawb
Txuas LED Sawb
Txuas LED Sawb
Txuas LED Sawb

Txij li cov pixels tsis tuaj yeem tuav 12v, lawv tau siv los ntawm Trinket tus tswj hluav taws xob, uas tsis yog lub tswv yim zoo. Tab sis txij li muaj tsawg tsawg LEDs tau teeb ib zaug hauv kab lus no, peb tuaj yeem nkag mus rau hauv qab tus tswj hwm qhov tso tawm tam sim no.

Kauj Ruam 3: Arduino Code

Arduino Txoj Cai
Arduino Txoj Cai

Kuv siv Phil B.'s larson scanner code, hloov kho tus lej ntawm LEDs hauv kab sawb:

// Larson Scanner los ntawm Phil Burgess:

// https://learn.adafruit.com/larson-scanner-shades?view=all #include #define N_LEDS 31 #define PIN 4 Adafruit_NeoPixel strip = Adafruit_NeoPixel (N_LEDS, PIN, NEO_GRBW + NEO_KHZ800); teeb tsa tsis muaj dabtsis () {strip.begin (); } int pos = 0, dir = 1; // Txoj hauj lwm, kev taw qhia ntawm "qhov muag" void loop () {int j; // Kos 5 pixels nyob rau ntawm pos. setPixelColor () yuav kaw ib qho // pixels tawm ntawm qhov kawg ntawm txoj hlua, peb tsis tas yuav saib qhov ntawd. strip.setPixelColor (pos - 2, 0x100000); // Tsaus liab strip.setPixelColor (pos - 1, 0x800000); // Medium red strip.setPixelColor (pos, 0xFF3000); // Qhov chaw pixel yog qhov ci tshaj plaws.setPixelColor (pos + 1, 0x800000); // Medium red strip.setPixelColor (pos + 2, 0x100000); // Tsaus liab strip.show (); ncua (30); // Tsis yog ua rau neeg nyiag thiab tshem tawm tsuas yog tus lej pixel, // nws yooj yim dua los tshem nws txhua qhov thiab kos ib qho tshiab rau lwm lub sijhawm tom ntej. rau (j = -2; j <= 2; j ++) strip.setPixelColor (pos+j, 0); // Thaws tawm qhov xaus ntawm kab txaij pos += dir; yog (pos = strip.numPixels ()) {pos = strip.numPixels () - 2; dir = -dir; }}

Kauj Ruam 4: Kaw nws

Kua nplaum Nws
Kua nplaum Nws
Nplaum Nws
Nplaum Nws
Nplaum Nws
Nplaum Nws

Kuv siv Permatex silicone nplaum txhawm rau txhawm rau qhib qhov kawg ntawm LED sawb lub silicone sheathing ntxiv rau lo rau cov hlua LED rau sab hauv ntawm cov hniav nyiaj hniav kub. Kuv siv daim kab xev los tuav cov hlua hauv qhov chaw thaum cov kua nplaum qhuav.

Pom zoo: