A few questions about computer applications and microprocessors

AI Thread Summary
To control an LED with a computer, using a USB port is recommended due to the decline of parallel ports on modern devices. Various x86 single-board computers can run Linux or Windows, but running a full OS on a microcontroller is generally not feasible due to hardware limitations. The PSoC by Cypress is highlighted as a customizable system on a chip that can handle various applications and is user-friendly for programming. For direct I/O control, USB and serial ports are viable options. Overall, while controlling simple devices with a PC is possible, it may be considered overkill for basic tasks.
Oblio
Messages
398
Reaction score
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.
 
Engineering news on Phys.org
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.
 
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
 
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:
Hi all, I have a question. So from the derivation of the Isentropic process relationship PV^gamma = constant, there is a step dW = PdV, which can only be said for quasi-equilibrium (or reversible) processes. As such I believe PV^gamma = constant (and the family of equations) should not be applicable to just adiabatic processes? Ie, it should be applicable only for adiabatic + reversible = isentropic processes? However, I've seen couple of online notes/books, and...
I have an engine that uses a dry sump oiling system. The oil collection pan has three AN fittings to use for scavenging. Two of the fittings are approximately on the same level, the third is about 1/2 to 3/4 inch higher than the other two. The system ran for years with no problem using a three stage pump (one pressure and two scavenge stages). The two scavenge stages were connected at times to any two of the three AN fittings on the tank. Recently I tried an upgrade to a four stage pump...
Back
Top