TOP Contributors

  1. MIKROE (2751 codes)
  2. Alcides Ramos (372 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 (139059 times)
  2. FAT32 Library (71589 times)
  3. Network Ethernet Library (56988 times)
  4. USB Device Library (47330 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29775 times)
  8. mikroSDK (27874 times)
  9. PID Library (26858 times)
  10. microSD click (26129 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: 1273 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

ADC 8 click

5

ADC 8 Click is a high precision, low-power, 16-bit analog-to-digital converter (ADC), based around the ADS1115 IC. It is capable of sampling signals on four single-ended or two differential input channels.

[Learn More]

MICRF RX Click

0

MICRF RX Click is a compact add-on board for high-sensitivity applications, including remote keyless entry, tire pressure monitoring systems, and remote actuation systems. This board features the MICRF220, an ASK/OOK 315MHz receiver with RSSI and squelch capabilities from Microchip to offer top-notch RF performance. This super-heterodyne, image-reject RF receiver provides a -110dBm sensitivity at 1kbps and a 0.1% Bit Error Rate (BER), supporting adjustable demodulator filter bandwidths for bit rates up to 14.4kbps.

[Learn More]

DSP Click

0

DSP Click is a compact add-on board that contains a multi-effects digital signal processor. This board features the V1000, a complete multi-effects audio DSP with ultra-high quality audio performance in a rapid ‘time-to-market’ solution from Coolaudio. The V1000 includes its integrated RAM with 16 built-in multi-effects and reverb controlled via I/O pins or I2C interface. Combined with a low-cost A/D-D/A codec like the V4220, this Click board™ provides an ultra-low cost FX solution. This Click board™ is suitable for applications as a standalone audio player, PC accessories, and Hi-Tech toys, conventional consumer electronic devices, and many more.

[Learn More]