|
Hi. In answer to your questions above:
You say,"I found that the brain is actually a pic chip; So "... Not so. The brain is massively parallel, while a processor like the PIC is a pokey serial device. Yeah, I know, picky, picky, picky...
Q1) what is the big big difference between basic atom and basic stamp kit? A1) the Atom is faster (sometimes) and has more memory and internal peripherals, like ADC and a serial USART. Anything you can do on an Atom you can do on a Stamp. The PIC has some features built in (ADC, USART, PWM, CCP, etc.) that can operate in parallel with the logic unit, freeing up the PIC to do computations and comparisons much faster. The Stamp fakes these in software, which loads down the logic processor and slows it over all. More memory allows you to hold more variables, so do more math work, among other things. Most people who start with a Stamp to learn about processors eventually go to the Atom when they have more serious work to do.
Q2) can I "program" the PIC using the Basic Atom, after that, I took the PIC out and connect it to oscillator (say, 50 mhz), and then put the PIC on a breadboard? A2) Umm, yes. Your clock can't be more than 20MHz, however, and removing the processor to a breadboard is not necessary if you are just experimenting. Keep it on the module. You might want to do this if you're moving it to your final design. Read on...
Q3) Its always hard for me to find a programmer kit for the PIC in the place I live. So I am wondering if the Ultimate OEM Module kit would work as a programmer? A3) It will not work as a general purpose standalone programmer. Sorry. Actually, the Atom takes advantage of the PIC 16F87x's ability to program itself using a bootloader. The bootloader is a small chunk of code programmed into the chip that later can take more code and place it into memory. The Atom's bootloader uses a proprietary method to talk to a PC from the Atom BASIC program to load the program(s) you write. If you erase the PIC you will need a programmer to put another bootloader in place, but MicroBasic ain't gonna share the Atom bootloader code with you, OK? You'll have to buy another Atom processor and plug it into the module. As long as the bootloader is intact in the Atom you can continue programming new code you write 10,000 times... A LONG TIME!
So, you can go two routes: Plug the Atom into a breadboard and develop your project. Then: 1. Unplug the Atom processor with your program from the OEM module and plug it into a socket (or solder it in, whatever) on a board of your own design. 2. Design your final board to take the Atom module in its native form, side pins and all, and solder it in place. This is a little tricky, but doable. Basically, you design the "mother board" to take the Atom and any extra circuitry and connectors needed to do the job.
Actually, there's kind of a #3, but you lose the use of 2 or 3 pins to use this self programming feature, and you have to change jumpers a lot, so we'll skip it for now.
Hope that helped. kenjj
|