Blynk Controlled Car

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

I made Blynk controlled Car using Adafruit Feather 32u4 Bluefruit LE. I can easily using Blynk!

Configuration

Blynkcar_% E3% 83% 95% E3% 82% 99% E3% 83% AC% E3% 83% 83% E3% 83% 88% E3% 82% 99% E3% 83% 9b% E3% 82% 99% e3% 83% BC% E3% 83% 88% E3% 82% 99

I use the BLE equipped microcomputer Adafruit Feather 32u4 Bluefruit LE and the motor driver DRV8835 to control the rotation of the two motors by Blynk.

imag0163

imag0164

Parts

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_BLE]-> [Adafruit_Feather_32u4_BLE]

Blynk settings

screenshot_2016-09-25-17-12-30

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

screenshot_2016-09-25-17-12-42

Place the BLE widget and the joystick widget.

screenshot_2016-09-25-17-12-55

Joystick setting. The values of the two-axis are output in virtual pin V0. The values of X and Y are -255 to 255, respectively.

Arduino IDE Code

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

You can now control two motors by receiving the two values of the Blynk joystick and move them back and forth!

Blynk Connecting BLE

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, conect to “Adafruit Bluefruit LE” by clicking “OK”.

Operation

In the future, I’d like to have this camera mounted on a head-mounted display (smartphone): roll: 

コメントはこちらから

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

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