Blynk Controlled Car using Accelerometer

お父ちゃん  2017.1.29 
Home > 電子工作 > Blynk Controlled Car using Accelerometer
すき 0
うんこ 0

I used to create a radio controlled control in Blynk’s ble communication.

https://homemadegarbage.com/en/blynk_car01-2

There is an update to Blynk (v0.4.4) and BLE communication is formally introduced rather than the beta version, and further, since the acceleration sensor information of the smartphone has been able to obtain, I tried to modify the radio controlled to tilt the smartphone.

I do not play hard at all (^o^).

Blynk Library for Arduino

Latest library is located in the following: https://github.com/blynkkk/blynk-library

Adafruit Feather 32u4 Bluefruit LE is used. So, Arduino code is generated in reference to the following.

[Example] -> [Blynk] -> [Boards_Bluetooth]-> [Adafruit_Feather_32u4_BLE]

Blynk settings

Create a new project. Select the Arduino UNO in HARDWARE MODEL, because there is no Adafruit Feather 32u4 BLE yet. CONNECTION TYPE is BLE. AUTH TOKEN will make a note so you use it at the time of Arduino code generation (or to send mail).
 

Place the BLE widget and the Accelerometer widget.
 

Accelerometer setting. The values are output in virtual pin V0.

Arduino IDE

[Example] -> [Blynk] -> [Boards_Bluetooth]-> [Adafruit_Feather_32u4_BLE]  code generated by reference.

Operate the radio controlled by the horizontal (gravity) acceleration value [x, Y] of the smartphone screen.

Blynk ble connection

Screenshot_2016-08-25-12-42-56

Click on the BLE widget of the project.
 

Screenshot_2016-08-28-09-24-17

Click on the “Connect BLE device”.
 

Screenshot_2016-08-28-09-24-21

Then connect to “Adafruit Bluefruit LE” by clicking “OK”.

Operating

 

#blynk #ble

Home made garbage (@homemadegarbage) submitted video-

 

#ble #blynk

Home made garbage (@homemadegarbage) submitted video-

 

#ble #blynk

Home made garbage (@homemadegarbage) submitted video-

Thanks to Blynk, it seems to be able to do various things intuitively crispy because the cooperation of the smartphone and the device can be insanely easy ♪

コメントはこちらから

メールアドレスが公開されることはありません。コメントのみでもOKです。

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください