You are browsing as a guest. Sign up (or log in) to start making projects!

The_Hedgehog

@The_Hedgehog

Joined August 13th, 2026

  • 29Devlogs
  • 1Projects
  • 1Ships
  • 2Votes
I like War Thunder and I like STEM.
Ship Pending review

I made a buoy that can float freely down a river. It has four sensors, pH, conductivity, dissolved organic matter, and turbidity. It constantly uses these sensors to take measurements and sends it to a locally hosted Python Flask server tunneled using Ngrok. After the buoy is collected from the water, the server will analyse the data and find out where the water quality started to worsen, therefore finding out where riverine polution might be.

Although the project wasn’t very complicated, I faced many many problems. The most memorable and most fustrating ones:

  1. I use a step up module to turn the 4v from my 18650 to 5v for my ESP32 C3 Supermini. But the step up often randomly output over 20v, though it is set for 5v. I later found out that its because a loose connection between my battery and the step up, but the voltage spikes has badly burnt many things in my circuit.

  2. The ESP32 C3 Supermini suddenly cannot connect to my computer. I tried holding down boot button, boot and reset, redownload a driver, and trying all the ports on my computer and in Arduino IDE. But it just won’t work. So I changed to a Arduino Nano. But that just made things worse. The Arduino Nano successfully connected to my computer, but it often corrupts recieved UART signals from my cellular module. Later I found out that its because the Arduino Nano’s clock is a bit off for 112500 baud. This made things more complicated because I need to start the UART communication between the Nano and the cellular module at 112500 (since my cellular module is default 112500 when start up), then request the cellular module to turn down to 9600, and then change the Nano UART back to 9600. It did finally work tho.

  3. I guess this is the worst nightmare in my project. My project uses a pair of 18650 in parallel, as it can have more power to sustain my buoy for longer. But the cellular module often shut down right after it turns on. It turns out that the celular module can pull up to 2 amps when connecting to the cellular tower and sending messages, which is causing the voltage drop. However, this was weird because the two 18650 cells I had is the Samsung 25R, which has a max discharge of 20 amps. Parallel means that the max discharge become 40 amps, which is wayyyyyyy more than the 2 amps required. So the problem must not be the batteries. Or is it? I suspect that the batteries are fake. They weigh pretty normal, being 44 grams. I checked the imprints on the wrapping, and it did have a legitemate manufacture date code that says someday in 2017 (I forgot which day it was, but it was 2017). And I also took off the battery wrapping, and it did had Samsung factory imprints on the metal. So the battery is good, the cellular module can only take up to 2 amps….. then the problem must be between the cellular module and the battery! And it was. It was the thin jumper wires and breadboard that decreased the voltage when the current increased. Shorter thicker wires solved it.

There was actually much more issues, but these are the most memorable ones for me.

I am glad that my project turns out to be working, becuase i genuinely thought that it would never work when making it.

  • 29 devlogs
  • 106h build
Video of Project → See source code →
Open comments for this post

3h 15m 11s logged

Today I finally made my cellular module work, as before it always shut down due to thin wires burning up too much voltage. My free floating buoy is ready for testing!

0
0
10
Open comments for this post

3h 30m 6s logged

Today I tried to power my cellular module with my two 18650 in parallel. It kinda works for a while but then the voltage dips and the module turns itself off. Its most likely the thin wires, and I optimised it as much as I can, but the same thing happens. I will charge my batteries up again and if it still dont’ work I will just skip my MOSFET circuit that turns the module on and off, as this thing still has a bit of thin wires. If it STILL dont’ work I give up. My 18650 can go up to 8 amps max apparenlty, so it should support 16 amps. My module only uses 2 amps, so it should work if there was minimal wires. Hopefully, finger crossed. If this doesn’t work im cooked. But lets not think too much yk things always work out after you charge ur lithium batteries overnight cuz ur table will probably catch on fire and everything will be burnt out and u will never have to worry about it again.

srry i don’t have a photo

0
0
34
Open comments for this post

1h 40m 31s logged

Today I planned a presentation about my project for UWEN Annual General Meeting. Hopefully I can get their oppinions on how i should imrpove my solution as they are my stakehoders.

0
0
35
Open comments for this post

4h 17m logged

Today I wrote a script for my video about my project so I can enter a competition. But they limit the video to be 5 minutes long, which is basicly 800 words max, but half way through i already have 1.4k words. If there is no limit i feel lik i can write a whole paper about it. But I’ll try to make it as short as possible so I don’t have to get a buzz cut and become real slim shady :D

0
0
24
Open comments for this post

10h 10m 2s logged

Today I did a lot of fixing in my code, but its way too buggy and I still didn’t fix all of them in 10 hours. Here are some bugs that is fixed and some changes:

  1. Dynamic memory on Arduino Nano is running out, so I tried to use the U8G2 library for my mini screen instead of the Adafruit library, but its actually using more memory and is more buggy than Adafruit. In the end I discovered that it is my string commands that I am sending to my cellular module that is gobbling up all my memory, so I used F() macro to put them into flash memory.
  2. My screen can’t connect after that change. I found out that by rendering a frame the screen library takes up 1024 bytes of dynamic memory, which is over the limit for my Arduino Nano.
  3. Arduino UART is recieving corrupted data from my cellular module. After a bit, I figured out that the built in timer of the Arduino Nano is not precise enough for 112500 baud rate, so I lowered it to 9600.
0
0
6
Open comments for this post

3h 28m 2s logged

Today I diddid aa bbibit mmomormore wwowwork oon mmy nnenew ccirccircuit anandand eeveeeveryeeveeeveryteeveeeverytheeveeeverythineeveeeveryeeveeeveryteeveeeverytheeveeeverything iis bbasicbbasiclbbasicly ddonddone aand waiwaitiwaiwaiting ffofor ffinffinaffinal cocodcode ttesttestttestittesting, aanand ii aam loloolookiloloolookinloloolooking toto fgo ffofor aa ffifiefielfield ttesttest nnenext weeweek. (ssosorrssosorry mymy kekeybkekeyboarkekeybkekeyboard iis nnot ababsabsoluababsabsoluteababsabsoluababsabsolutely worworkworkiworking sso mme isis nnot ggogoigoing tto ssay mumucmuch)

4
0
192
Open comments for this post

8h 30m 2s logged

Today I restarted my wiring since my esp32 c3 supermini isn’t responding to my code uploads and I had to change to a Arduino Nano. And now the pH sensor doesn’t work and the organic matter sensor doesn’t work either. Hopefully i can find some magical way out tomorrow but now idk what it is because.

0
0
34
Open comments for this post

2h 20m 6s logged

Another day of extreme unproductiveness. I only tried to debug my cellular module turning on and off by itself, but didn’t really solve it. Module rebooting cycle T_T :

0
0
23
Open comments for this post

1h 38m 4s logged

Today I wished to do more but my productivity is very cooked recently. I planned to add all the final features to my code, but ended up only debugging the OLED mini display. But ok its working so I guess its alr.

0
0
19
Open comments for this post

2h 39m 8s logged

I got a bucket and put some pollutants in there (dirt and DIY-ed dissolved organic matter), to test the sensors (that detects pollution by seeing how much light it absorbs, UV for organic matter and normal light for turbidity) and getting a threshold value that will define what is polluted water and what is not for my water quality buoy.

However, I made the dissolved organic matter solution a while ago, and it doesn’t seem to absorb UV anymore. Apparently its because the bacteria ate all the organic matter, or it precipitated out as large clumped molecules.

But I can’t be bothered to make some fresh solution so I just made up some values for the organic matter sensor (very scientific approach :D).

0
0
29
Open comments for this post

12h 41m 2s logged

Today I sat in my desk all day at my project. I made all the sensor connection work, power system, soldering stuff (and getting burnt 99999 times), drilling holes, epoxy resin -ing (they should invent a word for this), and coding. It feels like its going to work, but I still need to wait to tomorrow to do a few final changes to my code and test it.

0
0
41
Open comments for this post

3h 19m 6s logged

Today I tried to figure out which of my components have been fried by my dc booster accident. Luckily, its just the photodiode (OPT101) that i use to test turbidity. I didn’t believe that it was broken even though it outputted strait 0v with light and without light, since it apparenlty can handle up to 36v. But after lots of testing i think it is indeed broken. I soldered on a new one, but i soldered the pin headers teh wrong way around (this is like the 1 billionth time i did this wrong) so I tried to take the headers off. But i didn’t have any solder wick or anything, so i tried to pull the headers off (which is very very stupid), and i did pull the headers off… along with a big chunk of the PCB. So yeah, no more photodiodes. But fortunately I do have some LDRs and ill use tehm, hope its accurate enough.

0
0
6
Open comments for this post

3h 59m 2s logged

I tried to test my circuit that i put inside the casing, but there was some problems with the step up booster to make the 4v from my 2 parallel18650 into 5v.

However, two of my step ups randomly jump to 20v for a while and then will jump back to exactly 5v, and after a while 20v again. I tried another step up, and that one won’t go down below 10v. I thought that its probably my circuit drawing too less power causing the booster to be unstable, so i added a 470 ohm resistor to the outputs. It still didn’t work after a while.

I was very confused and forgot to pull out the resistor out of the malfunctioning booster that was at 20v…. the parallel 18650s made it even worse. So then I smell something burning. I didn’t know that it was the resistor burning, so I just took the resistor off with my fingers, and I got burnt. D:

But later I found out that its actually so dumb. I wasn’t sure if my step ups were working at first so I didn’t fully secure the battery wires into the terminals, so in case something went wrong I can just immediately pull the power source out. However, the bad connection of the wires with the terminal made the step up really unstable, causing it to jump to random high voltages. So I guess by being more carefull I actually ended up worse…..? Ok I see. :D

Also most of my circuit was connected to the step up (thats even dumber), and the 20v fried my conductivity module, and I think maybe my sensors too but I still need to check (fingers crossed). T_T very cooked

0
0
23
Open comments for this post

2h 27m 5s logged

I put most of my electronics into my buoy casing. The wires are totally very neat and I totally don’t need a flashlight and tweezers to move teh wires. (its way worse than it looks) Theres still a bunch of parts I need to add. I think the buoy is going to sink because the wires weight too much :P. And i feel like my wires are made out of resistors a whole volt dissapeared in a single section of wire.

0
0
168
Open comments for this post

1h 45m 3s logged

I printed the parts for my buoy, some needs reprinting. I installed some working parts, and glued some sensor windows with ab epoxy for waterproof. Theres still lots of work to do!

0
0
31
Open comments for this post

5h 1m 2s logged

I emailed a few councils in my country for some feedback onto my project, since they are part of the stakeholders. They said that I should add confidence level for GPS, CSV file save, adjustable measurement intervals, and official guildeline comparism. I added savable CSV for the data and adjustable intervals, but I didn’t do confidence level for GPS cuz my GPS module doesn’t measure carrier to noise ratio. I didn’t do the official guildeline comparism because I made most of the sensors and the only way to convert the data from the sensors to official units is to use calibration sollutions, which is kinda expensive.

0
0
11
Loading more…

Followers

Loading…