Hendra Kusumah
Published © GPL3+

Frog Bioacoustic for climate change

Early detection of climate change by monitoring frogs

IntermediateFull instructions provided20 hours344
Frog Bioacoustic for climate change

Things used in this project

Story

Read more

Schematics

Uart Connection

Code

qfreadserial.py

MicroPython
from machine import UART
from time import sleep

uart = UART(2, 460800)
uart.init(460800, bits=8, parity=None, stop=1)
serialString = ""
buf = bytearray(100)
while True:
    try:
        if uart.any() > 0:
            serialString = uart.readline()
            print(serialString.decode('utf-8')[34])
    except KeyboardInterrupt:
        break

Credits

Hendra Kusumah
47 projects • 159 followers
Love hacking and making new things from IoT to robotics

Comments