20 Band Audio Spectrum Analyzer
February 6th, 2011

XMEGA Xprotolab Review

Xmega xprotolab gabotronic

When Gabriel Anzziani from gabotronics.com asked me if I would like to do a review of the XMEGA Xprotolab I said yes because although these small devices cannot replace a real tool in an electronics lab, they often serve as development boards for the devices used on them. The Xprotolab is a miniature mixed signal oscilloscope and waveform generator packed in a DIP module which makes it great for breadboards. It has a nice set of features for such a small device:

for oscilloscope mode:

  • 2 Analog Channels, 8 Digital Channels
  • Maximum Sampling rate: 2MSPS
  • Analog Bandwidth: 320kHz
  • Resolution: 8bits
  • Input Impedance: 1MΩ
  • Buffer size per channel: 256
  • Max. Input Voltage: +/- 10V

for arbitrary waveform generator:

  • 1 Analog Channel
  • Maximum conversion rate: 1MSPS
  • Analog Bandwidth: 44.1kHz
  • Resolution: 8bits
  • Low output impedance
  • Buffer size: 256
  • Max. Output Voltage: +/- 2V

The hardware is based on a ATXMEGA32A4 coupled with a Graphic OLED display 128×64 pixels and a TL064 quad op-amp for the analog side. What is not mentioned on the product page is that it also has FFT, Meter mode with voltage and frequency, X-Y mode and a logic analyzer. Sound nice but lets put it to the test and see how it performs.

First thing I wanted to test on the xprotolab is the meter mode; I think for beginners who build breadboard circuits it will be a very useful feature because you could use your multimeter to check some voltage or current while you use the xprotolab to check another voltage or frequency. Every electronics lab should have at least 2 meters to serve this purpose but if you’re a beginner its most likely you only have one. I must tell you that Gabriel was very helpful when I discovered some bugs in the firmware and he corrected them within hours. Unfortunately it is a work in progress and I could find other bugs even after upgrading. The firmware version used during tests is 0.95.

So to start testing I placed the xprotolab on a mini breadboard and supplied power at 5V. First thing to notice is the OLED display which is a very good choice for this application and provides nice & crisp display with good contras. The menu is not difficult, it takes about 10 mins to get used to it and learn what each menu/key press does. After switching to meter mode (VDC) I applied a 3.3V voltage through a 10k series resistor to CH1 and CH2. With both channels connected to the same signal at the same time CH1 was reporting 3.22V and CH2 3.28V while my multimeter was reporting 3.24V so CH1 was off by -0.02 compared to the multimeter while CH2 was off by +0.04. A slight offset between channels can be noticed ~0.06V. The firmware has an offset compensation feature which can be accessed by holding key 4 during power on.

xprotolab meter mode CH1 and CH2

After entering the offset menu it will ask you to ground all inputs and press start. I did that.. it acquired the new offset values and I continued using into meter mode to see how it affected the results. Connected to the same signal as earlier CH1 was now showing 3.19 V which is off with -0.03 compared to the multimeter but the surprise is that CH2 is not taking any measurements, its just stuck after the offset compensation. As you can see the values are pretty close to what the multimeter was reporting and really a 0.02 offset is not a big deal in most applications, but the software has a bug that’s preventing CH2 from taking measurements after the offset compensation. To fix this I just re-flashed the EEPROM and CH2 started working on meter mode again.

Next I tried the frequency measurement. I used a signal generator with a sine wave and the xprotolab was able to detect frequency down to 10Hz and up to 500KHz which is pretty good for a device so small and inexpensive. Next I tried the VPP meter mode which was able to detect values on a sine wave up to 100KHz, any frequency higher and the measurement got all weird.

Next test was on scope mode, and I was able to get a clean and accurate reading on CH1, up to 100KHz sine wave. Anything higher than 100KHz caused false readings and I could notice the amplitude going down.
I also did tests with square and triangle wave shapes and the results were the same. I did not have enough time to review the other features like the arbitrary waveform generator or the logic analyzer but I’m sure I’ll use it somewhere in a future project cause if you remember I wrote a post about how nice is to have a logic analyzer when debugging. There is one feature I felt it was missing from it though , the value of the frequency printed on the screen while taking scope measurements.(later edit: Gabriel pointed out that this feature exists and he was right, I somehow missed it. You have the option of activating and locking the cursors and this will show the frequency on the screen as 1/deltaT but I feel the position its not the best as it overlaps with the represented signal).  This is a feature commonly found on all modern scopes, and although you have the options of controlling two cursors from the menu its easier to just have the value on the screen without having to use the cursors.

To conclude the Xprotolab is a small and cheap device which besides the features enumerated above doubles as a development board with schematics and source code offered on the product page. To me its clearly visible that someone has put allot of work into this project and is using every bit of processing power from the ATXMEGA32A4 to crunch the numbers.

DSO nano - portable digital oscilloscope

I was really interested about it when Seeed Studio first announced the DSO nano on their blog, unfortunately I was not able to get one of the beta’s which they offered in a limited number at a lower price. The specs they released don’t advertise for too much power from this portable but it’s style and the fact that is portable together with the low price tag should compensate for the lack of power. And don’t get me wrong on the power issue, the 1 MHz bandwidth is still enough to cover your hobby needs. For me the only big disadvantage is the fact that it has only one channel, but it compensates with the ability of recording readings that you can later compare with the actual reading.

I would love to give you more details about this portable oscilloscope, but I have to wait until I can get my hands on the DSO nano. I’m currently waiting for Seeed to list it on their product page so i can place an order.

bricogeek

Bricogeek droped me an email to let me know they’re hosting a contest where participants are requiered to design a game with an Arduino board. You can use any version of the boards available but it must be playable so the user can interact with the game. You can submit your project, one per person, before the deadline shown on this page. There are some nice prizes waiting for you to win them so I suggest you start building :) . Good luck.

March 1st, 2009

ATmega8 kit from Protostack

ATmega8 kit unassembled

I received a kit from Protostack for review purposes, this kit is for the ATmega8 micro controller, and is probably the cheapest available with the shipping costs only 20$ worldwide,  so anybody can afford it.

After I assembled the kit, I also added a few extra parts, like series diode with the +5V supply and few capacitors for decoupling, filter choke for the AVCC, these are not mandatory, since the circuit works well without them(I tried), but its good to have it on the board.

Atmega8 kit assembled

After I changed the fuse settings to work with the external 16MHz crystal, I added a LED and resistor and a pin header, the circuit board has good quality solder mask and plating, this makes it easy to solder, it has large pads on the bottom, and no pads on the top layer, this way even when you use uncoated wires for connections which run over the pads on the top you don’t the risk short circuits.

Since the holes are trough plated, removing thicker wires like diode terminals can be tricky and you can rip out the hole plating, but even in this case the pad on the bottom remains intact, so this isn’t a problem. Although it would be better if no hole plating where used on the prototyping area.

The prototyping area is similar to a breadboard, the major difference is that the ATmega8 ports are nicely ordered, the supply and ground pins are connected together, and the programming pins are tied to a 10 pin header. I use the avr mk2 programmer which has only the 6pin header, so I had to make the adapter cable.

I also made a simple demo project with 1 LED, and 1 push button, in that project I will explain how to use the digital inputs and outputs, many people doesn’t pay attention to these simple peripherals and make typical design errors which will generate aleatory errors very hard to debug.

The demo project will get described in a future post.

ATmega8 kit from Protostack

August 22nd, 2008

Sony DSC H9 review

Sony DSC H9 review

You’ve probably noticed the pictures from my last projects… they look pretty cool. That’s because i got a new camera, a Sony DSC H9. The macros are great, i can see the particles of dust on my circuit boards, the landscapes are great, i took some stuning pictures in my vacation in the mountains.

I’m not gonna go trough all of the aspects in this review, I’m just gonna tell you what impresses me about this camera. I payed for it at a local retail store about $520 complete with a 2 GB memory stick pro duo. The camera was nicely packed and accesorized. For example i got a cool remote control, that i can use to take pictures remotely. I also got a shoulder strap which you don’t get on most cameras.

The battery, is sony, as expected and it last actually more than they say it will. They guarantee that it will last you 300 photos, but i take aprox 600 photos with one charge.

If you plan on getting one, i suggest you take no less than 2 GB memory card. Because on 2 Gb it rarely gets full, and you’ll alaways have room for more pictures when you’re away from your computer and you can’t download them.

Another good thing about the camera, it’s the 15x zoom complete with image stabilization, which helps you get more acurrate details into your pictures when shooting at a distance.

The camera also has other nice functions like many shooting resolutions, the i prefere beeing the widescreen mode. In my opinion this is the best choice in digital camera before moving into the SLR category.

I hear that digital photo frames are they way to show your pictures arround the house these days, maybe one from Sony will work ok together with my H9.



© 2007-2011 YourITronics | Any logo, trademark and project represented here are property of their respective owners | Wordpress | Privacy Policy    RSS