Skip to main content

Posts

Showing posts with the label Waveforms

Infrared remote control clone utility

IR Clone is an open-source IR remote control analyzer tool. This utility can analyze any IR remote control that modulates the IR signal with a 38kHz carrier signal. This utility has an option to store and retrieve up to 16 IR signals. In addition, it has PC software to analyze and edit captured IR signals. The hardware component of this analyzer is built around the STM8S003F3 MCU. It has 24LC32 EEPROM installed to store the captured IR signals. This unit is designed to operate with a 5V to 9V DC power source or a 3V battery.  Finished prototype of the IR Clone module Operating modes such as capture or replay can be changed using an onboard jumper on the PCB. These operating modes can change at any time without restarting the unit. In addition to the IR clone PCB, the only external component needed to operate this system is a 4×4 matrix keypad . Most of the generally available 4×4 keypads can directly couple with this system. The dimensions of the IR Clone PCB are 41.2mm × 32.1m...

Verification module for PT8211 DAC

This quick post is about the verification script which I did to test the PT8211 DAC functionality. This script is designed to work with Arduino boards and, I tested with Arduino Due and Arduino Mega 2560 boards. The script is self-explanatory, and it emulates the I2S interface and communicates with the PT8211 DAC. The output waveform of PT8211 on Arduino Due board. With this script, PT8211 generate sine wave in both channels. The frequency of the waveform is dependent on the clock frequency of the Arduino board. In Due board, PT8211 generates 0.052kHz sine wave on both channels. Connections between PT8211 and Arduino. The test setup is quite straightforward. I2S and power pins of PT8211 need to connect to the Arduino board in the following order: Serial clock ( BCK ) - Pin 22 Channel selector ( WS ) - Pin 23 Data ( DIN ) - Pin 24 VCC - 5V (Mega 2560 board) 3.3V (Due board) GND - GND Left and right channels of the DAC is connected to oscilloscope or frequenc...

Generate DTMF tones only using Arduino

Dual-tone multi-frequency ( DTMF ) is a common signaling system used in telephone networks and other communication devices. It uses a mixture of two sine waves to generate tones which represent ten digits, the letters A to D , and the symbols # and * . While I’m examining other Arduino based DTMF generators I noticed most of the designs are based on Holtek HT9200 DTMF generator IC. After a couple of experiments, I figure out that Arduino itself is capable enough to generate DTMF tones without using any external IC or generator. Prototype assembly of the ladder circuit. The design which I explained in this article is based on R-2R ladder DAC. I did this design using Arduino Uno board and still this library support only for this board. But it can easily extend to other AVR MCU based Arduino boards. Schematic of the DTMF generator. The R-2R ladder is attached to the PORTD of the MCU which is Digital out 0 to 7 in Arduino Uno board. In this design, I used 100 Ω and ...

Homebrew Audio Signal Generator

Audio Signal Generator (or AF Signal Generator) is often used in RF and AF base designing and experiments. In this article we introduce less complex AF signal generator based on commonly available electronic components. The heart of this AF signal generator is Intersil ICL8038 precision waveform generator/voltage controlled oscillator IC. ICL8038 is a function generator capable of producing sine, square and sawtooth waveforms at same time. In this project we combine ICL8038 with inverting and non-inverting amplifiers to get above mentioned 3 waveforms with 0° and 180° phase differences at the same time. Those inverting and non-inverting outputs help to use this AF signal generator with balanced audio systems. Final version of AF signal generator. The given schematic and PCB design of this AF signal generator contains ICL8038 waveform generator, inverting and non-inverting amplifier stage, output buffer and 12V regulated power supply. All the above mentioned modules are integrat...