Re: Selection of a microcontroller for Childs Toy...





Mike Harrison wrote:
> On 29 Jun 2005 21:15:00 -0700, hypnoplay@xxxxxxxxx wrote:
>
> >Hi,
> >
> >We are designing a simple childs toy with the following features:
> >

Must be school project time. (same question by a different poster).

> >* Must Respond to up to 5 buttons
> >* Output up to 2 minutes of preprogrammed sounds through a speaker
> >* Must be programmable to respond in different ways according to the
> >order of the button pressed
> >
> >It is preferred that the microcontroller contain an 8 - 12 bit onboard
> >DAC, EEPROM programability, low voltage consumption...
> >
> >Optional features would include melody output (To play music while
> >sound is playing).
> >
> >I have investigated the Winbond Powerspeech series. It seemed perfect
> >at first glance, however it is not offered with EEPROM. We plan on
> >producing these in bunches of 100-500 thus necessitating the EEPROM.
> >
> >Any suggestions would be appreciated.
> >
> >Thanks,
> >
> >Tim
>
> 'real' DACs will be expensive and rarely found on low-cost micros - you should look at using PWM

It's not so much a cost issue. Placing DAC on micro is not expensive,
but difficult to isolate the noise problems. For PCB, you should
provide separate power and ground as much as possible. It would be
more difficult to do so, if the DACs are on the micro.

You can easily build a flash DAC with an op-amp and 10 to 15 resistors.
You wouldn't get commerical hi-fi quality, but good enough to pass the
course.

> etc. techniques.
> The Atmel ATTiny26 has a PLL peripheral clock mode that will do PWM with a 64MHz clock. With
> suitable software you should be able to get a decent audio signal using this. Sucks a bit of power
> in this mode but if you're driving a speaker this will not be too significant,

.



Relevant Pages

  • Re: Continuous Sound Playing IC
    ... mention in your first post ?? ... it into EEPROM and while playing it keep sending EEPROM data to DAC?? ... A micro can take care of all this logic. ...
    (sci.electronics.design)
  • Re: 16 bit eeprom
    ... OK this my real problem. ... So each eeprom will contain data for each ... Data from eeprom is then converted to analog with dac. ... a leading edge to the next leading edge of any phase clock will be: ...
    (sci.electronics.basics)
  • Re: 16 bit eeprom
    ... I need to make 9 phase sinusoidal wave generator. ... So each eeprom will contain data for each ... Data from eeprom is then converted to analog with dac. ... Second, i'll use microcontroller as clock generator for counters, there ...
    (sci.electronics.basics)
  • Re: 16 bit eeprom
    ... i need 16 bit parallel eeprom. ... if there's no 16 bit parallel eeprom, can i cascade 2 8bit parallel ... with 16bit dac. ... you a maximum output frequency of only 152 Hz. ...
    (sci.electronics.basics)
  • Re: Need some help formatting and sending commands to TLV5618 DAC
    ... the DAC to respond to my commands correctly. ... You don't mention which micro you're ... line once for a positive edge before un-asserting ~CS. ... The bit order on the SPI line will be MSB sent first. ...
    (sci.electronics.basics)