Posts

Showing posts from December, 2023

Late submission lab database sem 2 2023-2024

 https://forms.gle/HbJ6F8YoocwtV9E98 bluetooth earphone

Lab IOT 26/12/2023

 https://drive.google.com/drive/folders/1JYRNAZh_f0Ax90VqyhiGN_iuwP5o4fHh?usp=sharing

Contoh Project API Flask

Webex meeting recording: Lab IOT-20211227 0055-1 Password: 9sDNVRwH Recording link: https://umt.webex.com/umt/ldr.php?RCID=52dea3ba19e8b447b575e72e210934bf password: 9sDNVRwH file data.py code untuk esp32 connect dan transfer data ke server import os import network import urequests wl = "Pixel_3999" wlpw = "88888888" wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.connect(wl,wlpw) while not wlan.isconnected:   pass print(wlan.ifconfig()) websvr = "http://192.168.143.163:8080/api/table/A/status/0" #websvr = "http://192.168.143.163:8080/order/B" rsps = urequests.put(websvr) #headers = {'content-type': 'application/json'} #headers = {'user-agent': 'Mozilla/5.0'} #payload={'f0':1,'d0':1} #rsps = urequests.post(websvr,json=payload,headers=headers) #rsps = urequests.get(websvr,data=payload) print(rsps.content)

Link Resubmission Lab Programming Group K1 2023

 Use this link to resubmit your file https://forms.gle/Dfm5Wi7AvHxBYhuH9