ARM HOW-TO GUIDE Interfacing Traffic Light with LPC2148

Similar documents
Connecting To and Programming the LPC2148 Blue Board. Method 1 ISP (In-System Programming) w/ Flash Magic

8 PIN PIC PROGRAMMABLE BOARD (DEVELOPMENT BOARD & PROJECT BOARD)

CoLinkEx JTAG/SWD adapter USER MANUAL

Lesson Sequence: S4A (Scratch for Arduino)

Introduction. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Embest Emlink for ARM Cortex-M3. User Manual

LAB NAME: ELECTRONICS LABORATORY. Ammeters (0-1mA, 0-10mA, 0-15mA, 0-30mA, 0-50mA, 0-100mA,0-50µA,0-

SWITCH: Microcontroller Touch-switch Design & Test (Part 2)

N3ZI Digital Dial Manual For kit with Serial LCD Rev 3.04 Aug 2012

ELECTRONIC GAME KIT ESSENTIAL INFORMATION. Version 2.0 BUILD YOUR OWN MEMORY & REACTIONS

Digital (5hz to 500 Khz) Frequency-Meter

Digital Clock. Perry Andrews. A Project By. Based on the PIC16F84A Micro controller. Revision C

Combo Board.

The Haply Development Kit

LED Array Board.

You will be first asked to demonstrate regular operation with default values. You will be asked to reprogram your time values and continue operation

AL330B-DMB-A0 Digital LCD Display SOC Demo Board

Alice EduPad Board. User s Guide Version /11/2017

research platform comma.ai, github.com/commaai/neo

User s Manual of ET-TFT240320TP-2.8: GRAPHIC-LCD COLOR+TOUCH SCREEN ET- TFT240320TP-2.8. Header 1x20. LCD+Touch DIP SW1. TSC SEL DIP SW2.

AXE101 PICAXE-08M2 Cyberpet Kit

N3ZI Digital Dial Manual For kit with Backlit LCD Rev 4.00 Jan 2013 PCB

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil

Alice EduPad for Tiva or MSP432 TI ARM Launchpad. User s Guide Version /23/2017

ET398 LAB 4. Concurrent Statements, Selection and Process

Ten-Tec (865) Service Department:(865)

JTAGcable II In Circuit Emulator for Atmel AVR microcontrollers. User s Guide REV 1.0. Many ideas one solution

BASCOM-TV. TV Code Features: ICs supported: BASCOM versions:

ELECTRONIC GAME KIT TEACHING RESOURCES. Version 2.0 BUILD YOUR OWN MEMORY & REACTIONS

Digital IC Tester by Using PIC18F4550

Mal-2 assembly guide v1.0

Parts Checklist - Please note there is no resistor R3. Diodes, LED and transistors are polarized see construction stages

A Real Time Hi Speed Tracker for Chain Snatcher

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Introduction 1. Green status LED, controlled by output signal ST. Sounder, controlled by output signal Q6. Push switch on input D6

REV CHANGE DESCRIPTION NAME DATE. A Release

SXGA096 DESIGN REFERENCE BOARD

Nixie Clock Type Quattro'

Senior Design Project: Blind Transmitter

Embedded Systems Lab. Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection

7 SEGMENT LED DISPLAY KIT

COLOUR CHANGING USB LAMP KIT

IOT BASED ENERGY METER RATING

Documentation VFD clock 8 a clock

DMC550 Technical Reference

Total solder points: 117 Difficulty level: beginner advanced. RGB Controller K8088 ILLUSTRATED ASSEMBLY MANUAL

INTELLIGENT VEHICLE TO CONTROL THE ILLUMINATION IN HIGHWAYS TO AVOID ACCIDENTS

Evaluation Board for CS4954/55

ECE 372 Microcontroller Design

uresearch GRAVITECH.US GRAVITECH GROUP Copyright 2007 MicroResearch GRAVITECH GROUP

TV Character Generator

Figure 1: AHK1421 Evaluation Board Pictures.

COPYRIGHT NOVEMBER-1998

Tools to Debug Dead Boards

IoT Mini Prototype Board with LPC54018 IoT Module

ATA8520D Production and EOL Testing. Features. Description ATAN0136 APPLICATION NOTE

RAPID SOC PROOF-OF-CONCEPT FOR ZERO COST JEFF MILLER, PRODUCT MARKETING AND STRATEGY, MENTOR GRAPHICS PHIL BURR, SENIOR PRODUCT MANAGER, ARM

Embedded System Training Module ABLab Solutions

Data Conversion and Lab (17.368) Fall Lecture Outline

A/D and D/A convertor 0(4) 24 ma DC, 16 bits

Low-speed serial buses are used in wide variety of electronics products. Various low-speed buses exist in different

DRAFT Microprocessors B Lab 3 Spring PIC24 Inter-Integrated Circuit (I 2 C)

Introduction 1. Green status LED, controlled by output signal ST

Introduction 1. Digital inputs D6 and D7. Battery connects here (red wire to +V, black wire to 0V )

Azatrax Model Railroad Track Signal Control - Single Track

Image Processing Using MATLAB (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

Serial Digital Interface Reference Design for Stratix IV Devices

AD9884A Evaluation Kit Documentation

How to overcome/avoid High Frequency Effects on Debug Interfaces Trace Port Design Guidelines

Getting Started with Launchpad and Grove Starter Kit. Franklin Cooper University Marketing Manager

HV-122-DCA DVB-T 2-Way Diversity Receiver Box Quick Installation Guide

Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8

APPLICATION NOTE. Atmel AVR32850: ATSAM4L-EK User Guide. Atmel SAM4L. Features. Introduction

Total solder points: 123 Difficulty level: beginner 1. advanced AUDIO ANALYZER K8098. audio gea Give your. . high-tech ILLUSTRATED ASSEMBLY MANUAL

EEM Digital Systems II

MSP430-HG2231 development board Users Manual

Christmas LED Snowflake Project

MATLAB & Image Processing (Summer Training Program) 4 Weeks/ 30 Days

Copyright 2011 by Enoch Hwang, Ph.D. and Global Specialties. All rights reserved. Printed in Taiwan.

Design of Vision Embedded Platform with AVR

Traffic Light Controller

MAKE AN RGB CONTROL KNOB.

AC : EXPERIMENTS AND RESEARCH ACTIVITIES IN A MICROCONTROLLER LABORATORY

ProMOS. Bravo1601. Stand-alone BLE SMD Modules. Datasheet (V1.0) ProMOS Co., Ltd. IoT Solutions Provider.

Debugging a Mixed Signal Design with a Tektronix Mixed Signal Oscilloscope

APPLICATION NOTE 4312 Getting Started with DeepCover Secure Microcontroller (MAXQ1850) EV KIT and the CrossWorks Compiler for the MAXQ30

XTAL Bank DDS Version 0.02 Sept Preliminary, highly likely to contain numerous errors

Bill of Materials: Super Simple Water Level Control PART NO

ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

SignalTap Plus System Analyzer

Design and analysis of microcontroller system using AMBA- Lite bus

E M E - Antenna Controller System - OE5JFL. Block diagram

USER'S MANUAL. Getting started with ALEXAN ATMEL AT89C2051/AT89C4051 Training Module - 1

The Serial Port is Dead! Long Live the Serial Port! USB Serial Port Breadboard Experiments with the FTDI FT232R

Assembly Instructions And User Guide. Nixie FunKlock. FunKlock Issue 4 (1 February 2017)

Activity #5: Reaction Timer Using the PIN and CON commands Real World Testing Chapter 3 Review Links

Configuring FLASHlogic Devices

Lego Robotics Module Guide

Review : 2 Release Date : 2019 Last Amendment : 2013 Course Code : SKEE 2742 Procedure Number : PK-UTM-FKE-(0)-10

Implementing Audio IP in SDI II on Arria V Development Board

Transcription:

ARM HOW-TO GUIDE Interfacing Traffic Light with LPC2148

Contents at a Glance ARM7 LPC2148 Primer Board... 3 Traffic Light Control... 3 About the colors of Traffic Light Control... 4 Interfacing Traffic Light with LPC2148... 5 Pin Assignment with LPC2148... 5 Circuit Diagram to Interface Traffic Light with LPC2148... 6 Source Code... 6 Testing the Traffic Light Controller with LPC2148... 7 General Information... 8

ARM7 LPC2148 Primer Board The ARM7 LPC2148 Primer board is specifically designed to help students to master the required skills in the area of embedded systems. The kit is designed in such way that all the possible features of the microcontroller will be easily used by the students. The kit supports in system programming (ISP) which is done through serial port. NXP s ARM7 (LPC2148), ARM Primer Kit is proposed to smooth the progress of developing and debugging of various designs encompassing of High speed 32-bit Microcontrollers. Traffic Light Control Traffic lights, which may also be known as stoplights, traffic lamps, traffic signals, signal lights, robots or semaphore, are signaling devices positioned at road intersections, pedestrian crossings and other locations to control competing flows of traffic.

About the colors of Traffic Light Control Traffic lights alternate the right of way of road users by displaying lights of a standard color (red, yellow/amber, and green), using a universal color code (and a precise sequence to enable comprehension by those who are color blind). In the typical sequence of colored lights: Illumination of the green light allows traffic to proceed in the direction denoted, Illumination of the yellow/amber light denoting, if safe to do so, prepare to stop short of the intersection, and Illumination of the red signal prohibits any traffic from proceeding. Usually, the red light contains some orange in its hue, and the green light contains some blue, for the benefit of people with red-green color blindness, and "green" lights in many areas are in fact blue lenses on a yellow light (which together appear green).

Interfacing Traffic Light with LPC2148 The Traffic light controller section consists of 12 Nos. point leds are arranged by 4Lanes in LPC2148 Primer Board. Each lane has Go(Green), Listen(Yellow) and Stop(Red) LED is being placed. Pin Assignment with LPC2148 LAN Direction LPC2148 Lines LED s Traffic Light Controller NORTH P0.4 D11-Go P0.5 D12-Listen P0.6 D13-Stop WEST P0.7 D14-Go P0.8 D15-Listen GO LISTEN STOP 330E 330E 330E P0.9 D16-Stop SOUTH P0.10 D17-Go LANE Make high to - LED On P0.11 D18-Listen LANE LANE P0.12 D19-Stop EAST P0.13 D20-Go P0.14 D21-Listen LANE GLCD Traffic SW30 P0.15 D22-Stop

61 62 XTAL2 XTAL1 VREF VDD1 VDD2 VDD3 VDDA 63 51 43 23 7 C C Circuit Diagram to Interface Traffic Light with LPC2148 D18 1 2 3.3V D17 6 18 25 42 50 59 U16 VSS1 VSS2 VSS3 VSS4 VSS5 VSSA LPC2148 P0.11 P0.10 P0.9 P0.8 P0.7 P0.6 P0.5 P0.4 37 35 34 33 31 30 29 27 LED D16 1 2 D15 D14 LED D13 1 2 D12 D11 9 8 7 6 5 4 3 2 220E-SIL R49 1 LED D22 1 2 12MHz P0.15 P0.14 P0.13 P0.12 45 41 39 38 D21 D20 LED D19 1 2 9 8 7 6 5 4 3 2 R50 1 C66 22pf X28 C67 22pf LED TRAFFIC LIGHT CONTROLLER 220EK-SIL Source Code The Interfacing Traffic Light Control with LPC2148 program is very simple and straight forward, which controls Traffic Light in certain time period. The C program is written in Keil software.

To compile the C code, you must need the KEIL software. They must be properly set up and a project with correct settings must be created in order to compile the code. To compile the C code, the C file must be added to the project. In Keil, you want to develop or debug the project without any hardware setup. You must compile the code for generating HEX file. In debugging Mode, you want to check the port output without LPC2148 Primer Board. The Flash Magic software is used to download the hex file into your microcontroller IC LPC2148 through UART0. Testing the Traffic Light Controller with LPC2148 Give +3.3V power supply to LPC2148 Primer Board; the LED is connected with LPC2148 Primer Board. When the program is downloading into LPC2148 in Primer Board, the LED output is working that some LED is ON and some LED is OFF in the Traffic Light format.

If you not reading any output from LED, then you just check the jumper connections & check the LED is working. Otherwise you just check it with debugging mode in Keil. If you want to see more details about debugging just see the videos in below link. How to Create & Debug a Project in Keil. General Information For proper working use the components of exact values as shown in Circuit file. Wherever possible use new components. Solder everything in a clean way. A major problem arises due to improper soldering, solder jumps and loose joints. Use the exact value crystal shown in schematic. More instructions are available in following articles, User Manual of LPC2148 Primer Board. Tutorial of how to create & Debug a project in Keil.

Did you enjoy the read? Pantech solutions creates information packed technical documents like this one every month. And our website is a rich and trusted resource used by a vibrant online community of more than 1,00,000 members from organization of all shapes and sizes.

What do we sell? Our products range from Various Microcontroller development boards, DSP Boards, FPGA/CPLD boards, Communication Kits, Power electronics, Basic electronics, Robotics, Sensors, Electronic components and much more. Our goal is to make finding the parts and information you need easier and affordable so you can create awesome projects and training from Basic to Cutting edge technology.