Jens Zalzala on Nostr: I realized that light strip I installed some time ago used an ESP8266 ...
I realized that light strip I installed some time ago used an ESP8266 microcontroller, so instead of buying and waiting for a new Raspberry Pi for a project, I tried to use that instead. I got MicroPython running on it, and wow, this thing is cool! I was able to connect to the internet, and even run a server on it. Using the GPIO pins to control an LED was simple. Setting up a button was slightly more work since there wasn't a helper class, but fairly easy in the end.
#micropython #esp8266
Published at
2025-01-21 00:09:00Event JSON
{
"id": "e4253c463c4e06a7eff749afec9b781a9bcf046aca6272a1f1a0c6cef6bad6ac",
"pubkey": "f87fed39a7a92b028a020fd47db213ba32ef11d8889c3e24d136bfa4959bce9a",
"created_at": 1737418140,
"kind": 1,
"tags": [
[
"t",
"micropython"
],
[
"t",
"esp8266"
],
[
"imeta",
"url https://mograph.social/system/media_attachments/files/113/863/410/064/998/411/original/c3182c0090d88ce3.png",
"m image/png",
"dim 2065x1549",
"blurhash UED]G1#456TM~qDho#g59a9G?H=_?HWBs;xY"
],
[
"proxy",
"https://mograph.social/users/anakin78z/statuses/113863435275296352",
"activitypub"
]
],
"content": "I realized that light strip I installed some time ago used an ESP8266 microcontroller, so instead of buying and waiting for a new Raspberry Pi for a project, I tried to use that instead. I got MicroPython running on it, and wow, this thing is cool! I was able to connect to the internet, and even run a server on it. Using the GPIO pins to control an LED was simple. Setting up a button was slightly more work since there wasn't a helper class, but fairly easy in the end. \n\n#micropython #esp8266\n\nhttps://mograph.social/system/media_attachments/files/113/863/410/064/998/411/original/c3182c0090d88ce3.png",
"sig": "ae20c8a87fc4c7db920ff1059ab3fd290dd63cccf7d3f9ef4eb90ad2bf3526bf2ec2fcbaa09bd52ddbfc4bb58d049690cae00d54e0f03a2b64e279c547ab2663"
}