Programming with MicroPython: I2S Microphone
Import FutureBoard Library
Import the Library to make use of its functions.
09: I2S Microphone
Import I2S Library
1. Initiate the Microphone
2. Get Loudness
Returns the detected loudness, values ranges from 0~4095.
3. Voice Recognition
Voice Recognition requires Internet Connection.
Set the recognition length in seconds with parameter sec, recommended length is 1~3.
4 languages are supported currently, put the code into the vid parameter.
1537: Putonghua
1737: English
1637: Cantonese
1837: Szechuan Dialect
Sample Program: Loudness
Sample Program
PreviousProgramming with MicroPython: Network Time ProtocolNextProgramming with MicroPython: Wireless Radio
Last updated