Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: [AVR-Chat] Use Verilog/VHDL to code for the AVR?

Re: [AVR-Chat] Use Verilog/VHDL to code for the AVR?

2008-06-20 by John Johnson

Hi Julian,

Thanks for the info!

I hadn't thought about the HDL code running "all at once", that is a good point.
Maybe I'll look into their CPLDs or the combined AVR/CPLD I saw
mentioned somewhere.

Thanks again.

Regards,
  JJ

On Wed, Jun 18, 2008 at 8:58 PM, Julian Higginson
<julian.h@bruttour.com.au> wrote:
> HDL is a very different thing to C. HDL code running in a PLD or an FPGA
> runs "all at once", while a microcontroller runs a sequence of steps, one
> after the other... I imagine HDL to microcontroller conversion (short of
> running a logic simulator on the micro!!) is pretty near impossible to do
> automatically.
>
> If you want to get into HDL code, I played about with Atmel CPLDs many years
> ago, and had a bunch of fun with them. Basically just doing parallel/serial
> conversion and Manchester encoding... It wasn't hard to get started, or
> expensive. http://atmel.com/products/pld/default.asp
> Looks like there's still free dev environment software to use, too.
> http://atmel.com/dyn/products/tools_card.asp?tool_id=2759
>
> Julian Higginson
> Bruttour International
> http://www.bruttour.com.au
> Ph: +612 9987 1581
>
> -----Original Message-----
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
> Of John Johnson
> Sent: Thursday, 19 June 2008 10:16 AM
> To: avr-chat
> Subject: [AVR-Chat] Use Verilog/VHDL to code for the AVR?
>
> Hello All,
>
> I skimmed over some VHDL code the other day, and it looks pretty
> interesting.
> Is there a way to write in VHDL, then have it translated to
> C/Assembly/Hex to program an AVR?
>
> The whole PORTB |= _BV(MY_OUT) gets tedious after a while. (just an
> example.)
>
> Always looking for something new (to me) and cool to learn!
>
> Thanks in advance!
>
> --
> Regards,
> JJ
>
> http://www.pcbgcode.org
>
> --
> Regards,
> JJ
>
> http://www.pcbgcode.org
>
> ------------------------------------
>
> Yahoo! Groups Links
>
> 



-- 
Regards,
 JJ

http://www.pcbgcode.org

Audio power amp and vibration sensor

2008-06-22 by xolang1

hello,
 
I have 2 requirements that i hope someone could help me on:
 
1) I have a certain circuit that is able to drive an 8Ohm speaker with a maximum output of 1watt. the voltage output is measured from 0 to 5V. The sound however , is quite soft and I need to install this inside a vehicle which is expected to be noisy. I need this audio output to be amplified to some good degree (about 10 - 20watts to my estimate). The Amp has to be of high fidelity as the output is not of the best quality. My problem is I am not familiar with audio circuitry and there seem to be numerous solutions on the web. can anyone recommend a good solution, possibly 1 single chip solution that does all the analog handling and is powerful enough to drive a 10 - 20w speaker. Also, is it possible to connect the speaker ouput of my current set up to this amp dirrectly without worrying about impedances etc?
                                                                      ???
audio circuit-----(output is good for 8Ohm skr)---------------------->10-20w Power Amp
 
 
2) I need a vibration sensor that is able to detect strong vibrations in a vehicle (e.g. when the tires hit a hump). ideally this solution in also single chip.output could be a simple ttl logic or analog voltage. 
 
 
If possible, solutions that can be bought individually like from arrow / digikey would be best as this is only for hobby-grade.
 
any help is much appreciated.
 
- Chris


      

[Non-text portions of this message have been removed]

Re: [AVR-Chat] Audio power amp and vibration sensor

2008-06-22 by Ned Konz

On Jun 21, 2008, at 10:33 PM, xolang1 wrote:

> hello,
>
> I have 2 requirements that i hope someone could help me on:
>
> 1) I have a certain circuit that is able to drive an 8Ohm speaker  
> with a maximum output of 1watt. the voltage output is measured from  
> 0 to 5V. The sound however , is quite soft and I need to install  
> this inside a vehicle which is expected to be noisy. I need this  
> audio output to be amplified to some good degree (about 10 - 20watts  
> to my estimate). The Amp has to be of high fidelity as the output is  
> not of the best quality. My problem is I am not familiar with audio  
> circuitry and there seem to be numerous solutions on the web. can  
> anyone recommend a good solution, possibly 1 single chip solution  
> that does all the analog handling and is powerful enough to drive a  
> 10 - 20w speaker. Also, is it possible to connect the speaker ouput  
> of my current set up to this amp dirrectly without worrying about  
> impedances etc?
>                                                                       ???
> audio circuit-----(output is good for 8Ohm skr)---------------------- 
> >10-20w Power Amp
>

The TriPath based AMP3 or AMP32 amplifier boards from 41hz.com put out  
up to 25W per channel (they're stereo) with very high fidelity. I  
bought one as a kit for a project.

They'll drive a typical speaker setup just fine, and will run from an  
automotive 12V source.

They're in Sweden and take PayPal. It can take a couple of weeks for  
airmail to the US, but I was pleasantly surprised (about a week as I  
recall). If you're in the EU it should be within a week.

http://www.41hz.com/main.aspx?pageID=105
The AMP3 kit is about $34 (depending on how weak the US Dollar is when  
you order it).

>
>
> 2) I need a vibration sensor that is able to detect strong  
> vibrations in a vehicle (e.g. when the tires hit a hump). ideally  
> this solution in also single chip.output could be a simple ttl logic  
> or analog voltage.
>
>
> If possible, solutions that can be bought individually like from  
> arrow / digikey would be best as this is only for hobby-grade.
>
> any help is much appreciated.
>

Mouser doesn't charge for smaller orders like DigiKey does.

The MSI LDT series piezo elements have a relatively high output  
voltage; they have a version with a weight riveted on which is more  
sensitive. They're about $1.00-$1.50 each in single quantity from  
Mouser.

http://www.mouser.com/catalog/634/1808.pdf

http://www.meas-spec.com/myMeas/MEAS_download/datasheet/pdf/piezo/ldt_series_elements_lead_attachment_lamination.pdf

These look electrically like a capacitor and should be connected to a  
high-impedance circuit.

-- 
Ned Konz
ned@bike-nomad.com

Re: [AVR-Chat] Audio power amp and vibration sensor

2008-06-22 by Cat Hotmail

Have you heard of GOOGLE?

Searching for: car audio amplifier IC


I found this:
http://www.hobby-hour.com/electronics/power-audio-amplifier-ic.php

You can make a vibration sensor with 2 wires, check www.instructables.com

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.