Show Posts
Pages: 1 2 [3] 4 5 ... 27
31  Using Arduino / Networking, Protocols, and Devices / Total RC commander V5.0 on: June 25, 2014, 12:52:20 pm
@tolisn63
Quote
Quote
Any idea when Total RC commander will be available with the new protocol and a test sketch ?
Will wait for Joystick BT commander V5.0 feedback
Would say two or three weeks

The video App is now ready for test
Same demo sketch as Joystick BT commander V5.0

Check your mail and let me have your feedback  smiley-wink
32  International / Réalisations et Projets Finis / Re: Robot d'inspection piloté par Androïd on: June 25, 2014, 08:45:10 am
Quote
bonjour
impecc pour moi   smiley-mr-green

Super, à l'occasion, teste l'Appli complètement et fais moi un feed back  smiley-wink
33  International / Réalisations et Projets Finis / Re: Robot d'inspection piloté par Androïd on: June 25, 2014, 02:47:03 am
Quote
te stresse pas  smiley-mr-green
meme si tu fais du bon "boulot" il faut que ça reste là  ludique   smiley-cool

Merci, ne t'inquiètes pas, ça reste ludique  smiley-wink
J'ai déplacé le joystick légèrement à gauche
C'est suffisant ??
34  International / Réalisations et Projets Finis / Re: Robot d'inspection piloté par Androïd on: June 24, 2014, 12:32:24 pm
OK, je regarde ça
35  International / Réalisations et Projets Finis / Re: Robot d'inspection piloté par Androïd on: June 24, 2014, 11:17:51 am
Check your mail   smiley-wink
36  International / Réalisations et Projets Finis / Re: Robot d'inspection piloté par Androïd on: June 24, 2014, 10:14:29 am
bonjour Artouste  smiley

 smiley-eek smiley-eek pas la bonne orientation ...

L'Appli est orientée paysage en utilisant les accéléromètres de l'appareil
Code:
android:screenOrientation="sensorLandscape"
As-tu ce genre de capteurs sur ton dinosaure??  smiley-wink

Je peux te compiler l'appli avec une orientation paysage classique
Code:
android:screenOrientation="landscape"
37  International / Réalisations et Projets Finis / Joystick bluetooth Commander Version 5.0 on: June 23, 2014, 02:58:51 pm



Joystick bluetooth Commander Version 5.0 est maintenant sur Google Play
Le sketch de démo AndroTest V2.0 est ici
Le protocole de communication est décrit

Voilà  smiley-wink


38  Using Arduino / Networking, Protocols, and Devices / I Know What You Did Last Summer on: June 23, 2014, 09:57:11 am
Jaap, this is FilingCab V1.6
PWM frequency was boosted from 490Hz to 20KHz to get rid of hissing noise at low speed
Also the infamous SoftwareSerial library was dropped  smiley-evil

Serial:
- move pin #11  to  RX1 (pin #19)
- move pin #12  to  TX1 (pin #18)

PWM:
- move pin #5   to  pin #11
- move pin #6   to  pin #12

Smoother and quieter control

Happy driving, mind the stair  smiley-wink


39  Using Arduino / Networking, Protocols, and Devices / SoftwareSerial limitations on: June 23, 2014, 07:14:16 am
I just tried running two servo's using SoftwareSerial on pins #2 & #3, and also got the "Tick-Tick syndrom"
SoftwareSerial disables interrupts while sending a byte.
This interferes with the Servo library, which relies on timer interrupts

The hardware Serial port should always be used, if possible, before considering SoftwareSerial.
Additional readings

Possible options
- drop SoftwareSerial and use pins #0 and #1 (disconnect pins before uploading sketch)
- try using ServoTimer2 or AltSoftSerial libraries that use a different timer (not tested)
- get an Arduino Mega which has additional hardware serial ports


40  Using Arduino / Networking, Protocols, and Devices / Re: Android Bluetooth joystick on: June 23, 2014, 02:05:18 am
For the servo's test, please go to "settings/joystick properties" and uncheck "Auto return to center"

So, the servo's are jerking, but the values are stable in the serial monitor ??
Are the servo's jerking only near joystick limit positions (-100 or +100) ??

I remember having problems with digital servo's, some years ago  smiley-roll
some wouldn't accept the total 0 to 180° rotation range

Just to make sure, please modify code to limit range to 45 to 135°
Code:
 joyX = map(joyX, -100, 100, 135, 45);
  joyY = map(joyY, -100, 100, 45, 135);  


if it works, you may try
Code:
 joyX = map(joyX, -100, 100, 170, 10);  
  joyY = map(joyY, -100, 100, 10, 170);

41  Using Arduino / Networking, Protocols, and Devices / Re: Android Bluetooth joystick on: June 22, 2014, 01:43:34 pm
Quote
You wrote here that Softserial doen'nt work with servo lib. It is always true?
Try
https://www.google.com/search?hl=en&as_q=%22SoftwareSerial%22+%22servo%22+%22library%22+arduino&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=&as_occt=any&safe=images&tbs=&as_filetype=&as_rights=&gws_rd=ssl
 and see for yourself  smiley-wink

I tried your sketch, removing Wire and snootor references; serial monitor readings are 100% stable
Please upload Pan & Tilt demo sketch at reply #242

//  Arduino pin #0 to TX BlueTooth module
// BT TX to be disconnected from D0 during sketch upload
// pinServo_X=9        pinServo_Y=10

Do not use SoftwareSerial for the moment, let me know how it works
Which Arduino board are you using ??

42  Using Arduino / Networking, Protocols, and Devices / Re: Android Bluetooth joystick on: June 22, 2014, 11:08:57 am
Quote
Je n'ai pas encore testé en détail (j'ai remarqué qu'il y a pleins d'options)mais je voulais te féliciter pour ton travail qui a l'air énorme!

Les seuls points négatifs que j'aurais à redire sont sur la communication de ton programme, mais je te rassure ce sont des points de détails comparé au reste de ton travail:
- Tu devrais éditer ton premier post pour mettre ton versionning en sens inverse: le plus récent en haut de la liste (on a plus l'habitude que ce soit dans ce sens et ça perturbe pour trouver la bonne info)
- Pour les renvois vers les posts des version etc fais juste un lien hypertext sur le post en question par exemple si tu parles de la réponse #256 tu la transforme en #256 c'est de suite plus pratique.
- Pour le coté GooglePlay met un lien direct vers le programme exemple (fichier .ino) car sinon il faut venir sur ce post, chercher la dernière version, et ensuiite se rendre à la réponse #256 pour enfin faire un copier/coller du code: le nombre de manip est rebuttant et cela peut causer problème pour une personne qui s'y connait pas trop mais qui voudrait utiliser ton appli.
Thanks  john_lenfr for the comments, feedback is always welcome
I will definitely add more links to reply #1  smiley-wink


Quote
I have a problem and servos are "ticking" even if there is no command.
not normal behavior  smiley-roll-blue smiley-roll-blue
Possibly electric noise or MCU internal timers interaction
please post your full code, I will try it on my side

What happens if you comment
Code:
 sendBlueToothData();

Let me know

EDIT: which Arduino model are you using ??
43  Using Arduino / Networking, Protocols, and Devices / Re: Android Bluetooth joystick on: June 22, 2014, 10:58:02 am
Quote
Hi All,
Ive been using this app (v5) for my remote controlled filling cabinet project. https://vimeo.com/98759560
Kas has been helping intensively both with customizing the app and the Arduino code.
Attached is the final code I used, incl distance sensor feedback & Battery level and lots more.

Hardware: Arduino mega, DC Motor Driver 2x 15A - Lite,  BT2S Bluetooth to Serial Slave, HC-SR04 Distance Sensors, Pride electric wheel chair, blood sweat and tears. You can find more making of videos on: https://vimeo.com/jaapdemaat/videos.


For info
Jaap is a senior graphic designer, based in Rotterdam and London
The Cabinet ("I Know What You Did Last Summer") is currently exhibited at the Royal College of Art, in London, up to June 27th


@Jaap,
Thanks again for your hospitality in London, I really enjoyed entering your universe for a while


44  Using Arduino / Networking, Protocols, and Devices / Re: Android Bluetooth joystick on: June 22, 2014, 06:00:44 am
Quote
Hi All,
Ive been using this app (v5) for my remote controlled filling cabinet project. https://vimeo.com/98759560
Kas has been helping intensively both with customizing the app and the Arduino code.
Attached is the final code I used, incl distance sensor feedback & Battery level and lots more.

Hardware: Arduino mega, DC Motor Driver 2x 15A - Lite,  BT2S Bluetooth to Serial Slave, HC-SR04 Distance Sensors, Pride electric wheel chair, blood sweat and tears. You can find more making of videos on: https://vimeo.com/jaapdemaat/videos.


For info
Jaap is a senior graphic designer, based in Rotterdam and London
The Cabinet ("I Know What You Did Last Summer") is currently exhibited at the Royal College of Art, in London, up to June 27th


@Jaap,
Thanks again for your hospitality in London, I really enjoyed entering your universe for a while


45  Using Arduino / Networking, Protocols, and Devices / Re: Android Bluetooth joystick on: June 21, 2014, 03:37:56 am
Quote
hi kas , i saw your nice app and i thought telling you a problem that  i have with my app.. well my hc-06 disconnects in really random times.. it might work for 10 minutes or more with no problem while on the other hand it might start disconnecting again and again without being able to understand why..
Any ideas why this might happening?

Thank you  smiley smiley

@zaxarias

Some shots in the dark
- Your board is resetting due to high load, use a separate power supply for Arduino
- intermittent contact within breadboard, move and secure components
- defective BT board, not an expensive item, try a spare one

Let us know the outcome
Pages: 1 2 [3] 4 5 ... 27