[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Electronics Projects and PC Interfacing
- To: luci-discuss@luci.org
- Subject: Re: Electronics Projects and PC Interfacing
- From: Tim McDonough <tmcdonough@gmail.com>
- Date: Fri, 18 Dec 2009 16:57:55 -0600
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=8eR9rUekSmscQs0ECEn/HXmTW9A8F/pvVwNJwkv08AU=; b=XOd+XSjl6VYPJJ6f+lPJfQ3ThGBrpRylSml/7HKxU6whxM81nZLovDejsv+srf48pw 3/A02Ae2Op0bTM8r67j+BFznG3EUQxNC8uEca88iaZpGNHRvwp6NdVlev8gUvS8qVZU6 7sPU7lHkMqMcaKg+lrjg/7Y+7sG8nZaqnzyL4=
- DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; b=Jw5r6+s14K8H0LUHp7R280ycUGC5HiXYCyvDluOaEv1aSJIphx2YQ34Gs8t908xqap lMM5JaJ4lc2vho1jaFKBdZ6XM1IN/6ho5DnterUdf4ClfhSrAVq225jqXgEM30aXLNC3 JrtsMGdyDgUp5+ez6T1b00HrI0QTPF0mK2lKw=
- In-Reply-To: <a00c5a870912181249j6347ea1am4418e7a9a0bce60c@mail.gmail.com>
- Organization: McDonough and Associates
- Organization: Linux Users of Central Illinois
- References: <a00c5a870912181249j6347ea1am4418e7a9a0bce60c@mail.gmail.com>
- Reply-To: luci-discuss@luci.org
- Sender: luci-discuss-owner@luci.org
- User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
Matthew Kotys wrote:
> Does anybody here have experience with electronics design, and
> interfacing USB / Serial / Parallel ports on Linux hosts? My intent is
> to mess around with controlling DC/stepper motors, temperature sensors,
> maybe a USB <--> IR adapter for TV remotes. I have done a few "Hello
> World" projects on PIC uCs, but I'm sort of bored with blinking lights
> in succession and triggering a piezo buzzer. I have a basic
> understanding of DC circuits, but I'm not so good at peripherals and
> drivers. I use C, Perl, Python, PHP, bash scripting all the time...
The easiest way to work on "one of a kind" items (vs large volume
production) is to get an Arduino Duemilanove single board computer.
<http://arduino.cc/>. They are available from several US suppliers, I'd
recommend Sparkfun Electronics <http://www.sparkfun.com> as they will
also have a variety of sensors that may intrigue you.
The Arduino environment includes GCC tools for C/C++ and an extensive
library that lets you easily use the peripherals like digital and analog
I/O that are on the board. It is available free of charge for Windows,
Linux, and Macintosh platforms. Once you get bored with USB the Arduino
supports WiFi and Ethernet modules as well. There are tutorials on the
Arduino site for using all sorts of sensors, stepper motors, etc.
> Maybe I would start like this:
>
> project 1: build a USB morse code receiver, translating to text as it
> takes in user input
> The translation software for this would be interesting to write
>
> project 2: build a USB morse code/ transceiver/, allowing for tty
> sessions entirely in morse - (funny)
>
> project 3: rip out an LCD from an old calculator, connect it to a
> keyboard and a breadboard, and run a serial (or USB) cable across the
> room from my PC. So, an actual (and really dumb) tty
Morse generation is pretty straight forward. Receive and decode not so
much.
No matter how good it is sent there are many variations in Morse sent by
a human that the brain and the ear automatically compensate for. The
length of the elements (dots and dash) varies, the inner element spacing
variaes, the character spacing varies, the word spacing varies, and the
overall throughput/speed varies. Once all that is accounted for you need
to filter out noise that looks like dots and dashes, signals that fade
up and down due to atmospheric conditions, etc.
Tim (call sign N9PUZ)
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.