Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino]

Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.

1
vote
0answers
22 views

Arduino Uno vs Arduino MKR1000 analogRead discrepancies [migrated]

I'm using an Arduino to control a BLDC motor connected with the motor driver. It is just a simple control which I'm using a PWM as a signal. Before this, I'm used Arduino Uno pin 5 to control BLDC ...
1
vote
2answers
60 views

ORing for Arduino Mini Pro

I am attempting to make an alarm on AC main failure based on Arduino Mini Pro. The idea is that when AC main failure happens the Arduino Mini Pro shall wake up and periodically "beep" between "...
0
votes
1answer
43 views

Arduino and 3W LED sharing the same power source, is it possible and how?

I've built a remote control for my 3W power LED with an Arduino UNO and I'm powering the Arduino with a USB cable and the LED with 4x AA NiMh batteries (1.2V). Is it possible to power both my Arduino ...
0
votes
0answers
6 views

Changing parameters in Arduino without the IDE [migrated]

I’m installing Arduino-based well monitors in my local community. Each well is different and has slightly different parameters and several hardware variations. Currently, when I need to make a ...
0
votes
0answers
30 views

CAN Controller + PIC32

I have been trying to design a functional board which combines the hardware of the elecrow Arduino UNO CAN bus shield with a microcontroller board which functions like an arduino except with different ...
1
vote
0answers
28 views

Connect old USB webcam to USB Host Shield 2.0 Arduino Uno / Mega [migrated]

Does anybody know how to interface an old USB webcam with the USB Host Shield 2.0 connected to an Arduino (Uno or Mega 2560 or other models - excluding Yun). I've got the USB Host Shield set up ...
2
votes
1answer
51 views

When I write data to a BLE Characteristic (FFE1) to send data over bluetooth, is the data encrypted?

I have a very simple circuit which includes a HM-10 that exposes a CC2541 Bluetooth device. simulate this circuit – Schematic created using CircuitLab It's basically just hooked up to power ...
0
votes
2answers
51 views

Choosing the ground for circuit

Can the GND pin of the Arduino UNO be used as a ground instead of the negative terminal of a battery while using a battery as the power source? If no, do we have the liberty to choose our ground for ...
0
votes
1answer
71 views

What can I use to turn on a circuit at 5V?

I'd like to power an Arduino using a supercapacitor. I already have that part of the circuit figured out. But I want to charge the supercapacitor using an external power source, without the ...
0
votes
1answer
49 views

Servo motors twitching , arduino Mega [on hold]

I am working on a school project: a robotic arm controlled by an Arduino Mega board, 6 servo motors: https://hobbyking.com/en_us/power-hd-lw-20mg-servo.html?___store=en_us 1 PC power supply (450W), ...
0
votes
2answers
51 views

Correct use of op-amp to amplify photodiode in reverse bias

So I have a photodiode in reverse bias, from which I intend to measure my pulse. Currently, my schematic looks as follows: simulate this circuit – Schematic created using CircuitLab Weirdly,...
0
votes
1answer
50 views

replacing smd atmega328p on a arduino nano clone

I accidentally blown up the original chip. :embrassed I have successfully soldered a new chip on but the MKII programmer won't enter programming mode. but I can clearly see the characterisic not ...
1
vote
1answer
59 views

Please check my DC / DC schematic. ST1S40

I want to make a voltage down converter to power my controller (Atmega328P). Input = 12V / Output = 5V (3A). As a converter, I use ST1S40. My connection diagram I took the circuit from datasheet, ...
0
votes
0answers
35 views

Phototransistor Daisy Chain

I'm trying to find a solution to daisy chain together over 200 phototransistors for use with a moving concentrated light source. I need something with fast timing, so I wanted to go with a bunch of op-...
0
votes
0answers
17 views

How to connect Arduino Lilypad USB to MicroSD breakout board? [duplicate]

I'm trying to connect the Arduino Lilypad USB to a MicroSD breakout board. I'm unsure which pins to use for the CS, DI, DO and CLK connections on the MicroSD board.
1
vote
0answers
36 views

Detecting Open Circuit, Short Circuit and Battery Reversal

I am facing various design challenges with a project that I am currently working on. I've been trying to figure out a way to build a circuit that detects open circuit, short circuit, and battery ...
0
votes
0answers
36 views

level-shifting a 5V pwm signal to 10V for speed-controller using a mosfet - looking for help solving voltage drop problem.

I have tried to solve this by googling, reading datasheets and discussion. Made a bunch of breadboard designs and finally got one do what it's supposed to on the breadboard. But suffers a voltage drop ...
0
votes
0answers
24 views

APC220's not communicating

I am trying to establish a communication between my computer and an Arduino UNO using a pair of APC220 modules. First I struggled with the RF Magic software but finally got it to work and find the ...
0
votes
0answers
26 views

Control Esp8266 (wemos d1) with hue bridge? [closed]

I have a problem with my smart light controlled by Esp8266 (wemos d1). I want to control my light from my phone with hue app. I have already seen how to control hue with Esp8266 but not conversely. ...
0
votes
1answer
49 views

Connection For simulation touch using 1ch relay

http://gameautomators.com/book/Electronics/4-simulation.html Hi here is a reference to make a touch simulation with rpi and 1ch relay I can't understand how to connect gpios with relay. There are ...
1
vote
1answer
60 views

IR control with Darlington Transistor ULN2003A

I need a simple circuit to control a IR device. I'm quite a newbie with electronics so I would like to know if this circuit is correct because seems is not working. These are the datasheets of IR ...
0
votes
0answers
34 views

Pwm DC output smoothing

I'm in the process of assembling a big 25Ah 4S (16.8 v when fully charged) battery pack. The plan is to multi-purpose that to different DC output voltages so the PWM choice felt natural. Now I want ...
0
votes
1answer
52 views

dc motor, hall sensor 10-20VDC to arduino

I have a linear actuator with a brushed DC motor with 2 hall sensors. I intent to use the sensors to monitor the position of the actuator. The specifications of the hall sensors are as follows: Hall ...
0
votes
0answers
32 views

Arduino Long Range RF Distributed TCP/IP Ethernet Mesh Network

I am trying to design and build a radio frequency mesh network of Arduino Nano + ENC28J60 + LoRa SX1278 distributed over a roughly 10km^2 campus. The Nano + 28J60 + SX1278 would be used as base ...
-1
votes
1answer
92 views

Voice encryption over TRRS headphones

-- Edit 2 --- This question is different from Connect STM32 BLUEPILL to the TRRS connector on the computer But just in case for not falling into double posting I deleted that post. (This post hes ...
0
votes
1answer
38 views

Evaluation A/D and D/A converter

If I need to read and write data over TRRS to and from headphone (i.e. I read from standard (iphone/galaxy) headphone mic. and write to standard headphone earphones). This is a schema of what I want ...
1
vote
1answer
49 views

Interfacing AD7811 ADC with Arduino over SPI

TL;DR: I am not getting the correct values back from the AD7811 ADC. I am giving the ADC an input from my benchtop PSU (Tenma 72-2540) into analog input 1, and getting various (and always wildly ...
-2
votes
0answers
25 views

Load on a Relay [duplicate]

I require a relay that can handle a load of 48V/2amp DC but I can only find relays that can handle a load of 30V/10amp DC. I am wondering if I could still use those as I am only going up to 2amp or is ...
0
votes
0answers
35 views

Best Distance Sensor To Use for Range of 20cm to 5m (Arduino Compatible) [closed]

So I'm making a product for my school project that involves sensing for any obstacles in the distance range of 20cm to 5m in a single direction. I am not sure on what sensor to include. Please note, ...
0
votes
3answers
73 views

How does an IR LED turn on and how can I test to see if its not broken?

I'm an electronics beginner. Does an IR LED turn on like how regular LEDs turn on or does it only turn on when you've assigned a specific code for it to transmit? The reason why I ask: I bought ...
0
votes
1answer
28 views

Doppler frequency formula (for HB100)

I have a question about the formula provided on the application notes of the HB100 sensor. It is: $$f_d = 2v \frac{f_t}c\cos(\vartheta)$$ where \$f_d\$ is the doppler frequency, \$v\$ the velocity of ...
0
votes
1answer
47 views

Arduino and DAC

I have programmed an Arduino to control a DAC, generated signal control the current of an LED via a LT1206. Whenever I plug in the power, before Arduino starts, the LED starts to blink because it ...
-1
votes
0answers
22 views

SMS0408G counter code with arduino

I have searched a lot on internet but can't find anything regarding SMS0408G Please help me out to make a simple counter with SMS0408G and arduino. Thank you in advance
1
vote
0answers
24 views

using ultrasonic sonar and mist maker together

I have made a cold steam bucket (ultrasonic mist maker). now i want to add automatic water level indication system for it using ultrasonic sonar module. i want to know if both mist maker ultrasonic ...
0
votes
1answer
43 views

How capacitor values are determined in this circuit

I am following the course on control systems from edx. I have this circuit as part of practical exercise. I would like to understand how the capacitor values were determined in this circuit The 47uF ...
0
votes
1answer
53 views

Deal with DC offset

I have STM32 BluePill and Teensy 3.2 , they both read analog 0 < x < 3.3V. I want to read earphone microphone sound but the mic produce +-2.5V (with ~200mA, but this is a different problem). ...
0
votes
0answers
22 views

Huzzah ESP8266 board upload stuck

First off, I'm a noob at this. I want to do this project: https://learn.adafruit.com/huzzah-weather-display/overview and I did everything except uploading the code. I use Arduino IDE and when I try to ...
0
votes
0answers
37 views

CAN bus design using MCP2551 and MCP2515 [closed]

So I was developing this control area network and amd I came across this fact that you can connect multiple RS232 output in single input, but can not connect multiple output in single input. I'm ...
2
votes
4answers
496 views

Photodiode almost no mV at analog port

So I have bought a photodiode, which I intend to hook up to the analog port of my Arduino, so that I can measure differences in the light that the photodiode picks up. I realized, that when I don't ...
0
votes
1answer
45 views

How to read high impedance on pin Arduino?

The goal is to catch an AC leak. For these purposes, I use a measuring transformer (RCMB121). When there is no leakage, the output contacts are low (GND). If an accident occurs, the contacts go into a ...
0
votes
1answer
35 views

Position of leds in the RX/TX portion of an arduino compatible

Given the following circuit , electrically speaking makes any difference the position of leds? I know R8 and R9 are used to allow the override of the RX/TX pins if any other device is connected, does ...
0
votes
1answer
29 views

Arduino remote IRsend undefined reference error

I'm trying to use Arduino to transmit a code. I keep getting an error upon compiling. After tons of research, i couldn't find a solution. Can someone please see what i'm doing wrong? My code: <...
0
votes
1answer
32 views

Start ESP (Wemos D1) for short amount of time by pressing a button (no deep sleep)

How can I let an Wemos D1 boot on a button click, letting it execute an action and then shut down. I would like it to be wireless so it can be very flexible, and would love to not have to worry about ...
0
votes
2answers
48 views

is the intel quark capable of running an opencv webcam unity application for linux? [on hold]

I built a fairly simple application in Unity that uses a webcam and opencv to overlay graphics in realtime to a user's face. I am looking for a low cost microcontroller/computer to run the ...
0
votes
1answer
29 views

Problems with Stepper Motor & SN754410

I am using a stepper motor for a project, it is the first time I've used one. The internet said it was very simple and easy but that's not true for me. I bought this motor from digikey https://www....
0
votes
0answers
20 views

Wireless motor control using NRF24L01 problem

When I turn the whole system on the motor just spins regardless of the potentiometer input value. here's the code for both receiver/transceiver: The connections are like this: -for transmitter(left ...
4
votes
0answers
88 views

Please help with my custom ATMega328 PCB [closed]

I created a PCB for my newest Arduino project and its driving me mad by now. I am through several PCB variations and tried connecting to it (via FTDI first - then) via ISP but I fail every time and in ...
0
votes
0answers
11 views

Teensy freezing when reading ir sensor [migrated]

I have a teensy that controls a motor and reads from a ir sensor, GP2Y0E02b. The issue i run into is that at random times the teensy seems to freeze, the main code stops printing but the interrupt ...
0
votes
1answer
51 views

Series circuit LED controlled by Arduino schematic question

I'm currently making a project with multiple series circuits to PWM control multiple LEDs. I have figured out how to make it work with a transistor, however I was curious if this way would work as ...
0
votes
0answers
27 views

PID constants with collected data

Can I get the constants for my PID based on data I collected, for example I'm using an SSR with PWM and I got a graph of temperature(°C) x time(s) with maximum output, 255? And with that, is it ...