00:20Greetings friends, today I present to you the control, using VIEW and Proteus with Arduino.
00:25sequence of two-way traffic lights for which I describe the programming used
00:29In Arduino, where it presents the LCD library, and I define the output pins, as
00:35variables, followed by the configuration, serial, then the output pins with the
00:40output instruction, serial communication is configured on the LCD in the void loop, then I propose
00:46The LED sequence for the traffic light, if the data is equal to s, the sequence works and
00:51Then, if the data is equal to an A, all LEDs as variables will be false or off.
00:55all this with a time sequence of two seconds.
01:10For the second Arduino program, which deals with a thermometer using Proteus,
01:15a thermocouple using VIEW, Proteus and Arduino, first I set as a variable
01:20LED 13 then I describe as integer values to data and floating-point TEM, in void setup I set
01:26serial communication in LED as output with output, in void loop I configure TEM as
01:30analog input to port zero, followed by serial printing then with
01:35If the data is equal to E, the LED turns on, and if the data is equal to A, then it turns off.
01:39false or turned off
01:40and finally a time of two seconds.
02:02Now I present the simulation together with Proteus and VIEW; it's about traffic lights.
02:08two-way in which, through serial communication, Proteus and VIEW allow the power-up
02:13and the switching off of the two-way traffic lights, the switching-on sequence was established in
02:17The programming in Proteus where, with the use of resistors and implementation
02:22The three-port output will be the sequence.
02:38Here we can see the sequence of the traffic lights.
02:58The following messages are displayed on the LCD: the first one says "instrumentation" and the second one says
03:03Washington Love.
03:26Here you can see the control being turned off using this simulation.
03:38Now I turned on the opposite.
04:03Okay, now I'll explain the programming for serial communication, using ConfigurePort.
04:08which through a Will Elop a stop, then communication with Visa or Grite and ends
04:14With Close Visa, within Will Elop is the case structure that refers to the ignition
04:19or turned off with a 50 millisecond wait.
04:37The following exercise involves the use of a thermocouple for serial communication.
04:42To find the temperature, the value provided for the thermocouple setting is very low.
04:47For this we need an operational amplifier that delivers an output of 0.9 volts.
04:52With this blor you can change the temperature.
05:06And these are the values we have already realized and will continue to work with.
05:11The next step now is to generate my own scale, a scale of voltage values that I want for 100 degrees Celsius.
05:30Now I'll move on to the programming for obtaining the temperature, keeping in mind the previous exercise.
05:36From the semaphore sequence, I'm going to add a Visa React; now our program is
05:41Data resection in conjunction with ByteSupport, the data received in Proteus by the VEO is taken as
05:47decimal strington number after this to obtain the temperature is multiplied by 5 and divided
05:53For 1023, this value is multiplied by 100 to obtain the temperature using its plunger.
Comentarios