On Sun, 16 Dec 2012 21:00:41 +0700, Ivan Shmakov
<
onei...@gmail.com> wrote:
>>>>>> Jon Kirwan <
jo...@infinitefactors.org> writes:
>>>>>> On Fri, 14 Dec 2012 09:18:00 -0800, Rob Gaddi wrote:
>>>>>> On Fri, 14 Dec 2012 23:21:11 +0700 Ivan Shmakov wrote:
>
>[...]
>
> >>> Unfortunately, I'm yet to find a really cheap MCU (8-, 32-, or
> >>> perhaps even 16-bit) with an on-chip USB. (V-USB doesn't seem to
> >>> fit well, for its CDC-ACM capability is necessarily a hack.) The
> >>> best I've found so far are some STM32's for under $4. I'd like to
> >>> see if there could be anything else at half that price.
>
> >> Half that price is easy, buy them at kilounit quantities. Digikey's
> >> got the LPC1342, 250p at $2.57, and 1000p at $1.95. If you need
> >> fewer pieces than that, then at the end of the day you're just not
> >> talking about much money as compared to the other engineering costs.
>
> > To Rob: The title of the thread includes the word "amateur," so
> > probably not kilounit qty. More likely, it's more about posting up a
> > web page on some completed project or another.
>
> The point is that if I'd be able to get in touch with the fellow
> amateurs in my vicinity, then we'd probably "waste" a few dozens
> of chips together, in relatively short time. 1000 PCS of any
> given IC would most probably be beyond our demands.
yeah, that's about where my mind was at after reading what
you were saying. Rob is a sharp person, but I didn't think
Rob had noticed your context -- or, if he had, had discounted
it for other reasons when he wrote, "If you need fewer
pieces than that, then at the end of the day you're just not
talking about much money as compared to the other engineering
costs." It's spoken from a professional perspective, but one
that has long since fogotten their roots and/or hobbyist
perspectives.
> > To OP: For a cheap hobbyist one-off with USB connection I'll probably
> > just grab an MSP430 LaunchPad off the shelf if the application idea
> > fits. It's already got connectors for a daughterboard, the cpu is
> > socketed, comes with two cpus,
>
> Somehow, I was unable to find out what exactly comes with this
> board? But given the price, it indeed looks like a nice thing
> to have.
You get:
• Nice box
• Paperwork
• ½ m USB cable
• Microcrystal MS3V-T1R tuning fork 32.768kHz crystal
• MSP430G2231 cpu, DIP
• MSP430G2211 cpu, DIP
• LaunchPad board, which includes a USB to host section
and a developer section with socket for cpu, two pushbuttons
for user use (as well as reset), two leds, one green, one
red, jumpers for enabling and disabling features, a special
interface for using the board to program target boards as
well (6-pin EZ430 connector), a power connector for your use
to run the board, and of course a USB connector
• four headers for daughter card extensions, 2 male-female
and 2 male-male
You can look for the documents, SLAU318 and the "Student
guide and Lab manual" for the LaunchPad (I don't know the
number for that one.)
There are two pins (dedicated if you want, or reusable for
any reason you want by pulling two jumpers) used for RxD and
TxD that talk with the USB section of the board. That section
then communicates with the host by setting up a HID virtual
COM port, automatically. Any serial port software can talk
with it.
> > a 32kHz xtal, two different colored LEDs, two different pushbuttons,
> > a USB cable, and uses RS232 between the target and the host via USB.
>
> Does that mean CDC ACM? Or that the board includes an USB to
> Serial (UART) converter (which is TUSB3410, I guess)?
Not sure what CDC ACM means. I'm sorry. But yes, I think it
uses the TUSB3410 chip plus another dedicated MSP430 as well
to run it and communicate with your target processor.
> > It is $4.30, good tools are available, and most anyone can easily get
> > one.
>
> ... But what surprises me is that while one can get this one for
> under $5, the TUSB3410 chip alone costs over $6.
Yeah. I know. And you can get completed AD9850 boards from
ebay for way less than you can buy an AD9850 chip, too.
Regardless, that's one reason this board is such a steal of a
deal. I've used it as the base of several successful projects
-- the first of which was snap onto a parallel-port printer
output of a device and to convert the output into a text file
on the PC, via the USB interface. Used both cpus for that
one, one to handle the parallel port interface comms and the
other to handle the rs-232 section, and using a versatile
protocol in between the two for synchronization and
buffering.
Jon