Cov txheej txheem:

Neoboard Teeb - Tsis xav tau SD thiab Luam 3D: 3 Kauj Ruam (nrog Duab)
Neoboard Teeb - Tsis xav tau SD thiab Luam 3D: 3 Kauj Ruam (nrog Duab)

Video: Neoboard Teeb - Tsis xav tau SD thiab Luam 3D: 3 Kauj Ruam (nrog Duab)

Video: Neoboard Teeb - Tsis xav tau SD thiab Luam 3D: 3 Kauj Ruam (nrog Duab)
Video: Xov Xwm 09/05/2021: Foob Pob Tawg Afghanistan Neeg Raug Mob & Tuag Coob Kawg 2024, Hlis ntuj nqeg
Anonim
Neoboard Teeb - Tsis xav tau SD thiab Luam 3D
Neoboard Teeb - Tsis xav tau SD thiab Luam 3D

Los ntawm dmtinkdevFollow Ntxiv los ntawm tus sau:

Minecraft Ore Teeb - Customizable Loj thiab Pixel Ceev
Minecraft Ore Teeb - Customizable Loj thiab Pixel Ceev
Minecraft Ore Teeb - Customizable Loj thiab Pixel Ceev
Minecraft Ore Teeb - Customizable Loj thiab Pixel Ceev

Fusion 360 Cov Haujlwm »

Tom qab tsim lub teeb Minecraft rau kuv tus menyuam muaj 7 xyoos, nws tus nus yau xav tau yam zoo sib xws. Nws yog SuperMario ntau dua li Minecraft, yog li nws hmo ntuj yuav pom cov vis dis aus game sprites.

Txoj haujlwm no yog ua raws The Neoboard project, tab sis qee qhov tuaj yeem luam tawm 3d thiab arduino tsis xav tau daim npav SD los nyeem cov duab (lawv tuaj yeem khaws cia hauv lub cim xeeb flash).

Khoom siv

  • 1x arduino board (Uno lossis Nano zoo)
  • 2x filament (dub rau lub cev tseem ceeb thiab pob tshab rau cov diffusers). Txawm hais tias koj xav tau xim txawv rau koj sawv, koj tseem yuav xav tau cov xim dub rau cov coj sib cais. Kuv tau siv PLA.
  • 1 laub-khawm
  • 1 300-500 ohms resistor (rau cov ntaub ntawv nkag tus pin ntawm kab sawb)
  • 1x 1000 µF capacitor (los tiv thaiv kab txaij los ntawm kev hloov pauv sai hauv corrent)
  • 1 16x16 leds matrix vaj huam sib luag
  • Cov khoom tsim raug (kua nplaum, xaim xaim xaim, txuas tus kheej txuas, M4 ntsia hlau, thiab lwm yam)

Kauj ruam 1: Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab

Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab
Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab
Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab
Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab
Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab
Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab
Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab
Rub tawm Txoj Cai thiab Txheej Txheem Koj Cov Duab

Koj tuaj yeem tau txais cov cai los ntawm GitHub chaw cia khoom.

Twb muaj cov Platformio profiles rau Arduino Uno thiab Nano cov laug cam sab hauv.

Txhawm rau ua cov duab peb yuav siv Ua (txawm yog GUI lossis cov cuab yeej cli yuav ua haujlwm). Txoj cai ua yuav nyeem daim duab 16x16, thiab hloov tag nrho cov xim pixels mus rau qhov uint8 array txheeb raws li feem ntau cov coj matrix tau txuas nrog.

Hauv 99% ntawm cov xwm txheej kom ua tiav koj cov duab koj tsuas yog yuav tsum:

  1. Hloov tus nqi rau cov inputFilename thiab outputFilename variables
  2. Luam cov ntsiab lus ntawm cov ntaub ntawv outputFilename thiab dhau nws hauv /src/sprites.h

Sab hauv tus lej arduino koj tseem yuav xav hloov

  • Qhov tseem ceeb rau LEDS_PIN, BUTTON_PIN thiab TOTAL_SPRITES
  • Tej zaum cov coj coj hauv cov kab txaij tsim … tab sis yuav tsum tsis txhob muaj ntau
  • Thiab qhov 'hloov' sab hauv changeSprite () muaj nuj nqi los qhia tag nrho koj cov duab

Raws li koj pom hauv kev tshaj tawm ntawm cov pawg, peb tab tom siv PROGMEM lo lus tseem ceeb khaws cov ntaub ntawv hauv flash tsis yog SDRAM. Txoj kev no, peb tsis xav tau SDCard los khaws cov ntaub ntawv xim xim.

Raws li koj tuaj yeem pom hauv daim duab saum toj no, khaws cov cai thiab 10 SuperMario cov duab tsuas yog xav tau ib puag ncig 11kbytes, yog li muaj chav txaus rau ntau cov duab (thiab ntau ntxiv yog tias koj siv MEGA2650 board).

Kauj Ruam 2: Luam Txhua Qhov

Luam Txhua Qhov
Luam Txhua Qhov
Luam Txhua Qhov
Luam Txhua Qhov
Luam Txhua Qhov
Luam Txhua Qhov
Luam Txhua Qhov
Luam Txhua Qhov

Kuv tau tsim cov ntu siv Fusion360. Koj tuaj yeem rub tawm lawv los ntawm:

Los yog koj tsuas xav tau cov ntaub ntawv STL, lawv muaj nyob hauv Thingiverse:

Lub nraub qaum yog qhov tsis tseem ceeb rau kev luam tawm, thiab sawv ntsug tsuas xav tau kev txhawb nqa (tab sis nyob ntawm seb koj tso nws li cas koj yuav xav tau kev txhawb nqa ntau dua lossis lub tshuab luam ntawv/cov ntawv sib xyaw ua ke tuaj yeem luam cov choj loj).

Txog tus diffuser thaum xub thawj kuv xav tias siv cov ntawv sib xyaw ua ke thiab Hilbert nkhaus qauv tau muab qhov txiaj ntsig zoo tshaj plaws, tab sis kuv tau sim sib txawv ua ke ntawm txheej, daws teeb meem, nplooj ntawv thiab qauv thiab kuv tau txais qhov txiaj ntsig zoo tshaj plaws siv pob tshab PLA filament los ntawm BQ nrog cov chaw no:

  • ntawv: hmoov-txheej ntawv
  • txheej: 3
  • kev daws teeb meem: 0.2
  • qauv: rectilinear

Tab sis, nyob ntawm koj cov ntsiab lus, cov chaw tsim khoom ntawm cov leds hauv koj lub matrix, qhov deb ntawm diffuser mus rau coj thiab yog tias muaj kev sib cais tag nrho ntawm koj cov leds koj cov txiaj ntsig yuav txawv. Tsis txhob nug kuv vim li cas kuv thiaj dhau los ua tus kws tshaj lij hauv qhov micro-niche:)

Kuv tau siv PrusaSlicer xaiv los hloov tus kheej thaum lub sijhawm luam ntawv kom hloov pauv ntawm cov pob tshab thiab cov xim dub, yog li kuv muaj cov diffuser thiab cov coj sib cais hauv ib feem (tsis tas yuav lo rau lawv).

Kauj Ruam 3: Txuas Txhua Yam

Txuas Txhua Yam
Txuas Txhua Yam
Txuas Txhua Yam
Txuas Txhua Yam
Txuas Txhua Yam
Txuas Txhua Yam

Kev sib txuas txhua ntu tsis tuaj yeem yooj yim dua: ua kom lub rooj tsavxwm thiab coj cov lej nrog 5V USB cable, thiab txuas lub laub-khawm thiab kab txaij tawm mus rau qhov chaw teeb tsa pawg thawj coj saib.

Nco ntsoov tias kom tsis txhob ua rau lub matrix puas, nws tau pom zoo kom ntxiv lub capacitor thiab resistor rau nws qhov kev sib txuas.

Yog tias txhua yam ua tiav raug, koj yuav pom tus penguin zoo siab hauv koj daim ntawv:)

Txheeb xyuas tias txhua yam ua haujlwm tau zoo:

  • Cov duab yuav tsum muaj cov xim dub gradient dub
  • Cov ces kaum muaj cov xub ntsuab
  • Hauv qab-sab laug xub xub tau txuas nrog 2 liab pixels

Pom zoo: