UPC EETAC Bachelor's Degree in Telecommunications Systems and in Network Engineering EEL

L12.2

Lecture 3

L12.3:  Other peripherals, projects and demonstrations

[P12] Microcontroller applications, research papers and final bachelor thesis

AR2

[1 June]

 

3.8.4. Other examples

3,8.4.1. Johnson_sequencer_mod12_LCD_TMR0 (design phase#3) 

3.8.4.2. Serial transmitter with LCD and TMR2  (P12) (design phase#4) 

3.8.4.3. Duty-cycle modulator: LED dimmer

 


Activity #1: Use the PIC18F TMR0 or TMR2 and external interrupts to measure car speed on the road. Let us imagine two metal-detector sensors S1 and S2 buried in the tarmac separated 5 m. We can consider a resolution of 1 km/h, thus the output will be an 8-bit radix-2 output vector Speed(7..0). Let as also imagine a CSD_PICstick prototyping board for experimentation with and LCD display to visualise speed measurements.

Prompt something like: "car speed measurement using metal-detector sensors embedded in tarmac" on your Internet browser or your AI preferred tool to imagine the design concepts involved and how to start planning the project.

 


3.9. Optional. Other peripherals

3.9.1. TMR1

TMR1 is specially suited to be used with and external 32.768 kHz crystal CLK. The real-time base for a large range of applications.

3.9.2. Other peripherals

A/D converter for acquiring analogue signals, non-volatile EEPROM memory to save data, I2C, SPI and USART communications, analogue comparator, pulse width modulator (PWM), etc.

 


3.10. Optional. Other microcontrollers

3.10.1. Microchip 8-bit families: PIC10F, PIC12F, PIC16F, PIC18F,  ATtiny, ATmega, etc.

Examples for other μC (currently Proteus EETAC licence is not available for ATmega8535 and PIC16F, thus they cannot be simulated).

- This is the Timer_MMSS programmable complete project solved using a µC ATmega8535: Timer_MMSS. Adapt it to  ATmega328P (Arduino chip) or the PIC18F4520.

- This is a timer project targeting PIC16F877A microcontroller. Adapt it to a PIC18LF45K50 new device.

 

3.10.2. Microcontroller Arduino: ATmega328P chip.

3.10.3. Computer Raspberry Pi: ARM chip, Linux OS, Python and other high-level languages.


3.11. Optional. Other project examples, final bachelor thesis, research papers, books, optional subjects, etc.

List of projects to show you applications of electronic circuits. Books, research papers, bachelor thesis.

Example: analyse and run this project #3 on the design of a bicycle speed meter (ideas on cyclo-computers). How to add a new feature like an odometer to measure riding distances up to 100 km? Measuring the frequency of a signal.

Additional materials on electronic equipment design DEE also intended for bachelor or master thesis (TFE) preparation.

NOTE: if you are interested in this content, a self-directed course continuation means going professional, for instance starting organising the same CSD projects in this Chapter 3 using Microchip tools like the MPLAB Code Configurator (MCC) to apply Microchip University courses like "Getting Started with PIC16F1xxx MCUs using MCC and State Machines".  

 


« Un bon maître a ce souci constant : enseigner à se passer de lui.»

André Gide

 

« Education is really aimed at helping students get to the point where they can learn on their own...»

Noam Chomsky