Arduino Dosing pump DIY – Part 3, Software

Well, did you buy all the pieces? no? then reread the first part. Did you put it all together? no? then follow the second part.
If, on the other hand, you have arrived up here it means that you are really determined to finish the job and you just have to load the software on your device.

You know, the most complex part of an Arduino project is to write the code to make the pieces you have mounted work. But luckily I thought of that. To simplify life even more, I made the firmware to be loaded directly on the Nodemcu directly available to be able to communicate directly with the site and use the dosometric pumps WITHOUT ANY PROGRAMMING COMPETENCE.
You won’t even need to change a line of code to make everything work. All you have to do is load the firmware with 4 simple steps on the device, register on the site, connect the dosometrics to your WIFI, and voila, you’re done.

Let’s see how:
First, get all the necessary software. You must download the firmware from this same site: firmware.bin
Then we download the drivers (which are not always to be installed) of the nodemcu: drivers
Finally we download the flasher compatible with your system: flasher.

Connect the nodemcu to the computer with a microusb cable (the same for 90% of mobile phones).
After a few seconds the computer should recognize our nodemcu and add it to the devices. To check that this has happened, click with the right mouse button in the lower left corner (on the start button) and go to device management.
You should find a new device under Ports (COM and LPT) whose name ends with COMX where X is a number (eg: COM3 COM12 etc). Mark this number, you will need it later.
If you do not recognize the device, we need to download and install the drivers that you can find at this address: drivers

Once the Nodemcu is correctly recognized we just have to open the Flasher and set it as in this image:

That is, in the first field select the serial port related to your Nodemcu, the one we marked before.
In the “nodemcu firmware” field click on browse and go to select the firmware.bin you downloaded from here.
Check that Baud Rate is 115200, Flash mode is set to Dual and click Flash NodeMCU.
After a few seconds the game is done. Disconnect the dosometer and set it aside for a second.

It is now necessary to register to the site that we will use as an interface:

Connect to http://iot.joy-reef.com and register with your personal data.
I recommend you write down the username and password you set during registration

You will receive a confirmation email to confirm your registration.

Now turn on the dosing pump:
Looking in wifi on your computer or mobile phone you should find a wifi named Joyreef.
Connect to this wifi, and this page should open directly:

If it does not open, while you are connected to the Joyreef wifi, go to any browser and type in the address 192.168.4.1.

Click on Wifi Setup and you will be here:

Fill in the details as shown in the image. User and pass are the same ones you used to register on the site.

At this point, apply, wait for confirmation and switch your dosometric pump off and on again.
I remind you that to be operational the pumps always take about 1 minute after power up.

Connect to the site, click on the top right of your name, and click on test connection.
Click on test and check the answer. If the answer is ok, you are done. All you have to do is use the dosometric system.

15 thoughts on “Arduino Dosing pump DIY – Part 3, Software

  • 16 June 2020 at 07:21
    Permalink

    when I test connection, the error messages appear “Error connecting dosing pump. Check wifi connection!”
    I follow your instruction till the end,
    can you help me?

    Reply
    • 16 June 2020 at 08:01
      Permalink

      Sure i can. First of all double check all the passwords. Be sure to use username and not email in the setup.

      Reply
      • 16 June 2020 at 08:21
        Permalink

        hi Danilo thanks for he reply, I have double checked all username and password and still get the error notification, but I do get the notification email of online/offline status from my device, how its possible?

        Reply
        • 16 June 2020 at 08:32
          Permalink

          Are you using the power failure module firmware? if yes test does not work till next portal update

          Reply
          • 16 June 2020 at 08:42
            Permalink

            Yes im using power faillure module firmware. Should i change the firmware? Which one you recommend? Thanks for the reply. I really appreciate it

          • 16 June 2020 at 10:54
            Permalink

            Yes im using power faillure module firmware. Should i change the firmware? Which one you recommend? Thanks for the reply. I really appreciate it

          • 16 June 2020 at 14:39
            Permalink

            The best firmware for power failure is the one you’re using. But the test won’t work until next portal update.
            but if you can get alerts via email, it is ok!

  • 17 August 2020 at 18:21
    Permalink

    Hello
    I just installed the firmware, I haven’t connected the pumps yet.
    And the Test button does not work!

    Reply
    • 18 August 2020 at 08:31
      Permalink

      Hello Artem,
      If you can’t connect your doser, just check all the users / password you input in configuration. It’s always a problem due to a wrong capital letter or a space before or after passwords. Double check you inputed USERNAME and not EMAIL when asked, and double check again all passwords you inputed.
      If you have other problems, don’t esitate to write me, via email too.
      Thank You!

      Reply
      • 18 August 2020 at 08:47
        Permalink

        Hello
        thanks for the answer)
        I can’t even log into the WiFi point after I entered “AP password”. Passwords are already simple and correct.
        Already 5-6 times I had to reflash the firmware on the controller, after I could not enter after entering the password (

        How can the swami get in touch in another way? for example via telegram …

        Reply
  • 19 August 2020 at 21:40
    Permalink

    I´m not sure what AP password is and where to find it?

    Reply
    • 19 August 2020 at 22:37
      Permalink

      Hi Pali, as i told you via email, it’s a password you have to choose.
      You will need it to enter again in the settings

      Reply
  • 21 August 2020 at 17:48
    Permalink

    When i try to connect it says that it is not possibile to connect to the network and when it does connect it says that there is no internet.i can not connect to my wifi.passwords are correct.i tried many times

    Reply
  • 27 November 2020 at 09:17
    Permalink

    hallo, i am very interested in this post, but i still don’t see how to see the parameters to do automatic dosing using this tool. Are the dosage settings according to our manual parameter test results?

    Reply
    • 27 November 2020 at 15:53
      Permalink

      Sadly, it’s not automated.
      You have to do manual test and then use doser to fix them.
      In the future there will be a temperature sensor, a ph sensor, an orp sensor and maybe a kh sensor 😉

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.