Un universo de extensiones con mBlock5
Se describe cómo utilizar las diferentes extensiones para objetos y como crear extensiones para módulos en placas arduino Se describe cómo utilizar las diferentes extensiones para objetos y como crear extensiones para módulos en placas arduino
UN UNIVERSO DE EXTENSIONES EN MBLOCK5Aunque el módulo puede operar a 5V (que es la conexión de la imagen anterior) lorecomendable es conectar su patilla Vcc a 3.3V ya que conseguimos un ahorro de energía.Nosotros lo conectaremos a 3,3V (pensar que el pin de 5V ya está ocupado por el Vcc de L9110).Con el circuito implementado ya podemos programar el módulo bluetooth HC-05 desdemBlock5. Un posible programa sería el siguiente:Como ya había comentado, para cargarlo a la placa debemos desconectar la alimentación delmódulo HC-05. Tras cargarlo podemos conectar Vcc de HC-05.SUSANA OUBIÑA FALCÓN PÁGINA 123 DE 207
UN UNIVERSO DE EXTENSIONES EN MBLOCK5Finalmente, nos queda crear la aplicación de móvil para controlar la puerta enviando las letrasA, C y P a la placa Arduino Uno. Este envío será posible porque el módulo bluetooth se enlazarácon nuestro móvil Android. Podemos crearla en App Inventor o en Thunkable. Yo usaré AppInventor. En las siguientes imágenes se muestra mi App:App: Apertura y cierre de una puertaSUSANA OUBIÑA FALCÓN PÁGINA 124 DE 207
- Page 73 and 74: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 75 and 76: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 77 and 78: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 79 and 80: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 81 and 82: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 83 and 84: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 85 and 86: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 87 and 88: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 89 and 90: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 91 and 92: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 93 and 94: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 95 and 96: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 97 and 98: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 99 and 100: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 101 and 102: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 103 and 104: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 105 and 106: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 107 and 108: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 109 and 110: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 111 and 112: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 113 and 114: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 115 and 116: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 117 and 118: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 119 and 120: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 121 and 122: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 123: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 127 and 128: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 129 and 130: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 131 and 132: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 133 and 134: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 135 and 136: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 137 and 138: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 139 and 140: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 141 and 142: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 143 and 144: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 145 and 146: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 147 and 148: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 149 and 150: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 151 and 152: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 153 and 154: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 155 and 156: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 157 and 158: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 159 and 160: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 161 and 162: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 163 and 164: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 165 and 166: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 167 and 168: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 169 and 170: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 171 and 172: UN UNIVERSO DE EXTENSIONES EN MBLOC
- Page 173 and 174: UN UNIVERSO DE EXTENSIONES EN MBLOC
UN UNIVERSO DE EXTENSIONES EN MBLOCK5
Aunque el módulo puede operar a 5V (que es la conexión de la imagen anterior) lo
recomendable es conectar su patilla Vcc a 3.3V ya que conseguimos un ahorro de energía.
Nosotros lo conectaremos a 3,3V (pensar que el pin de 5V ya está ocupado por el Vcc de L9110).
Con el circuito implementado ya podemos programar el módulo bluetooth HC-05 desde
mBlock5. Un posible programa sería el siguiente:
Como ya había comentado, para cargarlo a la placa debemos desconectar la alimentación del
módulo HC-05. Tras cargarlo podemos conectar Vcc de HC-05.
SUSANA OUBIÑA FALCÓN PÁGINA 123 DE 207