Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Android Control not working
01-14-2019, 10:48 AM
Post: #1
Android Control not working
Hi,

I assembled the drone accoring to the tutorial.
I installed the Blimpduino 2 Android App from the appstore.
After connecting to the Wifi i get data in the top left corner
B:39 A:-035 T:-035 H:2452
So.. the network seems to be OK

But when i touch the controls nothing happens.
I connected the drone to my Arduino and flashed the latest github version of the firmware.

I get some output on the serial terminal like:
Batt:40 Yaw:+009 SetP:+009 LIDAR:0603 M0:+000 M1:+000 M2:+000 CH5:00 Mode:100

But nothing when i touch the controls on the App.
What is wrong here? Huh


Thank you for any hints
-Flo
Find all posts by this user
Quote this message in a reply
01-14-2019, 03:15 PM
Post: #2
RE: Android Control not working
(01-14-2019 10:48 AM)overflo Wrote:  Hi,

I assembled the drone accoring to the tutorial.
I installed the Blimpduino 2 Android App from the appstore.
After connecting to the Wifi i get data in the top left corner
B:39 A:-035 T:-035 H:2452
So.. the network seems to be OK

But when i touch the controls nothing happens.
I connected the drone to my Arduino and flashed the latest github version of the firmware.

I get some output on the serial terminal like:
Batt:40 Yaw:+009 SetP:+009 LIDAR:0603 M0:+000 M1:+000 M2:+000 CH5:00 Mode:100

But nothing when i touch the controls on the App.
What is wrong here? Huh


Thank you for any hints
-Flo
Hi Flo
The blimpduino control board looks to be fine as it is sending the telemetry back to the smartphone. What Android OS version are you using?
Visit this user's website Find all posts by this user
Quote this message in a reply
01-14-2019, 07:24 PM
Post: #3
RE: Android Control not working
Quote:The blimpduino control board looks to be fine as it is sending the telemetry back to the smartphone. What Android OS version are you using?

Android 7.1.2


I enabled DEBUG in the firmware and used the commands found in testing.ino to activate all motors in all directions.
This works.

So it has to be either a bug with the network receiver (esp8266) or a bug in the network transmitter (Android).
Is there testing software available to craft udp packets on a laptop for testing to verify the ESP/Arduino part?

I could make a quick hack in python if there is nothing available yet.
It might be nice to have a desktop remote controller..

Please tell me what to try next.
Find all posts by this user
Quote this message in a reply
01-18-2019, 10:17 PM (This post was last modified: 01-18-2019 10:37 PM by overflo.)
Post: #4
RE: Android Control not working
So i played a little more with the device today.

When i connect my Laptop to the Blimps wifi i get the IP 192.168.4.2 and receive data on UDP port 2223 as expected.

overflo@Fruchtzwerg:~/test_python$ nc -l -u 2223
B:36 A:+000 T:+000 H:2466
B:36 A:+000 T:+000 H:2468
B:36 A:+000 T:+000 H:2470
B:36 A:+000 T:+000 H:2462
B:36 A:+000 T:+000 H:2335
B:36 A:+000 T:+000 H:2457


I hacked a little python script to send some data to the blimp (attached).
Looking at the java code for the android app helped to understand the packet format a little.

As soon as i executed this it turned on all 3 motors to full speed and the fragile device jumped off my desk right to the floor and crashed badly.
i hurt my hands trying to catch it and one of the red rotors broke (the one without a label connected to MOT 0)


So the problem is that the android app does not send out UDP packets or at least they don't arrive a the blimp.
I will try to setup a test wifi and connect the android phone to it.
Than i will assign my laptop the ip 192.168.4.1 and see if i receive data from android.

I doubt it.
So how now?! Any further ideas in this forum from the creators?

I think i spent enough time trying to debunk this DIY kit, further help would be appreciated at this point.

Also i need new rotors.. Who should i contact to get new rotors?

https://www.jjrobots.com/product/blimpduino2-0/ states:
Python code to control it available (thoroughly commented)

Where can i find this?


Attached File(s)
.txt  sendpkt.py.txt (Size: 308 bytes / Downloads: 0)
Find all posts by this user
Quote this message in a reply
Yesterday, 06:47 PM
Post: #5
RE: Android Control not working
Blimpduino control protocol info here: https://www.jjrobots.com/blimpduino-comm...l-package/
You can find the control APP code here (java): https://github.com/mRoboticsIO/Blimpduin...mpduino_v1

It looks like your Android device (as you has indicated) is not capable to send the control commands to the Blimpduino. This is strange as the telemetry is sent back to the smartphone.
Which Android OS version are you using? Are you using any port blocker like and antivirus/firewall or "security APP"? Do you have access to any other Android or iOS smartphone/ tablet you can use?

Contact us at: info@jjrobots.com for a replacement set of motors
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)