Archive for October, 2010

Saleae Logic Analyzer

Tuesday, October 26th, 2010

If you’ve ever had a problem getting two chips to talk, or wanted to reverse engineer a protocol, a logic analyzer is the right tool for this. Logic analyzer only detects digital high and low digital states, it records many signals simultaneously and allows to dump data to a computer for analysis. Logic analyzers can take the guess work out of debugging inter-chip communication. Many modern electronics projects that use micro-controller will benefit more from a logic analyzer than an oscilloscope.

Logic analyzers used to be expensive large special devices. Nowadays it is possible to buy a quite useful basic logic analyzer that connects to a PC for a pretty reasonable money if you don’t need the highest speeds. Saleae Logic is one reasonably priced (149 Euros) logic analyzer that connects to PC USB connector and records 8 channels at up to 24MHz sample rate. Very many practical real world embedded applications have buses that run at less than 10MHz clock rate, and Logic is quite ideal for these. If you need to analyze something faster you need some other more expensive product.

The beauty of the Saleae Logic product is not in its raw capabilities, but the fact that using it is amazingly simple. The software is very slick, easy to use and quick to learn. This product is fun to play with. Simplicity is a good reason when selecting a tool that you need every now and then, but you don’t use every day. When you are trying to figure out a problem, the last thing you want is to spend time messing with your logic analyzer. You just want a product you can start immediately and without too much thinking.

One of the nicest things about Logic is that you can decode many signal formats automatically (I2C, async serial, SPI, CAN, etc.), and you can see the decoded result along with the waveform. You can also use this product to capture long data samples and save them in various formats.

saelae_logic

The most of the magic on this product is in the PC software side. You can download the software from Saleae web page and try it yourself in demo mode. On the good side the software is cross-platform: Windows, Linux and Mac. I like products that work on Linux as well, although currently I have only used the software only on Windows (XP and Vista).

The actual hardware is pretty simple. The Logic hardware is based on the Cypress Semiconductor CY7C68013A-56PVXC, a high speed 8051 microcontroller with a USB peripheral interface. CY7C68013A can send theoretically 48MB/s of pure data to the computer, but very rarely does any product approach USB 2.0′s advertised 480mbps transfer rate for sustained periods. The advanced data processing is done on the PC software side.

On the funny side, turns out that competing logic analyzer product USBEE SX has exactly the same hardware inside. Considering the simplicity of the hardware part of the devices it is no winder that there are some Chinese made clones of those devices available. This cloning indicates that this is good product. The fact of life is that good products get copied sooner or later and bad ones are just forgotten.

Accurately simulate an LED

Wednesday, October 20th, 2010

Solid-state-lighting applications are quickly moving into the mainstream. Testing the driver circuit using LEDs, although easy, yields only typical results. Accurately simulate an LED article shows a circuit that you can use to test your LED drive circuit with worst-case LED parameters. You can easily tune this one transistor test circuit for any LED voltage. Looks useful. And quite simple.

led_simulator

SMD soldering tips

Monday, October 18th, 2010

At one point or another, you will probably find yourself needing to solder a SMD (Surface Mount Device) package. Many people here might think SMD soldering is almost impossible. SMD soldering is usually a lot easier than it looks!

smd_soldering

First you need right tools. The tweezers are very important in the entire SMD soldering process. Small diameter solder is a must (sometimes soldering paste is used instead traditional solder wire). You also need a suitable soldering iron. Depending what you do you need a very small or quite large soldering iron tip. You can start learning the skill with a normal temperature controlled soldering iron with a small tip.

The flux is very very important. Flux pen makes applying the flux very easy. Easiest is to use a flux type that you don’t necessarily need to wash off after soldering.

The solder-wick will help you clean solder off old pads, remove excess solder from solder joints, and remove solder bridges.

SMD Soldering Guide by Infidigm introduces SMD (Surface Mount Device) hand soldering. The guide is organized into different methods. A simplified list is included with each method to identify which types of SMD components are for the appropriate method.

Intro into SMD Soldering is a good tutorial on SMD soldering with example videos.

LOW COST SMD SOLDERING GUIDE article will take you through the process of soldering these surface mount parts, from simple two-pin parts to more complex TQFP.

Top 10 Format Wars

Friday, October 15th, 2010

A format war occurs when two incompatible versions of a similar technology begin to compete against one another in the market. This has happened many times in audio/video field, but it is not unknown on other fields of technology. Top 10 Format Wars article tells about ten of the most famous examples. In almost every case, one of the two formats wins out in the end, either because of a better marketing strategy or a superior product, leaving groups of unlucky consumers with an obsolete technology. Sometimes both formats have failed on the battle.

Amplifier design books

Wednesday, October 13th, 2010

Renowned audio design guru Douglas Self has published many audio related articles and books. Some of them can be read on the web. Self on Audio book consists of collected works from 30 years of magazine writing: all the classic preamplifier and power amplifier designs. This is really worth to read collection of articles to anybody interested in audio. This on-line version is a preview version of the book. It does not contain all the pages, but still worth to read at it is.

self on audio

Audio Power Amplifier Design Handbook by Douglas Self is another well worth to read book. This on-line version is also a preview version of the book. It does not contain all the pages, but still worth to read.

audio amplifier design

Douglas Self also used to have interesting web pages that do not seem to exist anymore. Fortunately most content from the can still be found from wayback machine archives. Read Balanced Line Technology and Ground Loops articles.

LED lighting teardowns

Monday, October 11th, 2010

LED-based lighting is still far from a mainstream technology, and its designs are in flux. Early SSL products are making their way onto store shelves and into inventory. LED lighting teardowns: Five lighting designs that illuminate the future of lighting article shows product examples that can indicate what direction SSL design will take, at least in its early stages.

Gerald_G_Light_Emiting_Diodes

Mobile TV has failed

Thursday, October 7th, 2010

Very much hyped Mobile TV seems to be doomed. Mobile TV bubble has been busted. Consumer uptake had never met expectations for the mobile TV service. There has been very much worldwide Mobile TV subscriber uptake than projected by many. Separate mobile TV broadcasting networks seems to be doomed to demise in most markets.

DVB-H is nowadays practically useless. The most recent launches of broadcast Mobile TV in Europe show disappointing subscriber uptake so far: Switzerland, the Netherlands and Austria all report only a few thousand subscribers. Some companies operating the DVB-H networks want to kill them already, at least Digita in Finland.

Competing FLOtv that used MediaFLO technology used in USA has also failed. Qualcomm has stopped selling devices that support FLOtv. In October 2010, Qualcomm announced it was suspending new sales of the service to consumers. Consumer uptake had never met expectations for the mobile TV service the company invested hundreds of millions of dollar to create.

Nowadays there are both free and paid option or streaming or downloading video via the mobile Web and applications. There does not seem to be consumer need for the mobile TV vision the companies working on the field had few years ago in USA and in Europe.

Cable Construction Guide

Wednesday, October 6th, 2010

Many sizes, shapes and constructions have been tried on Hifi cables. Electrical conductors have been made in many sizes, shapes and geometries. But as the dust has settled, a few design parameters have proven to be essential and several pattern has emerged. Cable Construction Guide gives a description of the general principles, pros and cons of several common cable designs. Good cable designs have a good ratio of conductor resistance to cable capacitance, conductor inductance to cable capacitance and low electromechanical resonance.

cable

MPEG Transport Stream Editing

Monday, October 4th, 2010

Files made of Digital Television broadcast can be very large. One hour of program can easily be over two gigabytes. I had one recording from which I wanted to take a part and convert it to another format. So I needed tools to edit the file I had and convert it. The Digital Television broadcast was in MPEG Transport Stream format that the video editing software already on my PC could not handle. Option of first converting the whole program to another file format for editing did not seem to be a good idea (conversion artifacts, conversion time). I think that the best idea would be to directly edit the MPEG Transport Stream in a way I could extract the part I wanted.

Edit/cut MPEG2 TS thread gave some links to some interesting looking editing software. From the list I selected Mpg2Cut2. It is a free and simple MPEG editor program for Windows to join/append/merge and cut/split MPG/MPEG2/MPEG1, VOB/DVD, TS/HDTV and DAT/VCD/SVCD files. It is a GOP level binary editor for basic cutting of MPEG Program Stream files. Just what I needed. With this program I could pretty easily select the parts of video I am interested in and save that part of video to a new MPEG transport stream file. The program gave some error messages that the transport stream has some things it did not understand, telling the program to continue anyway gave the results I wanted.

Now I have the the video material I need as a new file (exactly same quality as original video). I checked that everything was right by viewing the video with VLC media player. Then I converted the material to a format I wanted with SUPER converting tool. That was easier than trying to do the conversion with VLC because the software user interface for that operation was not very easy to use and had changed quite much since I used the program last time for video format conversion.

Web Asteroids

Friday, October 1st, 2010

Have you ever visited a website and been so frustrated by the content, layout, or adverts that you’d love to destroy it? Well, now you can. This is a great game to vaporize annoying on web page. This is a special web version of Asteroids video game. Steer with the arrow-keys. Press space and it will start firing bullets which destroy page content. A time waster and stress reliever all in one.

kickass

Drag this bookmarklet to your bookmarks bar or a tab and start having some fun on other pages too! I saw this game first at http://erkie.github.com/.


Amerikan Pastası 1 Amerikan Pastası 2 Amerikan Pastası 3 Amerikan Pastası 6 Amerikan Pastası 8 Arabalar 1 Arabalar 2