🔴 UROFLOWMETRY MACHINE (How to upload/flash w/ Arduino firmware & files ESP8266/ESP32) 👨‍⚕️💊 PART 3

Welcome to my new post for my video on YouTube. In this one, I will show you how to upload/flash/save uroflow firmware onto your ESP32 or ESP8266 without Arduino environment – just by using firmware file + some other already prepared files…

See the video about it on YouTube! More INFO on my GitHub page: https://goo.gl/XtjB3h

PART 1Text for the video. Video on YouTube: https://youtu.be/bqYgydm8a3I
PART 2Text for the video. Video on YouTube: https://youtu.be/NMbClpUaz8Q
PART 3 – Text for the video: Your are already here. Below. Video on YouTube: https://youtu.be/I-3Zn_JFIfY

 

INTRO

Hi. In this video I will show you how to upload firmware and files to your ESP32 or ESP8266 microcontroller manually without Arduino environment. In my previous videos of this series I showed how to make a uroflowmetry device, how to calibrate it, how to use the web interface and a dedicated windows program. If you haven’t seen videos, find them on my channel.

I prepared tools pack for programming both ESP32 and ESP8266 boards under Windows operating system. Steps are simple. I divided them into two parts. In the first one I explain how to upload firmware and in the second one how to upload website files. But before we start, you are invited to click LIKE button on YouTube and leave a COMMENTSHARE video with your friends, SUBSCRIBE to my channel and support my work on PATREON. You can even buy me a coffee as I drink buckets of it and it makes my brain waves active. See all the links in the description below.
You will have to visit my github page and download the UPLOAD.ZIP file and unpack it. You will find all the needed tools. All the steps here are described in the readme.txt file.

 

PART 1 – UPLOADING FIRMWARE
===========================
Firstly go into FIRMWARE folder. Here is the place you copy your latest firmware .bin file. Make sure it has the same name as ones seen here. One ends with ESP32, the other with ESP8266. It depends which microcontroller you use. The support for ESP8266 will be discontinued in the near future due to low RAM and computing power!
=> i.e. ESP32 firmware will not work on ESP8266… and vice versa.
=> Copy firmware into “Firmware” folder. ESP32 filename: UroflowESP32.ino_ESP32.bin. ESP8266 filename: UroflowESP32.ino_ESP8266.bin.
The main files you will execute are ones seen in the video.
=> For ESP32: UroflowUpload_ESP32.bat. For ESP8266: UroflowUpload_ESP8266.bat.
Before you start you will have to make a small change. Right click it and click EDIT. You will have to change your communication port after connecting the device with USB cable to your computer. If you do not know it, run “device manager”, go under the “ports” and find the COM port.
=> Options to find your Device Manager: a) press Windows Key + R and run “devmgmt.mscb) find the program under the menus c) enter “device manager” under the start menu
Now just run the appropriate .bat file. Here you can see what it should display if everything goes well.

Basically what the .bat file does is run the following command:
For ESP32:
esptoolESP32.exe –chip esp32 –port COM3 –baud 921600 –before default_reset –after hard_reset write_flash -z –flash_mode dio –flash_freq 80m –flash_size detect 0xe000 esp32/partitions/boot_app0.bin 0x1000 esp32/sdk/bin/bootloader_dio_80m.bin 0x10000 Firmware/UroflowESP32.ino_ESP32.bin 0x8000 Firmware/UroflowESP32.ino.partitions_ESP32.bin
For ESP8266:
esptoolESP8266.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf Firmware/UroflowESP32.ino_ESP8266.bin

 

PART 2 – UPLOADING WEBSITE FILES
================================
This part only works with my uroflow firmware. At first boot up, the device will generate its own wi-fi network called “uroflow”. Connect to it and enter “192.168.4.1” into your web browser. You will be able to enter your home wi-fi settings for your machine to automatically connect to it.

The next step is to find your device’s IP address (with Fing for android or Advanced IP scanner for windows). Here you can see the output of Advanced IP scanner. After clicking “Scan” you will see “Espressif Inc.” device. This is your IP address.

At first access to your device address via web browser under your home wi-fi, it will display “File not found.”. You will have to upload files. Enter into your browser: “your-ip-address/upload”. Mind the /upload! Here you can select each file one-by-one and upload it to your file system. You will have to repeat the procedure for all the files in “data.zip”. Only the “config.json” file is automatically generated, but it can be overwritten too.

 

OUTRO
=====
Thank you very much for viewing my video. I will answer your questions in the comments below. Hope these instructions help and see you next time.

DESCRIPTION
DIY Arduino uroflowmetry device. Uses ESP8266 or ESP32. Program written in Arduino.
In this video: We will see how to upload/flash firmware to ESP32 and ESP8266 wi-fi module without Arduino environment. We also will see how to upload files needed for the built-in web server.
If you haven’t seen previous videos:
– Part 1: How to make uroflowmetry device from scratch (https://youtu.be/bqYgydm8a3I).
– Part 2: How to calibrate the uroflowmetry device we have made in my previous video. I show you a basic usage (https://youtu.be/NMbClpUaz8Q).
Device runs on ESP8266 or ESP32 from Espressif. Code is written in Arduino. Dedicated program with database runs on 64-bit Windows. Code is written in C++. All firmware is available on my github page (+ more details).

Free for personal use. Commercial use is negotiable. Simple to use, high precision, low cost (ca.10€).

Device runs on Espressif ESP32 or ESP8266. Works on NodeMCU. Code is written in Arduino. It is a simple Arduino project tutorial for beginners.
Uroflowmetry device for every home! Make your own measurements! Ideal for those with micturition problems. See if you need to visit an urologist.
Urologist will decide if you need further examination and/or treatment.

Uroflow, peak flow meter, urologist, TURP, cystoscopy

Made in Arduino for ESP8266 or ESP32, HX711, 1kg digital load cell weight sensor. It is a digital weight scale.

 

LINK to hx711 1kg load cell: http://s.click.aliexpress.com/e/JemeiQr
LINK to ESP32 DOIT devkit: http://s.click.aliexpress.com/e/6yJQNj2

 

———————————————————————————————————————
Do you like my work?
1. Hit LIKE.
2. Hit SUBSCRIBE! Did you consider subscribing to my YouTube channel and being updated when new videos are published?
3. COMMENT below.
4. SHARE.
5. Support my work on Patreon: https://www.patreon.com/GreenEyedExplorer
6. You can buy me a coffee directly via: http://paypal.me/rokrodic
7. Buying through my affiliate links makes you no additional cost, but gives me a small headstart in getting new things for my explorations.


LINKS:
GreenEyedExplorer homepage: http://www.rodic.si
GreenEyedExplorer Thingiverse: https://goo.gl/jdyHbF
GreenEyedExplorer GitHub: https://goo.gl/XtjB3h

Song in the background: Topher Mohr and Alex Elena – Where I am From, YouTube Audio Library.

Leave a Reply

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