iSpindel - digital WiFi hydrometer

Discussion in 'General Home Brew Equipment Discussion' started by anders, Jun 20, 2017.

Help Support The Homebrew Forum UK by donating:

  1. Jun 24, 2019 #61

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    ive just started to build one of these today, ive powered it up from the battery found the ssid but getting connection refused when logging in using a mac and an android phone any suggestions?
     
  2. Jun 25, 2019 #62

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    Does it come up as ispindel or something else?

    Min didn't work until I reflashed the board.
     
  3. Jun 26, 2019 #63

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    It's come up as esp-xxxxxx
    I've only got a Mac and struggling to find a way to flash using it.
     
  4. Jun 26, 2019 #64

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    I had the same thing - the wemos doesn't come pre flashed with the ispindel firmware, you have to do it yourself, and it is a pain in the ass to do on a mac (I haven't tried doing it from PC, but most of the articles make it sound much easier, so if you can get access to a PC, or run windows on your Mac that may be easier) .

    I tried and gave up with arduino (I've since got that to work with an arduino uno board, so not sure why it wasn't working with the wemos).

    I googled wemos drivers mac, and installed whatever came up.

    Then I worked through this article which pretty much got me there.
    https://diyprojects.io/esptool-update-of-firmware-nodemcu-esp8266-on-macos/#.XCEk79Gnyf1

    I have no programming experience, but can just about navigate around terminal with a bit of googling to remind myself.

    The only thing that didn't work straight away from that article was that the first time I tried to run the esptool command to flash the Wemos I got an error saying "Pyserial is not installed for /usr/bin/python"
    I found the installer on the pyserial website, unpacked it, then ran "sudo python setup.py install" from terminal which installed PySerial, and then the esptool command worked to flash the Wemos.

    It all probably sounds a bit ominous if you haven't done it before, but I worked it out, so it's honestly that bad!
     
    Last edited: Jun 26, 2019
  5. Jun 26, 2019 #65

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    That's great info thank you pottsworth I just need to prize the Mac off my wife so I can give it a go! I was hoping to get it working by today as I've been busy brewing an American Hbc on the grainfather and wanted to keep a close eye on fermentaion as I've never brewed a lager before.
     
  6. Jun 26, 2019 #66

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    It was very satisfying when it worked. As soon as I closed the terminal though I wished I’d saved the text so I had a record of what I’d done.

    You’ll probably need to add some ballast if you bought the kit (I have a large bolt in mine), and you’ll also need to calibrate it before use.
     
  7. Jun 26, 2019 #67

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    I was on the final hurdle with flashing the firmware and this came back. I copied and pasted the serial so can't understand whats wrong. I've now drawn a blank lol
     

    Attached Files:

  8. Jun 26, 2019 #68

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    Did you install pyserial?

    I can’t read that very well, but ingot the pyserial error too until I installed it
     
  9. Jun 26, 2019 #69

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    I'm having trouble trying to install it. I'm in the process of copying script but not sure if I'm doing it correctly
     
  10. Jun 26, 2019 #70

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    I've downloaded pyserial 3.4 and unpacked it but it doesn't allow me to run it. My Mac is running python 2.7
     
  11. Jun 27, 2019 #71

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    I’ll have a look tonight and see if I can work out what I did, but pretty sure I used a sudo command to install it from terminal
     
  12. Jun 27, 2019 #72

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    I appreciate it thank you.
     
  13. Jun 28, 2019 #73

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    OK, I think I've worked out what I did.

    I downloaded the installer (as pyserial-3.4.tar.gz), then unpacked it into a new folder called pytho in my home directory

    Screen Shot 2019-06-28 at 22.04.39.png

    I then opened terminal, used ls to confirm I was in the home directory, then changed to this new directory and installed it with:

    cd pytho
    Sudo python setup.py install

    Screen Shot 2019-06-28 at 22.04.56.png
     
    uDicko and tommos76 like this.
  14. Jun 28, 2019 #74

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    thank you for taking the time to find out the info for me. I've followed your instructions and managed to flash with ispindel firmware! My next challenge is configuration to ubidots lol
     
    pottsworth likes this.
  15. Jun 28, 2019 #75

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    Awesome, glad you got there in the end. Just make sure you get some good ballast before you try and calibrate it.

    In terms of Ubidots, the bit the instructions miss is that you need to sign up for the educational one to get it for free.

    Try https://app.ubidots.com
     
    uDicko likes this.
  16. Jun 28, 2019 #76

    uDicko

    uDicko

    uDicko

    Regular.

    Joined:
    Dec 31, 2018
    Messages:
    314
    Likes Received:
    98
    Location:
    Sheffield
    Watching this thread unfold is quite satisfying.

    Just thought you should both know that
     
    pottsworth likes this.
  17. Jun 28, 2019 #77

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    Just signed up to it and entered the token into the wemos. Just got to work out how to find the device on there and display the data. I think a bit more reading is needed lol
     
  18. Jun 29, 2019 #78

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    I think that bit was reasonably as per the manual.

    There may have been a URL to enter in the settings too, but otherwise it should just appear in ubidots when you log on (I believe this is what the api key does).

    You could also use Brewer's Friend, which has instructions on the website on how to set up to upload to their website. That wasn't an option when I set mine up, and anything alcohol related is blocked at work, so I stuck with ubidots.
     
  19. Jun 29, 2019 #79

    pottsworth

    pottsworth

    pottsworth

    Active Member

    Joined:
    Jul 21, 2018
    Messages:
    98
    Likes Received:
    23
    Location:
    Bromsgrove
    Meant to upload this earlier - this is what I ended up with as ballast, I think the bolt is m8, and the nut & washer are m12. There was some advice on the github for the amount of ballast - I think it was 30g but can’t quite remember.

    B2E649FF-37B0-4589-92EA-C413E9947271.jpeg

    I do now have some fine lead shot (from a crash test lab of all places), but this is working, so I haven’t got round to changing it and recalibrating.
     
  20. Jun 29, 2019 #80

    tommos76

    tommos76

    tommos76

    Active Member Supporting Member

    Joined:
    Mar 31, 2019
    Messages:
    74
    Likes Received:
    17
    Location:
    Swansea south wales
    Looking good!

    I submerged mine this morning and had water ingress ☹️

    I'm going to try and design sled which can be taken out with ease and will not need recalibrating when put back in after cleaning. I'm also thinking about the positioning the gyro board near the bottom with the temp sensor which I've seen done on PCB way design.
     

Share This Page