Projects

CARLETON PROJECTS

CARLETON PROJECTS

This is the Carleton Weather Station, at least the computer end of it.  The data acquisition  system is to the left and the web server is the Mac computer.  It is located in Olin 206. This is the Carleton Weather Station’s data acquisition system.  This replaced a 1995 Mac and some daq boards.  This daq […]

Remove your Microstick for a minute and make sure your breadboard matches the following picture. Then make sure your neighbors breadboard matches the picture.

CSCI 255 — Pin I/O on the PIC

Getting ready You’ll need the follow hardware for this lab. Breadboard — large or medium Microstick Two resistors — 330 to 470 Ω Two LED’s Two push-down switches A small amount of wire Microchip references PIC24HJ32GP302/304, PIC24HJ64GPX02/X04 and PIC24HJ128GPX02/X04 datasheet PIC24H Family Reference Manual Pin I/O and the special function registers On the PIC microcontroller […]

FT230

EENG 383

Requirements Working in teams of two, read through the following lab activity and perform all the actions prescribed. You do not need to document bullet items. Make a record of your response to numbered items and turn them in a single copy as your teams solution on Canvas using the instructions posted there. Include the […]

Adding an assembler program

CSCI 255 — Introduction to MIPS32 Assembly

In this lab we are going to use MPLAB® X IDE and its associate XC32 compiler to write and debug a PIC32 assembler program. The MPLAB X software is NetBeans based and will run under Linux, Mac and Windows. You can download your own copy of MPLAB X from Microchip’s MPLAB  X download page. You will want a copy […]

Interferometer Signal Inputs and Sensors Schematic

Assembly Instructions for the µMD1 using the Digilent chipKit DP32

Assembly using the chipKIT DP32 Board Unless you dug up a dusty chipKit DP32 in the back of one of your electronics junk drawers (or I unloaded the last one I have), what’s in here is mostly irrelevant. Go (back) to Assembly using SG-µMD1. Electronic Parts List using the chipKit DP32 The following are the components […]

COM Port Lookup Device Manager

Serial communication with Matlab

Overview Matlab has a “serial” function that allows it to communicate through a serial port. This project is to establish serial port connection with the PIC microcontroller and demonstrate bidirectional communication between the PIC and a Matlab program. For demonstration purposes, the PIC will send digital potentiometer readings to Matlab as well as receive keystrokes […]

Setting up the PIC Microcontroller

Setting up the PIC Microcontroller

The following programs are examples that I use for teaching the programming of 8-bit PIC microcontrollers. A good reference is the book “Designing Embedded Systems with PIC microcontrollers: Principles and Applications” by Tim Wilmshurst. The datasheet for the PIC is also a good reference for information on the bits for each memory address register in […]

Common PIC microcontrollers in different package formats.

Lab 10: Programming the PIC Microcontroller

IntroductionBy now, you should be familiar with the workings of the 68HC12 and how it can be used to performcomputations and interface to peripheral devices. Although the 68HC12 is a popular microcontrollerused in many industry, research, and hobbyist projects, it is important to learn about how othermicrocontrollers work to get a general understanding of how […]

PIC18 on a board

Building a PIC18C and System-on-a-Chip in an FPGA

Description The goal of the PIC18C project is to design, develop a synthesizible VHDL model, verify it using test programs, and implement a core of the Microchip PIC18C microcontroller. The microcontroller core is fully compatibile with the PIC18 series allowing program development using high-level programming languages such as C. The project phases are described below. […]

Writing the program onto the chip

The 5 minute intro to using the PIC16F84A microcontroller

News Aug. 13, 2009: There was a problem with the C code I posted initially, which I fixed. Get a new version from below if you tried the code and it didn’t work. Facts data sheet http://ww1.microchip.com/downloads/en/devicedoc/35007b.pdf pins: Writing and compiling code for the 16F84A The thing is, there are people in this world who like […]