I recently bought a cheap 4 x 7 segment display module (DM43B04) based on the AIP650 chip. There seems to be no documentation online for the GCBASIC community so I have written a library for the module.
Demo code is included in the attached library along with detailed commenting of each section.
The AIP650 chip has onboard pull-up resistors and is connected to the i2c bus. It does not use a conventional i2c address and my attempts to run the i2c discovery program produced a garbage output in the serial output terminal.
I have not tested how the AIP650 will behave while sharing an i2c bus with other i2c slave devices. It will probably work ok but it is best to experiment.
Hopefully this library can be of help someone
Edit: I have added a translation of the datasheet which shows additional commands such as for altering display brightness
Rikki, thank you for contributing your code and help this community, your libraries (like this one and the one for the ADC) are so important for this project, the great hardware support that GCbasic offers it's one of their best assets, thank you again for making it better.
Angel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your kind words Angel. I am glad to be able to contribute something back to the community. Feel free to add this AIP650 library to the include folder of future GCBasic releases.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recently bought a cheap 4 x 7 segment display module (DM43B04) based on the AIP650 chip. There seems to be no documentation online for the GCBASIC community so I have written a library for the module.
Demo code is included in the attached library along with detailed commenting of each section.
The AIP650 chip has onboard pull-up resistors and is connected to the i2c bus. It does not use a conventional i2c address and my attempts to run the i2c discovery program produced a garbage output in the serial output terminal.
I have not tested how the AIP650 will behave while sharing an i2c bus with other i2c slave devices. It will probably work ok but it is best to experiment.
Hopefully this library can be of help someone
Edit: I have added a translation of the datasheet which shows additional commands such as for altering display brightness
Last edit: Rikki 2024-08-04
Rikki, thank you for contributing your code and help this community, your libraries (like this one and the one for the ADC) are so important for this project, the great hardware support that GCbasic offers it's one of their best assets, thank you again for making it better.
Angel
Thank you for your kind words Angel. I am glad to be able to contribute something back to the community. Feel free to add this AIP650 library to the include folder of future GCBasic releases.
Great job Rikki.
I will take a copy and move into GitHub and the demos!
Thank you for your cooperation and contribution.