Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 1st April 2008, 04:04 PM   (permalink)
Default Basic Controller inquiry

Hello everyone,

I want to make an array of 20x20 electrodes (a pcb with a matrix of 20x20
terminals) and I would like to be able to control each one of them
separately through a computer.

How would I do that, what type of controller should i use?

Thank you in advance.
Hlias is offline  
Old 1st April 2008, 04:09 PM   (permalink)
Default

A microcontroller
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 1st April 2008, 04:13 PM   (permalink)
Default

Thanks Bill,

Could you suggest any specific type of microcontroller?
Hlias is offline  
Old 1st April 2008, 04:18 PM   (permalink)
Default

I would like to be able to control (ideally) independently each one of the 400 electrodes at the ends and furthermore be able to vary the voltage to each of them (meaning to be able to have more than just 2 values say 0-5V). Would I be able to do that with a microcontroller?
Hlias is offline  
Old 1st April 2008, 04:22 PM   (permalink)
Default

A microcontroller and lots of DACs it's not going to be cheap. Also depends on how many levels you want at each pin. If you've not worked with electronics you're probably going to have to contract out such a design.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 1st April 2008, 04:27 PM   (permalink)
Default

In case I compromise with having only to states (H-L 0-5V) would I be able otherwise to control each of the 400 pins separately, only with one microcontroller?

Thank you in advance Bill.
Hlias is offline  
Old 1st April 2008, 04:53 PM   (permalink)
Default

No single microcontroller has 400 I/O pins (I could be wrong) but you would be able to use 50 8bit latch ICs plus almost any microcontroller. What sort of current to you need at each pin?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 1st April 2008, 04:54 PM   (permalink)
Default

Quote:
Originally Posted by Hlias
In case I compromise with having only to states (H-L 0-5V) would I be able otherwise to control each of the 400 pins separately, only with one microcontroller?
One way would be to have a long series of shift registers to give 400 bits with parallel ouputs, one output to each pin. The desired 400 bit pattern is then serially input into the shift register. It would require 50 bytes of information serially out from the microcontroller, which should be fairly simple to program.
crutschow is online now  
Old 1st April 2008, 05:07 PM   (permalink)
Default

the current i will be needing for each pin will be between 10-20 mA. Not more than that.
Hlias is offline  
Old 1st April 2008, 05:39 PM   (permalink)
Default

That's fine just check the latches datasheet for current source & sink. Many logic latches can sink far more than they can source. Still not a cheap project by any means, the PCB will be fairly large. How fast do you need to change the state of any given pin?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 1st April 2008, 06:56 PM   (permalink)
Default

To give you an idea the electrodes will be 1.5mm diameter-gold plated and I would also like to be able to control this through bluetooth. Would this be possible?
Hlias is offline  
Old 1st April 2008, 07:02 PM   (permalink)
Default

Anything is possible, bluetooth has a serial port mode so that's ok. How fast do you need to control the pins? Are you going get a contractor to design, build and test it or do it yourself?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 2nd April 2008, 10:14 AM   (permalink)
Default

The truth is that I would like to do the project myself. I know it is going to be difficult as I haven't dealed with electronics for some years now, but i think im gonna give it a shot.
Is there any particular microcontroller that you could suggest?
Hlias is offline  
Old 2nd April 2008, 10:35 AM   (permalink)
Default

I would also like to know whether it would be any more useful to use a microprocessor instead.
Hlias is offline  
Old 2nd April 2008, 10:37 AM   (permalink)
Default

Quote:
Originally Posted by Hlias
I would also like to know whether it would be any more useful to use a microprocessor instead.
I would suggest using a suitably sized PIC, as they are the most popular, and have the most support available.

No point using a microprocessor, just making it far more complicated and adding nothing.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Basic stepper motor controller ExtravDreams Electronic Projects Design/Ideas/Reviews 1 18th March 2008 04:55 PM
Xbox 360 Tilt Controller adamthole Electronic Projects Design/Ideas/Reviews 0 20th January 2007 06:24 PM
basic led blinking with micro controller Mejinx Micro Controllers 6 11th February 2005 02:06 AM
Assembly to Basic Coding AZdave Micro Controllers 3 23rd January 2005 03:28 PM
PIC basic and Basic stamp Cyborg Micro Controllers 5 21st April 2004 09:44 AM



All times are GMT. The time now is 05:18 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker