Entradas

REPORT PRACTICE 4 NATALIA GALÁN

Imagen
REPORT PRACTICE 4 NATALIA GALÁN By Natalia Galán Jiménez 3ºF DESCRIPTION We are going to make a circuit function like a traffic light. And the challenge consists of making the yellow LED flash. DESIGN List of materials Circuits.io Bill Of Materials IDS # Footprint U1 1 Arduino Uno R3 D1, D4 2 OSRAM-MINI-TOP-LED D2 1 OSRAM-MINI-TOP-LED D3, D5 2 OSRAM-MINI-TOP-LED R1, R2, R3, R4, R5 5 Resistor 1/4 Watt 220 R6 1 Resistor 1/4 Watt 10K S1 1 TACTILE-PTH Breadboard diagram Schematics Program code  // Declaramos las constantes asociando el pin a cada LED y pulsador const int LEDPinGREENPEDESTRIAN = 3; const int LEDPinREDPEDESTRIAN = 4; const int buttonPin = 6; const int LEDPinGREENVEHICLE = 10; const int LEDPinYELLOWVEHICLE = 11; const int LEDPinREDVEHICLE= 12; int buttonState = 0; // Declaramos la vari...

REPORT PRACTICE 2 NATALIA GALÁN

Imagen
PROJECT REPORT PRACTICE 2  Natalia Galán 3ºF DESCRIPTION: turning on an LED by pressing a push button, When you press the push button the LED lights up for 3 seconds DESIGN Circuits.io Bill Of Materials IDS # Component D1 1 LED U1 1 Arduino Uno R3 R1 1 Resistor 220 ohm R2 1 Resistor 1k ohm S1 1 Pushbutton lab view  schematics view Program code int push_button = 2; int LED = 3; void setup() {   pinMode(LED, OUTPUT);   pinMode(push_button, INPUT); } void loop {   if (digitalRead(push_button) == HIGH)   {   digitalWrite(LED, HIGH);   }   else  {    digitalWrite(LED, LOW);          } } CONSTRUCTION SELF-EVALUATION At first it was a bit difficult for us to understand how did it work, but with some time we could understand it. EMBEDDED SIMULATION

REPORT PRACTICE 1 CHEMA PRIETO

Imagen
PROJECT REPORT PRACTICE 1 Chema Prieto 3ºF DESCRIPTION: The LED that is connected to the arduino lights up every 1 second. And then when the code is modified the LED will turn on and off every 3 seconds. DESIGN Circuits.io Bill Of Materials IDS # U1 1 D1 1 R5 1 breadboard diagram schematics view Practical 1 void setup() {   pinMode(13, OUTPUT); } void loop() {   digitalWrite(13, HIGH);   delay(1000);   digitalWrite(13, LOW);   delay(1000); } Challenge 1 // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset: void setup() {   // initialize the digital pin as an output.   pinMode(led, OUTPUT); } // the loop routine runs over and over again forever: void loop() {   digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage leve...