Tag Archive for Parts

Tutorial on Programming the NeoPixel (WS2812) RGB LEDs and Equipment Giveaway!

NeoPixel

In this episode Shahriar takes a close look at programming the popular NeoPixel RGB LEDs using a PIC microcontroller and C-language. A close-up of the NeoPixel (WS2812) LED is shown with attention to identifying various semiconductor elements inside the package. The principle operation of the LED is the described along with a detailed explanation of the pins and the one-wire communication protocol.

A simple evaluation board for the PIC18F4550 is used to drive a circular array of 60 NeoPixel LEDs from Adafruit. After presenting the difficulties of providing an accurate pulse-shape using the C-language, the measured waveform is shown on a Tektronix MDO4000B. Finally, the code for a circular color rotating pattern is presented and demoed. The code for the experiment can be downloaded here.

There is also equipment giveaway! A TPI Scope Plus 440 and a Tektronix TDS2232 are being given away at no charge! Please leave a comment on the video or on the website. You must be a resident of the USA to receive the giveaway. A winner will be chosen at a later date and notified via email.

Experiments and Teardown of an Agilent 11896A Polarization Controller

PolCont

In this episode Shahriar demonstrates the functionality and applications of an Agilent 11896A Polarization Controller. Various fiber optic communication methods are presented. This includes the use of complex modulation schemes (such as PAM and QAM for coherent receivers), polarization division multiplexing (PDM), wavelength division multiplexing (WDM), and spatial division multiplexing (SDM). The concept of light polarization is demonstrated by using a pair lenses from a consumer theater 3D glasses and two blue LEDs with uncorrelated lighting patterns.

In order to test the polarization controller, a solid-state laser source, SMF fiber with APC/PC connectors as well as a polarization beam splitter is presented. By using a pair of optical power sensors, the functionality of the polarization controller is verified. Finally, the teardown of the unit is presented and the method to achieve polarization control is observed. 

The fiber optic communication overview document can be downloaded here. I’d also like to acknowledge my colleague and friend Dr. Timo Pfau for his expertise and consult on fiber optic communication methods.

 

Tutorial and Experiments on Energy Harvesting ICs

Energy Harvesting Tree

In this episode Shahriar investigates some state-of-the-art energy harvesting ICs from Linear Technology. The LTC3105 is a highly efficient 400mA Step-Up DC/DC Converter with Maximum Power Point Control and 250mV Start-Up. After exploring the IC’s internal block diagram, the evaluation board for this energy harvesting chip is presented. Various experiments, including the calculation of efficiency, maximum power delivery, start-up behavior and MPPC are presented. As a last experiment, a two stage energy harvesting setup using a solar panel and a super-capacitor capable of charging an iPhone is demonstrated.

The second IC of interest is the LTC3109 which is an Auto-Polarity, Ultralow Voltage Step-Up Converter and Power Manager Energy Harvesting chip. The block diagram and the evaluation board of this IC is presented. The ultra-low voltage capability of the circuit is demonstrated through the use of a Peltier cooler thermo-electric component to generate a 5V output voltage. As a final experiment, several ice cubes are used in conjunction with the thermo-electric generator in order to harvest enough energy to charge an iPhone for 30 seconds.

Tutorial on Waveform Shaping and Signal Constellation in an Optical Link

3D Constellation

In this episode Shahriar uses a few components to beyond what there were originally intended for in order to setup an optical link! By using a BlinkM RGB LED, a Color Sensor, and two PIC USB Boards from Sparkfun Electronics, a stand-alone optical link is established. Various theories of operation, including multilevel data transmission, signal constellation and detailed circuit diagrams are also presented. The final result is an 8-PAM, 3-Wavelength optical link with a colorful three-dimensional constellation graph. The code for the transmitter IC, receiver IC and Matlab functions are available to download from here.

 

9-DoF AHRS Sensor Board and RGB LED Matrix Demo

RGB Matrix

 

In this (experimental) episode Shahriar demonstrates two embedded-electronic circuits available for purchase from Sparkfun Electronics. The demos illustrate some of the capabilities of these circuits along with a short instruction on how to interface and operate them. All the code for the AHRS demo and the RGB Matrix demo are available to download.

The first demo is of a 9-degree of freedom (9-DoF) sensor board equipped with three dimension of linear acceleration (accelerometer), angular acceleration (gyroscope) and magnetometer. Using the combined information from these sensors an Attitude and Heading Reference System (AHRS) data can be extracted. The demo shows this system in action using customized Matlab functions. 

The second demo demonstrates the ease of use of an RGB LED Matrix equipped with an SPI interface. A sample C code written for a Microchip PIC18F2455 is used to draw some simple animations.

This is an experimental episode to judge the level of interest in these type of demo videos. Please leave feedback!

 

  • Social Media

    twittergooglepluswordpressyoutuberedditrssemail
  • Administrator

  • Archives