TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139256 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57122 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42404 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 times)
  10. microSD click (26198 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Initializing the RN4020 on the Curiosity board

Rating:

0

Author: Barna Szternák

Last Updated: 2016-02-25

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Communication

Downloaded: 574 times

Followed by: 1 user

License: MIT license  

This example is a small project to initialize the RN4020 on the Curiosity board. I used the OLED C click from my previous example as a receiver terminal to printout the response from the RN4020.
There is a button defined to share battery level info through the battery level service (0x2A19).
The code has been written in MPLAB X.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Initializing the RN4020 on the Curiosity board" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Initializing the RN4020 on the Curiosity board" changes.

Do you want to report abuse regarding "Initializing the RN4020 on the Curiosity board".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other PIC Compilers
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

The only headache I have with the RN4020 and the PIC is that the RN4020 has 115200bps speed by default and the PIC is able to communicate with it only 57600bps. As a rule of thumb half the speed shall be set up on the PIC side for the proper communication. And I don't know, why.

To test the bluetotth is working you can use your smartphone to connect to the RN4020, for iPhone I used LightBlue app from AppStore. For Android phones there is an app called BTLE Browser suggested by MicroChip.

ALSO FROM THIS AUTHOR

OLED C click in MicroChip Curiosity Board (PIC16F1619)

0

This is a simple Hello World! example using the OLED C click in a Curiosity experience board. The code has been written in MPLAB X IDE for PIC16F1619.

[Learn More]