Jump to content

Search the Community

Showing results for tags 'SoftwareSerial'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 8 results

  1. danielhuber

    Bluetooth module HC-05

    I have a MSP-EXP430G v1.5 launchpad with a M430G2553 I wanted to try my hands on Bluetooth and bought a module with a HC-05 chip. This can be bought in china for less than $4. Info about HC-05 can be found e.g.: www.linotux.ch/arduino/HC-0305_serial_module_AT_commamd_set_201104_revised.pdf http://www.rcscomponents.kiev.ua/datasheets/hc_hc-05-user-instructions-bluetooth.pdf Then I banged my head for a full day to make it work. The Bluetooth connection posed no problems, but the serial communication with the launchpad gave me a headache. My idea was, to set up a software serial connection for the HC-05 and use the HW UART for debugging. Now I have to tell a bit about the(strange) power up of CH-05. If the ENA(able) pin (also called KEY) is connected to LOW, the HC-05 starts in data mode, 9600 baud, the mode you use for data transmission. If the ENA pin is held HIGH during power up, the HC-05 starts in AT command mode1 with 38400 baud. I tried this for a long time, but I could never get a connection. If you hold ENA LOW during power up , and subsequently pull it HIGH the HC-05 starts in AT mode2 with 9600 baud. With this setting I got a very unstable connection with characters garbled and missing. After I long search I finally found: https://ssihla.wordpress.com/2013/01/04/adding-bluetooth-to-the-msp430-launchpad/ Well, the baud rate of the energia library "SoftwareSerial" is not accurate enough (5% error) for the HC-05!!! I then connected the HC-05 to the HW UART. Note that the HW UART is 9600 baud and so must the HC-05 be. For this, you remove the RDX/TDX jumpers on the launchpad and connect theTDX pin of HC-05 to P1.1 (pin 3) on the launchpad and the RDX pin of HC-05 to P1.2 (pin 4). This worked fine. But now debugging is difficult because you do not have a serial monitor. To fix this you can connect the serial monitor to a software UART. The serial monitor seems less picky about accurate baud rate. The procedure for this: First, choose which pins you want to use for the RDX/TDX of the software UART. Then look at the launchpad, component side, USB plug at top. From the 4 emtpy jumper pins, we connect the pin at upper right to the RDX software UART pin. The jumper pin at lower left is connected to the TXD software UART pin. On the pictures I chose P1.6/P1.7 as RDX/TDX for the software serial port. The HW UART is connected to the HC-05 module. I powered the HC-05 directly from the launchpad with 3.3V. This seems to work, even when the minimal Voltage is specified as 3.6V With this setting it works quit reliable. cheers, Daniel
  2. hai, am working energia at CC3220SF i need to Muti UART Communication , need to Software Serial header File GPIO or Digital Pin it possible to connect UART communication any other Example for Multiuart code at CC3220SF or CC3200 how many UART is possible to connect at CC3220SF THANKS SELVA
  3. Hello, I'm actually trying to communicate with Gps through Uart. But every time its giving error like this. error: #error This version of SoftwareSerial supports only 20, 16 and 8MHz processors. I don't know how to solve it. so, please help me to finish this project. it's very urgent Thanks in advance.
  4. I am making an IOT based attendance system using AdafruitFingerprint sensor and CC3200 . My Fingerprint sensor library works better and using 12 and 23 serial ports for Tx and Rx but I am getting problem with my Softwareserial.h library file. I am not sure if it a bug or my mistake could anyone help me solve this issue or suggest me another way to finish this project ? I have uploaded the Library file which I was using from github.com Thank you, Raja.SoftwareSerial.cppSoftwareSerial.h
  5. Hello all ! Im going to cut straight to the matter. I was trying to follow this tutorial/project : http://jithinkrishnabs.blogspot.no/2015/05/cc3200-wifi-camera-webserver-attractive_13.html Essentially i am using the CC3200 to take a picture and upload it. However the problem im already running into is the following : When i include the adafruit serial camera library i get prompted for <SoftwareSerial.h>. The Adafruit library in question ofcourse uses and needs the SoftwareSerial library. I cannot find any SoftwareSerial library for the CC3200 even though i have sufficient google skills. Using the SoftwareSerial library from the MSP430 obviously doesnt work because its not compatible. I also want to note that im using V17 Energia. This is because when i used the new board management feature in V18 it didnt create a cc3200 folder under "energia\hardware" and as such i had no libraries availible at all. HOWEVER using v17 of energia i now correctly have a cc3200 folder with its coherrent library folder. tldr; Cannot find any usable SoftwareSerial library for cc3200, pls help.
  6. Is there a way to use the SoftwareSerial library on the Stellaris Launchpad TM4C123GXL board? I am trying to connect a Sparkfun serial enabled LCD screen to the board but the SoftwareSerial library is only compatible with 20, 16, and 8 MHz processors, and the TM4C123GXL is an 80 MHz chip. How can I use this LCD screen with the Stellaris Launchpad over a UART connection? Do I need to use SoftwareSerial or can I do without it? I am programming in Energia 0101E0017 on Windows 7 64 bit. Any help is greatly appreciated, thanks!
  7. I am planning to port this code for TIVA-C129 using Energia (on a Mac). 1st trying if it even compiles. I have below include #include "XBee.h" #include <SoftwareSerial.h> Getting error "#include <SoftwareSerial.h> ^ compilation terminated." I even tried doing #include "SoftwareSerial.h" but same error. What am I missing?
  8. My eventual goal is to pass in NMEA GPS strings to our board and use them in our code. For now I am trying to connect a SparkFun venus GPS unit to a TI-MSP430FR5969 board (version 2.0). I am using the SoftwareSerial example: (https://github.com/energia/Energia/blob/master/hardware/msp430/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino) The error message when compiling is that the SoftwareSerial only supports 16MHz processors. My confussion is that the comments in the code make specific mention of having resolved this issue. Additionaly, if i understand correctly the MSP430fr5969 board is a 16MHz processor. I have already replaced the files in the softwareSerial library folder with the code from GitHub. (https://github.com/energia/Energia/tree/master/hardware/msp430/libraries/SoftwareSerial) The eventual goal will be to use a NMEA.h library with an Airmar wind sensor to receive GPS and other sensor readings. Could you assist me in solving this error message? Thank you.
×