I have many different M5Stack devices for experimentation and for learning C++
There was an idea to assemble a small radio receiver on the M5StickC PLUS. I found a Si4730 chip that plays the role of an all-wave radio receiver, with minimal piping. Si4730 is controlled by I2C.
On https://github.com/pu2clr/SI4735 I found a library with many examples. One of the examples served as the basis for the code. I changed the code a bit for M5StickC PLUS. I soldered the microcircuit to a special board, since the distance between the legs is very small. I took a ready-made amplifier and mounted everything on a breadboard. There was a problem with the amplifier. LTK5128 can work in two modes "AB", "D". In "D" mode LTK5128 Generates strong radio interference.
It is necessary to unsolder the 3rd leg of the microcircuit and lift it from the board and solder the wire to the minus. It is soldered to the positive terminal. And it is necessary to minus. Then the amplifier will go into "AB" mode and there will be no more noise. I took the Encoder from an old computer mouse. At first, I even used his own wheel. But then I 3D printed something else.
M5StickC PLUS batteries are not enough for the receiver. Yes, I got a problem with the module. I got the M5StickC PLUS with an obvious marriage. And the seller sent me to support. In the off state, it is discharged completely in three days. And the support team assures that this is normal. Is it okay to store a Li-ion battery in a discharged state? Manufacturer! You disappoint me!
It was decided to use an additional battery. Therefore, the case became a little larger than I expected at the beginning. The body was 3d printed. The speaker was taken from an old tablet.
Thanks a lot Ricardo Lima Caratti ( pu2clr ) to the creator of the library for his work in creating the library and for verbatim description of its features. And a large collection of examples.
I apologize if something is wrong. I worked through a translator