Search the Community

Showing results for tags 'wifi'.



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.


Found 27 results

  1. Hello everyone, I have a project which requires GPS + Wi-fi capability and fastest clock speed mcu possible. For GPS capability I came across CC4000 which seems alright, but I'm confused on which launchpad board to select that has Wifi capability also. I have worked on Arduino but new to TI's Launchpad. Please suggest me for what should I buy. link for the CC4000 gps module kit : http://www.ti.com/tool/cc4000gpsem?keyMatch=gps&tisearch=Search-EN-Everything#descriptionArea
  2. Dear all, I would like to send over Wifi 350Kb of data using the "WiFiClient.print" API. Could you please let me know what is the maximum length of data I could send in every POST? Is it possible to increase it? Thanks in advance. Best, George
  3. Nice surprise! It’s here! Get your Wi-Fi® SensorTag today Get data from 10 sensors to the cloud in minutes Connect to the cloud in minutes with this ready-to-use demo platform Run applications on 2 AAA batteries Learn more
  4. Hi, I am using MQTT client on CC3200 with Energia. Case1=> When CC3200 is connected to wifi router and there is Internet connection on the router, I received data on MQTT and there was no delay in connection of either tcp or mqtt client. Case2=> This case is valid only when CC3200 is connected to the router but there is no Internet on it. Now the issue is that as cc3200 is connected to the router with no Internet, it will try again and again to establish MQTT connection. But when it tries to establish tcp client connection it takes 28 seconds and when return code from tcp arrives only then the rest of the code resumes to work. It hangs in that part. Is there any way to reduce this time by changing any parameter in the library? I found one constructor in MQTTclient.h library. Client(Network& network, unsigned int command_timeout_ms =30000); I changed the command timeout value by different ones but no change was observed. It was still taking 28 seconds. After that tcp return code came as 0 which indicated that tcp connection was not made. I would like to ask that is there any way to reduce this time. Like can the time it is waiting for return code be changed.Can it be made less? Please reply asap. Waiting for your guidance robertinant@yahoo.com.
  5. Hello, I have recently bought cc3100 booster pack to use with msp432 and energia. I connected the boosterpack with the launchpad as shown in the attached pic below. I tried to run the sketch "SimpleWebServerWiFi" , as shown in the tutorial page of energia. I didn't press any switches on the boosterpack and simply connected it with the main board and powered it on and uploaded the example sketch after changing the ssid and password.But the serial monitor outputs nothing and the "http://192.168.1.64/L " page does not load . Please help.
  6. Hi, I am currently working on a code in Energia that will allow me to upload and send a binary file wirelessly from a client site to the CC3200. So far, the code has successfully accomplished the following: -the board establishes a Wi-Fi network -commands from a laptop can interact with the board (the Energia Simple Wi-Fi Server example (LED ON/OFF) code was tested to ensure this was working) -a 9 byte binary file is sent through Wi-Fi to the board's volatile memory, saved from volatile memory into an on-baord flash memory file, and confirmed by sending it back to the laptop through a serial connection The code is eventually supposed to receive a larger binary file (we hope around 500 KB) that will represent points on a sinusoidal curve. This file will then be sent to the Audio Booster Pack board to play the audio file. I created a flash file which was opened, and written to through a buffer array containing the binary file contents. This method was successful for a 9 byte file, but I learned that a larger 500 KB file cannot be stored in a buffer array so easily. I think this is because of a lack of RAM space on the board. How can I implement a code in Energia in order save this larger binary file to the flash memory? Is the buffer array approach a good method? Latency isn't really an issue, as long as we can fit the whole file on the board, and then play it after. Thanks, any support is greatly appreciated!
  7. Hi I am trying to do a MC to MC communication using modbus. I assigned static IP's to both my MC's. WiFiServer MbServer(MB_PORT); WiFiClient client = MbServer.available(); if(client.available()) { ///Do something////// } My question here is, Is there are way I can check the senders IP address before reading modbus packed data in the loop. Because the receiver MC can be jammed with high data throughput as its a open connection (i.e anyone can send data to the MC by knowing its IP address). I want to read the senders IP before doing any data processing. I know using UDP protocol we can use RemoteIP(). Is there anything similar in this case. For sending and receiving MODBUS, im using the attached libraries. MgsModbus.cpp MgsModbus.h
  8. Hi, I've been following the ConnectWithWPA example to see the encryption type. However, it keeps showing me "Encryption Type: 0". What does this mean? Also what does the AUTO return value mean? (from this reference: http://energia.nu/reference/wifi/wifi_encryptiontype)
  9. Is there a way to wake the CC3200 via WiFi? I read this post but can someone let me know if this is operational in the latest version of Energia?
  10. This library allows you to quickly and easily connect your LaunchPad project to Exosite's Data Platform in the cloud. It connects your project using a MSP430F5529 LaunchPad and CC3000 BoosterPack. Two software packages are available: the Exosite barebones-template solution and a real-world example in the form of the Exosite BBQ Companion Combination. Both of these use-cases have code available for the Energia and Code Composer Studio IDEs. Present Support: MSP430F5529 LaunchPad Future Support: Tiva C Series TM4C123G LaunchPad Required: CC3000 Wi-Fi Transceiver BoosterPack Optional: ADS1118 BoosterPack (bonus Energia beta-library available) GitHub Repository: https://github.com/a-whitehead/exositeLaunchPad Note: A free account on Exosite Portals is required: https://ti.exosite.com
  11. I am trying to talk to the Microsoft Azure Event Hub from Energia but I'm a little baffled! Using the WiFi library I seem to be getting a successful connect (returns true) but ... nothing seems to get posted... I am trying to build the message up as in this (javascript) example http://fabriccontroller.net/iot-with-azure-service-bus-event-hubs-authenticating-and-sending-from-any-type-of-device-net-and-js-samples/ but not seeing anything (even failed messages) reported in the event hub. I wanted to stick with Energia rather than switch to anything else, but after a couple of days banging my head on a wall I'm a little suck! Any ideas would be much appreciated (as I'm probably doing something dumb!) if there's a way to debug this / get error messages from the connection or the attempt to post that would be a huge help... Gotta use the Azure end point for this, so that's the one constant. char sas[] = "SharedAccessSignature {sig from the generation example}"; char serviceNamespace[] = "{ns}.servicebus.windows.net"; char hubName[] = "{hub}"; char deviceName[] = "device01"; void loop() { ////// WiFiClient client; float t = 10.1; client.stop(); // if there's a successful connection: if (client.connect(serviceNamespace, 443)) { Serial.println("connecting..."); // send the HTTP POST request: client.print("POST /"); client.print(hubName); client.print("/publishers/"); client.print(deviceName); client.println("/messages HTTP/1.1"); client.println("Host: www.arduino.cc"); client.println("Content-Type: application/atom+xml;type=entry;charset=utf-8"); client.print("Authorization: "); client.println(sas); client.println(); client.print("{ Temperature: "); client.print(t); client.println(" }"); client.println(); // note the time that the connection was made: delay(10000); } else { // if you couldn't make a connection: Serial.println("connection failed"); delay(1000000); } }
  12. In present work, I aim to control servo motor as an Internet of Things(IoT) so i use ESP8266 , which is the low cost wifi module (approx. 3$), to establish connection between Tiva LaunchPad(as a client) and Computer(as a server) via internet with Transmission Control Protocol (TCP). I use Java application to create server to control servo on the PC side of the project. One can see the Java Application in below video. Video Tutorial https://www.youtube.com/watch?v=2NBJP0-isrg Servo Motor: Micro Servo 3.7G (approx. 1.5$) WiFi Module: ESP8266 (approx. 3$) Source code (IoT.rar) can be found in below link. It incudes both Java(as a Server) and Code Composer Studio(as Client) codes. TI E2E
  13. Hi, I'm using a cc3200 Launchpad. On my first run, I provided the SSID and Passphrase to connect to my router as shown below: char ssid[] = "testrouter"; char passphrase[] = "testpassphrase"; WiFi.begin(ssid, passphrase); I've noticed that there was a recent addition into the WiFi.begin(ssid, pass) method in the WiFi.cpp file which seems to add the SSID and Passphrase into its own profile. if (iRet == 0) { sl_WlanProfileAdd(ssid, NameLen, 0, &SecParams, 0, 6, 0); _connecting = true; return status(); } else { return WL_CONNECT_FAILED; } I'm having issues when I'm trying to retrieve the profile using the "int sl_WlanProfileGet()" method. I'm able to retrieve the SSID but unable to retrieve the Passphrase correctly. Following is the code I'm using to retrieve the SSID and Passphrase: char pName[32]; int pNameLen; unsigned char pMacAddr[8]; SlSecParams_t *pSecParams; SlGetSecParamsExt_t *pSecExtParams; unsigned long pPriority; sl_WlanProfileGet(0, pName, &pNameLen, pMacAddr, pSecParams, pSecExtParams, &pPriority); // index 0 pName[pNameLen] = '\0'; pSecParams->Key[pSecParams->KeyLen] = '\0'; Serial.println(pName); // prints "testrouter" -CORRECT Serial.println(pSecParams->Type); // prints 2 -CORRECT (SL_SEC_TYPE_WPA) Serial.println(pSecParams->Key); // prints "" -WRONG WiFi.begin(pName, pSecParams->Key); // doesn't connect successfully Please let me know if I'm doing something wrong or if there is another way to connect to a past profile? Thanks! Edit: My actual problem is that, if I do Smartconfig and I successfully send the SSID and Passphrase to the CC3200 and it connects to WiFi router but the CC3200 powers OFF and then powers ON again, how do I make it connect to the last known SSID and passphrase without having to do Smartconfig again?
  14. Hi everybody, People might have read the hackaday post describing the ESP8266. The ESP8266 is a really low price Wifi chip, which uses serial communication (just like the Wifly etc.) to connect to wifi. Although the CC3100 and CC3200 are the better chips, the ESP8266 main differentiating point is its ridiculous low price. I've ordered 8 for $3.50 each (aliexpress). It doesn't seem to support IPv6 out of the box, but there is an SDK, which might open future possibilities. I was thinking to make a library for energia to support the ESP8266. Anyone interested? Are there specific starting points to make this library usable? I am looking at two scenario's: - MQTT client - Relaying sensor data or control. - Web service - Returning a JSON object with sensor data. It would be nice to use the hooks of an ethernet library and only need to process strings/arrays of bytes. Edit: As this wifi dongle uses an UART, how do I create two UARTS on a G2553? Kind regards, Eelco Rouw
  15. Below is a link to the port of the Arduino Library HTTPClient for Energia/MSP430. It works with the latest version of Energia with F5529LP + CC3000 BoosterPack. Simply download/clone the library into the hardware/msp430/libraries folder of Energia and the library will appear upon restart. The library makes it easy to interact with web servers using Energia/MSP430. The included example shows how to download a webpage (energia.nu), check http response codes and display the content of the downloaded webpage. GitHub Link: https://github.com/zlalanne/HttpClient
  16. Hello everyone, Is it possible to create a "host name" for the wifi server running on CC3200 Launchpad?, if yes, does anyone know how or have a sample code?. Thanks.
  17. Hi, I'm trying to get the ConnectWithWPA example sketch working with the CC3100BOOST boosterpack on a MSP-EXP430FR5969 LaunchPad and got the following compilation error: c:/ti/energia/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: ConnectWithWPA.cpp.elf section `.bss' will not fit in region `ram' c:/ti/energia/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: region `ram' overflowed by 862 bytes collect2: ld returned 1 exit status I'm running the latest version of Energia (0101E0013) Has any one ran into this? How do I get around it? Thanks
  18. Below is a link to a port of the Arduino library to interact with xively for Energia/MSP4305529LP. For those that don't know xively (formerly cosm) is an IoT online service where you can send and receive data from. It allows you to view the data sent in graph form to view trends over long periods of time. This library requires the HTTPClient Library found here: 43oh Github Once both libraries are installed you have access to high level APIs to send and receive data to the Xively servers. There are examples that demonstrate how to upload/download a single datapoint as well as an example that uploads to several different channels at once. More information can be found on the github page. https://github.com/zlalanne/xively_energia
  19. Hi There, Anyone tried (and succeeded) in getting the CC3100 booster pack up and running with the FR5969 LP? I'm getting compilation errors and it looks like it's running out of RAM when I try to compile the example WiFi programs. Errors are ScanNetworks.cpp.elf section .bss will not fit in region 'ram' "region RAM overflowed by 880bytes" Any thoughts? ~DaveS
  20. Hi there, I am trying to use the WiFi.startSmartConfig() feature for the CC3000 booster pack on a TIVA C launchpad, but I can't seem to get it to work with energia (works fine with TI examples on code composer). I'm using smartconfigAES16 as the key and home_assistant as the device name, is there an example of how to use smartConfig with energia? I currently have it running in the setup() function, but it seems to get caught within the WiFi.startSmartConfig() function. I'm using the java applet http://www.ti.com/ww/en/wifi/smartConfig/ for the smartconfig. Thank you in advance!
  21. Hello, I am thinking on starting a new project, a web controlled robot!!! I was wondering if anyone has any experience with using an (Arduino)Ethernet shield with the MSP launchpad?? My plan is to build something like this: http://www.lynxmotion.net/viewtopic.php?f=20&t=6343 Or if anyone has any other ideas for easy, cheap web interaction with the launchpad. I don't want to use a wifi shield, because I would like to add video streaming in the future and wifi shields are not very video friendly. Thanks
  22. Hi guys, For my final year project I'm going to be doing some embedded development related to "the internet of things". The specs aren't fully formed yet but it'll be mcu+sensors+wifi+maybe some actuators. At the moment I've been doing some research on components, and was wondering if I could get some of your input? So for wifi connectivity I'm looking at the CC3000 and RN-171, and currently favouring the CC3000. I was wondering if anyone worked with either of these chips, and what they thought about them? My big question involves choosing a microcontroller (ideally a development board initially). The final application will likely be battery powered, so low power is a must. Sensors etc need some a/d, and since it is wifi enabled I would like a reasonable amount of RAM/Flash to experiment with. Currently, since I have some experience with the value line series, I'm considering the MSP430F5529 board since it seems to have ample resources. I was wondering if anyone could weigh in with thoughts/ ideas/ suggestions? I've also been looking into the STM32LVDISCOVERY board, but have seen a few complaints with about the quality of resources (libraries etc) available for it. I know this forum might be biased towards the MSP430 but I'm posting in other micros hoping to get the opinions of those who have worked with other brands, but all feedback is welcomed :grin: (Its not a major issue for me, but when it comes to development I tend to prefer working in Linux and avoiding the use of an IDE, so any chips with compilers that support Linux would be a bonus )
  23. Just came across this. http://www.sparkdevices.com/ Arduino compatible (through custom integration of Wiring libraries) Wi-Fi 802.11 b/g 32-bit STM32 72MHz ARM Cortex M3 128KB of Flash memory, 20KB of RAM Texas Instruments SimpleLink CC3000 Wi-Fi chip 2MB of external flash memory Still in development, supposed to come out in Autumn 2013
  24. Hi, I just wrote my first basic energia library that blinks an LED in Morse code, and now that I see how its done I'm looking for a bigger challenge. I want to write a library for the CC3000 Wifi BoosterPack. Check this post for more information: https://github.com/energia/Energia/issues/232 From some of my initial testing, the MSP430 LaunchPad will be hard pressed to meet the memory and power requirements for this BoosterPack so I'm going to use the Stellaris / Tiva LaunchPad as my initial prototype and then hopefully be able to port it over to the MSP430G2 later (supposedly it does run on it in native code). I have set up these function prototypes based on the APIs in the CC3000 wiki: http://processors.wiki.ti.com/index.php/CC3000_Basic_Wi-Fi_example_application_for_Stellaris#Running_the_Application /* CC3000Boost.h - Library for CC3000 BoosterPack Created by Mark Easley, May 2013. Released into the public domain. */ #ifndef CC3000Boost_h #define CC3000Boost_h #include "Energia.h" class CC3000Boost { public: CC3000Boost(); void SmartConfig(); void Connect(int SSID, int SSID_LENGTH); void SocketOpen(); void SendData(int DESTINATION_PORT, int IPADDR_AND_DATA); //length of packet cannot exceed 255 bytes void ReceiveData(); void Bind(int PORT_TO_BIND); void SocketClose(); void IPConfig(int LOCAL_IP_ADDR, int DEFAULT_GATEWAY); //No DHCP configuration is supported void Disconnect(); void DeletePolicy(); void SendmDNSAdvertisements(); private: int _pin; }; #endif /* CC3000Boost.cpp - Library for CC3000 BoosterPack Created by Mark Easley, May 2013. Released into the public domain. */ #include "Energia.h" #include "CC3000Boost.h" CC3000Boost::CC3000Boost() { pinMode(pin, OUTPUT); _pin = pin; } void CC3000Boost::SmartConfig() { } void CC3000Boost::Connect(int SSID, int SSID_LENGTH) { } void CC3000Boost::SocketOpen() { } void CC3000Boost::SendData(int DESTINATION_PORT, int IPADDR_AND_DATA) { } void CC3000Boost::ReceiveData() { } void CC3000Boost::Bind(int PORT_TO_BIND) { } void CC3000Boost::SocketClose() { } void CC3000Boost::IPConfig(int LOCAL_IP_ADDR, int DEFAULT_GATEWAY) { } void CC3000Boost::Disconnect() { } void CC3000Boost::DeletePolicy() { } void CC3000Boost::SendmDNSAdvertisements() { } Is this the right way to approach library design? Do I now convert the native code that is already available in Code Composer to these energia functions? The CCS code is dependent on 3 separate projects, do I need to convert these to Energia libraries too, or just try to combine everything into this library? Finally, the TI apps team did not provide a good demo for this BoosterPack. The only thing you can do is send and receive UDP packets but there is no "practical" application of using embedded wifi. Is there a good out of box demo we can design using energia that demonstrates how useful this is to projects and applications?
  25. I have been working on a few different projects that could be described as wireless sensor nodes. Just to get something working I decided to hack a retail router to give my MSP430 wireless capabilities. The first step was to install OpenWRT Linux onto the router to make it configurable. After that I mounted the file system onto a flash drive that was using the built in USB port on the router. From there I broke out the convenient 3.3v serial connection and hooked it up to my MSP430. Currently I am working on a full write up that will include compiling OpenWRT from source and detailed step by step instructions to install all the needed packages. I am also finishing up some scripts that should automate the hard stuff and give your launchpad a wireless connection in no time. Decided I would add some some pictures and examples for everyone to look at while I finish the write up / automation scripts. This is by no means a finished or polished project. Here is a link to the Imgur album with short descriptions. http://imgur.com/a/xzga5 And here is a video of me using the wireless capabilities to trigger a relay. I will update this post when I finish everything else. http://www.youtube.com/watch?v=aU0LfrJBSKE