Cov txheej txheem:

Sensehat yog dab tsi?
Sensehat yog dab tsi?

Video: Sensehat yog dab tsi?

Video: Sensehat yog dab tsi?
Video: NewProduct [BM] #CytronTech 16May19 2024, Kaum ib hlis
Anonim

Cov Sense HAT yog lub rooj tsav xwm ntxiv rau Raspberry Pi, tshwj xeeb tshaj yog rau Astro Pi lub hom phiaj - nws tau pib mus rau International Chaw Chaw Nres Nkoj thaum Lub Kaum Ob Hlis 2015 - thiab tam sim no muaj los yuav. Cov Sense HAT muaj 8 × 8 RGB LED matrix, tsib lub khawm joystick thiab suav nrog cov sensors hauv qab no: Gyroscope.

Ib yam li ntawd, koj tuaj yeem siv lub kaus mom kev xav rau dab tsi?

Raspberry Pi Sense HAT muab ntau txoj hauv kev rau kev sim tawm kev sib cuam tshuam thiab hnov qhov ib puag ncig, suav nrog cov khoom siv hluav taws xob rau:

  • Accelerometer (zeeg)
  • Barometer (siab)
  • Gyroscope (kev sib hloov)
  • Hygrometer (hli)
  • Joystick (cov tswv yim yooj yim)
  • LED matrix (tseem ceeb tso zis)
  • Magnetometer (kev taw qhia)

Ib yam li ntawd, koj siv Raspberry Pi qhov ntsuas kub li cas? Txuas tus pin 1 rau hauv av GPIO tus pin (labeled GND ntawm AdaFruit connector). Txuas tus pin 2 rau GPIO tus pin 4 (labeled # 4 ntawm AdaFruit connector). Muab 4.7kΩ resistor ntawm tus pin 2 thiab tus pin 3 ntawm tus kub sensor . Tig lub Pi ntawm, ces muab koj tus ntiv tes tawm tsam tus sensor.

Kuj paub yog, koj yuav ua li cas rau nruab ib lub kaus mom kev nkag siab?

Sense HAT

  1. Nta. Lub Sense HAT nta 8x8 RGB LED matrix, mini joystick thiab cov sensors hauv qab no:
  2. Nruab. Nruab Sense HAT software los ntawm kev qhib lub qhov rais Terminal thiab nkag mus rau cov lus txib hauv qab no (thaum txuas nrog Is Taws Nem): sudo apt-tau hloov tshiab sudo apt-tau nruab siab-lub kaus mom sudo reboot.
  3. Kev siv.
  4. Kev loj hlob.

Puas yog Arduino tib yam li Raspberry Pi?

Qhov sib txawv tseem ceeb ntawm lawv yog Arduino yog microcontroller board thaum raspberry pib yog mini computer. Yog li Arduino tsuas yog ib feem ntawm raspberry pib . Raspberry Pi Nws yog qhov zoo rau kev siv software, thaum Arduino ua haujlwm kho vajtse yooj yim.

Pom zoo: