AVR PCD8544 DRIVER DOCUMENTATION

Size: px
Start display at page:

Download "AVR PCD8544 DRIVER DOCUMENTATION"

Transcription

1 AVR PCD8544 DRIVER DOCUMENTATION Ishraq Ibne Ashraf 14th September

2 1. INTRODUCTION AVR PCD8544 Driver is a one header file driver for supporting AVR microcontrollers in driving PCD8544 based 84x48 dot-matrix displays. Compared to all the Arduino based drivers this driver is quite low level. The users will have convenience making character sets or doing low level stuffs with the display. This driver provides the independence to choose various megaavr MCUs and does not depend on specific a board like Arduino. 2. DEPENDENCIES There are some dependencies of this driver noted as follows, Currently this driver only supports megaavrs. The AVR for which the driver is being used must have hardware SPI support. Only hardware SPI with SPCR, SPSR and SPDR registers is supported by this driver. 3. FEATURES Below are the features of this driver, Simple and easy interface for controlling the PCD8455 based 84x48 dot-matrix displays. Does not depend on specific board like Arduino but supports most of the megaavrs. Being quite low level gives the freedom to design new custom electronics with megaavrs and PCD8544 based displays. Provides convenience to develop new character sets and custom graphics. The user doesn't have to worry about the initialization of the display. It is done by calling a function which is available on the interface. Custom commands can be set from the functions of the interface. Function available on the interface to write data and any command to the display controller. 4. USAGE Its quite simple using this driver. Below is a step by step description of how to use this driver, 1. Add the header file in the project in which the driver needs to be installed. 2. Include the header file on the file of the project where the driver must be used. 3. There are some mandatory preprocessor defines that must be defined before the include of the header file. These defines are described on TABLE After the previous steps the interface functions can be used and accessed in the project. 2

3 5. THE INTERFACE 5.1 HARDWARE The serial communication interface of the PCD8544 controller uses the following lines, SCE PIN DESCRIPTION This is the CHIP select pin of the controller. Active LOW. DC This pin of the controller defines where the received data is a command or data. 0 = COMMAND, 1 = DATA. RES MOSI MISO SCLK BL 5.2 MANDATORY DEFINES This is the reset pin of the controller. Active LOW. Serial data out pin of the controller. Which is connected to the serial data in pin of the display controller. Serial data in pin of the controller. SPI clock pin of the controller. This pin is connected to the serial clock pin of the display controller. Back-light controller pin. This pin is connected to the backlight pin of the display controller. TABLE-5.1 These defines are to define the interface used to communicate with the display controller. With these defines six pins are defined those are used. Each pin has three defines for defining the DDR, PORT and the pin number in the port that is being used. Lets say we are using pin number 2 of PORTB as our SCE pin. In this case the defines for the SCE pin should be as following, #define SCE_DDR DDRB #define SCE_PORT PORTB #define SCE_PIN 2 LISTING-5.2 Below is TABLE-5.2 that describes all these mandatory defines. 3

4 #define SCE_DDR <DDR_REGISTER> #define SCE_PORT <PORT_REGISTER> #define SCE_PIN <PIN_NUMBER> #define DC_DDR <DDR_REGISTER> #define DC_PORT <PORT_REGISTER> #define DC_PIN <PIN_NUMBER> #define RES_DDR <DDR_REGISTER> #define RES_PORT <PORT_REGISTER> #define RES_PIN <PIN_NUMBER> #define MOSI_DDR <DDR_REGISTER> #define MOSI_PORT <PORT_REGISTER> #define MOSI_PIN <PIN_NUMBER> #define MISO_DDR <DDR_REGISTER> #define MISO_PORT <PORT_REGISTER> #define MISO_PIN <PIN_NUMBER> #define SCLK_DDR <DDR_REGISTER> #define SCLK_PORT <PORT_REGISTER> #define SCLK_PIN <PIN_NUMBER> #define BL_DDR <DDR_REGISTER> #define BL_PORT <PORT_REGISTER> #define BL_PIN <PIN_NUMBER> SCE PIN DEFINES DC PIN DEFINES RES PIN DEFINES MOSI PIN DEFINES MISO PIN DEFINES SCLK PIN DEFINES BL PIN DEFINES TABLE-5.2 4

5 5.3 FUNCTIONS The function set provided by this driver is divided into four types, 1. General Functions 2. Function Set 3. Basic Instructions 4. Extended Instructions The functions which take arguments from the user during invocation returns 0 for failure and 1 for success after executing the function. Its best if the user is always checks for these return values during invocation of these functions. The tables below describes the functions of this driver interface GENERAL FUNCTIONS FUNCTION NAME RETURNS ARGUMENTS DESCRIPTION pcd8544_init void void Initialize the display controller. pcd8544_send_command uint8_t : 0 or 1 [1]uint8_t : Command to be sent pcd8544_write_data uint8_t : 0 or 1 [1]uint8_t : Data to be written Send commands to the controller in byte. Send data to be written to the display in byte. pcd8544_clear_screen void void Clears all the pixels of the display. pcd8544_fill_screen void void Turns on all the pixels of the display. pcd8544_backlight_toggle uint8_t : 0 or 1 [1] uint8_t : Turn BL on/off (0 = OFF, 1 = ON) TABLE Turns the display backlight on/off. 5

6 5.3.2 FUNCTION SET FUNCTION NAME RETURNS ARGUMENTS DESCRIPTION pcd8544_cmd_function_set uint8_t : 0 or 1 [1]uint8_t : PD(Power Down) [2]uint8_t : V(Vertical or Horizontal Addressing) [3]uint8_t : H(Basic or extended instructions) BASIC INSTRUCTIONS TABLE Controls the parameters defined as function set on the pcd8544 datasheet. FUNCTION NAME RETURNS ARGUMENTS DESCRIPTION pcd8544_cmd_nop void void Sends NOP instruction to the display contorller pcd8544_cmd_display_blank void void Blanks the display. pcd8544_cmd_normal_mode void void Switches to normal mode. pcd8544_cmd_all_segments _on pcd8544_cmd_inverse_video _mode void void Turns on all segments. void void Enables inverse video mode. pcd8544_cmd_setx uint8_t : 0 or 1 [1]uint8_t : The X coordinate (0-83) pcd8544_cmd_sety uint8_t : 0 or 1 [1]uint8_t : The Y coordinate (0-5) pcd8544_cmd_setxy uint8_t [1]uint8_t : The X coordinate (0-83) [2]uint8_t : The Y coordinate (0-5) Sets X coordinate of the cursor on the display. Sets Y coordinate of the cursor on the display. Sets the X and Y coordinate of the cursor. pcd8544_cmd_setxy_origin void void Sets X and Y coordinates of the cursor at zero EXTENDED INSTRUCTIONS TABLE FUNCTION NAME RETURNS ARGUMENTS pcd8544_cmd_set_temp erature_coefficient pcd8544_cmd_set_bias_ system uint8_t : 0 or 1 uint8_t : 0 or 1 [1]uint8_t : Temperature coefficient value (0-3) [1]uint8_t : Bias system value (0-7) pcd8544_cmd_set_vop uint8_t : 0 or 1 [1]uint8_t : Operating voltage value (0-63) TABLE DESCRIPTION Sets the temperature coefficient. Sets the bias system. Sets the operating voltage. 6

7 6. EXAMPLE CODE SNIPPET //defines for SCE pin #define SCE_DDR DDRB #define SCE_PORT PORTB #define SCE_PIN 2 //defines for DC pin #define DC_DDR DDRB #define DC_PORT PORTB #define DC_PIN 0 //defines for RES pin #define RES_DDR DDRB #define RES_PORT PORTB #define RES_PIN 1 //defines for MOSI pin #define MOSI_DDR DDRB #define MOSI_PORT PORTB #define MOSI_PIN 3 //defines for MISO pin #define MISO_DDR DDRB #define MISO_PORT PORTB #define MISO_PIN 4 //defines for SCLK pin #define SCLK_DDR DDRB #define SCLK_PORT PORTB #define SCLK_PIN 5 //defines for BL pin #define BL_DDR DDRD #define BL_PORT PORTD #define BL_PIN 7 //program includes #include <avr/io.h> #include "avr_pcd8544_driver.h" #include "util/delay.h" //the main function int main(){ //initializing the display pcd8544_init(); //turning on the display backlight pcd8544_backlight_toggle(0x01); while(1){ } //turning on all the pixels of the screen pcd8544_fill_screen(); _delay_ms(250); //turning off all the pixels of the screen pcd8544_clear_screen(); _delay_ms(250); } return 0; LISTING-6 7

SPI bus communication with LDE/LME pressure sensors

SPI bus communication with LDE/LME pressure sensors This Application Note discusses methods and special considerations related to the Serial Peripheral Interface (SPI) protocol used to communicate digitally with LDE and LME series pressure sensors. 1. Scope

More information

C-CODE EXAMPLE FOR SCP1000-D01 PRESSURE SENSOR

C-CODE EXAMPLE FOR SCP1000-D01 PRESSURE SENSOR C-CODE EXAMPLE FOR SCP1000-D01 PRESSURE SENSOR 1 INTRODUCTION The objective is to set up SPI communication between VTI Technologies' digital pressure sensor component and an MCU of an application device.

More information

SPI: Serial Peripheral Interface

SPI: Serial Peripheral Interface ECE3411 Fall 2015 Lab 6c. SPI: Serial Peripheral Interface Marten van Dijk, Syed Kamran Haider Department of Electrical & Computer Engineering University of Connecticut Email: {vandijk, syed.haider}@engr.uconn.edu

More information

Demystifying the TLC5940. Matthew T. Pandina

Demystifying the TLC5940. Matthew T. Pandina Demystifying the TLC5940 Matthew T. Pandina artcfox@gmail.com August 1, 2011 ii c 2010 Matthew T. Pandina. Verbatim copying and redistribution of this entire book is permitted provided this notice is preserved.

More information

< W3150A+ / W5100 Application Note for SPI >

< W3150A+ / W5100 Application Note for SPI > < W3150A+ / W5100 Application Note for SPI > Introduction This application note describes how to set up the SPI in W3150A+ or W5100. Both the W3150A+ and W5100 have same architecture. W5100 is operated

More information

CN310 Microprocessor Systems Design

CN310 Microprocessor Systems Design CN310 Microprocessor Systems Design Microcontroller Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3 Microprocessor

More information

Serial Peripheral Interface (SPI)

Serial Peripheral Interface (SPI) SPI = Simple, 3 wire, full duplex, synchronous serial data transfer Interfaces to many devices, even many non-spi peripherals Can be a master or slave interface 4 interface pins: -MOSI master out slave

More information

Layman definition: Gadgets and devices Technical definition: Self-controlled devices Usually, such systems consist of I/O (input/output) devices such

Layman definition: Gadgets and devices Technical definition: Self-controlled devices Usually, such systems consist of I/O (input/output) devices such Layman definition: Gadgets and devices Technical definition: Self-controlled devices Usually, such systems consist of I/O (input/output) devices such as LCDs, keypads, etc. and other devices like EEPROM

More information

An FTDI connection: The ATtiny microcontrollers don t have a hardware UART External Crystal header pins for an optional crystal

An FTDI connection: The ATtiny microcontrollers don t have a hardware UART External Crystal header pins for an optional crystal Getting Started with the T-Board The T-Board modules were designed to speed up your AVR prototyping. This guide will show you just how quickly you can get up and running with the Hello World for microcontrollers

More information

esp32-pcd8544 Release

esp32-pcd8544 Release esp32-pcd8544 Release Sep 23, 2017 Contents 1 Contents 3 1.1 Get Started................................................ 3 1.2 API Reference.............................................. 4 i ii This is

More information

AVR Board Setup General Purpose Digital Output

AVR Board Setup General Purpose Digital Output ECE3411 Fall 2016 Lab 2a. AVR Board Setup General Purpose Digital Output Marten van Dijk, Chenglu Jin Department of Electrical & Computer Engineering University of Connecticut Email: {marten.van_dijk,

More information

Robosoft Systems in association with JNCE presents. Swarm Robotics

Robosoft Systems in association with JNCE presents. Swarm Robotics Robosoft Systems in association with JNCE presents Swarm Robotics What is a Robot Wall-E Asimo ABB Superior Moti ABB FlexPicker What is Swarm Robotics RoboCup ~ 07 Lets Prepare for the Robotics Age The

More information

Page 1 of 7. Samtron/Samsung 20S204DA2

Page 1 of 7. Samtron/Samsung 20S204DA2 Page 1 of 7 Samtron/Samsung 20S204DA2 Disclaimer This documentation based on try & error and should never be treated as official documentation. There is no guarantee that information listed in this document

More information

Introduction to Micro-controllers. Anurag Dwivedi

Introduction to Micro-controllers. Anurag Dwivedi Introduction to Micro-controllers Anurag Dwivedi Lecture Structure Things to be covered today.. What is a micro-controller? What are the basic features of a microcontroller? How to input and output from

More information

Programming Microcontroller Assembly and C

Programming Microcontroller Assembly and C Programming Microcontroller Assembly and C Course Number CLO : 2 Week : 5-7 : TTH2D3 CLO#2 Student have the knowledge to create basic programming for microcontroller [C3] Understand how to program in Assembly

More information

APPLICATION NOTE. Atmel AT02260: Driving AT42QT1085. Atmel QTouch. Features. Description

APPLICATION NOTE. Atmel AT02260: Driving AT42QT1085. Atmel QTouch. Features. Description APPLICATION NOTE Atmel AT02260: Driving AT42QT1085 Atmel QTouch Features Overview of Atmel AT42QT1085 Circuit configuration with Host MCU SPI communication Demonstration program Description This application

More information

Contents. List of Figures. TermDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3

Contents. List of Figures. TermDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3 TermDriver Datasheet 1 Contents 1 Overview 2 2 Features 2 3 Installation with Arduino 3 4 Operation 4 4.1 ANSI escape codes......................... 5 4.2 High-resolution modes........................

More information

ESPino - Specifications

ESPino - Specifications ESPino - Specifications Summary Microcontroller ESP8266 (32-bit RISC) WiFi 802.11 (station, access point, P2P) Operating Voltage 3.3V Input Voltage 4.4-15V Digital I/O Pins 9 Analog Input Pins 1 (10-bit

More information

C Programming in Atmel Studio 7 Step by Step Tutorial

C Programming in Atmel Studio 7 Step by Step Tutorial C Programming in Atmel Studio 7 Step by Step Tutorial Sepehr Naimi NicerLand.com 1/1/017 Contents Introduction... Downloading and Installing Atmel Studio... 3 Opening Atmel Studio... 3 Creating the first

More information

60mA maximum (all channels on)

60mA maximum (all channels on) macetech documentation ShiftBrite 2.0 A ShiftBrite 2.0 [http://macetech.com/store/index.php?main_page=product_info&cpath=1& products_id=1] has an RGB LED and a small controller chip, the Allegro A6281.

More information

Features 2.4 GHz Carrier Frequency RS232 UART interface with variable baud rate Input supply voltage: 5V to 12V 255 possible Channels frequencies (0 to 255) Programmable Device Address (255 per channel)

More information

Color 7 click. PID: MIKROE 3062 Weight: 19 g

Color 7 click. PID: MIKROE 3062 Weight: 19 g Color 7 click PID: MIKROE 3062 Weight: 19 g Color 7 click is a very accurate color sensing Click board which features the TCS3472 color light to digital converter with IR filter, from ams. It contains

More information

PARALLEL COMMUNICATIONS

PARALLEL COMMUNICATIONS Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you do this? You could connect PORTA of the sending computer (set up as an output port) to PORTA of the receiving

More information

Thermo 6 click PID: MIKROE-2769

Thermo 6 click PID: MIKROE-2769 Thermo 6 click PID: MIKROE-2769 Thermo 6 click is a precise and versatile ambient temperature measurement click board, based on the Maxim Integrated MAX31875 temperature sensor. This sensor has a great

More information

Flash 4 click. PID: MIKROE 3191 Weight: 24 g

Flash 4 click. PID: MIKROE 3191 Weight: 24 g Flash 4 click PID: MIKROE 3191 Weight: 24 g Flash 4 click is a perfect solution for the mass storage option in various embedded applications. With fast performance being one of its key features, Flash

More information

Overview RFSv4.3 is a RF module providing easy and flexible wireless data transmission between devices. It is based on AVR Atmega8 with serial output which can be interfaced directly to PC. Features 2.4

More information

ArduCAM-M-2MP Camera Shield

ArduCAM-M-2MP Camera Shield 33275-MP ArduCAM-M-2MP Camera Shield 2MP SPI Camera Hardware Application Note Rev 1.0, Mar 2015 33275-MP ArduCAM-M-2MP Hardware Application Note Table of Contents 1 Introduction... 2 2 Typical Wiring...

More information

3.2inch SPI Module MSP3218 User Manual

3.2inch SPI Module MSP3218 User Manual 3.2inch SPI Module MSP3218 User Manual www.lcdwiki.com 1 / 23 Rev1.0 Product Description The LCD module uses a 4-wire SPI communication method with a driver IC of ILI9341 with a resolution of 240x320 and

More information

Smart.IO Host Interface Layer and Demo Programs

Smart.IO Host Interface Layer and Demo Programs Smart.IO Host Interface Layer and Demo Programs V0.3 Nov 15th, 2017 richard@imagecraft.com Richard Man, ImageCraft, https://imagecraft.com/smartio To use the Smart.IO toolkit, you include the Smart.IO

More information

// sets the position of cursor in row and column

// sets the position of cursor in row and column CODE: 1] // YES_LCD_SKETCH_10_14_12 #include //lcd(rs, E, D4, D5, D6, D7) LiquidCrystal lcd(8, 9, 4, 5, 6, 7); int numrows = 2; int numcols = 16; void setup() Serial.begin(9600); lcd.begin(numrows,

More information

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 CONTENTS dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches and Jumpers 7 MCU Sockets 8 Power Supply 10 On-Board USB 2.0 Programmer 11 MikroICD 12 RS-232 Communication Circuit 13

More information

ET-BASE AVR ATmega64/128

ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on

More information

CHAPTER 6 CONCLUSION AND SCOPE FOR FUTURE WORK

CHAPTER 6 CONCLUSION AND SCOPE FOR FUTURE WORK 134 CHAPTER 6 CONCLUSION AND SCOPE FOR FUTURE WORK 6.1 CONCLUSION Many industrial processes such as assembly lines have to operate at different speeds for different products. Process control may demand

More information

ATMEL PIN MACROS. Here is an example on Stack Overflow. As a concrete example, we might consider

ATMEL PIN MACROS. Here is an example on Stack Overflow. As a concrete example, we might consider ATMEL PIN MACROS Introduction When writing simple digital I/O code on Atmel microcontrollers, the standard approach is to access the PIN, PORT and DDR registers directly. Here is an example on Stack Overflow.

More information

6.1. EE 109 Unit 6. LCD Interfacing

6.1. EE 109 Unit 6. LCD Interfacing 6.1 EE 109 Unit 6 LCD Interfacing LCD BOARD 6.2 6.3 The EE 109 LCD Shield The LCD shield is a 16 character by 2 row LCD that mounts on top of the Arduino Uno. The shield also contains five buttons that

More information

ZedboardOLED Display Controller IP v1.0

ZedboardOLED Display Controller IP v1.0 ZedboardOLED Display Controller IP v. Reference Manual ZedboardOLED Display Controller IP v. Overview The ZedboardOLED controller is responsible for initializing the OLED display panel according to the

More information

BUS=="usb", ACTION=="add", SYSFS{product}=="AVRISP mkii", MODE="0666", SYMLINK+="avrdev"

BUS==usb, ACTION==add, SYSFS{product}==AVRISP mkii, MODE=0666, SYMLINK+=avrdev Get the arduino code from http://arduino.cc/en/main/software On unbunto get the avr compilers and downloaders apt-get install gdb-avr avrdude avr-libc Using the AVRISP mkii under linux You need to set

More information

spi 1 Fri Oct 13 13:04:

spi 1 Fri Oct 13 13:04: spi 1 Fri Oct 1 1:: 1.1 Introduction SECTION SERIAL PERIPHERAL INTERFACE (SPI) The SPI module allows full-duplex, synchronous, serial communication with peripheral devices.. Features Features of the SPI

More information

Using Arduino Boards in Atmel Studio 7

Using Arduino Boards in Atmel Studio 7 Using Arduino Boards in Atmel Studio 7 Sepehr Naimi www.nicerland.com 12/17/2017 Contents Introduction... 3 Installing Atmel Studio and Making the First Project... 3 Downloading Avrdude... 3 Checking COM

More information

Arduino Dock 2. The Hardware

Arduino Dock 2. The Hardware Arduino Dock 2 The Arduino Dock 2 is our supercharged version of an Arduino Uno R3 board. These two boards share the same microcontroller, the ATmel ATmega328P microcontroller (MCU), and have identical

More information

Lecture 2. Introduction to Microcontrollers

Lecture 2. Introduction to Microcontrollers Lecture 2 Introduction to Microcontrollers 1 Microcontrollers Microcontroller CPU + ++++++++++ Microprocessor CPU (on single chip) 2 What is a Microcontroller Integrated chip that typically contains integrated

More information

Contents. List of Figures. SPIDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3

Contents. List of Figures. SPIDriver Datasheet 1. 1 Overview 2. 2 Features 2. 3 Installation with Arduino 3 SPIDriver Datasheet 1 Contents 1 Overview 2 2 Features 2 3 Installation with Arduino 3 4 Operation 4 4.1 ANSI escape codes......................... 5 4.2 High-resolution modes........................ 6

More information

LAB4. Program the on chip SPI module

LAB4. Program the on chip SPI module LAB4 Program the on chip SPI module Outline Learn to utilize the on-chip SPI module Implement it in C Translate it to ARM Assembly Test and verify the result using oscilloscope and shift register. Serial

More information

Design with Microprocessors

Design with Microprocessors Design with Microprocessors Lecture 6 Interfaces for serial communication Year 3 CS Academic year 2017/2018 1 st Semester Lecturer: Radu Dănescu Serial communication modules on AVR MCUs Serial Peripheral

More information

EE 109 Unit 4. Microcontrollers (Arduino) Overview

EE 109 Unit 4. Microcontrollers (Arduino) Overview 1 EE 109 Unit 4 Microcontrollers (Arduino) Overview 2 Using software to perform logic on individual (or groups) of bits BIT FIDDLING 3 Numbers in Other Bases in C/C++ Suppose we want to place the binary

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 10 Serial communication with devices: Serial Peripheral Interconnect (SPI) and Inter-Integrated Circuit (I 2 C) protocols College of Information Science and Engineering

More information

How to use RFpro in Packet Mode

How to use RFpro in Packet Mode How to use RFpro in Packet Mode Jumper Setting Priority Jumper J1 à Configuration Mode Jumper à Higher Priority Jumper J2 à Packet Mode Jumper à Lower Priority When both the jumpers are connected, by default,

More information

Pedometer 3 Click. PID: MIKROE 3259 Weight: 24 g

Pedometer 3 Click. PID: MIKROE 3259 Weight: 24 g Pedometer 3 Click PID: MIKROE 3259 Weight: 24 g The Pedometer 3 click is a tri-axis acceleration sensing Click board utilizing the KX126-1063. An advanced three-axis acceleration sensor, the KX126-1063

More information

- Open-source and open-hardware modular robotic platform specially created for educational purposes.

- Open-source and open-hardware modular robotic platform specially created for educational purposes. General Features - Open-source and open-hardware modular robotic platform specially created for educational purposes. - On-Board programmer compatible with many microcontrollers: Mega Series ATmega8xx

More information

ArduCAM-M-5MP Camera Shield

ArduCAM-M-5MP Camera Shield ArduCAM-M-5MP Camera Shield 5MP SPI Camera User Guide Rev 1.0, Mar 2015 Table of Contents 1 Introduction... 2 2 Application... 2 3 Features... 3 4 Key Specifications... 3 5 Pin Definition... 3 6 Block

More information

2.2" TFT Display. Created by lady ada. Last updated on :19:15 PM UTC

2.2 TFT Display. Created by lady ada. Last updated on :19:15 PM UTC 2.2" TFT Display Created by lady ada Last updated on 2017-12-22 11:19:15 PM UTC Guide Contents Guide Contents Overview Pinouts Assembly Arduino Wiring Arduino UNO or Compatible Wiring Wiring for Other

More information

Designing and Building A Cable Tester. Elliot Maude

Designing and Building A Cable Tester. Elliot Maude Designing and Building A Cable Tester Elliot Maude 500513330 Table of Contents: Introduction: Why a microcontroller?: 8 bit Or 32 bit: Selecting the Microcontroller: Hardware: Buttons: Input and Output

More information

Serial communications with SPI

Serial communications with SPI Serial communications with SPI DRAFT VERSION - This is part of a course slide set, currently under development at: http://mbed.org/cookbook/course-notes We welcome your feedback in the comments section

More information

USER GUIDE. Atmel maxtouch Xplained Pro. Preface

USER GUIDE. Atmel maxtouch Xplained Pro. Preface USER GUIDE Atmel maxtouch Xplained Pro Preface Atmel maxtouch Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. The board enables the user to experiment with user interface

More information

FireBeetle Covers-OSD Character Overlay Module SKU:DFR0515

FireBeetle Covers-OSD Character Overlay Module SKU:DFR0515 FireBeetle Covers-OSD Character Overlay Module SKU:DFR0515 Introduction OSD is the abbreviation of On-screen Display, this is a screen menu adjustment display technology to add different menu-style characters

More information

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches 7 Jumpers 8 MCU Sockets 9 Power Supply 11 On-board USB 2.0 Programmer 12 Oscillator 14 LEDs 15 Reset Circuit 17 Push-buttons

More information

IAS0430 MICROPROCESSOR SYSTEMS

IAS0430 MICROPROCESSOR SYSTEMS IAS0430 MICROPROCESSOR SYSTEMS Fall 2018 Arduino and assembly language Martin Jaanus U02-308 martin.jaanus@ttu.ee 620 2110, 56 91 31 93 Learning environment : http://isc.ttu.ee Materials : http://isc.ttu.ee/martin

More information

Software debouncing of buttons

Software debouncing of buttons Software debouncing of buttons snigelen February 5, 2015 1 Introduction Connecting a button as an input to a micro-controller is a relatively easy task, but there are some problems. The main problem is

More information

GRAPHICS LCD INTERFACING WITH 8051

GRAPHICS LCD INTERFACING WITH 8051 GRAPHICS LCD INTERFACING WITH 8051 It may require some graphics image to be displayed in 8051 based products through a monochrome bitmap LCD. This is considered to be a complex task because of its bus

More information

ADSmartIO Driver Specification for Windows CE

ADSmartIO Driver Specification for Windows CE Version: 1.0 ADS document #110110-4004A Last Saved: 12/21/00 2:51 PM Applied Data Systems Inc. 9140 Guilford Road, Columbia, MD 21046 301-490-4007 Driver Change Log Version Release # Date By Changes Draft

More information

AVR Prog-S. Programmer for AVR microcontrollers. User Manual

AVR Prog-S. Programmer for AVR microcontrollers. User Manual AVR Prog-S Programmer for AVR microcontrollers User Manual Ω - Omega MCU Systems Copyright 2011 Contents Introduction...2 AVR Prog-S main features...2 Usage...3 1. Connecting to the Host Computer...3 2.

More information

Application Note. Interfacing the CS5521/22/23/24/28 to the 68HC05. Figure 1. 3-Wire and 4-Wire Interfaces

Application Note. Interfacing the CS5521/22/23/24/28 to the 68HC05. Figure 1. 3-Wire and 4-Wire Interfaces Application Note Interfacing the CS5521/22/23/24/28 to the 68HC05 TABLE OF CONTENTS 1. INTRODUCTION... 1 2. ADC DIGITAL INTERFACE... 1 3. SOFTWARE DESCRIPTION... 2 3.1 Initialize... 2 3.2 Write Channel

More information

Downloaded from Elcodis.com electronic components distributor

Downloaded from Elcodis.com electronic components distributor CONTENTS LV24-33A KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches and Jumpers 7 MCU Sockets 8 Power Supply 10 On-board USB 2.0 Programmer 11 RS-232 Communication Circuit 12 LEDs 14 Push

More information

Supplementary Materials: Fabrication of a Lab on Chip Device Using Material Extrusion (3D Printing) and Demonstration via Malaria Ab ELISA

Supplementary Materials: Fabrication of a Lab on Chip Device Using Material Extrusion (3D Printing) and Demonstration via Malaria Ab ELISA S1 of S10 Supplementary Materials: Fabrication of a Lab on Chip Device Using Material Extrusion (3D Printing) and Demonstration via Malaria Ab ELISA Maria Bauer and Lawrence Kulinsky * 1. Program Code

More information

ATMega128 Rapid Robot Controller Board [RKI-1148]

ATMega128 Rapid Robot Controller Board [RKI-1148] ATMega128 Rapid Robot Controller Board [RKI-1148] Users Manual Robokits India info@robokits.co.in Robokits World http://www.robokitsworld.com http://www.robokitsworld.com Page 1 Thank you for purchasing

More information

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers Serial Perpherial Interface (SPI) Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA April 9, 2018 Aly El-Osery

More information

The EE 109 LCD Shield

The EE 109 LCD Shield EE 109 Unit 9 LCD 1 LCD BOARD 2 3 The EE 109 LCD Shield The LCD shield is a 16 character by 2 row LCD that mounts on top of the Arduino Uno. The shield also contains five buttons that can be used as input

More information

SPLDuino Programming Guide

SPLDuino Programming Guide SPLDuino Programming Guide V01 http://www.helloapps.com http://helloapps.azurewebsites.net Mail: splduino@gmail.com HelloApps Co., Ltd. 1. Programming with SPLDuino 1.1 Programming with Arduino Sketch

More information

Character Based LCD Module Interface.

Character Based LCD Module Interface. Character Based LCD Module Interface. xboard MINI Documentation www.extremeelectronics.co.in Using LCD Modules. When you start working with LCD modules you will start feeling the real power of MCUs and

More information

UNIVERSITY OF CONNECTICUT. ECE 3411 Microprocessor Application Lab: Fall Quiz II

UNIVERSITY OF CONNECTICUT. ECE 3411 Microprocessor Application Lab: Fall Quiz II Department of Electrical and Computing Engineering UNIVERSITY OF CONNECTICUT ECE 3411 Microprocessor Application Lab: Fall 2015 Quiz II There are 5 questions in this quiz. There are 9 pages in this quiz

More information

PIXI click PID: MIKROE Weight: 28 g

PIXI click PID: MIKROE Weight: 28 g PIXI click PID: MIKROE-2817 Weight: 28 g PIXI click is equipped with MAX11300 IC from Maxim Integrated, which features Maxim Integrated's versatile, proprietary PIXI technology - it is the industry's first

More information

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Introduction the Serial Communications Huang Sections 9.2,.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS2 to another. How can you do

More information

AVR-Ready2. Additional Board. Manual. MikroElektronika

AVR-Ready2. Additional Board. Manual. MikroElektronika AVR-Ready2 Manual All Mikroelektronika s development systems feature a large number of peripheral modules expanding microcontroller s range of application and making the process of program testing easier.

More information

Stepper 6 click. PID: MIKROE 3214 Weight: 26 g

Stepper 6 click. PID: MIKROE 3214 Weight: 26 g Stepper 6 click PID: MIKROE 3214 Weight: 26 g Stepper 6 click is the complete integrated bipolar step motor driver solution. It comes with the abundance of features that allow silent operation and optimal

More information

04/12/11 version 1.0

04/12/11 version 1.0 04/12/11 version 1.0 Assembly Manual and Hardware Description for the Universal Graphics Display Module Kit This document describes the physical assembly and operation of the new KibaCorp Universal Graphic

More information

Arduino Uno R3 INTRODUCTION

Arduino Uno R3 INTRODUCTION Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running

More information

Serial Communication Through an Asynchronous FIFO Buffer

Serial Communication Through an Asynchronous FIFO Buffer Serial Communication Through an Asynchronous FIFO Buffer Final Project Report December 9, 2000 E155 Nick Bodnaruk and Andrew Ingram Abstract: For our clinic, we need to be able to use serial communication

More information

ECG 2 click PID: MIKROE Weight: 30 g. Condition: New product. Table of contents

ECG 2 click PID: MIKROE Weight: 30 g. Condition: New product. Table of contents ECG 2 click PID: MIKROE-2507 Weight: 30 g Condition: New product Track the patterns of your beating heart with ECG 2 click. ECG 2 click contains ADS1194 16 bit deltasigma analog to digital converters from

More information

AVR Helper Library 1.3. Dean Ferreyra

AVR Helper Library 1.3. Dean Ferreyra AVR Helper Library 1.3 Dean Ferreyra dean@octw.com http://www.bourbonstreetsoftware.com/ November 11, 2008 Contents 1 Introduction 2 2 Build and Installation 3 2.1 Build..................................

More information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

WEATHER STATION WITH SERIAL COMMUNICATION

WEATHER STATION WITH SERIAL COMMUNICATION WEATHER STATION WITH SERIAL COMMUNICATION Written by: Wenbo Ye, Xiao Qu, Carl-Wilhelm Igelström FACULTY OF ENGINEERING, LTH Digital and Analogue Projects EITF11 Contents Introduction... 2 Requirements...

More information

ET-MINI W5100 ET-MINI W5100

ET-MINI W5100 ET-MINI W5100 User s Manual of Board ET-MINI W00 ET-MINI W00 ET-MINI W00 is Board that has been designed to be the intermediate between Microcontroller that has no any Ethernet Port and Ethernet Network. This board

More information

Accel 5 click. PID: MIKROE 3149 Weight: 24 g

Accel 5 click. PID: MIKROE 3149 Weight: 24 g Accel 5 click PID: MIKROE 3149 Weight: 24 g Accel 5 click features an ultra-low power triaxial accelerometer sensor, labeled as the BMA400. This Click board allows linear motion and gravitational force

More information

1.6inch SPI Module user manual

1.6inch SPI Module user manual 1.6inch SPI Module user manual www.lcdwiki.com 1 / 10 Rev1.0 Product Description The 1.6 module is tested using the ESP8266MOD D1 Mini development board, Both the test program and the dependent libraries

More information

1.8inch LCD Module USER MANUAL

1.8inch LCD Module USER MANUAL 1.8inch LCD Module USER MANUAL OVERVIEW This product is 1.8inch resistive screen module with resolution 128x160. It has internal controller and uses SPI interface for communication. It has already basic

More information

Embedded Systems and Software

Embedded Systems and Software Embedded Systems and Software Potpourri & Notes on Lab 2 Artist's concept of Mars Exploration Rover. Courtesy NASA Lab 2 Notes Slide 1 The AVR Assembler We use the AVRASM2 assembler that comes with AVR

More information

Figure 1: Byte 1 Byte 2 MISO <--- OVF EOM P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P

Figure 1: Byte 1 Byte 2 MISO <--- OVF EOM P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P A Winbond Company Applications Note 5A Operations, a Simplified Guide A simple but powerful command structure is built into the 4000 series SPI control port. It s inherent flexibility allows the software

More information

#include <avr/io.h> #include <avr/interrupt.h> #define F_CPU UL // 8 MHz.h> #include <util/delay.h>

#include <avr/io.h> #include <avr/interrupt.h> #define F_CPU UL // 8 MHz.h> #include <util/delay.h> #include #include #define F_CPU 8000000UL // 8 MHz.h> #include unsigned char buttonpressed; int tempout; int tempin; int realtempout; int realtempin; int maxalarm;

More information

Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut

Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut ECE3411 Fall 2016 Wrap Up Review Session Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut Email: marten.van_dijk@uconn.edu Slides are copied from Lecture 7b, ECE3411

More information

Omega MP. Multi-Programming Shield for Atmel Microcontrollers. User Manual

Omega MP. Multi-Programming Shield for Atmel Microcontrollers. User Manual Omega MP Multi-Programming Shield for Atmel Microcontrollers User Manual Ω - Omega MCU Systems Copyright 2012 Contents Introduction...2 Omega MP main features:...2 Getting Started...3 Assumptions...3 1.

More information

BroadR-Reach click PID: MIKROE Weight: 26 g

BroadR-Reach click PID: MIKROE Weight: 26 g BroadR-Reach click PID: MIKROE-2796 Weight: 26 g BroadR-Reach click brings the industry grade communication standard to the mikrobus, which is built to be used in an Ethernet-based open network. The click

More information

The EE 109 LCD Shield

The EE 109 LCD Shield EE 109 Unit 7 LCD 1 LCD BOARD 2 3 The EE 109 LCD Shield The LCD shield is a 16 character by 2 row LCD that mounts on top of the Arduino Uno. The shield also contains five buttons that can be used as input

More information

chip1controller /* * SeniorDesignI2C.c * * Created: 11/24/2014 6:54:26 PM * Author: Robert Bower / Alonzo Ubilla * Chip 1 control */

chip1controller /* * SeniorDesignI2C.c * * Created: 11/24/2014 6:54:26 PM * Author: Robert Bower / Alonzo Ubilla * Chip 1 control */ /* * SeniorDesignI2C.c * * Created: 11/24/2014 6:54:26 PM * Author: Robert Bower / Alonzo Ubilla * Chip 1 control */ #include #include #include #include "TWI_slave.h"

More information

Embedded Systems. Introduction. The C Language. Introduction. Why C instead ASM. Introduction to C Embedded Programming language

Embedded Systems. Introduction. The C Language. Introduction. Why C instead ASM. Introduction to C Embedded Programming language Introduction Embedded Systems Introduction to C Embedded Programming language Why C instead ASM 1. C is a high level language, it is easier to write and read than assembly codes. 2. You don't have to think

More information

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems document is still valid. Contact information:

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems document is still valid. Contact information: austriamicrosystems AG is now The technical content of this austriamicrosystems document is still valid. Contact information: Headquarters: Tobelbaderstrasse 30 8141 Unterpremstaetten, Austria Tel: +43

More information

AVR 40 Pin Rapid Robot controller board

AVR 40 Pin Rapid Robot controller board AVR 40 Pin Rapid Robot controller board User Manual Robokits India http://www.robokits.org info@robokits.org - 1 - Thank you for purchasing the AVR 40 Pin Rapid Robot controller board. This unit has been

More information

INTEGRATED CIRCUITS V3.1. Version Originator Date FZB Comments

INTEGRATED CIRCUITS V3.1. Version Originator Date FZB Comments INTEGRATED CIRCUITS DATA SHEET Change history: V3. Version Originator Date FZB-2-23- Comments V2. P.Oelhafen 2 Jul. 33 RFS update V2. P.Oelhafen 4 Aug. 44 RFS update fig4 correction V2.2 P.Oelhafen 9 Aug.

More information

Gaussmeter click. PID: MIKROE 3099 Weight: 23 g

Gaussmeter click. PID: MIKROE 3099 Weight: 23 g Gaussmeter click PID: MIKROE 3099 Weight: 23 g Gaussmeter click is a device that is used for measuring the magnetic field in X, Y and Z axes. This Click board features the MLX90393, a micropower magnetometer

More information

1.5inch OLED Module User Manual

1.5inch OLED Module User Manual 1.5inch OLED Module User Manual OVERVIEW This is a general OLED display module, 1.5inch diagonal, 128*128 pixels, 16-bit grey level, with embedded controller, communicating via SPI or I2C interface. FEATURES

More information

Pressure 4 click. PID: MIKROE 3020 Weight: 24 g

Pressure 4 click. PID: MIKROE 3020 Weight: 24 g Pressure 4 click PID: MIKROE 3020 Weight: 24 g Pressure 4 click is an absolute barometric pressure measurement Click board, which features a low power consumption, high precision barometric pressure sensor.

More information