A few questions about computer applications and microprocessors

  • Thread starter Oblio
  • Start date
  • #1
397
0
Hey everyone,

I have a few questions concerning computers, I know a significant amount of electronics but not so much on the computer end...
Anyways,

say I wanted the simple application of controling a light (an LED for example) with my computer - what's the easiest way to wire-in or attach the light?

Something else that I was wondering about, are there PICs (or something similiar) that allow you to put Linux (or heaven forbid... Windows) on a microcontroller?
The reason being, if you wanted to use software on the microcontroller that already existed on one of the two platforms.

I'll start with those 2 :) Thanks in advance.
 

Answers and Replies

  • #2
156
0
I think there are various x86 single board computers that will run Linux or, heaven forfend, Windoze(tm), should you be mad enough to want it.

I'm sure there must be systems that will run WinCE....

As to controlling the light, the easiest method used to be the parallel port... but that was before the joys of WinNT etc. which tend to prevent you playing directly with the hardware.
 
  • #3
berkeman
Mentor
58,812
8,944
One good way to do IO directly with a PC is via the USB port. Parallel ports are not generally available on laptops, and are even getting scarce on desktop PCs. But USB ports are still popular, and you can get to them via standard drivers, etc.

You can google usb io, and get lots of hits like this one:

http://www.devasys.com/usbi2cio.htm
 
  • #4
30
0
Not sure what your actually trying to do, but using a PC to just control some L.E.Ds seems overkill, not that it can't be done.

In addition to the ports mentioned have a look also at the classical Serial port (RS232),

now in terms of having a full blown OS (eg Linux or Windows) on a microcontroller (I've never come across it, I don't think its even possible, you need a full comptuer architecture, not the limited hardware offered by microcontrollers)

saying that have a look at PSoC (by Cypress), this thing is like a customisable system on a chip! people have made everything with this from bluetooth devices to radios etc:

http://en.wikipedia.org/wiki/PSoC

and its easy to program! (have a look at their "express" software, no complex PIC assembly at all)
 
Last edited:

Related Threads on A few questions about computer applications and microprocessors

Replies
5
Views
2K
Replies
3
Views
2K
Replies
2
Views
4K
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
4
Views
1K
Replies
9
Views
4K
Replies
1
Views
2K
  • Last Post
Replies
11
Views
7K
  • Last Post
Replies
3
Views
687
  • Last Post
Replies
1
Views
4K
Top