Dick Cappels' project pages http://www.projects.cappels.org


Return to HOME (more projects)
AttoBasic Home

AttoBasic Versions 2.2 and 2.22 For ATmega88/168/328/32U4, With support for USB and Arduino
Byte wide basic, based on the original AttoBasic, version 2.2 includes all of the functions of version 2.1 that make it an
excellent hardware debug tool, as well as a platform for small programs





Data recorder using AttoBasic
AttoBasic Based Data Recorder (AVR Freaks Login Required)


Downloads are in the lower part of this page.

Overview
AttoBasic version 2.2 includes all the features of AttoBasic 2.1, including Scott Vitale's enhancements. but with new functions including a reatime counter and data file management.  Version 2.22 includes bug fixes, added support for the DHTxx series of low-cost temperature and humidity sensors and some improvments. See 00_WhatsNewInV222.pdf for details.

Operation
Programs are typed or loaded from a terminal via a line editor, and stored in internal RAM. SAVE and LOAD commands save and load the program from the on-chip EEPROM.

A Self-Start feature causes AttoBasic program stored in EEPROM to be loaded into RAM and begin execution if the Self-Start pin is held low during boot-up. This pin can be assigned during assembly. In the hex files on this web page the Self-Start pin is Port C bit 3 for the
ATmega88/168/328 versions and Port D bit 7 on the ATmega32U4. These pins have ineternal pull-ups.
 
The entire memory space is available for examination and modification via PEEK and POKE commands. 26 Variables (A..Z) are supported. All arithmetic and variables are byte-wide. Strings are not directly supported though all characters can be read with "KEY" and printed with "EMIT" commands.

The Line editor supports destructive backspace (delete key), line replacement, line deletion, and line insertion. Valid line numbers range is 0..255. Lines entered with a numeral in the first column will be stored, others will be interpreted when the carriage return (ENTER key) is received. The interpreter is not case-sensitive. PEEK and Poke provide access to the entire 64k data memory space which includes all I/O registers and all RAM -this can be useful for debugging or additional, indexed data storage. all on-chip peripherals. Special I/O commands support bit and byte I/O. GOSUB-RETURN and FOR-NEXT loops have one return level.



AttoBasic 2.2.2 Command List

To view the set of commands supported by AttoBasic Version 2.22, click here: CommandList_2v22.pdf

Application Note and example programs
AttoBasic Application Note and examples By Scott Vitale  Applications.zip

Pre-assembled 2.22 HEX Files For
ATmega88/168/328/32U4. 2013-0619_ATTOBASICV222_HEX.ZIP

Device Programming Instructions 
Everything you need to know about programming your AVR
by Scott Vital  Device_Programming_Instructions.pdf

Bootloaders (See Notes below)
Bootloaders.zip

Drivers_USB_Serial_2.22.zip 
(See Notes below)

Source Code
Here are all the files you need to build your own version of AttoBaisc 2.2.2. It also includes all the documentation and pre-assembled .hex files  2013-0628_ATTOBASICV222_CODE.ZIP



Older Version
AttoBasic 2.2. Complete package including source code   2012-0829_ATTOBASICV221_CODE.ZIP



Note1. The LUFA bootloader supplied in this package was written by and owned by Dean Camera   dean [at] fourwalledcubicle [dot] com,  http://www.lufa-lib.org
Note 2. The USB serial I/O code is from USB Serial Example for Teensy USB Development Board was copyrighted by PJRC.COM, LLC. See http://www.pjrc.com/teensy/
Please see the licensing statements accompanying the respective files.



Find updates at www.projects.cappels.org

AttoBasic Home
Return to HOME (More Projects)
 
Contents ©2012 and 2013 Scott Vitale and Richard Cappels. All Rights Reserved. Find updates at www.projects.cappels.org.

First posted in July, 2013.

You can send  email about AttoBasic 2.2 to Scott Vitale  at ksv_prj(at)gmx.com.  Replace "(at)" with "@" before mailing.

        You can send email to Dick Cappels about the web page and site at projects(at)cappels.org. Replace "(at)" with "@" before mailing.


Use of information presented on this page is for personal, nonprofit educational and noncommercial use only. This material (including object files) is copyrighted by Richard Cappels and Scott Vitale and may not be republished or used directly for commercial purposes without written permission. For commercial license, click here.

  Liability Disclaimer and intellectual property notice
(Summary: No warranties, use these pages at your own risk. You may use the information provided here for personal and educational purposes but you may not republish or use this information for any commercial purpose without explicit permission.) I neither express nor imply any warranty for the quality, fitness for any particular purpose or  user, or freedom from patents or other restrictions on the rights of use of any software, firmware, hardware, design, service,information, or advice provided, mentioned,or made reference to in these pages. By utilizing or relying on software, firmware, hardware, design, service,information, or advice provided, mentioned, or made reference to in these pages, the user takes responsibility to assume all risk and associated with said activity and hold Richard Cappels harmless in the event of any loss or expense associated with said activity. The contents of this web site, unless otherwise noted, is copyrighted by Richard Cappels. Use of information presented on this site for personal, nonprofit educational and noncommercial use is encouraged, but unless explicitly stated with respect to particular material, the material itself may not be republished or used directly for commercial purposes. For the purposes of this notice, copying binary data resulting from program files, including assembly source code and object (hex) files into semiconductor memories for personal, nonprofit educational or other noncommercial use is not considered republishing. Entities desiring to use any material published in this pages for commercial purposes should contact the respective copyright holder(s).
Original Document Location http://cappels.org/dproj/AttoBasic222/AttoBasic_2.22_with_USB_and_Arduino_support.html


Free Counters
Free Counters