[SOLVED] Arduino Uno + CC3000 + App

I connected a Uno via a CC3000 Shield and created a simple LED on/off sketch
On the Android App when I choose Uno it says uno not connected ,
I am running a local server which works as I have ESP8266’s connected and the Uno’s serial port says it is connected .
Anyone with clues please
I basically want to use the CC3000 as the sketch prototype before I implement it to the ESP8266.
indent preformatted text by 4 spaces
Free RAM: 898
Initialising the CC3000 …
[2613] Connecting to Node_II…
[16024] Getting IP address…
[16498] IP: 192.168.xx.xxx
[16499] GW: 192.168.xx.xxx
[16500] DNS: 192.168.xxx.xx
[16500] Blynk v0.3.1


Post your (correctly-formatted) code.

Actually there is no code in my post .
Only the output from the Arduino Uno’s serial port.

Let me rephrase this question.
I have an Arduino Uno and a CC3000 WiFi Shield , which device do I choose on the Android Blynk App ?

@Roger I think what @zeeko is suggesting is we need to see your code before we can suggest a solution.

Ah Ok let me figure out how to format and post, thanks. :relaxed:

If you are using an Uno then select Uno in the Blynk app. When you move from Uno to ESP you will need to create a new app for ESP. I have switched hardware against a single app previously but I don’t think that is recommended and it only takes a couple of minutes to recreate a new app.

Code formatting is done with the </> icon.

Thanks @Costas
I got it working just now realized I had put a statement in the wrong part of the code.
Anyways for anyone wanting to play around with an Uno, CC3000 and Blynk, following is code which works with a local blynk server .
Hopefully this is formatted correct

 * Blynk is a platform with iOS and Android apps to control
 * Arduino, Raspberry Pi and the likes over the Internet.
* You can easily build graphic interfaces for all your
* projects by simply dragging and dropping widgets.
*   Downloads, docs, tutorials: http://www.blynk.cc
*   Blynk community:            http://community.blynk.cc
*   Social networks:            http://www.fb.com/blynkapp
*                               http://twitter.com/blynk_app
 * Blynk library is licensed under MIT license
 * This example code is in public domain.
 * This example shows how to use Adafruit CC3000 breakout
 * to connect your project to Blynk.
 * Feel free to apply it to any other example. It's simple!
 * For this example you need Adafruit_CC3000_Library library:
 *   https://github.com/adafruit/Adafruit_CC3000_Library
 * Note: Firmware version 1.14 or later is preferred.
 * 1. Update pin definitions according to your setup.
 * 2. Change WiFi ssid, pass, and Blynk auth token
 * 3. Run

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space

// These are the interrupt and control pins for CC3000
#define ADAFRUIT_CC3000_IRQ   3
#define ADAFRUIT_CC3000_VBAT  5
#define ADAFRUIT_CC3000_CS    10
#include <SPI.h> //(SPI.h)
#include <Adafruit_CC3000.h> //(Adafruit_CC3000.h)
#include <ccspi.h> //(ccspi.h)
#include <BlynkSimpleCC3000.h> //(BlynkSimpleCC3000.h)
#include <SimpleTimer.h> //(SimpleTimer.h)
#include <string.h> // (string.h)
#include "utility/debug.h"

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "Generated Key";

#define LED_PIN 9

SimpleTimer timer;
 int t1;

void setup()
Serial.println(F("Hello, CC3000!\n")); 

// displayDriverMode();
Serial.print("Free RAM: "); Serial.println(getFreeRam(), DEC);

 /* Initialise the module */
 Serial.println(F("\nInitialising the CC3000 ..."));
if (!cc3000.begin())
 Serial.println(F("Unable to initialise the CC3000! Check your wiring?"));

//insert here your SSID and password and the  ip address of your server

Blynk.begin(auth, "SSID", "password",WLAN_SEC_WPA2, IPAddress(xxx, xxx, xx, xxx)); 
// Configure LED and timer
t1 = timer.setInterval(500L, ledBlynk);

// Enable/disable blinking using virt pin 1
if (param.asInt()) {
 } else {
digitalWrite(LED_PIN, LOW);
// Change blink interval using virtual pin 2
 long interval = param.asLong();
 boolean wasEnabled = timer.isEnabled(t1);
 t1 = timer.setInterval(interval, ledBlynk);
  if (!wasEnabled) {

//  Toggle LED
void ledBlynk()
digitalWrite(LED_PIN, !digitalRead(LED_PIN));

void loop()
 if (!cc3000.checkConnected())
 Serial.print ("Connected to Server");

It looks rather OK…
Did you try http://docs.blynk.cc/#troubleshooting-connection ?
Start with a minimal Blynk CC3000 example :wink:


Thanks, I got it working , was an error on my part in the arduino code it’s fixed now and working

 `     void loop()
  if (!cc3000.checkConnected())           // <========
  Serial.print ("Connected to Server");  //<===