Questions tagged [arduino]

Arduino is an open-source electronics prototyping platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects. Questions about programming on an Arduino are off topic and should be asked on http://stackoverflow.com.

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 views

ESP32 UART device mounts to /dev/ttyUSB0 but immediately unmounts on Linux

I recently performed a system upgrade from Pop OS 21.10 to 22.04 (now on kernel 5.17.5-76051705-generic), after which I began to have issues with connecting my ESP32 via USB to my computer. Before, ...
user avatar
0 votes
0 answers
24 views

changing device and vendor id of Digispark Digikey

i saw a tutorial on null-byte on how to change the vendor id of a Digikey so that it could be programmed on macOS. I'm on mac so I'm using my raspberry pi to program the usb. the tutorial said to go ...
user avatar
0 votes
0 answers
59 views

PermissionError 'Access is denied.' when writing firmware to ESP32 via esptool.py

I'm having problems with a particular computer when trying to flash firmware to an ESP32 built under the Arduino framework from PlatformIO, which uses esptool.py to do that write operation. This is ...
user avatar
  • 21
-1 votes
2 answers
199 views

Is there a way to run linux in arduino due like Ubuntu?

I'm new to arduino and I am interested in arduino. But i know Linux system are compatible with arm processors, and i know that the arduino due haves arm processor. Is there a way to run linux such as ...
user avatar
  • 13
3 votes
1 answer
6k views

Is it ok to delete the WCH.CN folder?

So I have a windows 10 dell laptop which is 64 bit and recently I was going to my C:\ drive to delete the windows.old folder but I noticed another folder called WCH.CN with another folder inside it ...
user avatar
1 vote
0 answers
30 views

Port specific 48 port usb connecting 48 Arduino nano boards to a laptop

I have a rather large and complex design that requires me to send separate sketches / lookup tables to 48 arduino nano boards from my laptop. The laptop is 8 ft from the equipment so SPI won't work. ...
user avatar
0 votes
1 answer
32 views

Can't Find Arduino Drivers Windows 10 Precision3560

I'm unable to upload anything to my Arduino Nano because it says it doesn't have the drivers for it. I've tried going to the Device Manager and going to the USB serial to "update" the ...
user avatar
1 vote
0 answers
116 views

Bandwidth Concerns for 2 Webcams and an Arduino in a USB Hub

I'm working on a robotics project using an Arduino and two Logitech C920 Pro webcams. I'm trying to keep everything nice and tidy so I thought I could connect the Arduino and the two C920s to a ...
user avatar
  • 11
1 vote
0 answers
800 views

Arduino Nano Serial Port error on Mac OSX Catalina 1.15.4

I have just recently bought my first Arduino board. Unfortunately when I went to upload my first sketch i got an error message saying that no serial port could be detected. Under Tools>Ports I can ...
user avatar
  • 11
0 votes
1 answer
172 views

Arduino IDE crashes when I use 5GB heap size in _JAVA_OPTIONS

I originally posted this on stackoverflow, but they sent me here, so apologies for the copy-paste. When I'm running the arduino IDE, it crashes, saying that "java could not create a virtual machine". ...
user avatar
0 votes
1 answer
397 views

How can work the local name resolution?

I have an Arduino Yun connected to my LAN as client, and this is not my dns server. I can reach it using its hostname: http://arduino.local How can I reach it without a DNS record? I ask to Arduino ...
user avatar
  • 2,154
0 votes
0 answers
232 views

esp32 cam cannot upload please help me asap god will help you too

example file i used CameraWebServer.ino Arduino: 1.8.10 (Windows 10), Board: "ESP32 Wrover Module, Huge APP (3MB No OTA/1MB SPIFFS), QIO, 80MHz, 921600 esptool.py v2.6 Serial port COM6 Connecting......
user avatar
0 votes
1 answer
79 views

Can cheap Arduino Nano clones infect or damage my computer?

I recently purchased several Arduino Nano v3 clones from a merchant on AliExpress. I got them for around $2.00 each. I'm aware of the possibility that they may arrive damaged or just not working. ...
user avatar
  • 3
1 vote
1 answer
60 views

multiple physical USB conectors, single COM port?

I want to run a bunch of arduinos off a single computer, but I want all the arduinos to be in the same COM port. I don't mean having all of them plugged into a USB hub, I mean each different arduino ...
user avatar
0 votes
0 answers
2k views

Cannot set up Arduino on Visual Studio Code

Never been able to get past the following message: "Cannot find Arduino IDE. Please specify the "arduino.path" in the User Settings. Requires a restart after change." I realize that it is my error in ...
user avatar
0 votes
1 answer
40 views

How to launch Arduino after successful installation on Ubuntu

I've installed Arduino 1.8.9 for Linux 64 bits directly from arduino.cc website, on my Ubuntu 18.04LTS After a successful installation I get the Arduino folder inside ~/Documents However I don't ...
user avatar
  • 1
0 votes
0 answers
27 views

File.read on arduino Yun resulting in characters not in the file

When attempting to run an xml parser on my arduino yun, rather than the expected results of the contents of the xml file I get the following. Preparing to Parse 11:13:14.633 -> Ready to parse 11:...
user avatar
1 vote
1 answer
144 views

How to format a USB which uses attiny85 based microcontroller and has been programmed

I am making experiences on the Digispark USB with attiny85 micro-controller. So I programmed it so it can launch very basic keyboard strokes when plugged, i.e, when it is plugged, it open it tries to ...
user avatar
  • 111
0 votes
1 answer
72 views

unexpected characters preceding filenames when using LS

We have an Arduino Yun Rev 2 with extroot set up via the YunDiskExpander sketch onto a 32 GB sandisk microSD partitioned to have 512 MB for the extroot. Oddly however whenever we use ls the results ...
user avatar
1 vote
0 answers
142 views

MicroPython REPL on Nodemcu not responding

I have been trying micropython on esp8266 nodemcu. I have flashed the nodemcu with micropython firmware and verified the operation. But when I try to open the REPL prompt in Thonny IDE, I get the ...
user avatar
-1 votes
1 answer
460 views

Compilation error in arduino IDE while integrating with DHT11 sensor

I have added the DHT11 library already but I am still getting this below mentioned error while compiling. Kindly help me to fix this. Thank you in advance Arduino: 1.8.9 (Windows 10), Board: "...
user avatar
0 votes
0 answers
1k views

How to power on a computer after a power failure?

Background I have a Ubiquiti Network Video Recorder (NVR) connected to an Eaton 3S 550 UPS. The NVR is basically a tiny PC running Debian, which records video from network cameras on the LAN. My goal ...
user avatar
  • 143
0 votes
1 answer
859 views

Arduino IDE isn't starting on Windows 10

I've tried to restart my PC, uninstalled and reinstalled, and I've tried older versions but the thing still won't start. I've also turned off my antivirus and firewall but that didn't work either. I ...
user avatar
0 votes
1 answer
364 views

ESP32 cannot bypass Firewall

I am using ESP32 (which is Arduino based microcontroller with to connect to a Unity game I am building on my PC. I am using the PC as a WiFi Hotspot and the ESP32 is connecting to that hotspot using ...
user avatar
1 vote
1 answer
2k views

MAC OS and Arduino IDE updated fails to compile ESP-12E NodeMCU 1.0

MAC OS updated last night to macOS version 10.15 Beta. Today, Arduino IDE will not compile a sketch, even after again downloading and installing the latest ARDUINO 1.8.9. "Error compiling for board ...
user avatar
0 votes
0 answers
43 views

Arduino Uno no longer allowing me to upload my sketch

I’m trying to upload my sketch to my Arduino Uno but get the following error message: avrdude verification error content mismatch. Does anyone know what this means and what I need to do to fix this ...
user avatar
  • 13
-1 votes
1 answer
58 views

trying to make 2 motors to rotate at same time [closed]

im trying to make 2 motors to rotate at ones with the following skecth #define MotorSpeed 7 #define MotorDirection 6 #define MotorSpeed2 5 #define MotorDirection2 4 void setup(){ pinMode(...
user avatar
  • 13
1 vote
0 answers
37 views

arduino mega 2560 wont show up anymore at al

i have a arduino mega 2560 with an atmega 16u2 chip and it always worked. yesterday i tryed to put it into all of my usb ports but it won't show up anywhere not in the arduino ide and neither in my ...
user avatar
  • 13
0 votes
1 answer
77 views

Arduino power source

I am trying to connect an external power source to the arduino while attaching it to the computer. That is because the way I wired the circuit is so that the components directly connect to the power ...
user avatar
0 votes
1 answer
1k views

How to represent a Carriage return (\r, ^M) as part of text over serial

I am trying to send a message including carriage returns (represented without pressing enter) over a serial connection. It works if i press enter with an open serial connection, but I have not found ...
user avatar
1 vote
0 answers
306 views

Link serial /dev/ttyUSB0 to /dev/ttyS0

I have a program that communicates with an Arduino through the serial port but somehow the Arduino is showing up in the computer as /dev/ttyUSB0 and not /dev/ttyS0, which is what the program is ...
user avatar
1 vote
0 answers
159 views

Arduino Uno not showing up in tty devices?

new laptop and I have never had this issue before. My arduino Uno doesn't show up in the tty devices. lsusb: Bus 002 Device 002: ID 8087:8000 Intel Corp. Bus 002 Device 001: ID 1d6b:0002 Linux ...
user avatar
1 vote
0 answers
479 views

ESP32 less memory size [closed]

When i compiled my program it shows following error. Sketch uses 1527594 bytes (116%) of program storage space. Maximum is 1310720 bytes. Global variables use 58884 bytes (17%) of dynamic memory, ...
user avatar
0 votes
1 answer
54 views

One Arduino board no longer recognized, but others are

I've been playing around with an Adafruit Neotrellis M4 but Arduino IDE is no longer recognizing it as connected. I've tried using the reset button but it doesn't seem to be doing anything. The LED on ...
user avatar
  • 149
0 votes
2 answers
837 views

MQTT large delay between messages

I have a testing configuration which consists of a raspberry pi 3 b+ has a mqtt server, an esp32 with some led´s and a webpage to toogle them (webpage and esp32 are clients). For the esp32 i am using ...
user avatar
-1 votes
1 answer
482 views

Arduino with HM-10 doesn't always receive the complete message that was sent [closed]

I am a beginner trying to communicate between an iPhone and an Arduino Uno. I have an HM-10 BLE module device wired to my Arduino. I use it to send and receive messages from my iPhone. My Arduino runs ...
user avatar
0 votes
2 answers
7k views

Arduino IDE path for VS Code setup

Arduino IDE installed as an App (in Windows 10), so this path ("arduino.path": "C:\Program Files (x86)\Arduino",) doesn't exist, what is the correct one?
user avatar
  • 1
1 vote
1 answer
639 views

Send Wake on Lan (WoL) request manually through the ethernet cable using an Arduino or Raspberry Pi

I'm trying to make a circuit that "intercepts" the ethernet cable before it enters the computer, allowing me to send a "Magic Packet" through the cable manually - by the press of a button for example. ...
user avatar
1 vote
0 answers
378 views

Wake computer via Wake On Lan using Arduino/Raspberry Pi

Is it possible to use Wake On Lan (WOL) without going through the router? Using an Arduino or Raspberry Pi connected to the internet to manually (through the ethernet port) tell the computer to wake ...
user avatar
1 vote
1 answer
688 views

MacOS connecting to bluetooth module

I have lots of issues connecting Mac OS Mojave to my sparksfun Bluetooth module RN-42. I can pair my Bluetooth module to my Mac, but after several seconds, the connection goes away. However, for the ...
user avatar
0 votes
1 answer
26 views

Raspberry install Application on Windows PC at boot [closed]

I am not sure if this es even possible or if I just was searching for the wrong term. The Goal is that a Raspberry (or Arduino) controls some LEDs. Which of the LEDs is turned on will be sent by a C#...
user avatar
1 vote
1 answer
732 views

Could overvolting the USB port on a laptop cause battery drain issues?

So yesterday I was working on a project with an Arduino Mega. The Arduino was being powered with a 9V battery plugged into the 5v and GND pins on the board. I needed to make some changes to the code, ...
user avatar
2 votes
0 answers
147 views

Create WiFi Network (WITHOUT TETHERING) using ESP8266 CP2102 Arduino? [closed]

Hi no idea if this is possible, but thought I would as some of you smart folk. So I have a holiday home WITHOUT WiFi, but I have a phone with unlimited 3G/4G connection and an Arduino WiFi module ...
user avatar
0 votes
1 answer
183 views

DHCP fixed client not working

I have been trying to set a static IP address through a router to an Arduino that uses DCHP connection, the thing is that I have tried this in multiple routers but it keeps changing the IP address ...
user avatar
0 votes
1 answer
98 views

Arduino IDE changes Com Port from 3 to 5 - why?

Have Arduino IDE 1.8.1 set up on Com Port 3. Works fine with Adafruit Uno board. Plug in another Adafruit Uno Arduino board, that does not work properly, and IDE changes Com Port 3 to Com Port 5. Why,...
user avatar
1 vote
1 answer
118 views

How to build Protobuf on Arduino target using Eclipse?

I am using SAM Board 32 bit ARM Cortex M3 platform in eclipse. I am follwing the protobuf example given on google protobuf website. I created the Arduino project and added the Addressbook.pb.cc, ...
user avatar
  • 11
0 votes
0 answers
300 views

Converting an IR remote to use wifi

I bought a Sony Android TV recently, and am not very satisfied with the remote. IR being IR, there are delays between a button-press and the relevant action on the screen. On the other hand, the ...
user avatar
0 votes
1 answer
64 views

How do I have to send this HTTP request?

I'm trying to read some information from a Website (http://www.ths-pinneberg.de/vplan/index.php?klasse=Q1c). You will need a Password. I have the Password saved on my computer but my Arduino not. My ...
user avatar
3 votes
1 answer
3k views

avrdude: /dev/ttyACM0 issue with changing permissions

I was using Arduino IDE on my Arch Linux laptop without problems, after some time /months I'm not able to upload the sketch because of permissions: avrdude: ser_open(): can't open device "/dev/...
user avatar
  • 488
0 votes
2 answers
4k views

Why do you have to use a voltage divider with HC-05 bluetooth module? (Arduino) [closed]

I am trying to connect my bluetooth module to my Arduino but it takes 3.3 volts (the bluetooth module HC-05, The Arduino mega takes 5v) and the tutorials online say to connect the RX pin to the Ground ...
user avatar
  • 23