Customer Feedback AVR Demo Program ![]() ![]() ![]()
|
For more Info:
Any PC parallel printer port can be used to program the chip. You will need a DB-25-male to DB-25 female cable with at least pins 2, 4, 5, 11, and 25(Gnd) connected straight through between the DB-25 male and the DB-25 female. Standard DB-25 male to female extension cables that have all 25 wires connected straight through, are fine for this job. We also have suitable cables for this project. Introduction:
"rAVeR!" This has 2048 bytes in the demo mode, which is already greater than the storage capacity of the TOY Basic Interpreters that are around. You don't need a serial EEPROM, and you don't need a Programmer, as you can program it with 5 wires connected to your Printer Port. But this is a compiler, not an Interpreter, which means it runs at lightning speed by comparison. PICmicros have a divide by 4 clock. AVR's run at 1 instruction per cycle, so a 10Mhz device is running at 10 mips. A similar PICmicro with a 10Mhz clock would be running at 2.5 mips. The program runs from within the micro, not from a slow external serial EEPROM. There is simply no comparison. You don't need an external serial EEPROM. This setup is based on the
AT90S2313-10-PC
20 pin DIP, 10Mhz, 2K Flash Micro, however most popular Atmel AVR micros
can be used. The AT90S2313-10 is a 10 mips device. Unlike the PICmicro
chips used in some Basic Interpreters, these micros have real UART's for
RS-232 Communications.
31-Mar-2000 From B.T. Salt Ash NSW Australia. Hi Don, I got the AVR kits up and running in no time, the BASCOM compiler is a joy to use! (Unlike that pig of a thing I bought from Dick Smith) Why should you use a Stamp or other pre-programmed chip when it is so simple to program the chip yourself? BASCOM-AVR is a BASIC
compiler for the AVR microprocessor. Instead of an interpreter,
you get a real native code compiler.
BASCOM-AVR is an IDE (Integrated Development Environment) with a multiple file editor, syntax highlighting, terminal emulator and integrated programmer. Making a program is as simple as:
The available data types are bit, byte, integer, word, long, single and string. The integrated simulator is not ready yet but until it is finished (Q1 of 2000) you can use the free Atmel AVR Studio debugger to simulate and debug your program. The
programmer cable is simple to make:
Note that pin 18, 19 , 20, 21, 22, 23 , 24 and 25 of the DB25 male connector must be connected to each other. The simple cable programmer design is from Sample Electronics. To protect your LPT port you can put 330 ohm resistors in series with the MOSI, RESET and CLOCK signals. However, all was tested without these resistors without any problem.
The circuit above shows the
connections for a DT104 SimmStick.
The AVR microprocessors can be programmed repeatedly up to 1000 times! You can download the DEMO from our website for free. All you need more is a PCB with an AVR microcontroller and a simple LPT connector. In order to get you up and running fast we provide the BASCOM-AVR Starter KIT. Steps to success
![]() Click the Next button. ![]() Click the Next button. ![]() Change it and/or press the Next button. ![]() ![]() ![]() Press the Finish button. Now it is important to REBOOT your PC. This will register the used OLE controls. ![]() ![]() Now you can ERASE and program
the loaded file to the target chip.
The little rAVeR! board is now available, so this project is now done on our our new DT006 SimmStick Board. Sample Electronics programmer The parallel port Sample Electronics programmer is described above but for completeness, here are the connections again:
The programmer can be used to program other AVR chips as well. In addition, of course you can create your own PCB or prototype board too. When you are using the Sample Electronics programmer take in mind that a crystal must be connected to most of the AVR chips. (the 8 pin parts are an exception they have a built in RC oscillator). When you encounter problems
or have question please send an email to avrdemo@mcselec.com
Have fun,
BASCOM-AVR Full Version: The full version Bascom-Avr
compiler is just
($69USD)
Additional information on the 2313 Micro can be found on the Atmel site at: http://www.atmel.com/atmel/products/prod200.htm http://www.mcselec.com/bascom.htm has details for subscribing to the Bascom Mail list and the archives can be viewed at: http://www.grote.net/bascom/maillist.html
Other boards that may be of interest for the RunAVR family of Micros are: DT004 $15AUD DT005 $15AUD DT103 $11AUD Simm100 $11AUD DT207 $8AUD and in fact you should check
out all of the SimmStick info.
References: Gordon
McComb (gmccomb@gmccomb.com) wrote:
: Don, I've been looking
at BASCOM AVR the past few weeks, and this "QBasic" stuff you've mentioned
here a few times just doesn't do it justice. Anyone here who has used QBasic
may get the wrong idea. Yes,: the syntax is comparable, but the functionality
definitely is not!
see: http://www.danny-newport.com/Winprogs.html
This program is a gui interface
for WPPISP.exe written by Alan Biocca. His program is a dos program
for writing HEX/ROM images to Atmel's 2313 micro after it has been written
and compiled from AVR-GCC which is a free
|