Flipper ZeroWorkshop

Loading the Blender model…

Flipper ZeroWorkshop
Lesson 13 of 50

Haptics, LED and speaker

0/50

Completed

Flipper Zero SimulatorDismantle, inspect and operate the device.
Interactive lab
Schematic
Lesson guide13 / 50

Haptics, LED and speaker

Feedback output: a vibration motor, an RGB LED and a piezo speaker.

Module: Display and input

Hardware

The vibro motor is a small eccentric-mass motor switched by a MOSFET. The RGB LED has three PWM-dimmed channels.

Key specs

Vibro
Eccentric mass
LED
RGB, PWM

Firmware code

furi_hal_vibro_on(true);
furi_delay_ms(80);
furi_hal_vibro_on(false);
furi_hal_light_set(LightRed, 0xFF);

Check yourself

What switches the vibro motor?

  • A MOSFET
  • A relay
  • The USB host

← 12. Menus and the GUI stack · All lessons · 14. GPIO header pinout →

Try it yourself

l13_haptics_led_and_speake.c

furi_hal_vibro_on(true);
furi_delay_ms(80);
furi_hal_vibro_on(false);
furi_hal_light_set(LightRed, 0xFF);
Ready Line – API calls 0 Time 0 ms
Flipper CLI · virtual Ready
C · Flipper firmware API

Lessons

Lesson 01Tour of the Flipper ZeroLesson 02Enclosure and mechanicsLesson 03Exploded view and assemblyLesson 04The main PCBLesson 05STM32WB55 microcontrollerLesson 06Battery and chargingLesson 07USB-C and DFU recoveryLesson 08Monochrome 128×64 LCDLesson 09Drawing with the canvas APILesson 10D-pad and tactile switchesLesson 11Input events and the Back buttonLesson 12Menus and the GUI stackLesson 13Haptics, LED and speakerLesson 14GPIO header pinoutLesson 15Digital input and outputLesson 16PWM outputLesson 17Analog input (ADC)Lesson 18UART serialLesson 19I²C busLesson 20SPI busLesson 21CC1101 sub-GHz transceiverLesson 22Spectrum analyzerLesson 23OOK and ASK modulationLesson 24FSK and data rateLesson 25Decoding a synthetic remoteLesson 26Antennas and rangeLesson 27Low-frequency RFID basicsLesson 28EM4100 and Manchester codingLesson 29Read and emulate a synthetic tagLesson 30The antenna board coilsLesson 31NFC and ISO 14443Lesson 32Reading an NTAG synthetic tagLesson 33MIFARE Classic sectors and keysLesson 34AnticollisionLesson 35Emulating a synthetic NFC tagLesson 361-Wire protocolLesson 37DS1990A ROM and CRCLesson 38Infrared basicsLesson 39NEC protocolLesson 40Universal remote databaseLesson 41USB HID in a sandboxLesson 42USB CDC and mass storageLesson 43Bluetooth LE radioLesson 44Scanning BLE advertisersLesson 45microSD and FATLesson 46Firmware architectureLesson 47Writing an external app (FAP)Lesson 48Power managementLesson 49Security, ethics and lawLesson 50Capstone: assemble, operate, diagnose