looking for suitable microcontroller

Hi,

I don't think what i'm planning could ever be described as a robot, but I guess you people are best placed to help me out. I am looking for a microcontroller that will give me a whole bunch (six actually, or multiples of six) analogue outputs that i can interface to a PC to give me values between 0 and +5v on each channel.

The idea is to build a virtual lighting desk that runs on a laptop and interfaces to the standard lighting controller cable which usually sits between the lighting board and the dimmer racks.

From the reading around I was doing last night the Brainstem running in slave mode will do what i want, but I don't need any of the advanced features and on-board processing that it provides. The device will only ever run slaved to the laptop. I don't need any inputs, only analogue outs. It would be nice if the device was USB and self powered, but i don't want to push my luck :)

Interestingly, looking at the Brainstem and OOPIC R, I can't help thinking that they look really cool devices and a whole heap of fun. I may have to get one just to play around with :) People don't tend to talk about the Acroname Brainstem as much as the OOPic R, is this just because OOPics are more established? The features and price of the Brainstem and OOPic R looked pretty similar to me...

thanks for your help

Jim

Reply to
Jim
Loading thread data ...

I think you will be hard pressed to find true analog out on a micro. Typically that is done with separate D/A converter chips. I have been playing with a burr brown 7612U, that has on board ref. Don't recall if it is 5V or 4.096V though.

the other way to get voltage out, it to integrate PWM with an integrator circuit.

Reply to
Blueeyedpop

Maybe you just need a USB DAC instead of a microcontroller.

Serial-port 4-channel $269

formatting link
USB 2-channel industrial $1200
formatting link
USB 4-channel $140
formatting link

Reply to
Alan Kilian

Does the dimmer rack talk DMX512? That may be another option..

HTHs Greg the Grog

Reply to
Grog

There are LOTS of microcontrollers with analog out.

MC68HC11, MC86HC16, MC86HC332 Lots od PICs, lots of AVRs, etc etc etc...

Reply to
Alan Kilian

Alan:

I'm by no means an expert across the entire PIC line, but the closest I've run into for voltage out is the setable voltage reference on the PIC16F628. Could you suggest a few PIC and AVR part numbers that have D/A outputs?

Thanks,

-Wayne

Reply to
Wayne C. Gramlich

Arggggh, Gaaaaaaaaa... (Cough, cough) Did I REALLY do this??????? Of course, I read A/D, not D/A !!!!!!!!!!!! Arrrgggghhhhhh...... So, I know of not one micro with analog OUT. Sorry, my brain went non linear for a moment.

Reply to
Alan Kilian

Just checking. ;-)

-Wayne

Reply to
Wayne C. Gramlich

I feel better now... I went to Microchip, Motorola, thinking I had lapsed in time. Found some cute micros though.

I think I remember reading somewhere that the analog issues on the same die as the uC can be difficult.

Aga> > > >

Reply to
Blueeyedpop

Mike suggestion elsewhere of using PWM and integrating the output to achieve a voltage is a good one, but I think you might need more accuracy and less drift. (Of course you could always compensate for component variances in software.) Separate DACs might do it, and some offer I2C and SPI interfaces. Another approach is the digital potentiometer, many of which are interfaced via SPI. You could scale this up in groups of six quite easily. Some are dual and quad, so you don't need separate chips for each channek.

Cost for digital pots is about $3-4 each, less if you look around, and sometimes they show up on surplus. Most of the ones I've seen (like from Maxim) are in SOIC packages, so I hope you're good at soldering!

-- Gordon Author: Constructing Robot Bases (Forthcoming) Robot Builder's Sourcebook, Robot Builder's Bonanza

Jim wrote:

Reply to
Gordon McComb

[snip]

Some of the MicroConverters by Analog Devices have analog out, but I think the maximum is two channels. 8051 core, flash, and SPI/I2C.

Jeff.

Reply to
Jeff Shirley

Mike:

I think getting a real D/A is better than integrating a PWM signal. Since I prefer to work with DIP packages and 5 volts, there are not many options available. One option is the TLC5620 which is a 5V Quad SPI 8-bit D/A available in both SOIC and DIP packages. It is $3~$4 from Digikey in quantity 1.

Enjoy,

-Wayne

P.S. To c> I feel better now...

[snip]
Reply to
Wayne C. Gramlich

Maxim has a nice line of DACs, and give free samples for some of their products. They have a nice 32 channel 16 bit DAC if you don't mind using SMD.

formatting link
James

Reply to
James Hight

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.