Hackster is hosting Hackster Holidays, Finale: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Tuesday!Stream Hackster Holidays, Finale on Tuesday!
Laurence Daxes
Published © MIT

RC Car to BT Car Controlled with Blynk

Converting a common RC car to a Bluetooth car, using an Arduino 101 & controlling with a smartphone via Blynk app.

IntermediateFull instructions provided2 hours12,434
RC Car to BT Car Controlled with Blynk

Things used in this project

Story

Read more

Schematics

Arduino 101 BT RC Car

Made with Photoshop

Code

Hello101

Arduino
//#define BLYNK_USE_DIRECT_CONNECT

#define BLYNK_PRINT Serial

#include <BlynkSimpleCurieBLE.h>
#include <CurieBLE.h>

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

BLEPeripheral  blePeripheral;

void setup() {
  Serial.begin(9600);
  delay(1000);

  blePeripheral.setLocalName("Blynk");
  blePeripheral.setDeviceName("Blynk");
  blePeripheral.setAppearance(384);

  Blynk.begin(blePeripheral, auth);

  blePeripheral.begin();

  Serial.println("Waiting for connections...");
}

void loop() {
  Blynk.run();
  blePeripheral.poll();
}

Credits

Laurence Daxes
19 projects • 36 followers
Systems Engineer Bachellor, I Love technology, and IoT World https://youtube.com/c/DaxesHacks

Comments