Category : arduino-esp8266

I am learning how to control P10 Led matrix 64×32 with NodeModule MCU ESP8266, I google and found this library https://github.com/2dom/PxMatrix and this tutorial https://www.instructables.com/RGB-LED-Matrix-With-an-ESP8266/. I believed that I wire between P10 and ESP8266 in true way in the tutorial, but that P10 led does not display as the example: The true result will be: ..

Read more

I have following files and classes : A base class which is declared in linked_list.h #ifndef LINKED_LIST_H #define LINKED_LIST_H template<class T> class linked_list { private: linked_list * next_item{nullptr}; linked_list * previous_item{nullptr}; static int number_of_item; static linked_list * head; static linked_list * tail; protected: public: linked_list(/* args */) { if (nullptr == head) { head = ..

Read more

As shown in link below, two buttons must be pressed simultaneously to operate the press machine. When the operator uses one hand to press the button and presses the plate to the surface using his second hand, he can injure himself. The strong force of pushing a plate can easily clasp hands if the operator ..

Read more

I’m working a code to pubsub over GSM SIM800L and ARDUINO MEGA. I’m able to workout MQTT fine, using ElementzOnline / SIM800_MQTT code. I’m now having trouble to use MQTT alongside SMSReading (+CMT). I’ve made a RecSMS() to receive incoming messages, and it works fine as long as TCP Connection is not true. My Code ..

Read more

const String roomname_short = "Test"; void setup() { Serial2.begin(9600, SERIAL_8N1, RXD, TXD); Serial.begin(115200); //Serial2.write("A"); Serial2.println((READY_MESSAGE)); Serial.println(READY_MESSAGE); } void loop() { char c; String readString; while (Serial2.available()) { c = Serial2.read(); readString += c; } if (readString.length() >= 10) { if (readString.substring(1, 9) == "INTERNAL") { readString = ""; } } if (readString.length() > 0) { ..

Read more