Skip to content

Gemmus/PSoC

Repository files navigation

PSoC

Assignment 1: Blinking blue LED with button press

LED_Blink

Figure 1: LED blinks while button is kept pressed.

Assignment 2: Servo Motor

Description:

  • (When program initialised, motor changes from turning to stop.)
  • Servo motor starts turning when button is pressed. Speed increases gradually to final speed. Maintain rotation until new button press.
  • If button is pressed when motor is turning, motor decreases speed gradually until it stops and waits for new button press to start.
Exercise 3 Setup

Figure 2: Set up of assignment 2.

Assignment 3: DAQ

Exercise 3 Setup

Figure 3: Set up of assignment 3, 100uF capacitor between wires and temperature sensor.

Exercise 3 Output

Figure 4: Example output of assignment 3.

LM35 Datasheet

Assignment 4: SPI & I2C

Exercise 3 Output

Figure 5: Set up of assignment 4.

Exercise 3 Output

Figure 6: Example output of assignment 4.

TC74A2-5.0VAT Datasheet MCP3201-CI/P Datasheet

Assignment 5: OneWire

Exercise 3 Output

Figure 7: Set up of assignment 5.

Exercise 3 Output

Figure 8: Example output of assignment 5.

DS18B20 Datasheet

Project: