TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136710 times)
  2. FAT32 Library (69922 times)
  3. Network Ethernet Library (55936 times)
  4. USB Device Library (46258 times)
  5. Network WiFi Library (41884 times)
  6. FT800 Library (41146 times)
  7. GSM click (28979 times)
  8. PID Library (26410 times)
  9. mikroSDK (26355 times)
  10. microSD click (25353 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

Bluetooth Switch

Rating:

1

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Bluetooth®

Downloaded: 1254 times

Followed by: 2 users

License: MIT license  

This example demonstrates wireless Bluetooth switch control, using clicker2 for STM32, Bluetooth click board and Android smart phone.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Bluetooth Switch" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Bluetooth Switch" changes.

Do you want to report abuse regarding "Bluetooth Switch".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

BlueTooth Switch

BlueTooth Switch

Front side appearance of the Clicker2 for STM32 with BlueTooth and Relay click boards.

View full image

Classic is always in style, but with this new Android app, Bluetooth click is even more appealing. Wherever you see IoT mentioned, there’s probably mention of BLE behind the corner. Is it time to forget about Bluetooth classic?

Of course not. You should definitely stay in the loop and try to learn as much as you can about emerging technologies, nobody argues against it. But don’t let the new and shiny blind you. It’s just as important for developers to recognise occasions that call for a more conservative approach.

A BLE module may require only a coin cell battery to run, but it will drain more energy from you as a developer. If power consumption is not critical, classic bluetooth is much simpler to work with. Specifically, Bluetooth click has a familiar UART interface, an on-chip antenna, and a fully qualified 2.1/2.0/1.1 RN41 module with built-in firmware.

Also, consider that the majority of consumers still don’t have BLE-enabled smartphones. If you’re developing some sort of hardware that’s meant to connect with phones or tablets, Bluetooth classic is still a safer bet if you want a bigger pool of potential users.

To simplify development on the smartphone side, we developed an Android app that pairs with Bluetooth click. It’s just a simple interface with two switches for setting things on and off with a relay (our hardware setup is based on a clicker 2 for STM32 board and on a relay click). 

Examples are written for :
 - Clicker 2 Board for STM32 - STM32F407VG

ALSO FROM THIS AUTHOR

I2C Isolator 3 click

0

I2C Isolator 3 Click is a compact add-on board that offers completely isolated bidirectional communication. This board features the CPC5902, a dual optically isolated bidirectional logic-bus repeater from IXYS Integrated Circuits Division.

[Learn More]

3D Hall 9 click

0

3D Hall 9 Click is a compact add-on board used to detect the strength of a magnetic field in all three dimensions. This board features the ALS31300, a 3D linear Hall-effect sensor with digital output and advanced low power management from Allegro Microsystems. The ALS31300 features an I2C interface, enabling it to be easily configured by MCU with the measurement data provided in digital format of 12-bits corresponding to the magnetic field measured in each X, Y, and Z axes.

[Learn More]

Buck 3 Click

5

Buck 3 click is a very advanced synchronous step-down (buck) converter, which is designed to deliver noise and ripple-free voltage to highly sensitive applications, such as FPGA and high-performance DSP platforms.

[Learn More]