Coder Social home page Coder Social logo

nicola-masarone / lpc1769-projects Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 18.35 MB

Simple C projects for lpc1769 microcontroller from NXP. Code developed with MCUXpresso.

License: MIT License

Makefile 14.28% C 60.37% C++ 25.35%
lpc1769 nxp mcuxpresso mcux mcuxpresso-sdk c embedded breadboard arm cortex-m3

lpc1769-projects's Introduction

lpc1769-projects.

Simple projects for lpc1769 microcontroller from NXP.

Each folder beginning with lpc1769 contains a separate project, with a description either for software or for hardware.

Please note that two folders (/lpc_board_nxp_lpcxpresso_1769 and /lpc_chip_175x_6x) contain proprietary software from NXP, as described in their LICENSE files. This software is needed to compile projects in other folders.

  • LED in sequence with variable speed. The experience involves the use of 8 LEDs to be switched on in sequence with adjustable speed, based on the pressure of a button. The skills acquired at the end of this practical include the use of GPIO in input and output, with interrupt management on the input. The system timer is also used with relative management of the interruption for the switching speed of the LEDs.
  • 7-segment display management. The tutorial provides instructions for driving a 7-segment display consisting of two side-by-side digits. The acquired skills will allow to use this simple output device as a data visualization tool for a subsequent exercise.
  • Signal acquisition with ADC. The practical allows the student to develop the skills for the acquisition of a voltage signal by means of an analog-digital converter (ADC), with visualization of the value on a 7-segment display.
  • Rotary encoder. In this tutorial the rotary encoder (rotary switch) is used to study the operation of the QEI (Quadrature Encoder Interface) present in the LPC1769 microcontroller. The project provides for the reuse of what is already known from the 7-segment display management for the data display section.
  • PWM color LED driving. With this practical, students learn to manage an RGB-type color LED using the PWM control to adjust the intensity of the colors, thus modifying the resulting hue.
  • Liquid crystal display. In this project, the piloting technique of a liquid crystal display (LCD) is presented. We will study how the display segments are switched on by writing a test program for automatic counting from the value 0 to the value 1999.
  • Ultrasonic sensor. This project allows the use of the HC-SR04 ultrasonic module to create a distance meter with data display on LCD.
  • Humidity and temperature sensor. Using an integrated temperature and humidity sensor, a measurement system of environmental parameters is created. The measurement value is reported on an LCD with update every two seconds, based on the liquid crystal display project.
  • Project with MAX7300 I/O expander from Maxim. Useful devices to have many input/output pins by engaging only two I2C pins of the microcontroller
  • Traffic light project. The project provides for a very simple management of the lights on the intersection, with the possibility of two times for vehicles (A and B) and one time for pedestrians (P).
  • Buzzer project. A very simple circuit for driving a buzzer. The PWM signal management allows the volume and frequency of the sound to be changed.
  • Servomotor test. The project presents a solution for driving a Hitec servomotor. The type of command used involves the use of a PWM channel of the microcontroller and a power supply dedicated to the servomotor. The result obtained is a slow rotation of the servomotor clockwise, with a quick return to the starting position and subsequent repetition of the movement.
  • Manual control of servomotors. The project provides a first solution to the control of several servomotors (6), through the use of potentiometers as input devices to control the desired positions. The system includes a separate power supply for the servomotors and a development board for the LPC1769 microcontroller. By mounting the servomotors on a suitable mechanical structure it is possible to carry out the manual control of an artificial arm with 6 degrees of freedom.
  • Constant speed stepper motor. In this simple project a constant speed movement (with alternating rotation) is realized for a small size bipolar stepper motor. The control electronics include the use of the LPC1769 microcontroller and a power driver.
  • Variable speed stepper motor. The project represents the evolution of the previous constant speed stepper motor with identical hardware while firmware has been modified for motor speed management. In this version the speed profile provides a trapezoidal course, with constant and predetermined acceleration and deceleration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.