Skip to main content

Posts

Showing posts with the label ATmega16A

I2C master mode emulator

I 2 C is a popular data bus to communicate with inter-board peripherals. Today I 2 C based chips and modules are widely available in many categories, including data storage, ADC/DAC, I/O Expanders, sensors, etc. The I 2 C master mode emulator allows communication with I 2 C devices by sending or receiving data to/from the I 2 C bus. To issue the I 2 C commands, the emulator should connect to a PC over the USB port. After initializing the emulator, the PC and directly control the I 2 C slave chip/module. Finished prototype of the I 2 C Terminal This emulator is base on ATmega16A MCU. The USB communication channel is develop using the V-USB firmware. Initially, we develop this emulator to work with 5V I 2 C devices, but later it has extended to work with 3.3V I 2 C devices. The 3.3V design is still under testing, and at the prototyping stage, we found a couple of issues in 3.3V mode.  In 3.3V mode, the required output level is available only if the emulator is in a "ready" sta...

FM stereo radio receiver with RDS

This tuner circuit is a quick prototype which I build to test the RDA5807M FM radio tuner IC. RDA5807M is a single-chip tuner IC with RDS and MPX decoder, and it equipped with I 2 C interface for control. The main reason to build this prototype is to understand the behavior of this chip. The prototype version of the RDA5807M receiver. At the time of this design, the website of the RDA microelectronics is not accessible from my location. Because of this reason, I download different versions of RDA5807M datasheets from the internet. While going-through those datasheets, I observed that it comes with limited information. Finally, I decided to build this receiver to verify some of those parameters and to review the RDS functionality of the chip. I build this receiver around ATmega16A MCU. I choose this MCU because I got a few of ATmega16A MCUs in my inventory and also due to the higher number of  I/O pin count. RDA5807M module. In this design, the volume is contro...