Most Popular

1500 questions
4
votes
3 answers

How does the Space Replay record audio?

The Space Replay A hovering object that explores and manipulates transitional public spaces with particular acoustic properties. By constantly recording and replaying these ambient sounds, the levitating sphere produces a delayed echo of human…
asheeshr
  • 3,837
  • 3
  • 25
  • 61
4
votes
2 answers

Writing to sd card with a sampling rate 50ms or less? I have a sketch that writes to sd every 1s but jams at faster sampling rates. Please help?

My code below reads data from an ADC and 3 digital pins via a Mega and prints to an SD Shield (Deek Robot). I want to be able to read the data every 50ms (20ms ideally). I can't get below 250ms. I've read countless forum posts regarding the same…
Microk
  • 115
  • 9
4
votes
7 answers

Arduino Pro Micro clone not recognized, flickering RX LED

I have an Arduino Pro Micro clone that seems to be in some sort of reset loop. The RX LED is flickering very fast and very dim. The power LED also seems to flicker at the same frequency but has normal brightness. The Arduino is not recognized by the…
timonsku
  • 141
  • 1
  • 1
  • 4
4
votes
2 answers

Photoresistor is not working, is there something wrong in the code?

I am trying to make the photoresistor work in a simple project. The project is as follows: The LED light should light up brighter and brighter as the photoresistor reads less light in the room. The problem: The reading is fixed on 1023. Therefore…
mickkk
  • 271
  • 3
  • 4
  • 8
4
votes
2 answers

Multiple libraries were found for "WiFiClient.h" using nodemcu

I am trying to send HTTP requests from nodemcu so I started by uploading the esp8266 library but when I run the following code #include #include void setup() { Serial.begin(115200); …
Ela Hidri
  • 111
  • 1
  • 2
  • 7
4
votes
4 answers

class enum was not declared in this scope

I am programming an Arduino. In the same .ino file as setup() and loop() I have defined the following: void setup() { // setup code } enum class CYCLE { TypeA, TypeB }; String cycleToString (CYCLE cycle) { if (cycle == CYCLE::TypeA) { …
AJP
  • 181
  • 1
  • 8
4
votes
1 answer

Can I use an AC signal to make an LED light up with arduino?

I want to use a 220VAC load as a signal and act as a switch to my arduino so Labview could interpret it as an LED ON state. I used a 4n33 octocoupler but it seems that the LED Simulation on labview keeps fluctuating. I think it's because of the…
4
votes
1 answer

How much can an Uno be overclocked?

When running the board at room temperature (20 C) without any extra cooling mechanisms added, how much can the Arduino Uno be overclocked? Also, what would I need to change/update to overclock the board?
asheeshr
  • 3,837
  • 3
  • 25
  • 61
4
votes
1 answer

Can I program a factory fresh Atmega328P through UART pins without burning a bootloader?

Can I program a factory fresh ATMega328P using the UART pins without burning a bootloader? These pins are TX, RX, VCC, GND, and DTR pins in the schematic below. They are not the ISP/SPI pins 10-13. Arduino Pro Mini schematic For example, if you…
Bort
  • 151
  • 5
4
votes
1 answer

Have I fried my A2 port?

I'm playing around with a SparkFun Redboard (essentially, an Arduino UNO). I have a simple 5V sensor that I'd been trying to get to work with A2 and analogRead(). Nothing seemed to work. It's supposed to be cycling from 0 to 5V, which should give me…
Jeff Dege
  • 161
  • 3
4
votes
3 answers

Is there any limitation with Arduino Nano serial communication distance?

I am trying to build Project which communicate multiple Arduino Nanos. I wanted to understand if Arudino Nano is capable of doing that, while doing research I came across post where it says communication with nano can be done up to 2-3 meter, where…
Akshay
  • 193
  • 1
  • 9
4
votes
3 answers

Using an external header file

I have a project that is part of a larger repository, and shares header files with non-Arduino C programs. I know that it's possible to use these headers by copying them to the libraries folder, or the sketch folder, but I would rather use them with…
Photon
  • 163
  • 2
  • 6
4
votes
1 answer

What does "Update of OCR1x at" mean in the WGM table of ATMEGA328?

I just finished a reading a couple of online guides on how to use timer registers with pulse width modulation, so I'm still new to its concept. When I looked in the ATMEGA328 specification sheet, I see this table: The column that I'm not…
learningtech
  • 173
  • 6
4
votes
2 answers

Why is AREF connected to a capacitor in the Arduino Pro Mini Schematic?

I'm currently looking at the Arduino Pro Mini schematic and have noticed that the pin AREF (analogue reference) is connected to a 0.1uF capacitor as shown below: I have done some research and read this great explanation into AREF and now understand…
4
votes
2 answers

Need little bit of help on testing I2C sketch

I have this code I got from YouTube for communicating between two Arduinos. By typing 'R' manually into the serial monitor of the 'master' Arduino, the 'slave' will print "Success". I'm trying all this for the basis of a project I'm starting. After…
Josh
  • 51
  • 2