ENTORNOS GRÁFICOS DE PROGRAMACIÓN CON ARDUINO
MÉTODO DE TRABAJO
José	
  Pujol	
  Pérez	
  
IES	
  Vicente	
  Aleixandre	
  
@jo_pujol	
  
tecnopujol.wordpress.com	
  
finalidad
Definir claramente que queremos que haga nuestro
sistema
Ejemplo:
Encender un LED en función de la intensidad
luminosa
	
  
ESQUEMA DE ENTRADAS Y SALIDAS
S4A
ENTRADAS	
   SALIDAS	
  
LDR	
  (A)	
  
LED	
  (D)	
  
HARDWARE
SOFTWARE
•  Instrucciones- pseudocódigo
•  Diagrama de flujo
•  Código en el lenguaje de programación
	
  
INSTRUCCIONES
•  Inicio
•  Leer el sensor
•  Si el valor es menor que 100 encender el LED
–  Sino apagar el LED
	
  
DIAGRAMA DE FLUJO
LENGUAJE SCRATCH
 
	
  
	
  
Este	
  guía	
  se	
  distribuye	
  bajo	
  licencia	
  Reconocimiento-­‐	
  ComparLrIgual	
  CreaLve	
  
commons	
  4.0	
  	
  
	
  
	
  
(cc)	
  2016	
  José	
  Pujol	
  Pérez	
  Some	
  rights	
  reserved.	
  This	
  work	
  licensed	
  under	
  CreaLve	
  
Commons	
  AUribuLon-­‐ShareAlike	
  License.	
  To	
  view	
  a	
  copy	
  of	
  full	
  license,	
  see	
  	
  	
  	
  	
  	
  	
  	
  	
  
hUp://creaLvecommons.org/licenses/by-­‐sa/4.0/	
  or	
  write	
  to	
  CreaLve	
  Commons,	
  559	
  
Nathan	
  AbboU	
  Way,	
  Stanford,	
  California	
  94305,	
  USA.	
  	
  
	
  
licencia

S4A Metodo Trabajo

  • 1.
    ENTORNOS GRÁFICOS DEPROGRAMACIÓN CON ARDUINO MÉTODO DE TRABAJO José  Pujol  Pérez   IES  Vicente  Aleixandre   @jo_pujol   tecnopujol.wordpress.com  
  • 2.
    finalidad Definir claramente quequeremos que haga nuestro sistema Ejemplo: Encender un LED en función de la intensidad luminosa  
  • 3.
    ESQUEMA DE ENTRADASY SALIDAS S4A ENTRADAS   SALIDAS   LDR  (A)   LED  (D)  
  • 4.
  • 5.
    SOFTWARE •  Instrucciones- pseudocódigo • Diagrama de flujo •  Código en el lenguaje de programación  
  • 6.
    INSTRUCCIONES •  Inicio •  Leerel sensor •  Si el valor es menor que 100 encender el LED –  Sino apagar el LED  
  • 7.
  • 8.
  • 9.
          Este  guía  se  distribuye  bajo  licencia  Reconocimiento-­‐  ComparLrIgual  CreaLve   commons  4.0         (cc)  2016  José  Pujol  Pérez  Some  rights  reserved.  This  work  licensed  under  CreaLve   Commons  AUribuLon-­‐ShareAlike  License.  To  view  a  copy  of  full  license,  see                   hUp://creaLvecommons.org/licenses/by-­‐sa/4.0/  or  write  to  CreaLve  Commons,  559   Nathan  AbboU  Way,  Stanford,  California  94305,  USA.       licencia