Adding 0x to the beging of a unsigned long
Im using the IRremote library (version 3.6) and I receive data in hex format, just without the 0x prefix (like FFA25D, FF4AB5, and F740BF). I want to be able to automatically add the prefix to the...
View ArticleHow to compile library examples with arduino-cli
I've created a super-simple library, along with an example, which can be found here: GitHub GitHub - dhylands/arduino-cli-library: A simple library to get things working A simple library to get things...
View ArticleAS5600 used to control stepper motor angle
Hello I’m interested in using the AS5600 Magnetic Encoder sensor to measure the angle of a shaft and have a NEMA 23 stepper motor move to that position. Does anyone have code for that. Not having much...
View ArticleWireless esp32 mesh networking
Hi I have worked on this code and took assistance by using painless mesh library and webserial i uploaded a code its working perfectly when i open the serial monitor but when i use web browser the ip...
View ArticleATtiny84&Bluetooth hc-05
Hi, I am using Arduino UNO to upload the ATtiny84 sketch containing hc-05 Bluetooth module. at the beginning of the sketch I am providing #include <SoftwareSerial.h> Pl. let me know which pins...
View ArticleCan we create a device from a downgraded smartband
1 post - 1 participant Read full topic
View ArticleI do simple code led on and off and im control using c# but when i use window...
i do simple code led on and off and im control using c# but when i use window form application it not work but i use console appication it work fine thank in advance 2 posts - 2 participants Read full...
View ArticleDC motor doesn't return at the same position
hello everyone, i need help with my code , i want to run my motor (12v 30rpm) for a few seconds and return to the same position , i use l298n motor drive, this is my code int motor1=3; int motor11=4;...
View ArticleArduino Whatsapp Group | Chennai | Bangalore | Coimbatore
Hi People, I have been working with Arduino and Electronics via CircuitDigest for a long time now and wanted to share the fun and knowledge with people of similar interests. So I searched for a local...
View ArticleMP3 player occassional malfunction?
I'm using Arduino Mega, using the YX5300 module to play audio files on an SD card, here'd be the simplified part of the code I'm running: #include "MD_YX5300.h" #define INSERT 6 #define PUSH 5 #define...
View ArticleServo PS2 Wireless controller 180* problem
The servo cannot rotate 180* for the stick to be moved #include <PS2X_lib.h> //for v1.6 PS2 Library #include <Servo.h> Servo myservo; int pos = 0;...
View ArticleSCT013-30A +Esp 8266 with wrong value
Hi everyone, I am using ESP 12 in combination with ADS1115 and SCT013 transformers to measure the power of AC appliances, but there seems to be some problems with my circuit diagram and code. Could...
View ArticleCompatibility of UNO R3's uploading error: exit status 1
I bought a second physically identical UNO R3, but when I put the same sketch into both, the new one does not upload. Some suggestions would be appreciated. 5 posts - 3 participants Read full topic
View ArticleWhere can I find the Nano Every schematic/pcb files?
Hello All, For a project, I'm looking to draw inspiration from the Nano Every PCB. Out of laziness, I'm looking for the schematic and its PCB to integrate it directly via kicad or Altium. Would you...
View ArticleHelp with a project
Hello everyone, I'm trying to build a device that will pick up movement using a parking sensor, when movement is detected it will trigger off an led light and a mechanical misic box, I have the items...
View ArticleConstant restart after new update
After the latest update this week (2.3.1.) I get constant notifications of a restart and that shuts down IDE the program. Why is this? 3 posts - 3 participants Read full topic
View ArticleA static const?
In one of the exampels in Arduino IDE, are the statements: #include <TinyGPSPlus.h> #include <SoftwareSerial.h> static const int RXPin = 4, TXPin = 3; static const uint32_t GPSBaud = 4800;...
View ArticlePortenta H7: 8 MB of RAM and 2MB of FLASH... doubt on RAM
Hello everyone, watching the linker file for H7/M7: github.com arduino/ArduinoCore-mbed/blob/4.1.1/variants/PORTENTA_H7_M7/linker_script.ld MEMORY { FLASH (rx) : ORIGIN = 0x8040000, LENGTH =...
View ArticleESP32 Sketch Data Upload
ESP32 Sketch Data Upload still not working with new IDE, only with old IDE version 3 posts - 3 participants Read full topic
View ArticleUsing esp_efuse_mac_get_default() in IDE 2.X to get ESP8266/ESP32 MAC address
Hello everyone, I am struggling to obtain ESP8266 and ESP32 mac address. There are multiple ways to obtain it: WiFi.macAddress() esp_read_mac() //for which you need to specify an interface ......
View Article