What cpu/IC is best for this project ?

Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Modern Chips (Collectible Chips only)
View previous topic :: View next topic  
Author Message
Mworks
Guest





PostPosted: Wed Jul 05, 2006 8:31 am    Post subject: What cpu/IC is best for this project ? Reply with quote

I'm fairly new at working with cpu's and interfacing them at the board level.
What I need is a way for a pc to control up to 128 seperate devices from usb,parallel,ethernet, the connection method from pc to the device handling the 128 devices is not important.

I want to be able to issue a simple on/off command from the pc to each device. Later I would like to expand to being able to maybe do three state or analog control for each device but for now 0 or 1 switching would be fine.

I want to keep this as cheap as possible as the end product is for people on very low incomes.

I have already managed to get all the inputs I needed with the use of old xbox controllers and the windows device driver that was written for them.
Back to top
JAC



Joined: 24 Jul 2005
Posts: 3469

PostPosted: Wed Jul 05, 2006 9:06 am    Post subject: Reply with quote

Well....... pc interfacing is one step beyond what I normally do. USB has limited range, so drag out that old workhorse the serial port and throw a little embedded control into the mix to make something really useful!

If I had to do what you are describing I would hook up a microcontroller, like a PIC, in each remote device. Assign each device a unique address and interface each device to the same bus. Then issue commands directly to the serial port on the pc.

- simple wiring
- simple pc software
- almost unlimited devices
- a little bit of remote intelligence is never a bad thing. It also allows devices to talk directly to each other.
- advanced control.. do lots of cool things! on/off is so 1980.
- .......



Sounds like a school project Wink
Back to top
View user's profile Send private message  
CPUShack



Joined: 16 Jun 2003
Posts: 34259
Location: State of Jefferson, USA

PostPosted: Thu Jul 06, 2006 5:10 pm    Post subject: Reply with quote

PIC or 8051 is your best bet.
any MCS-51 family device would work great. www.8052.com has great info

_________________
New for 2025! The CPU Shack has a co-processor!

Visit The CPU Shack of microprocessor history and information.
Back to top
View user's profile Send private message   Visit poster's website AIM Address MSN Messenger
JAC



Joined: 24 Jul 2005
Posts: 3469

PostPosted: Fri Jul 07, 2006 4:11 am    Post subject: Reply with quote

u gotta love the free dev tools from microchip though Wink lots of people using them.. so lots of help 'out there'. Fantastic pic list - outstanding! I saved like YEARS of my life learning code techniques from the Assembly gurus. My hair is still receeding though. bugger.
Back to top
View user's profile Send private message  
Mworks
Guest





PostPosted: Fri Jul 07, 2006 9:54 am    Post subject: Pics Reply with quote

I have decided to use the PIC
I had heard of the PIC but never read up on them.
I didn't realize they were so capable, especially for the price.
I downloaded the microchip ide software and was able to purchase 30 PIC16F505 chips from a friend for 10.00.
I already have a programmer, made by willem.

Thanks for the help !
Back to top
JAC



Joined: 24 Jul 2005
Posts: 3469

PostPosted: Fri Jul 07, 2006 10:14 am    Post subject: Re: Pics Reply with quote

Mworks wrote:
I have decided to use the PIC
I had heard of the PIC but never read up on them.
I didn't realize they were so capable, especially for the price.
I downloaded the microchip ide software and was able to purchase 30 PIC16F505 chips from a friend for 10.00.
I already have a programmer, made by willem.

Thanks for the help !



Yeah, they are cheap. The flash parts are outstanding and there is a great deal of choice! Oh, make sure you erase a flash part before writing to it, keep an eye on your stack level and dont exceed the I/O port limits.

MPLAB is very good, it may be a little bit daunting for the first time, but the learning curve is worth it. I have been using it for nearly 10 years now. It was very basic back then, now there are many features.

Check out www.piclist.org for a ton of free code. Try use it to develop / understand your own code rather than plug and pray.
Back to top
View user's profile Send private message  
Display posts from previous:   
Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Modern Chips (Collectible Chips only) All times are GMT - 5 Hours
Page 1 of 1
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001 phpBB Group