Skip to main content

Posts

Showing posts from March, 2021

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

Clock module with seven segment display

This project is about a simple LED clock module based on STM8S103F3 MCU and DS3231 RTC. This clock module is designed to handle a generally available 14.2mm (0.56 inch) 4-digit seven-segment displays. This module use 12-pin (6-pin × 2) socket to connect the seven-segment display to the PCB, and it allows to mount the display unit off from the PCB. Prototype version of the clock module The " alarm terminal " of this module is available as an open-collector output. This terminal allows the user to connect an external circuitry to this module. The module can power up using 5V or 3V DC power source. The necessary power source can select using a jumper in the module. This module also provides a slot to install a small CR1220 type battery to backup the time and alarm configuration. Front side of the module (without seven segment display unit) Bottom side of the module   The dimensions of this module are 65.4mm × 29.6mm. With the seven-segment display, the depth of the assembled