All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
8 views

How to access variables by variable? (I.e. variable variables?)

Can Arduino handle variable variables? function getLetterCode(char input) { int letter_a = 17; int letter_b = 42; int letter_c = 50; return letter_$$input$$; //pseudocode } This is ...
0
votes
1answer
17 views

Determing approximate bicycle speed for distancemeter

I'd like to build a self-contained bicycle distancemeter similar to those now used by local police, i.e. that measure and display the distance between the bicycle handlebar's end and passing cars and ...
0
votes
1answer
11 views

How come some Arduino Nano pins (D3, D4, A3, A4, A6, A7) cannot be set high?

I made a sketch to switch on all digital and analog pins, and found out several pins did not work as expected. Note: I manually put a jumper wire from each digital and analog pin (one at a time) to a ...
1
vote
0answers
2 views

ESP8266-01 Does not receive or respond to AT Commands

I have an ESP8266 wifi module that I want to test, to use it later. I uploaded the original Espressif AT firmware "ESP8266 AT Bin V1.7.0" from: https://www.espressif.com/en/support/download/at. FTDI ...
0
votes
0answers
13 views

ESP32 PH probe analogRead Value Alternating

i got an ESP32 WROOM32-OLED with a PH-Probe hooked up to it (PIN39). When i short the probe interfcace to get a PH07 reading (connecting the middle of the probe interface to ground) i get really ...
0
votes
0answers
21 views

Getting wrong value from sd card

I stored "28328630" in sd card but at output i getting wrong value. on serial "5566" getting this value. #include "HX711.h" #include <Wire.h> #include <LiquidCrystal_I2C.h> #...
0
votes
1answer
13 views

Problem with powering ublox NEO-6M GPS module

Firstly, I'd like to mention that I'm a beginner. This is the first time I've worked with a GPS module. The serial monitor is completely empty when I upload the following code to my circuit: #...
0
votes
1answer
47 views

5 minute timer output time remaining

I am trying to create a timer that outputs the time remaining in minutes. I am using an Adafruit Circuit Playground Express. For example, if the timer is 5 minutes, then every minute it should output ...
0
votes
0answers
17 views

How store password in Visual Studio 2019 with .gitignore and PlatformIO [on hold]

Main idea is, save all seecret data to app.config or something else, what will included in .gotignore file. But in PlatformIO project anything not works. Does anyone have experiences storing password ...
0
votes
0answers
32 views

Nano can't get reply from ENC28J60 Ethernet Shield

My Arduino Nano can't get a reply from my new ENC28J60 Ethernet Shield - I can't get any library examples to work. Using the UIPEthernet lib, and running the EchoServer example with logging turned up, ...
0
votes
0answers
40 views

Voice receiver arduino

I have the following situation. I would like to develop a bracelet prototype that identifies when a person is on the go and also issue a question to the person for that bracelet and get an ...
0
votes
0answers
32 views

Send ECG data using buffer in real time to the server without using delay

I am trying to make a ECG monitoring system using Arduino, GSM and ECG sensor which data should be sent to the private server in real time. Those data are then collected via Matlab on the remote ...
0
votes
0answers
23 views

can I use Arduino cuurent-shield-sensor to measure very small voltage?

I want to measure very small voltage in small Range -100/+100 mv from a circuit, can Arduino-shield ACS712 (max471) do that direkt ?
0
votes
0answers
19 views

measure very small ( negative and positve ) Voltage with Arduino

How can I measure Voltage in Range -100mv to +100mv with Arduino , Is that an Arduino-shield can do that ?
-1
votes
0answers
7 views

controlling 2 servo and 2 bldc with 2 joystick [on hold]

I want to control 2 servo and 2 bldc with 2 joystick. It is something like , when I push joystick1 to write side it will slow down bldc2 and rotate servo1 , if I push joystick1 to left side it will ...
0
votes
0answers
13 views

How to debug Arduino using Atmel studio?

I have an Arduino Yun board and an Atmel ICE programmer/debugger. There are 6 pins on the Arduino Yun to connect to Atmel ICE for programming only, but I can't find the pins for debugging. Anyway to ...
0
votes
0answers
27 views

Fail to obtain Sizeof Array

I have a nested array, but I get only the correct size of the first one. I use this as a reference Arduino sizeOf int clockOn_0 [] = {19,0,0}; int clockOn_1 [] = {20,0,0}; int clockOff_0[] = {6,0,0}...
0
votes
0answers
29 views

DS3231 OSF register changing without lost date

Dears, I have an logger prototype with arduino and ds3231 breadboard. My code check periodically OSF register to check if oscillator is/was stopped, as informed in datasheet. I turn on my logger, ...
0
votes
1answer
24 views

Arduino is running as a server, but want to occasionally act as a client to update time

My Arduino (actually an ESP32-based Adafruit HUZZAH32) is running as a wifi server. Its main job is to service GET requests from a user, and to periodically turn devices on and off based on the ...
0
votes
2answers
28 views

Cycling through switch states

I'm making a desk lamp out of 2x WS2811 strips (attached to the triple ports at top right of board below). The brightness of the strips is controlled by a potentiometer, and the colour by a switch. ...
0
votes
1answer
57 views

Charge lipo battery while using

I have a system that uses Arduino and some modules. The system needs 5v dc power with 3A current at maximum(The system needs 3A current for some seconds every 5 minutes and after that the current will ...
0
votes
0answers
22 views

Read Input in Python 3 [on hold]

3 3 1 1 0 0 1 0 0 0 1 Question goes like - First line of input contains rows and columns of the array. Then the array is being input row wise. What could be the best way to read this in Python 3?
0
votes
1answer
17 views

How to Work Two Linear Actuator Synchronously by Using Arduino and VNH5019 Motor Driver?

I am newbie and I want to build a project that contains two linear actuator that move synchronously. Two of them will lift up and down at same time. I use arduino mega and VNH5019 motor driver. I have ...
0
votes
0answers
16 views

Sim800 FTP Arduino

I've been unable to FTP anything using an Arduino and SIM800L. I have reduced the code as far as possible: #include <SoftwareSerial.h> //Create software serial object to communicate with ...
0
votes
2answers
40 views

Upload application from Visual Studio 2019 with PlatformIO

How upload application from Visual Studio? I can’t find upload process from standard VS in documentation https://docs.platformio.org/en/latest/ide/visualstudio.html I hate VS Code.
0
votes
1answer
30 views

Running out of GPIO & looking for suggestions

I'm working on a project using a NodeMCU and am quickly running out of GPIO pins. I'm trying to decide which way to go to complete it. Right now, I have the MCU connected to a MAX31856 PT100 ...
-1
votes
0answers
28 views

read and write an image through Arduino

In one of my tasks in Arduino , I should read an image from Arduino and then make it brighter with Arduino and load it in screen with serial . i've searched so much but i could not find sth useful , ...
0
votes
0answers
28 views

Data logging from ESP32 through UDP socket to PC

The idea is to send raw sensor data from ESP32 to PC through WIFI UDP socket and store it into CSV file using Python. As you can see from the code I am chopping 8 bytes of data into single bytes and ...
0
votes
1answer
22 views

How to detect V-SYNC on the SparkFun MicroView?

Is there a way to detect the start of the OLED screen refresh cycle (V-SYNC) on the SparkFun MicroView? There is no code for this functionality in the Arduino library; in fact it looks like the ...
-2
votes
1answer
23 views

Code for key boaed

I am using a 16 button keypad with the standard keys (123A...0#D). On some of the keys the alphabet is shown. On the key "0" it has "OPER" above. I am using an Arduino UNO and a NANO. Can anyone ...
0
votes
0answers
11 views

Xbee communication stops after 3 or 4 transmit

I want these 2 Xbee S2C modules communicate with each other continuously. However, with my codes, they communicate just 2 or 3 times and stop. I really don't know what is the problem. My purpose is :...
1
vote
1answer
26 views

Set PWM by period? And have it variable?

In this other stack QA I'm asking about generating a pulse signal with a period ranging from 63 ms to 6.5 ms. There is a popular PWM library however it doesn't compile and also since 63 ...
-1
votes
0answers
37 views

Why is Arduino processor slow (16MHz) relative to Raspberry Pi? [on hold]

I'm curious why the common Arduinos (Uno and Mega) only have a 16 MHz processor. My first guess was that this is for cost reasons--Arduino wants to sell a cheap product under $40, and the faster ...
0
votes
0answers
25 views

What is the fastest way to data to another Arduino SAMD21 boards

Hello I would be needing to transmit data from one arduino to another as fast as possible? how do I achieve this? Since my application need a lot of pins (its a compact system so mega and due are not ...
0
votes
0answers
35 views

Error compiling for board Adafruit Circuit Playground [on hold]

Arduino: 1.8.9 (Windows 10), Board: "Adafruit Circuit Playground" C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `setup' ...
0
votes
0answers
31 views

AI for Camera module ov7670 to do a character recognition [on hold]

I have a project that I must use a camera in it to detect the letters H, S, U in Arial font which will be printed on the wall. the robot will be walking in a maze if he found any of these letters it ...
0
votes
0answers
26 views

12V dc fan motor rpm finding using tacho out

I need an Arduino program to find the RPM of a 12V DC fan motor. I don't want to control the speed. I only want to find the speed of the motor using tacho out.
3
votes
2answers
305 views

Why is observed clock rate < 3MHz on Arduino Uno?

I wrote a simple loop to test the processor speed on my Arduino Uno. The numbers I'm getting are much worse than the 16MHz advertised, by a factor of ~5. Trying to figure out what I'm missing. long ...
-1
votes
1answer
33 views

LCD shield submenu

I need to make an app that does various functions regarding IR signals (remote-like) I need to create a sub menu in order for me to access multiple functionalities. Arduino-Uno-Menu-Template I used ...
0
votes
1answer
25 views

Slave to Send Data after Receiving Command using I2C

I want to have my Slave Arduino to send signal to Master after the command was made. But the Slave Arduino does not proceeds to sending the signal after doing the command. What is wrong with my code? ...
0
votes
0answers
21 views

Possible race condition using ADXL345, external interrupts and sleep

Setup: I have an Adafruit ADXL345 attached to an Adafruit feather 32u4, via I2C lines and an interrupt line. Goal: The microcontroller should be in a sleep condition when acceleration values are ...
0
votes
1answer
35 views

can I check if why my motor isn't working?

I am currently using the arduino Uno connected with L298N(green pcb) connected to a dc motor rated 12V. I provided dedicated 12v power supply to the dc motor and the arduino board's power is supplied ...
-1
votes
0answers
20 views

FS100A works when Arduino connected to PC but not when connected to Raspberry Pi

I am building a simple circuit which monitors soil humidity in a flower pot. I was able to measure it and send it from one Arduino Nano to another Nano via FS100A transmitter and receiver and ...
0
votes
0answers
20 views

Remote Arduinos polling a master Ardrino over ethernet/wifi

I'm setting up a "Panic Button" for our Front Office. The concept is to have a master Arduino with the button and 4 other Arduinos with Strobes and/or alarms to alert the rest of the staff. The bells ...
0
votes
1answer
18 views

SD Card store struct: force big-endian / little-endian?

Following MAJENKO's tutorial on sd card file optimization and data integrity, can I force the SDCard to read and write in either big-endian or little-endian? I need this in order to maintain backup ...
1
vote
1answer
34 views

Arduino Ultrasonic Sensor and LCD - Help Needed-

I just recently purchased an Arduino Uno 3 and I wanted to make an ultrasonic distance sensor that outputs the readings to a 16x2 LCD. I followed this guide: http://www.mertarduino.com/using-...
-1
votes
1answer
14 views

expected initializer before 'RF24'

The code i make is this */ #include <SPI.h> #include <nRF24L01.h> #include <RF24.h> #include <Servo.h> #define CE_PIN 9 #define CSN_PIN 10 const uint64_t pipe = ...
0
votes
0answers
10 views

Arduino Nano and neoSWserial library

So I've been playing with neoSWserial library on Arduino Nano. I've been using the example interrupt code: #include <NeoSWSerial.h> NeoSWSerial ss( 4, 3 ); volatile uint32_t newlines = 0UL; ...
0
votes
0answers
12 views

Can you use 2 motor driver(l298n) and an nrf24l01 in an Arduino UNO? [on hold]

Can I use an nrf24l01 (external antenna) and 2 motor drivers (l298n) to control 6 motors, 4 of which in one driver to control movement (forward/backward) 1 to steer the car and 1 for a flipper? Could ...
0
votes
1answer
31 views

Mega2560 has 2 Crystal Oscillator?

Who knows this Mega2560 with two Crystal Oscillators: 12 000 MHz and 16 000 MHz? What is the use of them?

15 30 50 per page