newbie AVR interface to Bluetooth

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have this new project and lots of questions.
The customer wants to use a Bluetooth link to control some lights. He wants a 8 button remote that allows him to select different lights to turn on and off.

Are there any AVR demo boards (or other kinds) that would allow me a starting point on a design like this?

Can Bluetooth even be used to do this kind of control?

I tried to talk him into a Linx or Zigbee setup but he insists on Bluetooth for some reason.

BADBAUD

Last Edited: Fri. Oct 16, 2015 - 02:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

> Can Bluetooth even be used to do this kind of control?

Probably, it's just more power consuming the IEEE 802.15.4-based
solutions (which is why these have been invented in the first place).

I think the most popular solution is to use a Bluetooth module that
is controlled over a serial link, using standard modem "AT"-style
commands.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There are two types of Bluetooth modules/chips; those with onboard stacks, and those with a "HCI Transport". The former is probably what you want; these have a (usually vendor defined) command set which makes them appear as wireless UARTs, Audio devices and other Bluetooth classes to remote devices, which they manage entirely by themselves.

The latter is the "raw" form of Bluetooth, where you get low level link notifications and send control packets - meaning you need to implement the upper Bluetooth stack layers yourself.

If you find a Bluetooth chip which supports "SPP" (Serial Port Profile) you can just hook it up to the AVR's USART and away you go. BlueGiga is one vendor for such modules.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks, that's a excellent place to start my learning process.

BADBAUD

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Dean thanks for the information. :-)

-Krishna Balan S

-------------------------------------------------------------------------

"Heroes are ordinary people with extraordinary commitment"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Here's a great site for BlueGiga WT12 and WT32 Bluetooth modules - offering either the modules by themselves, or on Breakout Boards: http://www.embeddedwirelesssolutions.com/bluegiga_wt32_module.html

They also offer other wireless modules/Breakout Boards (XBEE, 433MHz, 915MHz, GPS)

Beau
www.goEWS.com (Wireless Modules/Breakout Boards -and- AVR Breakout Boards)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

broodell wrote:
Here's a great site for BlueGiga WT12 and WT32 Bluetooth modules - offering either the modules by themselves, or on Breakout Boards: http://www.embeddedwirelesssolutions.com/bluegiga_wt32_module.html

They also offer other wireless modules/Breakout Boards (XBEE, 433MHz, 915MHz, GPS)

Thanks I got a couple of modules in this week from Bluegiga. Been reading about their PCB specifications on how to mount the module. Whew! 4 layer with ground vias all over.

BADBAUD