|
|||
Getting Started - Identify my part by picture - TekBot Overview - TekBot Courses - Buy TekBots/Parts Core TekBot Systems - Motor Controller (mtr_ctlr.1) - Motor Controller (mtr_ctlr.2) - Analog Controller (anlg_ctlr.1) - Charger Board (chrg.1) - Tactile Whisker (sensor.1) - Mechanical Base (base.2) Specialized TekBot Systems - Radio Board (radio.0) - IR Wheel Encoder (ir_sense.1) - Tiny Motor Controller Board (tiny_mb.0) - USB Camera (usb_cam.1) - Backup Beeper (bu_bpr.0) Programmable TekBot Systems - FPGA Board (fpga_bd.0) - mega128 Board (mega128.1) - mega128 Board (mega128.2) - Digital Logic Controller (d_logic.1) - Digital Logic Controller (d_logic.2) - tiny26 Microcontroller (tiny26.0) - AVR Parallel Programmer (avr-isp) - d_logic Parallel Programmer (d_logic-isp.1) - TekBots Universal Programmer (usb_prog.0) Prototyping Systems - SMT Adapters (smt_adapt.0) - 2"x3.75" Protoboard (protoboard.1) - 4"x4.2" Protoboard (protoboard.0) - Daughter Board (daughter.0) Other Hardware Systems - Mechatronix Controller (mx_ctlr.0) - DataLogger Board (data_lgr.0) - DataLogger USB (data_lgr.1) - Burglar Alarm (bglr_alrm.0) |
mega 128 Board (mega128.2)Used 2004-present
Included in Kit
Relevant CoursesECE 375: Introduction to Computer Organization and AssemblyECE 473: Microprocessor System Design User Documentationmega128.2 User Guide - This guide covers the hardware elements of the mega128.2 board and gives the default test code used for testing the board as a reference. Look here to understand the features and how to use the mega128.2 board. mega128 Starter Guide - This guide can be used to help get staring using the mega128 board with AVR studio 4, programming in assembly. mega128 Instruction Set - This document for Atmel covers all of the assembly instructions for the AVR series of microcontrollers. CodeVision AVR Test Code - This code can be used with CodeVision AVR to test all of the functions of the mega128.2 board. For full testing, you need to have the send and receive of the UART/RS232 port connected together, and the IR and UART jumpers inserted. Follow the directions displayed on the LCD to test the device. AVR gcc Test Code - This code can be used with AVR gcc to test all of the functions of the mega128.1 board. For full testing, you need to have the send and receive of the UART/RS232 port connected together, and the IR and UART jumpers inserted. Follow the directions displayed on the LCD to test the device. Design FilesParts List (Excel File) - Parts list for the mega128.2 board. mega128.2 Silk Screen - The Silk Screen for the mega128.2 circuit board mega128.2 Schematic - The schematic for the mega128.2 board. Frequently Asked QuestionsQuestion: My LCD is hard to read / can only be read from an angle / displays nothing at all.Answer: Adjust the contrast control on the board. This is located to the left of the LCD on the main board in both the mega128.1 and mega128.2 boards. Insert a small flat screwdriver into the potentiometer, and turn. Be gentle, and be sure you think the LCD should be displaying something. Question: My LCD is still hard to read, and I have adjusted the contrast. Answer: The mega128.1 and mega128.2 boards can run reliably on as little as a 5 volt wall adapter or 3.5 volt battery connection, but the LCD will be dim and difficult to read. Verify the voltage being supplied to the mega128 board. Question: My LCD does not display anything. Answer: Be sure your LCD is enabled. Jumper J12 needs to be inserted on the mega128.2 board, and J21 on the mega128.1 board. Question: When I try to use the test code, the compiler says that there is a library missing! Answer: Be sure you are using the proper test code for the compiler you are using. You should use either CodeVision AVR, or AVR gcc. Question: How can I use both USARTs on the MEGA128 Answer: To use either of the USARTS on the mega128, you should refer USART section, pg 165, of the Atmel documentation for the mega128. A short list of registers you will need to touch for USART1 are; UCSR1C, UDR1, UCSR1A, UCSR1B, UBRR1L, UBRR1H. The mega128.2 is built so that you can connect the DB9 connector USART0 and the IR system to USART1. Consult the schematic to identify the proper jumper configuration. Submit a Question |
||
|
School of Electrical Engineering and Computer Science, 1148 Kelley Engineering Center |