programaciÓn en arduino con bluetooth hc-06_ encender 8 led´s en secuencia
Post on 19-Feb-2018
243 Views
Preview:
TRANSCRIPT
-
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
1/9
PROGRAMACIN EN ARDUINOCON BLUETOOTH HC06
jueves, 4 de diciembre de 2014
ENCENDER 8 LEDS EN SECUENCIA
Cdigo en Arduino para encender 8 Leds en 3 secuencias Explicado:
Manuel Quevedo
Seguir 1
Ver todo mi perfil
Datos personales
2014 (4)
diciembre (2)
ENCENDER 8 LEDS EN SECUENCIA
ENCENDER Y APAGAR 8 LEDS
noviembre (2)
Archivo del blog
0 Ms Siguiente blog chuy_irre_chivista@hotmail.com Escr
http://4.bp.blogspot.com/-wzuhjno02C4/VIEiuXuIvNI/AAAAAAAAAPM/oLw11pNyEw4/s1600/segundalineacodigo.PNGhttp://4.bp.blogspot.com/-wzuhjno02C4/VIEiuXuIvNI/AAAAAAAAAPM/oLw11pNyEw4/s1600/segundalineacodigo.PNGhttp://4.bp.blogspot.com/-wzuhjno02C4/VIEiuXuIvNI/AAAAAAAAAPM/oLw11pNyEw4/s1600/segundalineacodigo.PNGhttp://3.bp.blogspot.com/-Slvw9Jp5YzM/VIEitjliu6I/AAAAAAAAAO8/3ju8zeGdXH0/s1600/primerlineacodigo.PNGhttp://3.bp.blogspot.com/-Slvw9Jp5YzM/VIEitjliu6I/AAAAAAAAAO8/3ju8zeGdXH0/s1600/primerlineacodigo.PNGhttp://arduinowithbluetooth.blogspot.mx/2014_11_01_archive.htmlhttp://arduinowithbluetooth.blogspot.mx/2014/12/encender-y-apagar-8-leds.htmlhttp://void%280%29/http://arduinowithbluetooth.blogspot.mx/http://arduinowithbluetooth.blogspot.mx/2014/12/encender-8-leds-en-secuencia.htmlhttp://void%280%29/http://arduinowithbluetooth.blogspot.mx/2014_12_01_archive.htmlhttp://void%280%29/https://plus.google.com/109944115487394358492http://arduinowithbluetooth.blogspot.mx/search?updated-min=2014-01-01T00:00:00-08:00&updated-max=2015-01-01T00:00:00-08:00&max-results=4http://3.bp.blogspot.com/-Slvw9Jp5YzM/VIEitjliu6I/AAAAAAAAAO8/3ju8zeGdXH0/s1600/primerlineacodigo.PNGhttps://plus.google.com/109944115487394358492http://4.bp.blogspot.com/-wzuhjno02C4/VIEiuXuIvNI/AAAAAAAAAPM/oLw11pNyEw4/s1600/segundalineacodigo.PNGhttps://plus.google.com/109944115487394358492 -
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
2/9
http://4.bp.blogspot.com/-rGOnF9shNN8/VIEip_ADmRI/AAAAAAAAAOI/7XbmgUwXJbo/s1600/cuartalineacodigo.PNGhttp://4.bp.blogspot.com/-gpz4CKvM6oM/VIEo0fLTfWI/AAAAAAAAAPs/jrg7-u_sTRE/s1600/quintalineacodigo.PNGhttp://3.bp.blogspot.com/-hdy4kToz85c/VIEivxcjFtI/AAAAAAAAAPg/YWmd2IdDaW4/s1600/tercerlineacodigo.PNG -
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
3/9
http://1.bp.blogspot.com/-EgRYUlMtiGE/VIEivnrY8RI/AAAAAAAAAPc/O0oga9JlB-o/s1600/sextalineacodigo.PNGhttp://3.bp.blogspot.com/-mOF_HeuhrgM/VIEiuwbXEPI/AAAAAAAAAPU/Be0jwJPlfmM/s1600/septimalineacodigo.PNGhttp://3.bp.blogspot.com/-fXNFfmLoxDk/VIEis3vs5WI/AAAAAAAAAOs/dlWSsg2XN2E/s1600/octavalineacodigo.PNG -
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
4/9
http://arduinowithbluetooth.blogspot.com/logout?d=https://www.blogger.com/logout-redirect.g?blogID%3D4145669560944770355%26postID%3D6998139515645404127http://2.bp.blogspot.com/-ZB_3k-s_U_Y/VIEitcBLgVI/AAAAAAAAAO0/eMyWDvBOVfo/s1600/onceavalineacodigo.PNGhttp://3.bp.blogspot.com/-B0qqgcFUk30/VIEisEMLYTI/AAAAAAAAAOk/JZRqlEydP_U/s1600/novenalineacodigo.PNGhttp://1.bp.blogspot.com/-MKrPBRWSavk/VIEipThF9DI/AAAAAAAAAOE/SjX56YeYWIM/s1600/decimalineacodigo.PNG -
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
5/9
Ahora subiremos el programa a la placa de arduino presionando el botn que se encuentra en laparte superior izquierda (Botn que se encuentra encerrado en el circulo rojo).
Recuerden que para poder subir el programa debemos conectar la placa de Arduino a la pc pormedio del cable USB 2.0 de impresora.Despus conectamos el modulador Bluetooth a la placa de arduino, Introducimos a las ranura del pin4,5,6,7,8,9,10 y 11 del Arduino los 8 leds (pata ms larga del Led voltaje y la pata ms corta atierra).
Creamos una aplicacin en app inventor, donde llevar 4 botones:
Botn 1 (ListPicker) con la Imagen: Conectar BluetoothBotn 2: Encender primer secuencia (Click) o Apagar (Click Largo) dependiendo de la InstruccinBotn 3: Encender segunda secuencia (Click) o Apagar (Click Largo) dependiendo de la InstruccinBotn 4: Encender tercer secuencia (C lick) o Apagar (C lick Largo) dependiendo de la Instruccin
http://arduinowithbluetooth.blogspot.com/logout?d=https://www.blogger.com/logout-redirect.g?blogID%3D4145669560944770355%26postID%3D6998139515645404127http://4.bp.blogspot.com/-jfAsLJ26McU/VIEir1CXPzI/AAAAAAAAAOc/bStmmjmVzfo/s1600/doceavalineacodigo.PNGhttp://4.bp.blogspot.com/-8X8jiZiC3_4/VIEZJpgbvoI/AAAAAAAAAM0/2LuqPYX1dL0/s1600/10816111_819298848129096_317024983_n.jpg -
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
6/9
Nota:No olvidemos agregar el Dispositivo Bluetooth yendo a la parte izquierda dando click en lapestaa Conectivity y seleccionando BluetoothClient como se muestra en la imagen:
Despus de haber hecho el diseo presionamos el Botn de (Bloques), para hacer la estructuracin debloques de la apk.
http://2.bp.blogspot.com/-1-XFmOZDbjk/VIEaKs8pk4I/AAAAAAAAANE/cxITRy5ZNco/s1600/Captura.PNGj.PNGhttp://1.bp.blogspot.com/-OstgyliXVhg/VIEirMe3ITI/AAAAAAAAAOQ/I5nKcNows-Q/s1600/PRACTICA5.PNG -
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
7/9
Despus de haber presionado el botn iniciamos la estructuracin de la apk, lo cual ser de estamanera:
Una vez hecho, se descarga la apk presionando el Boton (Build) y despus (App save.apk to mycomputer) para descargar en la PC y despues instalarlo en el celular.
http://1.bp.blogspot.com/-TDoX0yOHINk/VIEayUkq3RI/AAAAAAAAANc/gnCyvZau3QM/s1600/PRACTICA555.PNGhttp://3.bp.blogspot.com/-54J8LNESC1M/VIEaysNWUSI/AAAAAAAAANY/VQ9zRj5kbM8/s1600/PRACTICA55.PNGhttp://3.bp.blogspot.com/-7BhE3dCJWAI/VIEacxAtmFI/AAAAAAAAANM/32ZHxXFCbkk/s1600/10819818_10202004967525826_1254555081_o.jpg -
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
8/9
Entrada antiguaPgina principal
Suscribirse a: Enviar comentarios (Atom)
Publicado por Manuel Quevedo en 18:52
Una vez descargada la APK e instalada en nuestro celular, Activamos el Bluetooth de nuestro mvil yvinculamos el modulador Bluetooth con nuestro dispositivo agregando la contrasea que asignamosen el modulador Bluetooth.
Despus daremos Click en la imagen de nuestra aplicacin instalada para buscar dispositivosBluetooth, seleccionar el dispositivo y empezar a probar nuestra prctica.
1. Dando click en el primer botn llamado (SECUENCIA1) para encender la primer secuencia
que va de izquierda a derecha, y dando un click largo si es que queremos que la secuencia se
apague.
2. Dando click en el segundo botn llamado (SECUENCIA2) para encender la segunda
secuencia que va de derecha a izquierda, y dando un click largo si es que queremos que la
secuencia se apague.
3. Dando click en el tercer botn llamado (SECUENCIA3) para encender la tercer secuencia
que va del centro hacia afuera y de afuera hacia adentro, y dando un click largo si es que
queremos que la secuencia se apague.
Recomendar esto en Google
Salir
Avisarme
Introduce tu comentario...
Comentar como: sombra84 (Go
Publicar
Vista previa
No hay comentarios:
Publicar un comentario en la entrada
http://arduinowithbluetooth.blogspot.mx/http://arduinowithbluetooth.blogspot.mx/https://www.blogger.com/share-post.g?blogID=4145669560944770355&postID=6998139515645404127&target=twitterhttp://1.bp.blogspot.com/-qc1q8z_LxiY/VIEbHjgzWOI/AAAAAAAAANk/l9rlQG954cU/s1600/Capturmmmma.PNGhttp://arduinowithbluetooth.blogspot.com/feeds/6998139515645404127/comments/defaulthttp://arduinowithbluetooth.blogspot.mx/2014/12/encender-8-leds-en-secuencia.htmlhttps://www.blogger.com/share-post.g?blogID=4145669560944770355&postID=6998139515645404127&target=emailhttp://1.bp.blogspot.com/-tD_t22R8-70/VIEbPxwhqBI/AAAAAAAAANs/Igb8efHR_Ho/s1600/Captura.PNG%2Bmk.PNGhttps://www.blogger.com/share-post.g?blogID=4145669560944770355&postID=6998139515645404127&target=pinteresthttps://www.blogger.com/share-post.g?blogID=4145669560944770355&postID=6998139515645404127&target=facebookhttp://arduinowithbluetooth.blogspot.mx/2014/12/encender-y-apagar-8-leds.htmlhttps://plus.google.com/109944115487394358492https://www.blogger.com/share-post.g?blogID=4145669560944770355&postID=6998139515645404127&target=blog -
7/23/2019 PROGRAMACIN EN ARDUINO CON BLUETOOTH HC-06_ ENCENDER 8 LEDS EN SECUENCIA
9/9
Plantilla Travel. Con la tecnologa de Blogger.
https://www.blogger.com/
top related