which Bluetooth parts to use?

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

I have to make a bluetooth system that control a servomotor (perhaps stepper motor), from a smartphone, what is the best/cheapest way to do it?

 

Today I use BLE121 modules for other things, they would work fine but have a high cost!

 

My guess is that there are some cheap hobby things out there, that even include the motor. 

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

I presume that you have found/read this one already?

 

http://www.techbitar.com/bluetoo...

 

Ross McKenzie ValuSoft Melbourne Australia

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

The HC05 or HC06 are about $5 from ebay, I have used the HC06 but not the HC05 yet (I have purchased one).

 

There are a few Android terminal programs (I have Blueterm) but don't know of any fancier, ideally I would love to have ucon for Android but that would be stretching the friendship with Ed Sutter.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Hey John,

Hope all is well with you.  I just stumbled on this post...

While I certainly won't be porting uCon to Android in the near future, it may not be

too difficult to give uCon a Bluetooth back-end on Windows (similar to telnet/ssh). 

Would this be of any use?

Ed

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

Hi Ed

 

Well I already use uCon with a Bluetooth dongle on my PC (Blue Soleil), it has 2 Bluetooth "com ports", so it's simply a matter of selecting one of those ports.

 

However when I use my Samsung phone or tablet for field work I'm stuck with the nicely working Blueterm but I miss the programmable "function keys" and buttons of uCon and of course the scripts and Xmodem transfer facilities. wink

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Sheesh, I guess I never even thought of that...

I have bluetooth built in to my W7 machine and have not figured out how to access it as a com port.

Figured I had to do some programming...  I guess not, I'll just buy one of those dongles.  Thanks!

 

Regarding the "uCon App"... 

I've been wanting to play in this space (haven't yet); so if I ever do, I promise I'll look into it!

Just don't hold your breath!  :-)

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

Oh and of course fully VT100 compatible.......breathing out now......devil

 

What language is uCon written in? C or maybe visual basic? A lot of people praise the "BASIC for Android" program (B4A also available for rotten Apples)  to build apps, been tempted to get it myself.

 

edit. typo

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

Last Edited: Tue. Jun 21, 2016 - 03:29 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You need to be clear whether you're using "classic" Bluetooth, or Bluetooth low energy (aka "Smart" or BLE).

 

"classic" Bluetooth defines a "serial port" profile,  but there is no such thing standardised for "Smart" - so, if you want to work with a "terminal" app, it'll have to be "classic".

 

Having said that, most (all?) BLE chipmakers have their own proprietary "UART-over-BLE"

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...