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 […]
Projects
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 […]
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 […]
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 […]
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 […]
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
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 […]
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 […]
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. […]
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 […]