Most Popular

1500 questions
8
votes
3 answers

Arduino ESP8266 direct/fast control of the digital pins

How does one control a digital pin directly avoiding the slow digitalWrite or digitalRead?
qubit
  • 360
  • 1
  • 4
  • 11
8
votes
1 answer

What good designs are available for Geiger counters using an Arduino?

Are there any good circuit designs for Geiger-counter projects using an Arduino? If so, what Geiger-Muller tubes should I choose to detect different types of radiation?
sempaiscuba
  • 1,032
  • 8
  • 20
  • 32
8
votes
6 answers

how fast does loop() run in Arduino

Hi I am using Arduino Nano to gamify my experience on Unity3D. I know that Update() in Unity3D runs every frame per second but I because I'm not an electronics guy I don't know how loop() function runs on Arduino. Does it depends on number of CPU…
8
votes
2 answers

Power supply voltage confusion

I just ran into this article: Arduino: What adapter?. It says that the external power supply should be 9-12V. That really surprises me, since my Arduino Uno can also be powered via USB, which is 5V. Later he talks about a 9V pin. But I can only see…
Mads Skjern
  • 1,125
  • 3
  • 13
  • 23
8
votes
2 answers

Burning sketch with I2C

Not a pure Arduino question really. I'm actually using a standalone ATmega168. So far I've been using AVR-ISP programmer (working from AVR Studio) to program the chip. After everything is done, the chip will be covered and I will only have access to…
tsf144
  • 243
  • 1
  • 9
8
votes
7 answers

What is commonly done to stop a servo after reaching desired position?

When I started Arduino, I did not expect that everything must be contained in an infinite loop. I thought I could just write something like: motor start -> motor stop. But in actuality, what I get is motor start -> motor stop -> motor start -> ...…
Fraïssé
  • 895
  • 5
  • 13
  • 16
8
votes
2 answers

When setting hardware timers as interrupts, should I prefer a lower prescaler value or a lower CTC?

I'm currently playing with Arduino's hardware timers, and a question came to my mind. Let me explain it a bit. Let's suppose I want a certain function to execute every 1024 clock ticks. AFAIK, I could achieve this in several ways, playing with the…
8
votes
2 answers

Is it possible to run a binary from EEPROM?

Say I wrote a compiled sketch to EEPROM then read it. Could I run the program from EEPROM? I guess the question is: Can an Arduino run software not in flash memory in the middle of executing the software in flash?
Piper McCorkle
  • 183
  • 1
  • 5
8
votes
2 answers

Arduino Micro vs. Pro Micro

What are the differences between the Arduino Micro and Pro Micro?
user33613
  • 99
  • 1
  • 1
  • 2
8
votes
5 answers

How to change colors and theme settings in 'Windows Store app' version of Arduino IDE?

In the standard Windows (Win32) version of the Arduino IDE, theme settings like syntax coloring can be modified in C:\Program Files (x86)\Arduino\lib\theme\theme.txt. For the Windows Store app version of the IDE the theme files are stored in…
bluejedi
  • 81
  • 3
8
votes
2 answers

Why analogue pins affect each other?

I have a sensor and it generates an analogue signal. I am reading all analogue data and sending it to my computer. uint8_t sensors[] = { A0,A1,A2,A3,A4,A5,A6 }; const int len = sizeof(sensors) / sizeof(sensors[0]); void loop(void) { for (size_t…
erow
  • 215
  • 3
  • 5
8
votes
2 answers

I fried the AMS1117 voltage regulator on my Arduino Clone, is this the cause?

I had the 12V DC power jack plugged-in all the time, and "to make things more exciting" I also plugged-in the "data" USB whenever I had a new sketch to upload. Is this combination a big no-no, or is my step-up converter to blame? I am completely new…
8
votes
3 answers

Additional boards manager option is missing from Arduino IDE

I am new to Arduino. For the project I am trying to do, I want to install the ESP8266 extension. But the additional boards manager URL option is missing from the Arduino IDE. What should I do to add the extension?
Soumen
  • 83
  • 1
  • 1
  • 3
8
votes
1 answer

Programming Chinese Arduinos

I have an authentic Arduino UNO, but I didn't want to pay full price for a new one to build semi perminate projects, so I bought a few ATMEGA328P-PU chips off of…
AndyD273
  • 183
  • 1
  • 6
8
votes
4 answers

Leonardo (32u4): ways to brick it programmatically

When the Leonardo was introduced, I think, I've read some articles about being cautious to do some things, that could cause it to not load any new sketches any more, so one has to rewrite the bootloader. Because I plan to use power-saving options,…
Thomas S.
  • 566
  • 2
  • 8
  • 20