About Me

I am a student who is attending MCAST. I’m currently studying for software development and is in class AIT 4.1F This is my embedded system portfolio which contains of project 1 to 5.

Disclaimer : All code is self written and all the portfolio is written by me.

Advertisements

Project 5  was to create a program that will simulate a traffic lights.

Green led which was replaced by a red led.

17572062_596699197208060_1353924032_o.jpg

Orange led which was replaced by a blue led.

17622186_596700887207891_49946098_o.jpg

Orange led + Red led(Orange was replaced with blue led)

17547240_596700890541224_1894861120_o.jpg17571402_596701647207815_66068960_o.jpg

The green led will first light up.Once the user presses the button a 3 second timer will start,After the 3 seconds has passed the orange led will light up for 1 second then will light up the red led for 5 seconds while the buzzer is constantly beeping.Then it goes to orange+red for 3 seconds then returns to green.

Components Required for this project are:

1. Raspberry pi 3 model b

2. Breadboard

3. 3 LED’S

4. 8 Wires

5. 4 Resistors

6. Push Button

7.SOS Buzzer

Untitled Sketch 3_bb.png

1.The black wire is connected to the ground.

2.3 resistors are connected to the negative leg of the LED’s.

3. 3 Wires for the LED’s which are connected to the positve leg of the LED and connected to GPIO PORTS are the red yellow and orange.

4.A resistor is connected to the push button and the pink wire is conncted to the ground and the blue wire is connected to a GPIO port.

5. The Black wire for the SOS Buzzer is connected to the ground while the red wire is connected to a GPIO PORT

Project 5 – Traffic Lights

Project 4

A program is created to ask the user to input a number, A buzzer will beep according to the number chosen by the user.

17408550_592239470987366_1584859729_o.jpg

17408390_592239457654034_1361991018_o.jpg

The program is importing 3 libraries, Asking the user to enter a number, Once the user enters a number the buzzer will beep according to the number chosen by the user.

The components required for this project are:

1. Raspberry pi 3 model b

2. 2 Wires

3. Buzzer

fritzing2.jpg

1.The black wire is connected to the ground(GPIO 06) and to the negative leg of the buzzer.

2.The red wire is connected to the positive leg.GPIO 07.

Project 3

For this project, one button and two LED’s are required.By using python a program is created, once the user presses the button it will ask him for his IP address, The program will ping the IP which is entered by the user, if successfully a blue LED will turn on else if it’s unable to ping the red LED will turn on.
17431635_592239464320700_696979060_o.jpg

17430783_592239444320702_1947605797_o.jpg

The program is importing 4 libraries. The GPIO ports used are 17,22 and 04. First it is asking for the ip then if the status is equal to 0 ”Ping Successful” will be printed and the green LED should turn on, Else if status is equal to 2 “”Ping No Response” will be printed and the red LED should turn on instead of the blue LED

Components Required for this project are:

1. Raspberry pi 3 model b

2. Breadboard

3. 2 LED’S

4. 5 Wires

5. 3 Resistors

6. Push Button

Untitled Sketch 2_bb.png

  1. The black wire is connected to the ground
  2.  2 resistors are connected to the negative leg of the two LED’s
  3. The blue wire  and the red wire are connected to the GPIO ports.
  4. A resistor is connected to the push button and the yellow wire is conencted to the ground while the green wire is connected to a GPIO port.
  5. The orange wire is connected to the ground.

Project 2

What is required for the project is to attach an LED to a breadboard and broadcast ‘SOS’ in morse code.

Project 1.jpg

17408235_592239454320701_1286481620_o.jpg

3 libraries are imported and 2 functions are used. Since morse code consists of a dash and dot, 1 function is used for a dash and another function for a dot. For the dot function the LED will blink every .5 seconds however for the dash function it will stay on for 1.5 seconds since 1.5 units are required. The final procedure is to check what SOS consists of(Either Dash or Dot). S is made up of 3 dots while O is made up of 3 dashes.

Components Required for this project are:

1. Raspberry pi 3 model b

2. Breadboard

3. LED

4. 2 Wires

5. Resistor

fritzing1.jpg

 

1.The resistor is connected to the negative leg of the LED.

2.The black wire is connected to ground.(GPIO 06)

3.The red wire is connected to the positive leg of the led and on GPIO 07.

Project 1

For project one a program is created to allow the user to enter his date of birth and his name.Once the user enters his date of birth, his total age and name are printed. One led is attached on the breadboard and should blink relatively to the persons age.Project 1.jpgCode1.jpgWhat the program is doing is importing 3 libraries, asking the user for his full name then his date of birth, after the user entered them correctly his full name and total age are printed.By using GPIO.HIGH and GPIO.LOW the led will blink every .5 seconds.

The components used for this project are :

1. Raspberry pi 3 model b

2. Breadboard

3. LED

4. 2 Wires

5. Resistor

fritzing1.jpg

  1. The resistor is connected to the negative leg of the LED.
  2. The black wire is connected to ground.(GPIO 06)
  3. The red wire is connected to the positive leg of the led and on GPIO 07.