Home Made Garbage

Blynk Controlled Car using Accelerometer

お父ちゃん お父ちゃん  2017.1.29 
ホーム
電子工作
Raspberry Pi
IOT
WEB

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

Blynk Controlled Car

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 ♪

Related Posts

コメントはこちらから

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.