A few questions about computer applications and microprocessors

Click For Summary

Discussion Overview

The discussion revolves around the integration of computers with microcontrollers for applications such as controlling an LED. Participants explore methods for interfacing with hardware and the feasibility of running operating systems like Linux or Windows on microcontrollers.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant inquires about the simplest method to control an LED using a computer, expressing a background in electronics but limited knowledge in computing.
  • Another participant suggests that various x86 single board computers can run Linux or Windows, albeit with a hint of skepticism regarding the practicality of such choices.
  • A different viewpoint emphasizes the use of USB ports for direct I/O with PCs, noting the decline of parallel ports in modern devices.
  • One participant questions the necessity of using a PC for controlling LEDs, suggesting that it may be excessive for such a task.
  • Concerns are raised about the possibility of running a full operating system on microcontrollers, with one participant asserting that it is likely not feasible due to hardware limitations.
  • A suggestion is made to explore PSoC (Programmable System on Chip) by Cypress as a customizable alternative for various applications, highlighting its ease of programming.

Areas of Agreement / Disagreement

Participants express differing opinions on the practicality of using PCs for simple control tasks and the feasibility of running full operating systems on microcontrollers. No consensus is reached on these points.

Contextual Notes

Participants mention various hardware interfaces (USB, parallel, serial) and their availability, but do not resolve the implications of using different systems or the limitations of microcontroller architectures.

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 similar) 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:

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 102 ·
4
Replies
102
Views
4K
Replies
2
Views
3K
Replies
13
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K