Version 3 of Android App

Forums Forum Version 3 of Android App

This topic contains 8 replies, has 2 voices, and was last updated by  Martyn 3 months, 3 weeks ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2306 Reply

    George

    Martyn … thanks so much for all the useful info you have published. I just finished building the bread-board version with two valves and it is all working perfectly.

    The new version 3 that you described looks very interesting and the new features that you have added will add more to this already terrific project. I particularly like the option of adding additional flash outputs and maybe get some double exposures.
    Do you plan to soon update the Arduino sketch for ver 3 and make a new version of the app available on Google Play?

    #2307 Reply

    Martyn
    Keymaster

    I’ll try to post the beta versions in the near future. I am busy with work though so cannot give a definite date.

    #2339 Reply

    Martyn
    Keymaster

    Took longer than I expected but I have just added download links dropControllerV3 sketch, Android app, and the Windows app. All are beta version but should work.

    I sometimes get a connection error in the Windows app the first I connect. The second attempt always works. I will look in to this when I get time.

    #2344 Reply

    George

    Thanks a lot Martyn. I can’t wait to try it out!

    #2351 Reply

    George

    Martyn … I tried to switch my V1 BT breadboard setup over to the V3 beta. I uploaded the new V3 sketch to the Arduino nano with no errors. I swapped the various new pin positions on the Arduino to match the new assignments for V3 as per the schematic. I installed the Android app for V3 and then tried to connect to the system. I can make a connection to the HC-06 BT module as indicated by the status light going from flashing to solid red, but the Android app does not go into “connected” status. I tried disconnecting and reconnecting several times, but I still could not get the app to recognize the BT connection.

    … not sure what I am doing wrong

    George

    #2352 Reply

    George

    I checked the pin assignments in the Arduino sketch v3. The Bluetooth RX and TX pin assignments seemed incorrect to me, so I changed things back to the Ver 1 pin assignments and assigned Flash 2 and 3 to vacant pins. After compiling and uploading to my Arduino Nano, the revised version now works for me.

    #2357 Reply

    Martyn
    Keymaster

    The control codes that the app sends to the Arduino are not dependent on the actual pins used. The pin definitions are only used inside the sketch. This means you can move the pins around without changing the apps.

    In V3 I have moves many of the connections. All the solenoid pins are now on the same register which will allow easier direct pin addressing in the future.

    The new connections also take in to account a slightly different layout when using protoboard.

    I should note that I have changed some of the control codes so if you are using the new apps with an older sketch not everything will work.

    • This reply was modified 3 months, 3 weeks ago by  Martyn.
    #2361 Reply

    George

    Martyn … thanks for the clarification. I am far from an expert on this stuff. The V3 Beta sketch seems to set the BT serial to pins 17 and 16:

    SoftwareSerial BTserial(17, 16); // RX, TX

    The schematic on the post indicates RX and TX on D18 and D19.

    I just changed the sketch to match my wiring and that sorted things out for me.

    #2363 Reply

    Martyn
    Keymaster

    You are right, I just checked the sketch I uploaded. I have the wrong pins for the BT connections. Should be 18 and 19. I’ll fix shortly.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Version 3 of Android App
Your information: