dropControllerBT&PC Arduino Sketch version 188.8.131.52.
No longer need to select the communication method. Just upload and run. Requires Windows app 184.108.40.206 or later. Download from below. Previous versions of the app will no longer work with this sketch.
Sketch version 9 and above requires the Android app version 1-37 or above. Update through Google play
Arduino Sketch History
– removed the Number Of Valves option. Number of valves is now always set to 6.
– simplified the communication protocol between the dropController and the Windows app.
– fixed some problems caused when flash trigger is set to 0
– No longer required to select the device type (USB or Bluetooth) and the option in the sketch has been removed.
– removed the version count on start
– the waiting LED now blinks until a connection is made
– made the debug mode user viewable. Added a button on the settings page.
– minor bug fix
– minor bug fixes
– dropControllerBT and dropControllerPC now use the same sketch
– set the device you are using in the sketch before compiling. Default is dropControllerBT.
– Moved the pins around
– Added valve drain function
– Added FOCUS trigger in makeDrops function
– Changed the shutter close time for bulb mode. The shutter now closes 100ms after the flash fires.
– Shortened the acknowledgement code.
The Arduino sketch requires the digitalIOPerformance library. This is actually outdated but still works with all 328 based Arduinos. I have tried in Arduino IDE 1.6.3 and 1.8.3 and the sketch compiles fine. I use IDE 1.6.3 for all development. The library does not work with newer non AVR Arduinos.
The dropController app can be downloaded from Google play.
The current app has a slight
bug feature. On start up, if the number of valves is set to 1 the SOL list will still activate but the list will be empty. Just hit the back button.
Android App History
– added 3 more valves
– the dropController device can now be used with a Windows PC with Bluetooth.
– requires sketch version 009 or above.
– minor bug fixes
– added the About page
– tidied up the graphics
– First release
App Inventor aia file
The Windows program does not need to be installed and is run directly from a folder. It requires the .net framework, minimum version 4.0, available at Microsoft .net 4.0 download page and will run on Windows XP SP2 and above.
– change the versioning number format
– added debug mode
– minor bug fixes
– Bug fix: number of valves. Now able to select 1-6
Windows Program Source Files
The Windows app was written in Visual Basic 2013 using the Visual Studio 2013 Community IDE.
It has been updated in Visual Basic 2017 using the Visual Studio 2017 Community IDE
Visual Studio 2017 Community is free to use for students, open source contributors and small development teams and it is available for download at https://www.visualstudio.com/downloads/. The download is just the installer which will download the main program from the internet. An offline installer is not available for Visual Studio 2017 Community.
An offline installer of Visual Studio 2013 from http://go.microsoft.com/?linkid=9863609.
The original version used a keypad and LCD and was far more complex and inconvenient to use. For those interested see dropController Original version. The page includes a download link for the Arduino sketch. The sketch is heavily commented so you should be able to follow what it does.
This version is no longer supported and I may not be able to answer questions about it.