Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:51 11 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Bluetooth Serial Console

Author Message
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 04:20am 29 Jul 2014
Copy link to clipboard 
Print this post

I have a kinetic art sculpture that was originally being developed using a soldercore. Since the introduction of uMite, I put this on hold and am now going to switch the project over to uMite. The soldercore was able to be attached to the computer used to program it using an ethernet cable and the use of telnet. The actual project is about 9 feet in the air and running a cable from the computer to the uMite for console access was not making me happy. I considered making two differential serial driver/receiver boards with rj45 connectors so as to implement the same cable that was already run, but "nobody's got time for dat".

I picked up a HC-06 type bluetooth module and played with the idea of using it instead to program the uMite on the project end. I set up a simple rx/tx program on the uMite's com 1 port at 96008N1, which is the default bluetooth module com setup. I AT commanded 38400 baud and swapped my usb to ttl serial with the bluetooth module on the console pins of the uMite. The windows box found the bluetooth, but unfortunately, set up two distinct virtual com ports on the machine (com6 and com7) and labeled 6 incoming and 7 outgoing. This was weird to me but I could not get any different results after many tries. I tried many times to get MMedit to work with either port to no avail. Still trying to google what the deal is with that.

Just to check, I tried teraterm on com6 and viola, the flashing led on the buetooth module went solid, the cursor started to flash and now I am programming the uMite using teraterm over bluetooth and it is working very well. After saving setup in teraterm, I tried powering down everything and restarting normally and everything just popped up nice like it was a wired connection. I shouted... "Look honey, no long ttl serial cable run to the console input of my uMite. Teraterm just connected over bluetooth. Now I need to get MMedit to fly with this setup. What, you don't know what I'm talking about again... Jeez...
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6220
Posted: 12:05pm 29 Jul 2014
Copy link to clipboard 
Print this post

Now that you have Teraterm running successfully, MMEdit just needs to be configured to the same serial port. In most cases, once Windows has paired to the device, the rest just happens.

I have always found Bluetooth on Windows PC's 'strange'
My laptop doesn't have Bluetooth built in so I used a HC-05 module with a USB to TTL adapter on the PC end of the link. The HC-05 can be set as either master or slave but I prefer the HC-06 for the maximite end.

If MMEdit isn't working, what problems are you having?

Jim



VK7JH
MMedit
 
viscomjim
Guru

Joined: 08/01/2014
Location: United States
Posts: 925
Posted: 03:21pm 29 Jul 2014
Copy link to clipboard 
Print this post

Hi Jim,

When I try to connect using chat, MMedit locks up and I have to control alt delete to shut it down. I used the same port as teraterm. The flashing (not paired) led keeps flashing. On teraterm, it just works using com 6 even though com 7 shows up in device manager. Just tried it again and same thing happens. Not sure what I am doing wrong. I really want (need) to use MMedit. I have become accustomed to it. Any clues?

Thanks for your help!!!
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025