Добавить
Уведомления

Lego EV3 Bluetooth Controlled Cannon

Lego robot controlled from PC, by java program reading events from joystick, processing them and sending by bluetooth protocol to EV3 brick. Uses two third-party libraries: bluecove for communicating with BT stack jinput for reading the controller. Made mostly as a proof of concept, to demonstrate the possibilities of such communication as well as a idea of "how to make a rotating turret without using trivial axle through the middle of construction". Also, I knew I'd like to do video like this since I've seen the "Pacific Rim" movie. I just couldn't get rid of the idea :) Also number 2: Kids, if you ever gonna do this in home, make sure to add some "send back acknowledge" message, so the PC program will wait for ACK signal from the brick before pushing next command. Flooding the EV3 brick with BT messages before the brick has the time to process them causes problems: In my case, my brick just hung and become mute until I removed batteries. Then I try it again just to check, if this was repeatable. Yes it was. YES IT WAS but at the second time, it also caused a system error that reseted brick to factory defaults removing all my programs... :)

12+
13 просмотров
год назад
12+
13 просмотров
год назад

Lego robot controlled from PC, by java program reading events from joystick, processing them and sending by bluetooth protocol to EV3 brick. Uses two third-party libraries: bluecove for communicating with BT stack jinput for reading the controller. Made mostly as a proof of concept, to demonstrate the possibilities of such communication as well as a idea of "how to make a rotating turret without using trivial axle through the middle of construction". Also, I knew I'd like to do video like this since I've seen the "Pacific Rim" movie. I just couldn't get rid of the idea :) Also number 2: Kids, if you ever gonna do this in home, make sure to add some "send back acknowledge" message, so the PC program will wait for ACK signal from the brick before pushing next command. Flooding the EV3 brick with BT messages before the brick has the time to process them causes problems: In my case, my brick just hung and become mute until I removed batteries. Then I try it again just to check, if this was repeatable. Yes it was. YES IT WAS but at the second time, it also caused a system error that reseted brick to factory defaults removing all my programs... :)

, чтобы оставлять комментарии