- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello, im working on a project ( i need to transfer data from/to app inventor) but im bad at code , could someone make me a few lines of code to make a bluetooth sensor (HC-06 here) communicate with an UART at 9600 bauds using tx - rx pls , hope u could help me
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
KaKa,
The UART code is device-specific, what processor/kit do you use? It is always recommended to post questions in device-relate forum for better feedback. This forum is for general questions on Cypress software.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We recommend you to use Cypress' Ez-BLE modules for your BLE application. The reason is that you can easily configure this module. Please refer the Ez-BLE user guide obtained from the link below:
https://www.cypress.com/file/285326/download
You can find several operational examples in Section 3 of the above application note.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sadly i have to use an UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to refresh my old project for HC-04 from here.
only search for devices on different baudrate. comments in Russian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for the help but it seems way too complex , the code have to be like 5-10 lines, the uart should just be able to receive and send data by bluetooth to display it on app inventor (i'll be glad to donate u via paypal if can help me out)
it has to be with the UART_putchar / getchar code and interuptions (don't need the lcd thing)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
KaKa,
The UART code is device-specific, what processor/kit do you use? It is always recommended to post questions in device-relate forum for better feedback. This forum is for general questions on Cypress software.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems so:
Connect the UART to the "HC-06
By default, it runs at 9600 baud.
AT commands will work until the module is connected to Bluetooth
Further:
-Turn on Bluetooth on the computer and look for new devices
- We find in the list of disorders "HC-06" and connect to it.
-Pin code required. you must enter "1234" or "0000"
In the device manager, a COM port will appear.
If the connection is established you can work as with a regular COM port.
there are many examples of working with the COM port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
KaKa,
Thank you for choosing my post here, but I believe that the correct answer was provided by Evgeniy Pavlov. I tested his solution long time ago and it works!
Please mark his answer as the correct one.
/odissey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem is i need a code with Uart get char and put char