Most Popular

1500 questions
4
votes
4 answers

Is the ShiftOut tutorial on the official Arduino website really wrong regarding the capacitor?

I'm talking about this tutorial "Serial to Parallel Shifting-Out with a 74HC595" from the official Arduino website. It provides the following schematic: I've read a couple of times now, that the placement of the capacitor is wrong: This is a well…
Liam
  • 77
  • 1
  • 10
4
votes
1 answer

Compatibility between shields

Despite that I am new to Arduino, I am tasked to invent a serious alarm system and I chose Arduino. I study electronics, but virtually I am a software programmer and C is my area of expertise. I ordered the parts I think I will need and the time is…
Edenia
  • 369
  • 2
  • 7
4
votes
2 answers

How to fix: Invalid conversion from 'const char*' to 'char*' [-fpermissive]

I'm trying to upload the code from here to work with an ESP8266. So I copy/pasted the code to the Arduino IDE and I get this error: C:\Program Files (x86)\Arduino\libraries\WiFi\src/WiFi.h:79:9: error: initializing argument 1 of 'int…
Physther
  • 207
  • 2
  • 4
  • 8
4
votes
0 answers

How do I interpret the esp8266 "boot mode" message?

Everytime the chips resets, we get the reason and the next boot mode. ets Jan 8 2013,rst cause:XXX, boot mode:(YYY,ZZZ) For XXX we can check the meaning here. For YYY and ZZZ I am not sure but I know it has something to do with this. I think YYY…
nemewsys
  • 225
  • 1
  • 5
  • 13
4
votes
1 answer

Wi-Fi module 5 GHz

What is a Wi-Fi module for an Arduino that works on 5 GHz? The ESP8266 - doesn't support 5 GHz according to: Re: 802.11AC 5GHz Why can't ESP8266 operate in 5 GHz since 802.11N is supported my own experiments.
Hryhorii Liashenko
  • 141
  • 1
  • 1
  • 2
4
votes
2 answers

How to pass variables to custom callback functions

I want to use the Ticker library of the ESP8266 Arduino core to (asynchronously) delay the switch of a pin to a desired state like below. I am not sure about the "here is" function definitions and I am having a hard time to find some documentation.…
milkpirate
  • 143
  • 1
  • 4
4
votes
5 answers

PCA9685: how "unset" PWM signal?

I use my Arduino with Adafruit PCA9685 servo controller. To set PWM signals I use the provided library: https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library It allows easily set PMM signal and works good. But how can I "unset" PWM signal…
4
votes
1 answer

ATTiny85 Interrupt id vs pin when programming with Arduino

I am using an Arduino Uno with the Arduino as ISP sketch to program an ATtiny85. I followed this tutorial to set up to program the ATtiny, and successfully got it to run Blink and an interrupt-free version of my program. I then added an interrupt…
Marsh
  • 288
  • 2
  • 5
  • 13
4
votes
3 answers

Arduino Due - creating an 8Mhz clock signal

I am attempting to interface a OV7670 camera to an arduino Due. (I am fairly new to this although have been programming for many years). I need to generate a clock signal for the camera at a minimum of 8Mhz - I realise using the pre-scalers I can…
Triumph Rider
  • 41
  • 1
  • 3
4
votes
2 answers

Avoid a Pro Micro waking up a PC?

I have an Arduino Pro Micro mimicking as a HID, connected to a PC. The PC BIOS is configured to wake from keyboard events - it is switched on by hitting a key on the regular keyboard. This is a wanted feature and should stay. Unfortunately, it also…
AnoE
  • 141
  • 2
4
votes
1 answer

Humidity sensor for wet environment

I've had a bit of experience with DHT11/DHT22 sensors in a greenhouse environment, and believe that when they get wet they stop working altogether. Are there any low cost humidity sensors that I can hook up to an Arduino that don't suffer from this…
davidgo
  • 175
  • 1
  • 2
  • 6
4
votes
2 answers

Bluetooth communication not working with DC power but works with USB power?

I am running an HM-10 Bluetooth Low Energy (BLE) module to transmit serial data (using SoftwareSerial) from an analog sensor onboard my Arduino Uno to a serial terminal app on my Android phone. When I power the Arduino with a USB power bank, the…
AggroCrag
  • 161
  • 4
4
votes
2 answers

Image Breakdown

I've been trying to figure out a way to store an image on the Arduino, and I couldn't figure it out. What I've been trying to do with this image is the following: Test that the arduino has the image by displaying on a touchscreen (I have the…
4
votes
1 answer

SoftwareSerial too slow for MIDI?

I tried to use the SoftwareSerial library for MIDI (by 47 effects), but it seems I get regularly corrupted/unexpected messages. The circuit I'm using works perfectly when I connect it with the HardwareSerial solution (so the problem must lay in…
Michel Keijzers
  • 13,014
  • 7
  • 41
  • 58
4
votes
1 answer

Disable Reset when Com Port Connected/Disconnected

I've noticed that when I open and close the com port my Arduino is connected to, the device resets. This makes the program run the setup profile again and it loses the previous variable states. Is there any way to prevent this?
ATE-ENGE
  • 941
  • 3
  • 19
  • 32