Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Hendra Kusumah
Published © GPL3+

Frog Bioacoustic for climate change

Early detection of climate change by monitoring frogs

IntermediateFull instructions provided20 hours341
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
45 projects • 157 followers
Love hacking and making new things from IoT to robotics
Contact

Comments

Please log in or sign up to comment.