Electriconics Kit / ARM Kit?

jbubrisk

Senior member
Oct 6, 2005
506
0
71
Hi guys,
I'm looking for some sort of kit that I can work with the occupy my free time. I'm either looking for something to teach me the basics of electrical engineering, or something like an ARM board that I could program from scratch. I will need a lot of hand holding though, because I don't have any experience at the hardware level. I know they have those boards that you can stick wires and resistors into, and make something... but I don't know where to start.

I saw these things: Rabbit embedded microprocessors

How can I build something that "works" (does something cool), while learning what all the individual parts do and how they work?

Thanks in advance,
jbubrisk
 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
http://newmicros.com/
http://www.lpctools.com/
http://www.lpctools.com/evaluationboardskits.aspx
http://www.olimex.com/dev/
http://microcontrollershop.com...ault.php?cPath=154_170
http://www.sparkfun.com/commer...fo.php?products_id=520
http://www.rabbit.com/
http://www.dontronics-shop.com/hardware-c358.html
http://www.circuitcellar.com/

There are a few suppliers / resources.
Generally you can find boards anywhere from around $20 up to $500 depending on the complexity of product and the vendor chosen. Personally I'd look for things in the $20 - $200 range for fairly simple units either with very few added peripherals other than what is on the chip itself or with a few well chosen ones like a USB interface, RS232 serial port, a few LEDs / push-buttons, a LED numeric display, et. al.
I'm sure there are others with things like motor controllers or whatever if that is more to your interest.

Also check out vendors like digikey.com, mouser.com, newark.com, they often sell development boards and parts though their catalogs are more suited to people who know what they want by part number rather than browsing for ideas. Some of the chips / parts are going to be less expensive / more available from these kinds of direct distributors rather than 3rd party board level product vendors, though. So if you found a chip that you wanted to wire together into a perf board totally yourself without an external pre-made PCB, for instance, you'd be best looking at such distributors as these or the chip vendor's own online store (if they have one).


As to ways to get started, look for the numerous free design articles on the internet, "Circuit cellar", "dontronics", the chip manufacturer's own application notes / sample designs that are freely available on their sites, et. al. will give you plenty of design ideas, resources, and samples.

As to simple projects to get started, well,:
push a button, turn on / off a LED
digital clock (if your board has a display on it)
read in ADC sample data and sent it to the PC over a serial / USB port or display it on the board's display
wind speed meter
measure temperature / humidity
generate a tone or musical melody
play back speech samples
record audio/speech and play back
make a little robot of some simple sort
turn on / off some appliance on a timer
generate morse code
read data from a GPS
....
that sort of thing. Of course you can get more complicated as your skills improve.
If you build something that is directly from a published schematic with published source code that you can modify / compile yourself that is often best since then you are starting from a known process and known working program and can then learn from it, modify it, and create new things incrementally as you come to know how it all works.

 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
One thing you may want to do is download the free (in many cases) software development tools for a given chip series like the ARM 7, ARM 9, NXP's LPC xxxx ARM series, ATMEL's ARM series;
non-ARM devices like: the PIC (microchip) or AVR (atmel) or MSP-430 et. a.l (TI).

Often they do have an emulator function that you can run on the PC to write and test simple code for the devices to see what the process of code development is like, whether the tools are compatible with your system and understandable to you, et. al. Then you've invested nothing in the hardware while still learning a little about the development process. Of course you can download some freely available project source codes and learn to compile them as well since they're known working starting points with documented processes for building them; unfortunately you can't generally fully emulate the function of some of the more complex projects that rely on fancy peripherals interfaced to real world devices, but at least you could build the code and try to understand it a bit.

You can also buy ARM based devices like certain PDAs or cell phones or whatever and program those quite easily since often there are extensive libraries of functions and extensive peripherals like displays, keyboards, networking devices already built in. Unfortunately they are limited in their abilities to be interfaced to custom new hardware peripherals. The nice thing about the PDAs or smart-phones though is that often they can be fully emulated in software including what shows up on their displays and how their keypads work so you could practice writing little games or whatever for them just using the PC before you buy the hardware.

Here are some nice and moderately inexpensive MSP-430 devices:
http://www.ti.com/corp/docs/landing/ez430tool/index.htm
http://microcontrollershop.com...ath=98&products_id=645

If you'd rather have something extremely powerful as a CPU where you can often program it in languages like C, maybe even easily run operating systems like uCLINUX / LINUX, etc. I'd skip the ARM 7 series and look at some of the ARM 9's which tend to be much more capable of high level software use. The ARM7, MSP430, many flash based PIC/AVR units, the LPC2xxx and other ARMs, et. al. are perfect for inexpensive / fairly simple electronics level tinkering with very basic types of software / peripheral capabilities.

 

bobsmith1492

Diamond Member
Feb 21, 2004
3,875
3
81
Here's an Atmel ARM dev board - you can program it up with free software from Atmel over USB.

It's a very powerful processor but it has lots of features so it can be pretty confusing. For example, good luck trying to get interrupts working... :p I've done it before and it still took me a couple of days last week to get them straightened out for a new project.

On the other hand I could give you some code to work from so it would be easier to get started...
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
Rabbit makes some fun devices but I really hate the prices.
If your on a budget and want to get started with something easy, look at arduino.
http://www.arduino.cc/

It is becoming very popular in the embedded market and all software is free.
http://store.fungizmos.com/ind...ec83fb508ee7ec329b59af

For just $34 you have all you need to get started.

Feel free to pm me if you need help.
Embedded micros was what I majored in when I was in college.
I love to see people getting interested in these powerful little devices.


I really hate how companies price development kits like they are made of gold. That only serves to kill the hobbyist market.



 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
Originally posted by: Modelworks
I really hate how companies price development kits like they are made of gold. That only serves to kill the hobbyist market.


QFT.

I can understand if some of the premium features & support models are several hundred or several thousand dollars if they're the kind of thing that they'll only ever sell a few dozen / few hundred of and they're extremely specialty items backed up by a lot of engineering support, especially if they use hundreds of dollars worth of high end components on them.

I can't understand why the run of the mill typical development boards are often $300-$1000+ even when they've got extremely little hardware complexity (often just a single microprocessor with 8-44 pins and a very few glue components), use low cost readily available parts, and have markets measured in the thousands / tens of thousands of units for educational, hobby, light commercial, et. al. uses.

I also find it highly disappointing how the chip manufacturers and development board designers have seemingly often lost all 'vision' as to what makes a *useful*, *interesting*, *clever*, and *well designed* product. So many of the development boards use really quite powerful microcontroller chips and yet for lack of even the most basic design considerations of the dev. board they often make about 90% of those features totally inaccessible (as in the pins aren't even fully connected / exposed for user access) or at least highly useless in practice (as in you'd need to PCB fabricate / wire wrap a HUGELY difficult / complex interface board JUST to make even the most shoddy / questionably useful interface to the signals that ARE exposed on some very poorly chosen types of high density / 'weird' / hard to find / hard to use connectors on the development board).

Often they lack basic things like:
* a power regulator & supply voltage pads/connections to power a few extra interface / analog / level converter chips that will be needed in a huge percentage of dev. board uses.
* easy to access / well documented test points so you can actually check it out with a meter/scope/...
* connectors that actually have signals grouped in any kind of logical / easy fashion
* op-amps / buffers available for ADC / DAC / PWM type ports.
* basic ADC/DAC units on the I2S / I2C / SPI ports if there aren't some built into the uC IC.
* reset or power switches
* some easy way to attach daughter boards or perf boards or a wire wrap area for custom interfacing
* anything more useful than a couple of push buttons and a few LEDs; sorry I didn't just buy an ARM7 / ARM9 to detect when I push a button and make a few LEDs light. How about some USEFUL interface ports on the thing that would be relatively realistic for real world needs -- USB, serial port, parallel port, ethernet, JTAG, H-bridge outputs, amplified speaker, some reasonable ADC/DAC ports with op-amps, ....
etc. etc.

Heck design a decently well implemented thought out dev. board and maybe they could even sell it as an application solution board for something like basic data acquisition, motor control, educational / class project use, et. al. As it is the time / money you spend messing with a lot of these dev. boards would be better invested in doing a custom design / layout PCB for a dev. board that actually has useful real world interfaces since you'll never really be able to get the normal dev. board interfaced to a real interesting project or you'd never be able to afford several units so you could contemplate using them for either projects or teaching or whatever.

 

blahblah99

Platinum Member
Oct 10, 2000
2,689
0
0
Try Microchip's 16-bit dev kits or 32-bit dev kits. They're around $50-$200 or so. Easy starter kit to get your hands into.
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
Originally posted by: blahblah99
Try Microchip's 16-bit dev kits or 32-bit dev kits. They're around $50-$200 or so. Easy starter kit to get your hands into.

I probably use the pic for more task than any other micro, but that is changing.
Mainly because the pic development tools cost so much.
I have CCS for pic and the cost was over $450 for the software.
And microchips IDE is less than hobbyist friendly.
That to me is like I mentioned before, a killer for hobbyist.
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
Originally posted by: bobsmith1492
One of my professors started a company to build solid dev boards for embedded systems. They're pretty easy to use and there's lots of software out there.

Those look like some really good boards.
I may just order one to play around with.
 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
Amazing. It is nice to see someone with a clue as to how to design useful and easy to interface development boards that don't cost a fortune.

Does anyone know what the best current options are for low cost fairly powerful CPU (think ARM9, PPC, X86, DSP....) devices with fast I/O (USB 2.0 high speed 480Mbit, Gbit Ethernet, IEEE 1394 400Mbit or 800Mbit) as well as easy ability to program and interface to fast peripherals like 40MByte/second (or maybe much more) 8-16 bit wide
parallel devices or whatever?

Just using a PC motherboard is quite fine for the ethernet / USB / firewire / powerful CPU / cheap plentiful RAM etc. but interfacing them to a fast parallel peripheral like an ADC / DAC / GPIO bus is then difficult unless you do it over USB/ethernet/firewire at which point you're back to square one looking for a microcontroller with fast ethernet / usb / parallel ports...

I suppose if there were really inexpensive easy to interface generic PCIE x1 chips that had flexible (fpga?) parallel interface capabilities that'd solve the problem, but AFAICT those basically don't exist as inexpensive development boards and if you build one it is well into the realm of 4-6 layer PCBs for optimum results as well as BGA or fine pitch SMT packages which are very difficult to solder & design for et. al.

No even remotely low cost FPGA or powerful (ARM9 / ...) uC that I'm aware of can easily interface to USB 2.0 high speed, Gbit ethernet, IEEE 1394, SATA, PCIE x1 without fairly considerably expensive / difficult to design / acquire / program kludgy interface chip solutions like big PLX bridges or a whole other Cypress (et. al.) USB microcontroller et. al. which often times limits your performance and complicates your design to the point where it is not really feasible / economical anyway.


Originally posted by: bobsmith1492
One of my professors started a company to build solid dev boards for embedded systems. They're pretty easy to use and there's lots of software out there.

 

bobsmith1492

Diamond Member
Feb 21, 2004
3,875
3
81
What are you going to do with so much bandwidth?

At 40MB/s (320mb/s) you're talking 600MHz+ for processing... I would guess FPGAs would be your best bet but the fastest I've worked with is ARM7 at 55MHz.


Originally posted by: QuixoticOne
Amazing. It is nice to see someone with a clue as to how to design useful and easy to interface development boards that don't cost a fortune.

Does anyone know what the best current options are for low cost fairly powerful CPU (think ARM9, PPC, X86, DSP....) devices with fast I/O (USB 2.0 high speed 480Mbit, Gbit Ethernet, IEEE 1394 400Mbit or 800Mbit) as well as easy ability to program and interface to fast peripherals like 40MByte/second (or maybe much more) 8-16 bit wide
parallel devices or whatever?

 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
ADC inputs for analog video or general signals (digital o-scope type uses).
Digital inputs for digital video or miscellaneous data.
Actually I'd be glad to get somewhere into the 200MBy/s - GBy/second range; the data processing and acquisition hardware for that isn't that expensive / hard. Interfacing it to PCIE or GbEthernet is not so easy / cheap given the parts out there though unless you do a major SMT / BGA multilayer PCB design project and have the rework tools for assembly.

Here's an ARM7 with an interface for USB 2.0 high speed ~ 40 MBy/s. $171 or so dev boards.
Not as expensive as some other boards I've seen, though not quite as inexpensive or feature rich or high bandwidth as I might hope for.
http://microcontrollershop.com...o.php?products_id=2135
http://www.olimex.com/dev/lpc-h2888.html

Here's a PCIE x1 to FPGA setup; $1500 development board, YOW -- I'm glad this is the "low cost" solution they're talking about; I'd hate to see what the high cost versions are.
http://www.knottsystems.com/cyclone.asp
http://www.altera.com/products...y2-pci-express-ti.html

Some of the other dev boards from these places don't look too bad:
http://www.olimex.com/dev/index.html
http://microcontrollershop.com/

Originally posted by: bobsmith1492
What are you going to do with so much bandwidth?

At 40MB/s (320mb/s) you're talking 600MHz+ for processing... I would guess FPGAs would be your best bet but the fastest I've worked with is ARM7 at 55MHz.

 

bobsmith1492

Diamond Member
Feb 21, 2004
3,875
3
81
Well, my current AT91SAM7S project has a USB interface that is USB2.0 compatible but only rated at 12mbps. The problem is shuffling the data around quickly enough. http://search.digikey.com/scri...l?name=AT91SAM7S-EK-ND

It does have DMA for its peripherals, though, so shuffling data through has pretty low overhead. You're not going to get 480Mb/s out of a 50MHz processor, though.

My latest project is a home stereo amplifier with digital preamp (encoders) and an RGB LED VU meter based on the AT91SAM7S128.

So far I have a interrupt-driven UART interface for debugging and programming, interrupt-driven inputs from the encoders and a pushbutton, an untested SPI interface to an EEPROM, a partially setup LED driver interface, and some timers. To do: I2C interface to the digital pot for volume control and setup the clock output for the LEDs. Once the board comes in this week, it's build time!

I've also used this processor to make a 16-bit, 48KHz-sampling current-voltage-power meter, instantaneous and averaging for up to 20 minutes, for measuring loudspeaker drive power.

It's amazing, after a sub warms up its output power drops almost in half due to the increased resistance in the coil. Also, never trust a word you see about power on a loudspeaker box! No one tests them properly (until now, but most people don't want to hear that their subs really can't take the power they think they can...)
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
If you are looking for an all in one with dsp check out this one, $149:
http://dkc1.digikey.com/us/mkt/beagleboard.html

I plan to get one next month.
From what I understand the board is the result of a bunch of hobbyist getting together and deciding what they wanted in a embedded board versus what some company wanted.
The result looks very powerful especially for the price.


Industry?s highest performance ARM
- 600MHz ARM Cortex-A8 (>1GHz ARM11 MIPS)
- NEON and VFP extensions for additional acceleration

State of the art POWERVR? graphics hardware
- 10 million polygons per second
- Advanced tile-based rendering

Industry leading C64x+ DSP & video acceleration
- Streaming, portable media player, and high-res video

Tiny 3? x 3? PCB that can fit in your pocket
- Yet support for 1280x1024 DVI-D monitors

Standard PC peripherals can be connected to Beagle Board using the USB with a mini-A to standard-A cable adapter, DVI-D using an HDMI to DVI-D adapter, or through the MMC/SD/SDIO connector enabling a complete desktop experience.

Hardware

* OMAP3530 applications processor featuring the ARM® Cortex?-A8
* 128MB low-power DDR RAM
* 256MB NAND flash
* USB 2.0 high-speed on-the-go port
* DVI-D output
* NTSC/PAL TV via S-Video output
* 6-in-one 8-bit MMC+/SD/SDIO connection
* Stereo audio in/output
* JTAG header
* I2S, I2S, SPI, MMC/SD expansion header
* Power via USB or alternate jack
 

bobsmith1492

Diamond Member
Feb 21, 2004
3,875
3
81
OMAP3530? Ironically we're starting a project at work using that exact chip. I'm doing the power supply for it... the companion supply chips are just being updated this month by TI. We're hiring out for the video processing code, though.

I think that kind of chip is intended to be used in all-in-one devices like a PDA or something more powerful than a typical MP3/MP4 video device. We're using it to record and playback video on a portable device.
 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
Sounds like a nice project. Yes I've seen a lot of USB 2.0 Full Speed 12Mbit/s parts, though that's a little slow for what I'd like in many cases. It is nice to see more of the ARM9/7 chips with the 480Mbit USB 2.0 High speed interfaces finally starting to appear to offer alternatives to the 8051 type parts that were formerly almost everything that was available as a USB microcontroller.

Re: DMA / processing performance...

Yes, I never quite understood why more microcontrollers didn't have DMA engines that actually could run faster than a fraction of the uC's own clock rate, or why the uCs often had no memory interfaces to fast cheap RAM as compared to exotically old / obsolete / hard to find stuff like SDRAM. I'd just design in something like a DDR2 interface for an ARM9 class chip with a built in memory controller and maybe even do a development board that took commodity PC2-6400 DIMMs so there'd be no need to find / solder individual RAM chips at all.

In many cases you don't need to use the uC to do much DSP / processing on the data coming in or going out, you just need a fast DMA engine to shuttle data between USB 2.0 / DMA bus / SPI ports / ethernet / RAM / whatever. The best devices I've seen for this methodology are the single chip ARM7 type of USB 2.0 high speed -> IDE disc drive bridge chips or the similar IEEE 1394b firewire -> IDE disc drive chips. Pretty low performance uC, but with a 133 MBy/s 16 bit wide DMA port to go to the disc drive and a high speed fairly automated DMA -> USB endpoint FIFO architecture. Unfortunately almost nobody's chip had an option to take the DMA parallel interface *out* of ATAPI disc protocol mode which sort of killed the potential usefulness of the chip for any other purpose unless you put in a uC/FPGA to emulate a disc drive on your parallel interface.

Another great option would have been to have GPUs with DVI *input* mode, but basically nothing offers that even though it would have been a pretty trivial thing to include in the design / specification. Had they done a bidirectional DVI bus on common GPUs you wouldn't even need a KVM switch to select video from multiple computers going out to one monitor, you could just daisy chain them and let the user pick the actively outputting unit.


Originally posted by: bobsmith1492
Well, my current AT91SAM7S project has a USB interface that is USB2.0 compatible but only rated at 12mbps. The problem is shuffling the data around quickly enough. http://search.digikey.com/scri...l?name=AT91SAM7S-EK-ND

It does have DMA for its peripherals, though, so shuffling data through has pretty low overhead. You're not going to get 480Mb/s out of a 50MHz processor, though.


Digital preamp? As in digital SPDIF / AES / Dolby type interface to the PC?
And/or digital as in Class D/E/F/... SMPS/PWM/... audio amplifier stages?

I'm surprised to hear that the thermal losses in a sub. are that high, I didn't think they ran so hot in the coils to have such an effect on the impedance... 0.4%/deg.C TCR for copper, so +100C rise would be 40% increased resistance. I guess that if the reactive impedance of the driver's effective inductance is already low compared to the resistance of the fine wire and the thing ran up around 60C-100C then that'd do it.

Anyway, nice project for the meter / amp, good luck with the next phase of it.

My latest project is a home stereo amplifier with digital preamp (encoders) and an RGB LED VU meter based on the AT91SAM7S128.

So far I have a interrupt-driven UART interface for debugging and programming, interrupt-driven inputs from the encoders and a pushbutton, an untested SPI interface to an EEPROM, a partially setup LED driver interface, and some timers. To do: I2C interface to the digital pot for volume control and setup the clock output for the LEDs. Once the board comes in this week, it's build time!

I've also used this processor to make a 16-bit, 48KHz-sampling current-voltage-power meter, instantaneous and averaging for up to 20 minutes, for measuring loudspeaker drive power.

It's amazing, after a sub warms up its output power drops almost in half due to the increased resistance in the coil. Also, never trust a word you see about power on a loudspeaker box! No one tests them properly (until now, but most people don't want to hear that their subs really can't take the power they think they can...)

 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
Looks like a nicer general purpose embedded board than the LPC2888's I was looking at, and for a better price. Thanks for mentioning it. I can see how it would be handy for a few kinds of projects and fun to hack.

Be careful if you want USB host / OTG support, though, their current hardware manual file suggests that they've removed that port from the design because it wasn't working reliably, which is quite disappointing for many possible applications.

Unfortunately it doesn't seem possible to *input* via the DVI port, and the ~20 GPIO or multi-function lines they provide on the expansion header don't seem (at first glance) to expose too many of the goodies of the OMAP chip like the camera interfaces or any high speed parallel I/O transactional bus modes. Mainly just individual GPIOs or the multi channel buffered serial port stuff.

OK for miscellaneous I/O but not really possible to input any data into the unit at any reasonably high speed through any available interface. Nice if you just want S-Video & DVI outputs, USB PC connectivity, a couple SD/MMC cards, and a few GPIOs etc. though.

Perhaps I'll write to them and suggest a model with the camera interfaces exposed and a fast ADC / DAC.

Do you know if the C64x DSP is now programmable with low cost or free tools? Last time I checked (years ago) the assembler/compiler tools for that and several other TI DSP parts were rather expensive for hobby type uses, and the GNU tools didn't at the time support many relevant models including that one IIRC.


Originally posted by: Modelworks
If you are looking for an all in one with dsp check out this one, $149:
http://dkc1.digikey.com/us/mkt/beagleboard.html

I plan to get one next month.
From what I understand the board is the result of a bunch of hobbyist getting together and deciding what they wanted in a embedded board versus what some company wanted.
The result looks very powerful especially for the price.

 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
Yeah the OMAPs are mostly for PDAs, smart phones, media player devices and such.

Back when they were first introduced there were maybe 2-3 companies making ARM9 chips, and they were ALL intended for some kind of application specific / targeted usage like PDA / phone / set top box / etc. They literally REFUSED to sell any products to anyone making anything ELSE than such a product, so basically if you weren't a tier 1 consumer electronics device maker you couldn't get ARM9 anything as an embedded CPU.

It's nice to see there are finally some more available choices for dev. boards with these CPUs on them and they're even starting to show up at places like digikey.

Originally posted by: bobsmith1492
OMAP3530? Ironically we're starting a project at work using that exact chip. I'm doing the power supply for it... the companion supply chips are just being updated this month by TI. We're hiring out for the video processing code, though.

I think that kind of chip is intended to be used in all-in-one devices like a PDA or something more powerful than a typical MP3/MP4 video device. We're using it to record and playback video on a portable device.

 

QuixoticOne

Golden Member
Nov 4, 2005
1,855
0
0
I think what they should start to do is make high speed ADC/DAC devices with built in PCIE, Infiniband, firewire, SATA, DVI, GbEthernet, or similar kinds of interfaces on them.
Or at least a Gbit/s class switch fabric port and then a companion chip that converted that backplane network to PCIE / ethernet/etc.

 

bobsmith1492

Diamond Member
Feb 21, 2004
3,875
3
81
Sure, coil temps can rise by 100C no problem. I forgot exactly where but 200-300C is where the glues and epoxies start breaking down. Most of the energy you put into a sub goes to heat; for calculation purposes you can assume all of it does. Hence, driving a sub at 100W means the coil is dissipating 100W of heat.

The preamp is an isolated input to prevent ground loops; a digital pot sets the volume according to volume and balance encoders monitored by the microcontroller. The microcontroller A/D also samples the signal to run a VU meter. The amps are classic A/B.

I do have inputs and a connector to add in a DAC at a later time - I considered it but realized feature creep was affecting me. :)


Digital preamp? As in digital SPDIF / AES / Dolby type interface to the PC?
And/or digital as in Class D/E/F/... SMPS/PWM/... audio amplifier stages?

I'm surprised to hear that the thermal losses in a sub. are that high, I didn't think they ran so hot in the coils to have such an effect on the impedance... 0.4%/deg.C TCR for copper, so +100C rise would be 40% increased resistance. I guess that if the reactive impedance of the driver's effective inductance is already low compared to the resistance of the fine wire and the thing ran up around 60C-100C then that'd do it.

Anyway, nice project for the meter / amp, good luck with the next phase of it.

My latest project is a home stereo amplifier with digital preamp (encoders) and an RGB LED VU meter based on the AT91SAM7S128.

So far I have a interrupt-driven UART interface for debugging and programming, interrupt-driven inputs from the encoders and a pushbutton, an untested SPI interface to an EEPROM, a partially setup LED driver interface, and some timers. To do: I2C interface to the digital pot for volume control and setup the clock output for the LEDs. Once the board comes in this week, it's build time!

I've also used this processor to make a 16-bit, 48KHz-sampling current-voltage-power meter, instantaneous and averaging for up to 20 minutes, for measuring loudspeaker drive power.

It's amazing, after a sub warms up its output power drops almost in half due to the increased resistance in the coil. Also, never trust a word you see about power on a loudspeaker box! No one tests them properly (until now, but most people don't want to hear that their subs really can't take the power they think they can...)