Binary Calculator and Logic Analyzer

This project involves building a calculator on pushbuttons and DIP switches. 2 binary DIP switches are compared against each using logic AND OR NOR NAND. Also addition and subtraction can be performed on this calculator.

Demo of the calculator

/media/uploads/nickw0606/img_0262.jpg

Picture of the breadboard and setup

Import programlogicgame1

Binary Calculator code and directories

Parts list: Pushbuttons

DIP Switches

uLCD

Mbed Chip

Configurations for the parts can be found on mbed cookbook library and are linked below:

uLCD: http://developer.mbed.org/users/4180_1/notebook/ulcd-144-g2-128-by-128-color-lcd/

DIP and Pushbutton: http://developer.mbed.org/users/4180_1/notebook/pushbuttons/

Mbed Chip: http://developer.mbed.org/platforms/mbed-LPC1768/

PartsPin Placement
Pushbuttonp14, p15, p16, p17, p18, p23, p24
uLCD: 5V, RX, TX, GND, RESVu, p27, p28, GND, p30
DIPp19, p20, p21, p22
DIPp10, p11, p12, p13


Please log in to post comments.