Misplaced Pages

AVR Butterfly: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 02:49, 4 January 2007 edit203.143.215.251 (talk) Butterfly Specific Projects← Previous edit Latest revision as of 02:16, 2 June 2022 edit undoMbrickn (talk | contribs)Extended confirmed users7,204 edits External links 
(100 intermediate revisions by 55 users not shown)
Line 1: Line 1:
] ]
The '''AVR Butterfly''' <ref></ref> is a self-contained, battery-powered demonstration board running the ] ] ]. The board includes an ] screen, joystick, speaker, serial port, ], flash chip, temperature, light & voltage sensors. The board has a shirt pin on its back and can be worn as a name badge. The '''AVR Butterfly''' is a battery-powered ] developed by ]. It consists of an Atmel ] ], a ], ], speaker, ], ] (RTC), internal ], and sensors for temperature and voltage.<ref name=":0">{{Cite web|url=http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=ATAVRBFLY|title=AVR Butterfly - ATAVRBFLY {{!}} Microchip Technology Inc.|publisher=Microchip|access-date=2018-04-10}}</ref> The board is the size of a ] and has a clothing pin on back so it can be worn as such after the user enters their name onto the LCD.


== Feature set ==
The AVR Butterfly comes preloaded with software to demonstrate the capabilities of the microcontroller. Factory firmware can scroll your name, display the sensor readings, and show the time. Also, the AVR Butterfly has a piezo buzzer that can reproduce sound.


=== LCD ===
The AVRButterfly demonstrates LCD driving by running a 14-segment, 6 alpha-numeric character display. However, the LCD interface consumes many of the I/O pins.


The AVRButterfly demonstrates ] driving by running a ], six alpha-numeric character display. However, the LCD interface consumes many of the ] pins.<ref name=":1">{{Cite book|url=http://ww1.microchip.com/downloads/en/DeviceDoc/doc4271.pdf|title=AVR Butterfly Evaluation Kit - User Guide|publisher=Atmel Corporation|year=2005}}</ref>
The Butterfly's ATmega 169 CPU is capable of speeds up to 8Mhz, however it is factory set by software to 2Mhz to preserve the button battery life. A pre-installed bootloader program allows the board to be re-programmed with a standard RS-232 serial plug.


== Features == === CPU & Speed ===

* ATmega169V AVR 8-bit CPU, including 16Kbyte of Flash memory for code storage and 512 bytes of EEPROM for data storage
The Butterfly's ATmega169 CPU is capable of speeds up to 8&nbsp;MHz, however it is factory set by software to 2&nbsp;MHz to preserve the button battery life. There are free replacement ]s available that will launch programs at 1, 2, 4 or 8&nbsp;MHz speeds. Alternatively, this may be accomplished by changing the CPU ] in the application code.<ref name=":1" />
* 100-segment LCD display (no backlight)

* 4-Mbit (512-Kbyte) AT45 flash memory
=== Features ===

* ATmega169V AVR 8-bit CPU, including 16 ] of Flash memory for code storage and 512 ]s of ] for data storage
* 100-segment LCD (without backlight)
* 4-] (512-Kbyte) AT45 flash memory
* 4-way Mini-Joystick with center push-button * 4-way Mini-Joystick with center push-button
* Light, temperature, and voltage (0-5V range) sensors * Light, temperature, and voltage (0-5 V range) sensors (light sensor no longer included due to the ])
* Piezo speaker * Piezo speaker
* Solder pads for user-supplied connectors: 2 8-bit I/O ports, ], USI, ] * Solder pads for user-supplied connectors: 2 8-bit I/O ports, ], USI, ]
* RS232 level converter & interface (Cable and connector provided by end user) * RS232 level converter & interface (Cable and connector provided by end user)
* 3V battery holder (CR2450 battery included) * 3 V battery holder (CR2450 battery included)


=== Software ===
The Butterfly comes preloaded with software that demonstrates many features of the ATmega169, including reading of the ambient light level and temperature and playback of musical notes. The device has a clothing-pin attached to the back, so it may be worn as a nametag -- the "name" may be entered via the joystick or over the RS232 port, and will scroll across the LCD screen.


The Butterfly comes preloaded with software that demonstrates many features of the ATmega169, including reading of the ambient light level and temperature and playback of musical notes. The device has a clothing-pin attached to the back, so it may be worn as a name tag — the "name" may be entered via the joystick or over the RS-232 port, and will scroll across the LCD.<ref name=":1" />
Software may be written for the Butterfly using the ] assembly language or C. The unit may be reprogrammed through the RS232 serial port (requiring no special hardware), as well ss the ISP and JTAG ports.


=== Reprogramming ===
The Butterfly is capable of speeds up to 8Mhz, although the factory bootloader defaults all programs to 2Mhz. There are free replacement bootloaders available that will launch programs at higher speeds.


The Butterfly can be freely reprogrammed using the same toolchains as for many other AVR controllers, for example using the ] assembly language or the free ] (IDE) ''Atmel Studio'' for programming in ].<ref name=":1" />
The Butterfly is popular among hobbyists for its low price, its flexibility, the availability of free development software and the ability to reprogram it without using special hardware. Many fully-usable projects have been built using the Butterfly as a base platform, often with few or no additional parts:


A pre-installed bootloader allows the board to be re-programmed with a standard ] serial port, requiring no special hardware.<ref name=":0" /> The board also has ISP and ] ports for ] and debugging. All of these interfaces are implemented only as open soldering points, so the addition of some hardware is necessary to make them usable.<ref name=":0" /><ref name=":1" />
== Butterfly Specific Sites ==
*
*
*
*
*


== Butterfly Specific Projects == == Butterfly projects and applications ==

*
Several projects have been built using the Butterfly as a base platform, often with few or no additional parts:
* - An educational robot based on the AVR Butterfly.
* There's an award-winning educational robot based around the Butterfly called the ''FlutterBot''.<ref> {{webarchive |url=https://web.archive.org/web/20061205112619/http://www.flutterbot.com/ |date=December 5, 2006 }} - An educational robot based on the AVR Butterfly.</ref>
* - An open source MP3 player based on the AVR Butterfly.
* Project ''ButtLoad'' offers free plans to convert the Butterfly into a portable AVR-ISP for programming other AVR devices.<ref>{{Cite web|url=http://www.fourwalledcubicle.com/ButtLoad.php|title=ButtLoad|last=Camera|first=Dean|year=2007|publisher=Four Walled Cubicle|access-date=2018-04-10}}</ref>
* - An open source datalogger project based on the AVR Butterfly.
* Several plans are available on the web to convert a Butterfly into an MP3 player.<ref>{{Cite web|url=http://www.brokentoaster.com/butterflymp3/index.html|title=AVR Butterfly MP3|date=18 May 2008|website=www.brokentoaster.com|access-date=2018-04-10}}</ref>
* - Open source firmware-only solution to transform the Butterfly into an AVRStudio-compatible AVRISP programmer clone.
* ''C Programming for Microcontrollers'', a book for learning to program AVRs using C, was written for the Butterfly as development platform.<ref>{{Cite web|url=http://www.smileymicros.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=26|title=C Programming Book for Microcontrollers|date=2006-04-27|website=Smiley Micros|archive-url=https://web.archive.org/web/20071031161305/http://www.smileymicros.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=26|archive-date=31 October 2007|access-date=2018-04-10}}</ref><ref>{{Cite news|url=http://www.nutsvolts.com/magazine/article/smileys_workshop_an_avr_c_programming_series_part_1|title=Smiley's Workshop 1: Introducing the AVR C Programming Workshop Series|last=Pardue|first=Joe|date=August 2008|work=]|access-date=2018-04-10|language=en-US}}</ref>
* The Butterfly Logger is an open source ] based on the AVR Butterfly.<ref>{{Cite web|url=https://www.brokentoaster.com/butterflylogger/index.html|title=AVR Butterfly Logger|website=www.brokentoaster.com|access-date=2018-04-10}}</ref>
* The Butteruino project is a set of libraries to integrate the AVR Butterfly with the ] development environment.<ref>{{Cite web|url=https://code.google.com/archive/p/butteruino/|title=Google Code Archive - Long-term storage for Google Code Project Hosting.|website=code.google.com|language=en|access-date=2018-04-10}}</ref>


== References == == References ==
<references/>


{{reflist}}
]

{{microcompu-stub}}
== External links ==

*
*
*
*

]
]
]
]

Latest revision as of 02:16, 2 June 2022

AVR Butterfly Module

The AVR Butterfly is a battery-powered single-board microcontroller developed by Atmel. It consists of an Atmel ATmega169PV Microcontroller, a liquid crystal display, joystick, speaker, serial port, real-time clock (RTC), internal flash memory, and sensors for temperature and voltage. The board is the size of a name tag and has a clothing pin on back so it can be worn as such after the user enters their name onto the LCD.

Feature set

LCD

The AVRButterfly demonstrates LCD driving by running a 14 segment, six alpha-numeric character display. However, the LCD interface consumes many of the I/O pins.

CPU & Speed

The Butterfly's ATmega169 CPU is capable of speeds up to 8 MHz, however it is factory set by software to 2 MHz to preserve the button battery life. There are free replacement bootloaders available that will launch programs at 1, 2, 4 or 8 MHz speeds. Alternatively, this may be accomplished by changing the CPU prescaler in the application code.

Features

  • ATmega169V AVR 8-bit CPU, including 16 Kbyte of Flash memory for code storage and 512 bytes of EEPROM for data storage
  • 100-segment LCD (without backlight)
  • 4-Mbit (512-Kbyte) AT45 flash memory
  • 4-way Mini-Joystick with center push-button
  • Light, temperature, and voltage (0-5 V range) sensors (light sensor no longer included due to the RoHS directive)
  • Piezo speaker
  • Solder pads for user-supplied connectors: 2 8-bit I/O ports, ISP, USI, JTAG
  • RS232 level converter & interface (Cable and connector provided by end user)
  • 3 V battery holder (CR2450 battery included)

Software

The Butterfly comes preloaded with software that demonstrates many features of the ATmega169, including reading of the ambient light level and temperature and playback of musical notes. The device has a clothing-pin attached to the back, so it may be worn as a name tag — the "name" may be entered via the joystick or over the RS-232 port, and will scroll across the LCD.

Reprogramming

The Butterfly can be freely reprogrammed using the same toolchains as for many other AVR controllers, for example using the Atmel AVR assembly language or the free integrated development environment (IDE) Atmel Studio for programming in C.

A pre-installed bootloader allows the board to be re-programmed with a standard RS-232 serial port, requiring no special hardware. The board also has ISP and JTAG ports for in-circuit programming and debugging. All of these interfaces are implemented only as open soldering points, so the addition of some hardware is necessary to make them usable.

Butterfly projects and applications

Several projects have been built using the Butterfly as a base platform, often with few or no additional parts:

  • There's an award-winning educational robot based around the Butterfly called the FlutterBot.
  • Project ButtLoad offers free plans to convert the Butterfly into a portable AVR-ISP for programming other AVR devices.
  • Several plans are available on the web to convert a Butterfly into an MP3 player.
  • C Programming for Microcontrollers, a book for learning to program AVRs using C, was written for the Butterfly as development platform.
  • The Butterfly Logger is an open source data logger based on the AVR Butterfly.
  • The Butteruino project is a set of libraries to integrate the AVR Butterfly with the Arduino development environment.

References

  1. ^ "AVR Butterfly - ATAVRBFLY | Microchip Technology Inc". Microchip. Retrieved 2018-04-10.
  2. ^ AVR Butterfly Evaluation Kit - User Guide (PDF). Atmel Corporation. 2005.
  3. FlutterBot Archived December 5, 2006, at the Wayback Machine - An educational robot based on the AVR Butterfly.
  4. Camera, Dean (2007). "ButtLoad". Four Walled Cubicle. Retrieved 2018-04-10.
  5. "AVR Butterfly MP3". www.brokentoaster.com. 18 May 2008. Retrieved 2018-04-10.
  6. "C Programming Book for Microcontrollers". Smiley Micros. 2006-04-27. Archived from the original on 31 October 2007. Retrieved 2018-04-10.
  7. Pardue, Joe (August 2008). "Smiley's Workshop 1: Introducing the AVR C Programming Workshop Series". Nuts and Volts Magazine. Retrieved 2018-04-10.
  8. "AVR Butterfly Logger". www.brokentoaster.com. Retrieved 2018-04-10.
  9. "Google Code Archive - Long-term storage for Google Code Project Hosting". code.google.com. Retrieved 2018-04-10.

External links

Categories:
AVR Butterfly: Difference between revisions Add topic