Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by Luis Daniel Bolaños

  1. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Sorry for not telling you, but it worked on CCS. So it's done!! Thank you so much for all your help
  2. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Hi again, I finally was able to try it on hardware. Again, it didn't work :( it still sends random ASCII stuff. Good thing is, I took your code to CCS and was able to make it work. So, in the night I will have an answer about if it transmits
  3. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    OMG! That's awesome!! I don't have the hardware right now, tomorrow I'm going to test it on the real circuit and I'll tell you. But it's awesome!! Thanks a lot!
  4. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Let me know if that's not what you are looking. Thank you!
  5. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Sorry for being ignorant on CCS. I think I was editing a single source file instead of having created a project. Now I think I got it right. I used those delays because it needs to give visual feedback like a real car, as I told you. And yeah, maybe interrupt are the solution but I have...
  6. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    I guess that's what I lived with MikroC, but yeah, CCS works a lot better. Thanks! There you go
  7. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Ok so, the whole system is a car alarm, and you need to be capable of activate and deactivate it using either a RF control or a serial transmission. The activate(), deactivate() and sound() functions change the state of the alarm using the X variable. Each one of them provides visual feedback...
  8. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Hi again, sorry to bother you again. I got a new issue and you seem to know a lot about this. I can't make a full duplex transmission. If a do it PIC -> virtual terminal everything is okay. But when I also enable VT -> PIC, the microcontroller won't allow me to use any logic input, I mean...
  9. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    I attached you the CCS code. I only have one HC-05, so I used "Bluetooth Terminal" for Android. Here: https://play.google.com/store/apps/details?id=nextprototypes.bluetoothterminal&hl=es Tell how you do with that
  10. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Hi again, someone came up with the idea un using CCS which has a "more complete" definition of RS232. I tested it and was perfect! I guess using UART1_Init(9600) lacks of many parameters, meanwhile #USE RS232(BAUD,BITS,PARITY,XMIT,RCV) is more accurate. Anyway, thanks for your patience, time...
  11. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    I tried it, nothing improved :bang: And yes, it was working in Proteus. I'm using the intenal RC 8 MHz oscillator. I attach you a screen capture of what my Android captured: the interrogation signs are the ASCII interpretations and the rest are the HEX strings received.
  12. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Thank you, there goes the MikroC Project and the Proteus 8 simulation. It it just the PIC Tx and Rx pins to the Virtual Terminal, and phisically they go to Rx and Tx of Bluetooth respectively. I tried with and without the voltage divider in the PIC's Tx pin but nothing changed.
  13. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    Changed it to 9615, nothing happened... gonna read the links. However I don't know if changing configurations is going to help because I connected it straight to the Arduino and worked perfectly :|
  14. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    I used it with Arduino and it's still working! I used 1,8k and 3,3K resistors to make a voltage divider so it would convert 5V to 3.3V but still.. random characters. And yes, I'm using the second one, the HC-05
  15. L

    [SOLVED] Bluetooth HC-05 to PC using PIC16F887

    I checked baudrate, both are 9600. The module has 3.3V TTL and the PIC has 5V, so can that be the issue?

Part and Inventory Search

Back
Top