tag:blogger.com,1999:blog-2168992611451428662.post4670249188015832954..comments2023-05-24T09:37:45.708-04:00Comments on MSP430 LaunchPad: Adding Bluetooth to your MSP430 ProjectNJChttp://www.blogger.com/profile/05101156243681023963noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-2168992611451428662.post-53763235476315258302014-11-12T02:23:51.625-05:002014-11-12T02:23:51.625-05:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/07184274592275862276noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-77860188455057499712012-11-15T23:58:34.741-05:002012-11-15T23:58:34.741-05:00Glad to help! If the code works fine when not usin...Glad to help! If the code works fine when not using the Bluetooth, everything should be ok. The default baud rate for the Bluetooth module is not 9600, that might be what is causing you some problems. If I remember correctly, the default baud rate is 115200. If you prefer to use 9600, you can change the baud rate of the device. For instructions on how to do this see the device's documentation.<br /><br />Hope that works out for you.NJChttps://www.blogger.com/profile/05101156243681023963noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-62415930341672021232012-11-14T19:06:22.926-05:002012-11-14T19:06:22.926-05:00Thanks for the reply.
the USCI0RX_ISR(void) inter...Thanks for the reply.<br /><br />the USCI0RX_ISR(void) interrupt is me trying my hand in interrupts because eventually I would like to use them. I originally had that commented out. I got that from example code I found on E2E. The full code is http://pastebin.com/TH1avecG. That code works when connected to the Launchpad through TeraTerm but not when connected to Bluetooth through TeraTerm.<br /><br />I definitely need to focus on one thing at a time and I will use those forums. Thank you!Mikehttps://www.blogger.com/profile/12046989972927985640noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-68646054798893151192012-11-14T18:02:28.174-05:002012-11-14T18:02:28.174-05:00Hi Mike. My first suggestion would be to make sure...Hi Mike. My first suggestion would be to make sure your code works without the Bluetooth board. Connecting to the computer via USB will make debugging easier and help you ensure your code works before going to Bluetooth.<br /><br />To help you further, I have a question about your code. What are you trying to accomplish with the USCI0RX_ISR(void) interrupt? It seems as if you are trying to send '!' to the computer every time you receive a character, is this correct?<br /><br />If you have trouble getting your code to work, I would recommend posting specific coding questions on http://forum.43oh.com/. Additionally, the example code that TI provides is VERY helpful.<br /><br />I hope that helps!NJChttps://www.blogger.com/profile/05101156243681023963noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-7157133106075393572012-11-14T17:37:51.299-05:002012-11-14T17:37:51.299-05:00Hi NJC, Thanks for writing this up. I can transm...Hi NJC, Thanks for writing this up. I can transmit data but the board doesn't seem to be able to receive. This is function for receiving http://pastebin.com/p6RgiJeY<br /><br />((IFG2&0x01)==0) never goes to '1', on CCS I watch the code just get there and wait. This is my full code BTW: http://pastebin.com/Mkq6J4Lu<br /><br />Also I can transmit if I comment out the part that receives and just do OUTA_UART('C'); or something.<br /><br />Is there something that I am doing wrong? The Bluetooth is set for 9600,N,1 like the board.<br /><br />Thanks.Mikehttps://www.blogger.com/profile/12046989972927985640noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-59878320797700215012012-09-01T14:55:48.429-04:002012-09-01T14:55:48.429-04:00Prashant: I believe it is possible, although I hav...Prashant: I believe it is possible, although I have never tried to do so. Please see the following link. http://www.circuitsathome.com/diy-2/testing-rn-42-bluetooth-module-using-android-phone. Additionally, I"m sure there is a vast amount of information on using the RN-42 module and an Arduino with an Android phone. Use these as references. Hope that answers your question!NJChttps://www.blogger.com/profile/05101156243681023963noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-68974936731483727042012-08-28T09:23:11.161-04:002012-08-28T09:23:11.161-04:00Can i connect this MSP430 interfaced with RN-42 bl...Can i connect this MSP430 interfaced with RN-42 bluetooth to an Android device and is it possible to communicate between android device and MSP430 over bluetooth to control MSP430 for other applications(like DC motor). Anonymoushttps://www.blogger.com/profile/07591534623828729922noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-77232926387208363692012-07-19T08:30:03.193-04:002012-07-19T08:30:03.193-04:00A very wonderful site about the Texas MSP430 Launc...A very wonderful site about the Texas MSP430 Launchpad, beginners shifting from basic MCU's to Texaslaunchpad like me will get benefit from this blog. <br />http://www.npeducations.comsatish dawanhttps://www.blogger.com/profile/14682340306263703096noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-80305298304299645732012-07-10T10:36:20.466-04:002012-07-10T10:36:20.466-04:00Ahmed: There are two things you should try out. Th...Ahmed: There are two things you should try out. The first is to short the RX and TX pins on the Bluetooth module and make sure that you are receiving what you transmit from your computer. Next, you might have to change the baud rate of the RN-42 module. This is done by entering the RN-42's settings menu through your computer's terminal. Take a look at the datasheet, it has all the information you need.NJChttps://www.blogger.com/profile/05101156243681023963noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-47680972969702549112012-07-09T16:40:42.441-04:002012-07-09T16:40:42.441-04:00Hi Nicolas,
I have a question to you, I am using ...Hi Nicolas,<br /><br />I have a question to you, I am using MSP430G2231 controller to simulate UART with baud rate 9600 to interface to RN-42, I keep sending a pattern of 0xA5 on the Tx pin and I have checked with my scope the timing and it looks fine, but when I tried to connect it to RN-42 RX pin, it looks like it is not recognized by it, and the LED indicating there something transmitted over Bluetooth(RED LED) is not flashing.<br /><br />I am not sure what is the problem here, and I am not sure is the baud rate is the problem.<br /><br />Appreciating your help, thanks in advance.<br /><br />Best Regards,<br /> AhmedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-28139901081652620372012-06-04T20:45:17.155-04:002012-06-04T20:45:17.155-04:00Leonardo: This module can be connected to the comp...Leonardo: This module can be connected to the computer. All you need to do is connect the RX and TX pins correctly to the Launchpad, and use a terminal program on the computer. I recommend Realterm. I personally do not provide support from a software standpoint on the computer, but this device works great with a computer. I hope that answered your question.NJChttps://www.blogger.com/profile/05101156243681023963noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-58504923299540823932012-06-04T20:10:34.055-04:002012-06-04T20:10:34.055-04:00Greetings, I have the next question. There is supp...Greetings, I have the next question. There is support when I connect rx tx launchpad cable to the computer or a bluetooth module? Thanks in advance. Leonardo Cruz.Leonardo Cruzhttps://www.blogger.com/profile/10566926796372147658noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-47372120437186298852012-06-04T20:09:28.459-04:002012-06-04T20:09:28.459-04:00This comment has been removed by the author.Leonardo Cruzhttps://www.blogger.com/profile/10566926796372147658noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-55116990792991718252012-05-18T07:50:43.367-04:002012-05-18T07:50:43.367-04:00Its a good project and will definitely try this. S...Its a good project and will definitely try this. Sometimes the above mentioned hardware is not available so it becomes a tough task to implement this.Bluetooth Modulehttp://www.blue-creation.comnoreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-57669407237453337532011-11-25T02:47:31.869-05:002011-11-25T02:47:31.869-05:00Wow, thank you so much for your contribution! The ...Wow, thank you so much for your contribution! The information you've provided are a brilliant thing! Thanks a million one more time! Everything works like a charm!Valeriehttp://originalcialis.com/noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-75591212588329983612011-10-31T20:56:34.886-04:002011-10-31T20:56:34.886-04:00The range and the baud rate of its bluetooth is qu...The range and the baud rate of its bluetooth is quite good and favorable for avid users.<br /><br /><a href="http://www.spectrasymbol.com" rel="nofollow">Distance Sensor</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-51456424533178463582011-09-25T15:24:32.925-04:002011-09-25T15:24:32.925-04:00Could u provide a ready to use library for softwar...Could u provide a ready to use library for software UART (for all newbies)?<br /><br />Something like: <br />magic_function("this string will be transmitted over uart");<br /><br />I know that u wrote such function, but as an main program - can u pack it into one portable function so all launchpad newbie sould just use it by copying single function and then using single line in main() ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-808893995307198632011-08-24T11:31:14.458-04:002011-08-24T11:31:14.458-04:00@Brian - What kind of data throughput have you bee...@Brian - What kind of data throughput have you been able to get with that device? Very interesting!<br /><br />@Don Stratton - As far as the comment system goes, the URL is an optional field and it is for a website if you have one. This allows other users to click on your name and see your website.<br /><br />As far as my frustrations go with RN, I am not claiming that there was misinformation on the fact that you need to use the device in HCI mode for higher speeds, but rather that you need an external device for the stack. This is not said anywhere in the datasheet. But regardless, even though I am a professional I am no Bluetooth expert and it is not obvious to me that an HCI stack would need to be run on an external chip.<br /><br />It would be nice if companies would write datasheets as if they were writing to an experienced hobbyist. But till that happens, its up to people like you and I to help interpret.NJChttps://www.blogger.com/profile/05101156243681023963noreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-6600774549052816482011-08-22T00:51:53.565-04:002011-08-22T00:51:53.565-04:00I read the datasheet straight from Roving Networks...I read the datasheet straight from Roving Networks, and I did not have any trouble understanding the various capabilities of the various versions of this module. I am not trying to be insulting, but I think perhaps you simply misunderstood the datasheet, and that is not their fault. Sparkfun could have done a better job since they ARE targeting hobbyists who are not necessarily as skilled at deciphering a datasheet as someone like myself who has designed commercial Bluetooth-equipped products for a living. So, I'm not sure it was fair to blame your confusion on RN as they cater to a different crowd than Sparkfun.<br /><br />BTW, my name is Don Stratton. I am only posting this "anonymously" because your comment system asks for a name and a URL. Did you mean email address? I would have given one, but only if it were not made public as I have quite enough spam as it is.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2168992611451428662.post-45996847135995463472011-08-21T16:28:53.632-04:002011-08-21T16:28:53.632-04:00These are even cheaper for what it is worth:
http:...These are even cheaper for what it is worth:<br />http://www.mdfly.com/index.php?main_page=product_info&cPath=8_47&products_id=63<br /><br />And they can be had for even less on eBay. RN ones do have a better AT command set though, and easier to read English documentation.Brianhttp://teholabs.comnoreply@blogger.com