Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature currently requires accessing the site using the built-in Safari browser.
Interesado en el tema sigo este hilo unos meses despues de comenzado =) tengo una pregunta por no estar muy seguro. estoy basando mi proyecto (hola mundo con un celular) con un HC-06 (3.3v) y un pic 16F628A (2.0 a 5.5v),
1 - ¿puedo alimentar todo con 3.3v y listo?
2 - este pic tiene compatibilidad TX, RX USART con el modulo bluetooth?
gracias
*******************************************************************************
' DEFINICIÓN DE FUSES Y OSILADOR
DEFINE OSC 4
'*******************************************************************************
CMCON = 7
TRISA = %00000000
TRISB = %00000010
'*******************************************************************************
' INICIALIZANDO USART
DEFINE HSER_BAUD 9600
DEFINE HSER_RCSTA 90h
DEFINE HSER_TCSTA 20h
DEFINE HSER_SPBRG 25
led var byte
'*******************************************************************************
PORTA = %00000000
PORTB = %00000000
'******************************************************************************
pause 200
inicio:
Hserin 50,inicio,[led]
if led = 100 then
PORTB.0 = 1
pause 500
goto inicio
endif
if led = 200 then
PORTB.0 = 0
pause 500
goto inicio
endif
END
*******************************************************************************
' DEFINICIÓN DE FUSES Y OSILADOR
DEFINE OSC 4
'*******************************************************************************
CMCON = 7
TRISA = %00000000
TRISB = %00000010
'*******************************************************************************
' INICIALIZANDO USART
DEFINE HSER_BAUD 9600
DEFINE HSER_RCSTA 90h
DEFINE HSER_TCSTA 20h
DEFINE HSER_SPBRG 25
led var byte
'*******************************************************************************
PORTA = %00000000
PORTB = %00000000
'******************************************************************************
pause 200
inicio:
Hserin 80,continuar,[led]
continuar:
if led = 100 then
PORTB.0 = 1
pause 500
endif
if led = 200 then
PORTB.0 = 0
pause 500
endif
goto inicio
END
Hola, dice que el modulo bluetootth crea un puerto serie virtual
Es igual a un conversor USB- serie??
entonces para conectar el modulo al usb de la laptop
tomo un cable usb y los d- y d+ los conecto con rx y tx y la alimentacion del usb directo al modulo
o como se conecta?
Que cosa????![]()