No im using ai thinker gp-02 kit

No im using ai thinker gp-02 kit
15 Replies
SageBoy
SageBoy3mo ago
It depends on the kit, like what material it is going to have!
Ahmed
Ahmed3mo ago
Hello everyone I am working on an IOT smart lock i want to integrate RFID RC522 module with it I am using ESP-IDF for this purpose Now the issue i am facing is that i have been using a library available on GitHub which i added as a component in my code i want to write a master password in block 1 and the username is block 2 of RFID TAG But the library doesn't have such a function. Can someone tell a better approach Thanks
nour_oud
nour_oud3mo ago
🌟 Hey everyone! 🌟
We’re here to give a big shoutout to our top 10 members of the week. Your amazing contributions are what make our community awesome. Let’s give a round of applause to this week’s top contributors: 👏 👏 🥇 @Nayel 🥈 @Sofiane09 🥉 @Enthernet Code @Joseph Ogbonna @Marvee Amasi @RED HAT @wafa_ath @Dtynin @lucifer2615. @aymen ammari
Thank you all for bringing your passion and energy! Keep shining, and let’s keep building DevHeads together! 🚀 Remember, now you can connect to the Leaderboard on Zealy and earn amazing rewards: ➡️ The Top 3 members will receive Adafruit Gift Cards worth USD 50. ➡️ Among the Top 10 contributors, we will raffle 1 Kit. For more information, check https://discord.com/channels/1130679493799977062/1268560760808669204 Keep up the great work, everyone! Let’s make this community thrive! 🚀
Undefined
Undefined3mo ago
@Nayel
No description
Nayel
Nayel3mo ago
Nice! What kind of project are you planning to do with those MCUs?
Undefined
Undefined3mo ago
showpiece I am not an electronics expert and it is really hard to powering them up For now I will go with the f4 series
Nayel
Nayel3mo ago
try this video and this course these are really great :
Nayel
Nayel3mo ago
Phil’s Lab
YouTube
KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #65
Complete step-by-step PCB design process going through the schematic, layout, and routing of a 'black-pill' STM32-based PCB including USB in the new KiCAD 6. All the way from schematic creation, through to two-layer PCB layout and routing, as well as sending it off for manufacture and assembly via JLCPCB. Mixed-signal hardware design course: ...
Nayel
Nayel3mo ago
PCB & EMC Design Academy
Learn how to design professional electronic Printed Circuit Boards (PCBs)
LunchBoxHero
LunchBoxHero3mo ago
I’m trying to create a remote device where I’d like to use a battery and solar panel for the power. I’m wondering if there is anyway to wake up an ESP32 from a website/webserver/websocket or something similar. The goal is to run the device in sleep or deep sleep mode for most of the time conserving battery life. I’d be open to using a different micro processor.
Renuel Roberts
Renuel Roberts3mo ago
@LunchBoxHero Check the GitHub library for functions that interact with the RFID card. Look for a function that writes data to the card, If the library doesn't have a function to write to specific blocks, you can extend the library by adding a function to write to block 1 and block 2. Or you can use
#include "rfid_library.h" // Include your specific RFID library

void write_to_rfid_block(uint8_t block, uint8_t* data) {
// Authenticate before writing
if (rfid_authenticate(block)) {
rfid_write(block, data);
rfid_stop_crypto();
}
}

void write_master_password_and_username(uint8_t* password, uint8_t* username) {
// Writing master password to block 1
write_to_rfid_block(1, password);

// Writing username to block 2
write_to_rfid_block(2, username);
}
#include "rfid_library.h" // Include your specific RFID library

void write_to_rfid_block(uint8_t block, uint8_t* data) {
// Authenticate before writing
if (rfid_authenticate(block)) {
rfid_write(block, data);
rfid_stop_crypto();
}
}

void write_master_password_and_username(uint8_t* password, uint8_t* username) {
// Writing master password to block 1
write_to_rfid_block(1, password);

// Writing username to block 2
write_to_rfid_block(2, username);
}
LunchBoxHero
LunchBoxHero3mo ago
I think this is meant for @Ahmad
techielew
techielew3mo ago
This is a good one for @Umesh Lokhande or @Edison_ngunjiri Anyone familiar with Arduino Opta? https://discord.com/channels/1130679493799977062/1230604933699600495/1268649808760143913
Renuel Roberts
Renuel Roberts3mo ago
Sorry for the mixup @LunchBoxHero Waking up an ESP32 directly from a website or web server isn't possible while it's in deep sleep, as it powers down most of its components, including the Wi-Fi. However, you can use an external interrupt, like a push notification from a server to a connected device such as an RTC module or a low-power microcontroller that would trigger the wake-up pin on the ESP32. Another option is to have the ESP32 periodically wake up on its own, connect to the server to check for any commands, and then go back to sleep if nothing is received. This way, you conserve battery life while still maintaining remote control. If you're open to a different hardware, you might consider low-power microcontrollers that have better power management for always-on connectivity.
Ahmed
Ahmed3mo ago
@Enthernet Code is this Library available with esp idf
Want results from more Discord servers?
Add your server