GY148A voice chip smart lock expands the voice address and how to support the packaging of a large number of small files

Smart door locks are favored by modern people with their intelligent advantages in user identification, security, and management. Its appearance design also follows modern trends. At present, all smart locks on the market will basically have a voice prompt function, making it simple and convenient for users to operate. To achieve such functions, the most important thing is the voice chip. This article will describe the technical issues related to the extended voice address of the GY148A voice chip smart lock developed and produced by Geyuan Electronics and how to support the packaging of a large number of small files.

The need for voice chips to be used in smart locks

Among the voice playback requirements of smart locks, there are many requirements that require the merging of multiple languages. There are many voice files, and each voice file is small. If you use an OTP voice chip, it will be very troublesome, because the user cannot burn it, and debugging is also very cumbersome. At the same time, large capacity is very expensive, so use GY148A-sop8 The flash voice chip is the optimal solution.

How to solve the two potential needs of using GY148A voice chip in smart locks?

  1. The number of voice files exceeds the 233 voice addresses given in the manual. What if the address needs to be expanded to more than 500?
  2. There are many customer voices, but they are all very small. According to the original packaging method, they take up a lot of space, resulting in insufficient space.

complete solution

Solution for addresses exceeding 233

Added F4 instruction: The purpose of the F4 instruction is that after the number of voices exceeds 223, there is no address available, so this instruction is added. illustrate:

  1. If you specify to play the voice of address 291, send F4, 01, 23 [01=0x01 high byte] [23=0x23 low byte]
  • lF4 is the identification code, 01 and 23 form the bit 0x123 = 291, which represents the 291st voice playback
  1. If you specify to play 291 voices, send F4, 04, 98
  • lSend F4, 04, 98, of which 04 98 constitutes bit 0x498 = 1176, representing the 1176th voice playback
  1. The length of this F4 command can only be three bytes [no more nor less]. After F4, 01, and 23 are filled, playback will start immediately.
  2. After receiving the F4 command, it will automatically wait for 100ms. If a voice command such as 0x01 is received within this 100ms, it will continue to wait for another 100ms.
  • lIf the second address data 0x23 is received, it means that the collection is full = 0x0123, and the 291 address voice will be played immediately.
  • lIf the address data has not been received for more than 100ms, it is considered that the communication failed this time because only 0x11 was received.

If the voice address does not exceed 233, you do not need to use this extended command. Customers have reported that this operating logic is acceptable in practical applications.

Summarize

The current disadvantage of the GY148A voice chip is that it no longer supports serial port downloading of voice files. The total space for speech is effectively increased. Therefore, in the early stage of testing, including the effect of voice playback, communication functions, etc., you can first use the default version to debug, finally confirm the plan, and contact Geyuan Electronics to provide you with samples for final confirmation and testing.

Dongguan Geyuan Electronics Co., Ltd. is a high-tech company specializing in the research and development and sales of voice chips. All personnel have profound industry backgrounds. The company is engaged in voice chip research and peripheral circuit development; at the same time, we formulate voice product development plans for customers with special needs, and implement the plans to complete product development, testing, sound processing, and a series of services including product practical application guidance. . The business scope involves automotive electronics (such as reversing radar\anti-theft devices), multimedia (such as advertising machines), home anti-theft (such as voice prompts), toys, electronic products, etc.

Ready to Quote?

Please send your request to us, all information and uploads will be secure and confidential.