Tuesday, June 30, 2009

PIC LCD Oscilloscope for Spectrum Analyzers

PIC LCD Oscilloscope for Spectrum Analyzers
This is simple and inexpensive LCD oscilloscope for spectrum analyzer display. The project use PIC 16F876A as main processor. Although a small LCD screen is not as good as analog oscilloscope, a LCD oscilloscope may be very useful in field measurements, for battery operation or you need different measurement at the same time along with oscilloscope.

The 80dB scale of this LCD oscilloscope can be adjusted with the two trimmers providing the reference voltages to the A/D converter. The operation of the LCD oscilloscope is slightly different between the 80dB mode and the 40dB mode. In the 80dB mode, the trace is always visible and saturates on the bottom or top of screen. In the 40dB mode, the trace runs out of the screen and only the central part of the original 80dB scale is displayed. This project designed by Matjaz Vidmar.

Download
Source code, documentation and schematic

tags : LCD, Oscilloscope, Spectrum Analyzer, PIC, microcontroller, project src

PIC LCD Oscilloscope for Spectrum Analyzers

PIC LCD Oscilloscope for Spectrum Analyzers
This is simple and inexpensive LCD oscilloscope for spectrum analyzer display. The project use PIC 16F876A as main processor. Although a small LCD screen is not as good as analog oscilloscope, a LCD oscilloscope may be very useful in field measurements, for battery operation or you need different measurement at the same time along with oscilloscope.

The 80dB scale of this LCD oscilloscope can be adjusted with the two trimmers providing the reference voltages to the A/D converter. The operation of the LCD oscilloscope is slightly different between the 80dB mode and the 40dB mode. In the 80dB mode, the trace is always visible and saturates on the bottom or top of screen. In the 40dB mode, the trace runs out of the screen and only the central part of the original 80dB scale is displayed. This project designed by Matjaz Vidmar.

Download
Source code, documentation and schematic

tags : LCD, Oscilloscope, Spectrum Analyzer, PIC, microcontroller, project src

Monday, June 29, 2009

Functional Programming

This post is mainly an excuse for me to link to a blog I came across:

I have been starting to use Scala over the last year. Initially I was drawn to the language purely by the functional programming experiences I had in Python: using map, filter, and list comprehensions. Scala promised similar tools, but with much better performance, and objects that just "feel" more robust than those in Python. In short, I began using it for very pragmatic reasons that had nothing to do with any underlying theory. However, over the last year, I have started to become more interested in the more theoretical aspects of functional programming, to the point where I'm now starting to reach out and trying to read blogs like the one above.

All of this reminds me of the kind of mind-bending experience I had when I first started to learn about C++ templates... they were a level of abstraction that I couldn't immediately translate to "mental bytecode", but that promised a massive amount of power and versatility. Admittedly, I was only about 13 when I started playing with C++ templates, but these new kinds of logic analyses are equally confusing now! It's all very interesting, even if it's not exactly approachable.

Wednesday, June 24, 2009

USB PIC Programmer

open source USB PIC Programmer

If you start learning PIC microcontroller, you need PIC progrmmer to "fill" your PIC with compiled source code. You can build your own PIC programmer like USBPICprog project.

Usbpicprog is an USB in circuit programmer for Microchip PIC processors. The hardware is as simple. The latest version only contains one PIC18F2550, 3 mosfets, and besides the connectors a hand full of passive components.

download
Open source programmer


USB PIC Programmer

open source USB PIC Programmer

If you start learning PIC microcontroller, you need PIC progrmmer to "fill" your PIC with compiled source code. You can build your own PIC programmer like USBPICprog project.

Usbpicprog is an USB in circuit programmer for Microchip PIC processors. The hardware is as simple. The latest version only contains one PIC18F2550, 3 mosfets, and besides the connectors a hand full of passive components.

download
Open source programmer


Sunday, June 21, 2009

Analysis of Strains from a 45-Degree Rosette

45 degree strain gauge rosettes are commonly used for measurement of strains. These rosette arrangements measure normal strains in three separate directions. From this data, the so-called "principal" strain state can be obtained. The principal strain state is just the orientation in which the shear strain is zero. At this orientation of zero shear strain, the two normal strains are called principal normal strains.

It can be quite tricky to obtain the principal strain state from the three gauge strains in a 45-degree rosette. Numerous textbooks provide equations for the principal normal strains, and generally these "just work". However, the angle of the principal strain state is often quite ambiguous. It's often difficult to figure out whether the angle is clockwise or anti-clockwise, which gauge it is relative to, and to which of the two principal normal strains it refers.

I have recently done some work on this problem in the context of measuring strains on the equine hoof wall. I have written a short description of the Analysis of Strains from a 45-Degree Rosette (PDF file; 47.9 KB). Please feel free to use this document (with an appropriate link to my blog), and please contact me regarding any corrections.

Thursday, June 18, 2009

The PSP Go - The Future is Here and it’s About Time


The PSP Go has been the subject of a good amount of discussion lately, with good reason. That Sony announced it’s next handheld has any number of reasons why it should be surprising. The PSP has had limited success (though you’d be incorrect labeling it a failure), and many thought Sony would simply focus its energies on the console market. On top of this though, it seemed as if these days the PSP was beginning to receive the kind of efforts and support it needed from Sony earlier than just these past few months. Now, Sony is already jumping ship towards its next handheld.

Read full article here:
http://www.powso.com/?p=614