Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:31 27 Nov 2024 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 : MM Baud Rate

Author Message
MM_Wombat
Senior Member

Joined: 12/12/2011
Location: Australia
Posts: 139
Posted: 10:53pm 08 Mar 2013
Copy link to clipboard 
Print this post

Hi,

Is there any way to get a 115200 baud rate on a MM or CMM?



To connect to a Microchip/Roving Networks RN 42 XV bluetooth module I need 115200 serial link..

Dennis
Keep plugging away, it is fun learning
But can be expensive (if you keep blowing things up).

Maximite, ColourMaximite, MM+
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6099
Posted: 11:04pm 08 Mar 2013
Copy link to clipboard 
Print this post

From the help file:

‘baud’ is the baud rate, either 19200, 9600, 4800, 2400, 1200, 600, 300 bits per second. For COM3 and COM4 (DuinoMite only) it can be any number from 300 to 460800. Default is 9600.


Jim
VK7JH
MMedit   MMBasic Help
 
djuqa

Guru

Joined: 23/11/2011
Location: Australia
Posts: 447
Posted: 11:43pm 08 Mar 2013
Copy link to clipboard 
Print this post

That module will work with uart speed as low as 1200bps
VK4MU MicroController Units

 
cwilt
Senior Member

Joined: 20/03/2012
Location: United States
Posts: 147
Posted: 05:58am 09 Mar 2013
Copy link to clipboard 
Print this post

You will have to set the baud rate on the RN-42.

Usually $$$ with no return enters command mode.

I think the command is SU,19.2

Going from memory, but can not remember command to save it.
 
MM_Wombat
Senior Member

Joined: 12/12/2011
Location: Australia
Posts: 139
Posted: 02:02pm 09 Mar 2013
Copy link to clipboard 
Print this post

Hi,
@djuga &cwilt.

I have connected the module through my pc bluetooth. com9 for outgoing and com10 for incoming. The pc is set for rni-spp. Using putty to connect on com9 with settings 115200,8,0,1,none i can connect. led goes solid. type $$$ and nothing. no 10 flashs/sec led.. tried many times. open com10 in putty with no returned text when typing in com9...short tx and rx on module together and get returned text in com9 window but still no command mode.


I have succesfully connected the module through my phone using app inventor and the arduino. still no luck with the command mode, and i send the command straight after the connection.


Will have to use MM to connect while driving gpio7 high. this sets the baud rate to 9600....maybe then i can get into command mode.

Baud rate command is SU,(first two number of desired rate) ie.. SU,96

Reset command is R,1

Regards DennisEdited by MM_Wombat 2013-03-11
Keep plugging away, it is fun learning
But can be expensive (if you keep blowing things up).

Maximite, ColourMaximite, MM+
 
MM_Wombat
Senior Member

Joined: 12/12/2011
Location: Australia
Posts: 139
Posted: 03:39pm 09 Mar 2013
Copy link to clipboard 
Print this post

Hi,

@Tassyjim

If I got a DuinoMite and flashed my MM firmware(need my spiDMD() command) would the com3 and com4 still be able to be set to 115200?

If not , I will just have to drive GPIO7 high to force the module to a 9600 setting. I don't know why I am having so much trouble.. Hopefully the next module will work better....

Dennis

I want to be able to change DMD panel with an android phone over bluetooth...
Keep plugging away, it is fun learning
But can be expensive (if you keep blowing things up).

Maximite, ColourMaximite, MM+
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 05:19am 10 Mar 2013
Copy link to clipboard 
Print this post

I thought the device had a jumper for a low baud rate.

John
 
Print this page


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

© JAQ Software 2024