Showing posts with label Mailing list responses. Show all posts
Showing posts with label Mailing list responses. Show all posts

Thursday, August 8, 2013

Understanding the Arduino platform (You don't need a separate Arduino board for everything you build)

From time to time, I've heard some objections about using the Arduino platform to build things because of the costs. Arduino prices have come down, but it's also worth understanding you don't need an Arduino board for every project.
The Arduino is essentially a board that has an Atmel AVR ATmega328p microcontroller chip on it with a USB interface, power supply, clock crystal, and a lot of sockets for the pins in a (now) well known form factor that allows stacking additional board/modules called shields for additional functionality.
The older units had an FTDI USB serial interface chip on it which added significantly to the cost, but had some interesting alternative uses. Newer Arduinos use another Atmel AVR chip that has USB support built in, which winds up being less expensive than the FTDI chip.
The form factor (size of the board with pin sockets) makes it easy to get started and prototype but also adds to the cost.
The Arduino software environment also makes it significantly easier to get started with microcontroller programming.  There is an small, development environment for Windows/Mac/Linux which completely wraps the C/C++ compiler and chip programmer making it a simple push button operation to compile your sketch and program the chip.
The AVR microcontroller is essentially a full system on a chip, with an 8 bit CPU, a small amount of RAM, 32K of flash memory, a small EEPROM, and a TTL level serial interface.  There is even an internal oscillator so you don't have to use a separate crystal, or resonator, if you have an application where you don't need the timing stability offered by an external crystal.
Bare ATmega328P chips cost $2-4 in single quantities.  They come without any programming, so you need hardware to program the chip.
The Arduino gets around the need for having hardware to program the microcontroller chip by preloading a bit of firmware, a boot loader, that allows the chip to receive code over the USB/Serial interface and write it to the 32K flash to program itself.
An Arduino can be used to program bare AVR chips, so you can use one Arduino to create more Arduinos.
So the moral of the story, once you've built something using an Arduino, you don't have to dedicate a whole Arduino board to each device.  You can easily build your project with a bare AVR chip and only the supporting components you need for your projects.  Typically this can be done for less than $5.

Note: This post is another reply that I had sent to a mailing list that I thought would be worth preserving and sharing as a blog post.

Sunday, June 10, 2012

Hams, Yahoo Groups and private message archives

Someone asked about learning the Yaesu VX-8 on one of the mailing lists I subscribe to. I sent the following response which has got general advice about Yahoo groups which seem to be popular with ham radio people. The most important bit:
If you are a member of any active Yahoo group that has useful information to share, consider lobbying the group's owner to make the message archive public.  It makes the information more accessible and should cut down on some of the redundant questions.
Please spread the word. The more information that is easily searchable the more we all benefit. 

Here's the original response:


I have a Yaesu VX-8DR and would be happy to answer questions about it.It has a lot of features and the manual isn't always as straightforward as it could be. I've learned a lot from reading the VX-8 Yahoo group for the last 2-3 years.

I suggest joining the Yahoo VX-8 Group, and then reading some of the old message traffic.  Many of the questions about the radio have been asked and answered since it came out.  Also check through the files and links section of the yahoo group.  There are some documents people have put together on working satellites, APRS and the ISS, etc.

Yahoo groups seem to be pretty popular for hams and there appears to be one for most popular radios.  If you have, or are considering purchasing a particular radio, check to see if an active yahoo group exists for it.
Then join it and look through the message and file archive.

Unfortunately one drawback of Yahoo groups is by default the message archive is only accessible by  members.  This means Google and the other search engines can't index the information stored in them.  The result is it's harder for you to search for answers to your questions.  You'll need to go to the Yahoo group and use its search function to look for answers.  (I still recommend using google to search for answers that might be available on the open internet in blog posts, open forums, etc.)

If you are a member of any active Yahoo group that has useful information to share, consider lobbying the group's owner to make the message archive public.  It makes the information more accessible and should cut down on some of the redundant questions.

Here are a few groups that I belong to that I'd like to get opened up:
There's a lot of knowledge locked up in those groups.

Hope This Helps,
--Rob

Tuesday, April 17, 2012

Amateur Radio License Free On-line Resources

During an on-air net, someone asked for on-line help in preparing for the Amateur Radio General Class license.  I sent this response to the group mailing list:

Free Study Guides

These are dense summaries of all of the material covered by the current question pools. For some topics the study guide treatment is enough.  For other topics, reading a full guide like the ARRL License Manuals is recommended. If you have enough time, I recommend reading the ARRL license manuals cover to cover, you'll learn quite a bit and they are a fairly light read.  The study guides still help because the license manuals can be quite verbose and even rambling at times.  Having a nice dense summary helps to crystallize what you need to know.

Note: There are quite a few study guides and slide presentations available on-line. The ones I listed above are the ones that I've seen and read. Many groups pull together similar material when then offer a Ham Cram class.  Some groups have a single day session where they attempt to cover all the material for you to take your test the same day.;

Check the Dates on Study Materials!

The question pools used for exams change every four years.  Additionally the rules governing amateur radio do periodically change which affects the answers to some of the questions. Make sure any study materials you are using are covering the test pool that will be used at the time you take your test!  While Amazon is a generally one of the easiest places to buy books, it's fairly difficult to tell if you are getting the correct current edition.

Practice tests and On-line Flash Cards

There are a number of web sites that will let you take a practice test.  Some sites offer all the questions in the test pool as "flash cards" so you can try every question.  There are many of these sites out there.  Many of them are very basic or feature poor.  The one that I found the best when I was studying was HamExam.org. It's well implemented and keeps track of what questions you've seen and answered correctly.  If you practice with it for long enough you will cover the entire question pool. The statistics will let you know which sections of the test you are struggling with.

ARRL License Manual Supplemental Material

There are some additional resources on the ARRL.org web site that aren't well publicized.  For example, in the back of the license manual books is a full copy of the question pool. However the book doesn't present the material in the same order as the question pool. When reading the book and trying to test yourself on the question pool, you have to skip around a lot.  A version of the question pool that is in the same order as the material as the book is available. I think this should have been the version printed in the book.
Supplemental Material:

Multiple Choice Test Strategies

It's worth reviewing tips for taking multiple-choice tests. Namely for most questions two of the choices can usually be quickly eliminated as wrong answers. Doing so leaves you with two possible answers, giving you at 50% chance of getting it right even if you have to make a guess between the remaining answers.

Hope This Helps,
--Rob