Most Popular

1500 questions
5
votes
1 answer

How well will the Arduino Uno survive in a vacuum?

Im doing some experiments with Pocketlab and Arduino, Vacuum will get to around -30inHg. I tried with my raspberry pi and it just kept dying everytime a vacuum was pulled. The only problem I can image is the arduino heating up.
Tech2025
  • 75
  • 3
5
votes
4 answers

Can I power ESP8266 with more than 3.5 V?

I am concerned whether I need to use a voltage divider to power my ESP8266 module. My concerns stem from the warnings that I have heard in multiple tutorials. Everyone seems to regard the ESP8266 as being very sensitive to supply voltage. Has…
Evan Gertis
  • 153
  • 1
  • 1
  • 5
5
votes
5 answers

Combining Strings into a datestamp

I'm creating a weather station / environmental datalogger and am saving my data to a SD card Breakout. The SD card works fine but I would like to name the files I am saving on it after the date when the readings were taken.I've tryed multiple things…
SquarePie
  • 93
  • 1
  • 5
5
votes
4 answers

"Stand-alone" serial monitor

I usually use Platformio as IDE for my Arduino projects. I like it as an editor, but I don't like its serial monitor feature. So I often open the Arduino IDE in background to use its serial monitor, but this has some drawbacks (including a…
noearchimede
  • 486
  • 2
  • 7
  • 19
5
votes
2 answers

Arduino Uno versus Arduino Nano power consumption

I have both an Arduino Uno and an Arduino Nano but I can't decide which one to use for my project. My aim is to maximize battery lifetime. I have also implemented an 8-second watchdog timer to periodically sleep and wake up the ATMega328P. Option…
Jyoti Raj Sharma
  • 79
  • 1
  • 2
  • 7
5
votes
2 answers

How do I debug on-chip with Arduino?

Though an emulator is quite useful for debugging code that has no side effects, most real-world applications include some circuitry besides the Arduino. If a microcontroller on an Arduino had a JTAG interface, it would be pretty straight-forward,…
polkovnikov.ph
  • 169
  • 1
  • 7
5
votes
0 answers

Clion Arduino plugin: Error:Could not find Arduino SDK (set ARDUINO_SDK_PATH)

I am trying to setup CLion as my workspace for my arduino. I have installed the two Arduino plugins for CLion, generated a new sketch project, but I am getting cmake errors on opening the project. CMake Error at…
John Snow
  • 151
  • 5
5
votes
3 answers

Can I simply unplug the Arduino usb if serial communication is active?

So, after the sketch is uploaded, and I want to turn the Arduino off while it is running a sketch, all I have to do is unplug it. Should be safe as long as nothing is uploading. But I wonder, if I use serial communication between the Arduino and my…
Merlin
  • 65
  • 1
  • 1
  • 7
5
votes
2 answers

16x2 LCD showing blocks under text

I have a LCD connected to a Arduino Mega 2560 using the instructions in LiquidCrystal library. It is not the first time I am using a 16x2 LCD but I never have encountered a problem like this. When I first connect the Arduino Mega to PC I see a row…
KababChi
  • 165
  • 1
  • 4
5
votes
2 answers

Asynchronous control framework

Can anyone recommend an Arduino-based asynchronous scheduling library for controlling a small mobile robot? I'm writing the control code for a small 2-wheeled Arduino-Uno based robot. It has a few bumper sensors, IR sensors, and ultrasonic sensors.…
Cerin
  • 1,618
  • 2
  • 24
  • 41
5
votes
1 answer

avrdude: usbdev_open(): did not find any USB device "usb"

I was programing the arduino and things were going great. Then I plugged in another chip, and went to burn a boot loader. (New chips) now, I get: avrdude: usbdev_open(): did not find any USB device "usb" when I try to upload code to old chips, I…
j0h
  • 882
  • 4
  • 10
  • 28
5
votes
5 answers

ATmega168a Breadboard - can't load via Arduino IDE

I have ATmega168a on a breadboard. I am programming it via the Arduino IDE and a FT232RL USB adapter. When I select my board for 168 and upload, I get the following error: stk500_getsync(): not in sync: resp=0x00 Normally this error means that…
PhillyNJ
  • 1,178
  • 3
  • 10
  • 20
5
votes
1 answer

How can I transmit data to/from arduino from up to ~750 ft away?

I am working on a design project for school (non-capstone non-electrical engineering project) where we are building a system to remotely control a winch on a boat that will lower an independently operating meter to specified depths using a pressure…
PQStorm
  • 51
  • 1
  • 4
5
votes
2 answers

How can I use PWM in power saving mode (ATmega328)?

I fail to use PWM in power saving mode. The output behaves erratically. This should be possible, I guess. The following is a minimal working example: /* MWE: Cannot use PWM in any power saving mode. A minimal working example (MWE)…
stefan
  • 153
  • 3
5
votes
3 answers

Is it possible to query (or otherwise detect) if Arduino is connected to 60 NeoPixel strip vs 144 strip?

Is there any way to have an arduino detect how many LEDs are on a connected strip? I have a 60 strip and 144 strip. The code is identical for both, aside from setting the number of LEDs in a variable to iterate over.
producerism
  • 153
  • 4