Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Boards & Microcontrollers
  4. ›Raspberry Pi Sensor, Display and Fun HATs

Component guide · Beginner · 5 min read

Raspberry Pi Sensor, Display and Fun HATs

Sense HAT, Waveshare Sense HAT B and C, Pimoroni Rainbow, Explorer, Skywriter, Unicorn, Picade X, GamePi13, LCD HATs, RTC, ZYMKEY4 and TV HAT

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the Raspberry Pi sensor, display, LED and gaming HATs isRaspberry Pi sensor, display, LED and gaming HATs pinoutWiring the Raspberry Pi sensor, display, LED and gaming HATsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

These HATs add sensors, lights, screens and buttons to a Raspberry Pi with no wiring. The Sense HAT has an 8x8 LED matrix, IMU and environment sensors and is used by the Astro Pi programme. Pimoroni boards add LEDs, touch and gesture input; LCD HATs and GamePi13 make handheld gadgets; and RTC, ZYMKEY4 and TV HATs add time keeping, security and TV reception.

Key specs at a glance

Sensors
IMU, temperature, humidity, pressure, light, gesture
Displays
8x8 LED, 17x7 LED, 1.3 to 1.44 inch LCD, 16x2 LCD
Input
Joystick, buttons, capacitive touch, trackball
Interface
I2C, SPI, GPIO
Other
RTC with watchdog, crypto module, DVB-T2 tuner
Pi models
40-pin Pis; check Pi 5 support for older HATs

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1Raspberry Pi Sense HAT₹3,640
  • Option 2Waveshare Sense HAT (B) for Raspberry Pi₹2,979
  • Option 3Waveshare Sense HAT (C) for Raspberry Pi₹2,939
  • Option 4Pimoroni Rainbow HAT for Raspberry Pi₹1,929
  • Option 5Pimoroni Explorer pHAT for Raspberry Pi₹1,449
  • Option 6Pimoroni Skywriter HAT – 3D Gesture Sensor for Raspberry Pi₹4,392
01

What the Raspberry Pi sensor, display, LED and gaming HATs is

Pi sensor, display and fun HATs, such as the Sense HAT, e-paper HATs and LED matrix HATs, add sensors, screens and LEDs to a Raspberry Pi for learning and dashboards.

Most of these have a Python library: sense-hat for the Sense HAT, Pimoroni's libraries for their boards, and Waveshare examples for theirs. Waveshare's Sense HAT (B) and (C) offer similar sensors to the official board at a lower price.

The RTC HAT keeps time without internet. The DVB-T2 TV HAT receives broadcast TV where DVB-T2 is used; check local broadcast standards first.

02

Raspberry Pi sensor, display, LED and gaming HATs pinout

The pins on the Raspberry Pi sensor, display, LED and gaming HATs and what each one does.

PinFunction
I2C (GPIO2, 3)Most sensor, ADC, servo and expander chips
SPI (GPIO8 to 11)Fast ADCs, displays and DAQ HATs
GPIOButtons, relays, motor direction and enable pins
5V / 3.3V / GNDPower from the Pi or the HAT's own input
PinFunction
I2C (GPIO2, 3)
Most sensor, ADC, servo and expander chips
SPI (GPIO8 to 11)
Fast ADCs, displays and DAQ HATs
GPIO
Buttons, relays, motor direction and enable pins
5V / 3.3V / GND
Power from the Pi or the HAT's own input
03

Wiring the Raspberry Pi sensor, display, LED and gaming HATs

Enable I2C and SPI in raspi-config before running examples. SHIM boards friction-fit over the pins; push them all the way down.

Raspberry Pi sensor, display, LED and gaming HATs pinConnectionNote
HATPress onto the 40-pin headerStandoffs for the HAT
SHIM boardsSlide over the headerNo soldering
DisplaysSPI pins via the headerEnable SPI
HAT
Connection:
Press onto the 40-pin header
Note:
Standoffs for the HAT
SHIM boards
Connection:
Slide over the header
Note:
No soldering
Displays
Connection:
SPI pins via the header
Note:
Enable SPI
04

Example code

The Sense HAT temperature reads high because the Pi's CPU warms it; use a ribbon extension to move it away for accurate readings.

Show temperature on the Sense HAT · MicroPython
from sense_hat import SenseHat
import time

sense = SenseHat()
while True:
    t = round(sense.get_temperature(), 1)
    h = round(sense.get_humidity())
    sense.show_message(f"{t}C {h}%", scroll_speed=0.06)
    time.sleep(1)
05

Setup and tuning

Fit

push the HAT fully onto the 40-pin header with the Pi switched off.

Software

install the HAT's Python library, then run the example.

I2C/SPI

enable I2C or SPI in raspi-config if the HAT uses them.

Heat

sensors on HATs sit near the Pi CPU and read warm; use a stacking header to space them.

Pin conflicts

check pins before stacking two HATs.

06

What you need

Shop this list20 of 20 found in our store · ₹34,669

  • Raspberry Pi Sense HAT: the part this guide coversRaspberry Pi Sense HAT₹3,640
  • Waveshare Sense HAT (B) for Raspberry Pi: another version this guide coversWaveshare Sense HAT (B) for Raspberry Pi₹2,979
  • Waveshare Sense HAT (C) for Raspberry Pi: another version this guide coversWaveshare Sense HAT (C) for Raspberry Pi₹2,939
  • Pimoroni Rainbow HAT for Raspberry Pi: another version this guide coversPimoroni Rainbow HAT for Raspberry Pi₹1,929
  • Pimoroni Explorer pHAT for Raspberry Pi: another version this guide coversPimoroni Explorer pHAT for Raspberry Pi₹1,449
  • Pimoroni Skywriter HAT – 3D Gesture Sensor for Raspberry Pi: another version this guide coversPimoroni Skywriter HAT – 3D Gesture Sensor for Raspberry Pi₹4,392
  • Pimoroni Touch pHAT for Raspberry Pi: another version this guide coversPimoroni Touch pHAT for Raspberry Pi₹919
  • Pimoroni Unicorn HAT Mini for Raspberry Pi: another version this guide coversPimoroni Unicorn HAT Mini for Raspberry Pi₹2,329
  • PiGlow Raspberry Pi LED Expansion Board for 3B/3B+/Zero W: another version this guide coversPiGlow Raspberry Pi LED Expansion Board for 3B/3B+/Zero W₹439
  • Pimoroni LED SHIM for Raspberry Pi: another version this guide coversPimoroni LED SHIM for Raspberry Pi₹992
  • Pimoroni Button SHIM for Raspberry Pi: another version this guide coversPimoroni Button SHIM for Raspberry Pi₹979
  • Pimoroni Trackball Breakout for Raspberry Pi/Arduino: another version this guide coversPimoroni Trackball Breakout for Raspberry Pi/Arduino₹1,559
  • Pimoroni Picade X HAT USB-C for Raspberry Pi: another version this guide coversPimoroni Picade X HAT USB-C for Raspberry Pi₹1,212
  • Waveshare GamePi13 1.3 inch Game Console HAT for Raspberry Pi: another version this guide coversWaveshare GamePi13 1.3 inch Game Console HAT for Raspberry Pi₹1,500
  • Waveshare 1.44 inch LCD HAT for Raspberry Pi, 128x128: another version this guide coversWaveshare 1.44 inch LCD HAT for Raspberry Pi, 128x128₹1,000
  • Waveshare Triple LCD HAT for Raspberry Pi: another version this guide coversWaveshare Triple LCD HAT for Raspberry Pi₹1,750
  • LCD1602 RGB LCD HAT with Keypad for Raspberry Pi: another version this guide coversLCD1602 RGB LCD HAT with Keypad for Raspberry Pi₹916
  • Waveshare Pioneer600 Raspberry Pi Expansion Board: another version this guide coversWaveshare Pioneer600 Raspberry Pi Expansion Board₹1,998
  • Raspberry Pi GPIO Multi-function Expansion Board for Pi 4B/3B+: another version this guide coversRaspberry Pi GPIO Multi-function Expansion Board for Pi 4B/3B+₹319
  • Waveshare RTC WatchDog HAT for Raspberry Pi: another version this guide coversWaveshare RTC WatchDog HAT for Raspberry Pi₹1,429
07

Alternatives and when to choose them

  • ✓Pi touch displays: bigger screens.
  • ✓GPIO breakout boards: wire your own parts.
  • ✓Pi HATs explained: stacking.
08

Common mistakes to avoid

  • !Plugging in HATs with the Pi on.
  • !Forgetting to enable I2C or SPI.
  • !Stacking HATs with pin conflicts.
  • !Trusting temperature readings near the CPU.
09

Frequently asked questions

Why does the Sense HAT temperature read high?

Heat from the Pi CPU warms it; use a ribbon extension or correct in code.

Do I need to enable I2C for my HAT?

Yes, if it uses I2C; turn it on in raspi-config.

Can I stack two HATs?

Only if their pins do not conflict; check pin maps first.

Which HAT is good for beginners?

The Sense HAT has sensors, joystick and LEDs in one board.

Why does my e-paper HAT not refresh?

SPI is off or the wrong panel driver is used.

Parts for this guide

  • Raspberry Pi Sense HAT
    ₹3,640View
  • Waveshare Sense HAT (B) for Raspberry Pi
    ₹2,979View
  • Waveshare Sense HAT (C) for Raspberry Pi
    ₹2,939View
  • Pimoroni Rainbow HAT for Raspberry Pi
    ₹1,929View
  • Pimoroni Explorer pHAT for Raspberry Pi
    ₹1,449View
  • Pimoroni Skywriter HAT – 3D Gesture Sensor for Raspberry Pi
    ₹4,392View
  • Pimoroni Touch pHAT for Raspberry Pi
    ₹919View
  • Pimoroni Unicorn HAT Mini for Raspberry Pi
    ₹2,329View
  • PiGlow Raspberry Pi LED Expansion Board for 3B/3B+/Zero W
    ₹439View
  • Pimoroni LED SHIM for Raspberry Pi
    ₹992View
  • Pimoroni Button SHIM for Raspberry Pi
    ₹979View
  • Pimoroni Trackball Breakout for Raspberry Pi/Arduino
    ₹1,559View
  • Pimoroni Picade X HAT USB-C for Raspberry Pi
    ₹1,212View
  • Waveshare GamePi13 1.3 inch Game Console HAT for Raspberry Pi
    ₹1,500View
  • Waveshare 1.44 inch LCD HAT for Raspberry Pi, 128x128
    ₹1,000View
  • Waveshare Triple LCD HAT for Raspberry Pi
    ₹1,750View
  • LCD1602 RGB LCD HAT with Keypad for Raspberry Pi
    ₹916View
  • Waveshare Pioneer600 Raspberry Pi Expansion Board
    ₹1,998View
  • Raspberry Pi GPIO Multi-function Expansion Board for Pi 4B/3B+
    ₹319View
  • Waveshare RTC WatchDog HAT for Raspberry Pi
    ₹1,429View
  • ZYMKEY4 Security Module for Raspberry Pi & Jetson
    ₹5,939View
  • Raspberry Pi TV HAT DVB-T2 Digital TV Receiver
    ₹2,939View
  • Waveshare Portable Linux Terminal for Pi 4B/5, 3.5″ Touch
    ₹9,559View
  • Pimoroni MMC HAT for Raspberry Pi
    ₹1,119View
  • Raspberry Pi 4 Model B with 4GB RAM
    ₹11,461View
  • Raspberry Pi 5 with 4GB RAM
    ₹14,079View
  • Official 27W USB-C PD Power Supply for Raspberry Pi 5 – IN Plug
    ₹1,319View
Shop Expansion Boards & HATs

Keep learning

Buying guideBeginnerRaspberry Pi HATs ExplainedA Raspberry Pi HAT is an add-on board in the standard 65 x 56.5 mm size that plugs onto the 40-pin GPIO header.4 min read · Boards & MicrocontrollersBuying guideBeginnerRaspberry Pi Displays, Touchscreens and HDMI AdaptersPick a display for a Raspberry Pi: DSI vs HDMI touchscreens, the official 7 inch display, micro HDMI cables and adapters, power, touch drivers and kiosk tips.3 min read · Boards & MicrocontrollersComparisonBeginnerRaspberry Pi Models ComparedWhich Raspberry Pi should you buy? Compare Pi 5, Pi 4, Zero 2 W, Pico, Compute Modules and Pi 500 by speed, RAM, ports, power needs and best use.3 min read · Boards & Microcontrollers

Sources

  • Raspberry Pi Sense HAT documentation
  • Pimoroni product libraries

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Raspberry Pi sensor, display, LED and gaming HATs isRaspberry Pi sensor, display, LED and gaming HATs pinoutWiring the Raspberry Pi sensor, display, LED and gaming HATsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹20,576

Raspberry Pi Sense HAT · Waveshare Sense HAT (B) for Raspberry Pi · Waveshare Sense HAT (C) for Raspberry Pi · Pimoroni Rainbow HAT for Raspberry Pi · Pimoroni Explorer pHAT for Raspberry Pi · Pimoroni Skywriter HAT – 3D Gesture Sensor for Raspberry Pi · Pimoroni Touch pHAT for Raspberry Pi · Pimoroni Unicorn HAT Mini for Raspberry Pi

Run itChange the inputs and watch the output

The Sense HAT's temperature reads high because the Pi warms it; compensate for real use.

31.5C 45%

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question