SEN0539 Offline Voice Recognition Module I2C read volume level

userHead DavidAllday 2024-10-24 04:09:54 885 Views5 Replies

Using the SEN0539 Offline Voice Recognition Module in I2C mode is it possible to read the current volume level?

 

I know I can set it - and this seems to be from 0 to 20 although the library suggests 1 to 7 ?

 

Thanks 

David

2024-12-08 06:28:58

the speaker range is 1-20, overwritten by setting mute =1 = turn off speaker.
  I tried level 1, 7, 20 and they  give higher speaker output with higher values. 

The comment 1- 7 in the code is likely wrong. I tried this in i2c and uart/serial mode. My test system is an rpi3b with python.
the advantage of set mute on is taht you can start the next command after 1-2 seconds instead of waiting for the voice answer to finish. with this you can eg do “turn on the light” + “set 60 percent” (custom command = 5). then you wait after receive 103(light on) for 3 secs if there is a follow on cmdid =5, then you set the light to 60%.

 

userHeadPic karl.wachs
2024-11-28 15:43:10

The SEN0539 only has the ability to set the volume, not read the volume level.

userHeadPic yiqing.guan
2024-11-16 08:39:49

I believe there is only a command for setting the volume, not reading it.

userHeadPic bradjshannon
2024-10-29 12:15:37

I gained a lot of knowledge from the post, which helped me to expand my horizons.

io games

userHeadPic Henry.Kang
2024-10-29 12:15:00

I gained a lot of knowledge from the post, which helped me to expand my horizons.

io games

userHeadPic Henry.Kang