New answers tagged

0 votes
Accepted

DHT11 stops working when power comes from a power supply board

In your question in the image below your grounds are not connected. The solution to your problem is to connect the ground (and only the ground, not the +5V) of your external power supply to the ground ...
  • 1,450
0 votes

Coding a Stirrer with Different Speeds

Since you are in charge, take control and have a meeting but first prepare. At that point you ask for and if you do not get volunteers assign projects, to the best of your ability be sure they are ...
  • 1,481
1 vote

Arduino Uno R3 (with Atmega 16u2) and MAC OSX 10.11 (El capitan) not working

There is complete documentation on Arduino website, I followed the steps and I was able to install driver https://support.arduino.cc/hc/en-us/articles/4408887452434-Flash-USB-to-serial-firmware-in-DFU-...
  • 121
2 votes

How to produce 6 PWM signals with 60 degrees phase shift?

I found the correct method for 6-phase PWM as the OP requested. And it can have any duty-cycle you want. My erroneous findings for 50% only duty we're because I used Fast-PWM mode. When I switched to ...
  • 21
0 votes

Serial communication between multiple devices (or Arduinos)

Another option thats possible if you can control the firmware on each node, as in your case with multiple arduino's, is to create a ring bus using UART ports with multiple peers on it where each node ...
0 votes

HC-05 Bluetooth module blinking at a slow rate (about 2 seconds on, 2 seconds off) and not discoverable

You might want to look over the work I did some time ago with the HC-05. See this post, and this post.
0 votes

Run DC motor with push button using Arduino Uno

const int ENA_PIN = 6; // the Arduino pin connected to the EN1 pin L298N const int IN1_PIN = 7; // the Arduino pin connected to the IN1 pin L298N const int IN2_PIN = 8; // the Arduino pin connected to ...
1 vote

I'm using nRF2401 and in my transmitter and receiver the Rx is not blinking and Tx is blinking; why does Rx not blink?

We've got multiple questions here, so: Why is TX/RX blinking weirdly? The RX and TX LEDs on the Arduino Nano are connected to the RX0 and TX1 pins: they show activity on the Serial-over-USB port that ...
  • 296
1 vote

Arduino Uno usb 5v and external power supply 12v overheating

I suggest you do not use the 12V external power when you are already supplying it with an externally regulated 5V source. The sole purpose of the 12V input is to provide a 5V regulated supply voltage ...
  • 3,062
2 votes

Standalone ATMega328 - do I need to burn the bootloader?

At the risk of having my answer closed as "link only" I want to tell you that I have a page describing how to make an Atmega328P into an Arduino-compatible board. There is far too much ...
  • 35.3k
0 votes

Standalone ATMega328 - do I need to burn the bootloader?

No, you do NOT need to burn the bootloader. But depending on your equipment and programing habits you may want to. The bootloader used by Arduino (which is known by the name 'optiboot') is used to ...
  • 1,475
-3 votes

Standalone ATMega328 - do I need to burn the bootloader?

you can not program the ATM383 in c/c++ without bootloader you can burn the bootloader using another arduino board using the icsp pins, or you can use a USB to TTL converter , the arduino IDE can do ...
1 vote

Arduino Square Wave Phase Shift by 270 degrees

The Arduino can only shift across a range of 180 degrees in CTC-mode using a 16 bit Timer. If you shift one channel to 90 degrees (other OCR set to 1, not zero) and then add a logic-inverter, you'll ...
  • 11
0 votes
Accepted

digitalWrite giving different output voltages between programs

The difference is, that in your first sketch you never call two_aspect_signal.setup(), thus the pins are never set as output. By default pins are configured as inputs. Doing digitalWrite() while the ...
  • 14.1k

Top 50 recent answers are included