Quantcast
Channel: Arduino Forum - Latest topics
Browsing all 15287 articles
Browse latest View live

Simple mode change on button press failing

Hello, I am encountering strange behaviour in my code which I cant explain. First a little bit of background info: I am using a keypad to change modes in my program which are displayed on an OLED...

View Article


GPS + Si5351A + I2C LCD

Hello, please i need some help, i got this code for a project that i need to build around an nano arduino and ublox 6M with 20x4 I2C screen. But when i verify the code i get this fault...

View Article


How to use 'Switch' in the ColoredLight widget

Hi, I am testing the Colored Light widget and I have the problem of using the 'on/off' switch to turn the leds off and on. What happens to me is that the leds are always on and I can't switch them off...

View Article

Ways for the arduino to detect a system reboot

I was hoping for this to be a simple issue. I'm making a keyboard injector for work that automatically installs the os and all its configurations. This requires the system to reboot 3 times over the...

View Article

Image may be NSFW.
Clik here to view.

SPI timming between CS and MOSI too big for application

Good day. I am interacting between and ESP32 and an ADC (CS5523) using SPI communication. For this communication, the datsheet (CS5523 pdf, CS5523 Description, CS5523 Datasheet, CS5523 view :::...

View Article


Image may be NSFW.
Clik here to view.

Programming failure, ubuntu 23.10 & Arduino Robot Control board

I recently decided to try programming an early Arduino Robot. I'm setup on Ubuntu 23.10. I seem to have programmed an alternative sketch into the robot when I was using it in the past. I am trying to...

View Article

Arduino Uno with more than one HC-05

Can I have multiple HC-05 modules on the Arduino Uno connected using the SoftwareSerial library? I have two ESP32 boards and I want them both to communicate with the Uno. The two ESP32 do not...

View Article

Uploading bootloader to ATMEGA2560

Hello, I'm using a CP2012 to interface with my ATMEGA2560 chip and was wondering how I upload the bootloader to the blank chip on my custom PCB board. I was wondering how to program the chip? Do I...

View Article


Low battery led indicator

I’m creating a small project with an Arduino nano, everything will be powered by 3 1,5V Lr14C batteries and mounted with a switch turned on only when the Arduino will be used so I'm not really...

View Article


Gap of 1 day in time.h

Hello, i am a little bit confused by getting a difference of one day using the time.h: Using Serial.println(&timeinfo, "%j"); // day of the year (0-366) Serial.println(timeinfo.tm_yday); // day of...

View Article

Seeking help to get an OLED display to work with SSD1306 (works with U8G2)

Hi I am trying to get a 9,96" OLED display to work with the SSD1306 library: #define SDA 14 #define SCL 12 #define RST 16 #include <SSD1306.h> SSD1306 display(0x3c); does not work. an example...

View Article

Image may be NSFW.
Clik here to view.

Two encoders with interrupt using MCP23017 module

Hello, I'm new to arduino and to code... I've been trying to figure out how to use interrupt encoders using an MCP23017 module on Arduino pro micro (clone) for several days without success. I tested...

View Article

Mega and 4D Studio display slow communication

I have a Mega sending data to a 4D Studio display and created a very simple program to test communication (below) I am using Genie to write the data to the display. I had this updating normally, but...

View Article


Serial Monitor Displays "�"

I have no idea why this happened but when I try to use the serial monitor, it just displays a weird symbol with this code: void Foward() { digitalWrite(6, true); digitalWrite(5, true); digitalWrite(7,...

View Article

AttachInterrupt breaking my code

Im currently using the arduino GIGA r1 wifi for a project and im trying to setup an interrupt pin however whenever I include the AttachInterupt() function as shown below whenever i upload my code to...

View Article


Uno R4 Wifi is not found by arduino cloud

I recently bought a Uno R4 Wifi and I am not able to connect it to Arduino Cloud. I followed the step indicated : I restarted the Create Agent on my computer. I reconnected the device to the computer...

View Article

Image may be NSFW.
Clik here to view.

Can't connect to ESP32 Dev board

Problem: Can't upload anything or connect to esp32 dev board. When I try to upload a simple blink sketch, I get this output: Sketch uses 237117 bytes (18%) of program storage space. Maximum is 1310720...

View Article


Image may be NSFW.
Clik here to view.

2.8" hmi i2c lcd

I purchased this cheap LCD from ebay, but it did not come with any information. Have emailed seller but to no luck. Has anyone got any info on this display / library etc. Thanks in advance. 3 posts -...

View Article

No matching function for call to 'LiquidCrystal_I2C::begin()'

can someone help me? i don't know how to solve it the error code is no matching function for call to 'LiquidCrystal_I2C::begin()' the code then i am using is that //Tech Trends Shameer //Distance...

View Article

Switch between MPU 6050 and BT06 to control servos

I have two codes that work separately, but how do you get them to switch? I want the servo to use MPU6050 signals when BT06 is disconnected. I have attached the two codes i use. #include...

View Article
Browsing all 15287 articles
Browse latest View live