All Questions

0
votes
1answer
32 views

Unexpected results when creating 32-bit int from byte array

I'm having problems creating a 32-bit integer from a 4-byte array. In the following complete, minimal, and verifiable example, converting a byte array containing 0x00, 0x04, 0x04F, 0x45 results in ...
-1
votes
1answer
41 views

LED array flashes once before being lit

I've built this simple Arduino controlled led-array. The Arduino sets a 5v pin on a relay to connect the high current power supply to a led array. However, just before the led array is being fully ...
0
votes
0answers
32 views

How to merge multiple sensor inputs into an array and display in serial monitor and later store in a CSV file? (with arduino &python) [on hold]

I am trying to fuse 3 sensor inputs into one array by taking them in an array with the help of analogRead function in Arduino. But I am failing to do so. Later on, when doing this, I need one general ...
0
votes
0answers
24 views

Error with AT+CIPSEND in ES8266 with arduino

I'm making simple web-server on esp8266 module connected to Arduino. And when +IPD,0,GET... I'm sending AT+CIPSEND=0,16. Then I write HELLOMYDEARFRIDE. It says : send 16 bytes recived. OK. But in ...
0
votes
0answers
21 views

Solar panel power Feather Huzzah 8266 [on hold]

I am trying to power a Feather Huzzah 8266 with a LiPo 3.7 V battery in the jst connector and to connect a solar panel 6 V as well to the Feather, which could recharge the LiPo via the Feather on ...
0
votes
1answer
33 views

External Interrupt Pins on Nano Clones

Long time lurker, first time poster here. Do the cheap Arduino Nano clones such as this one have external interrupt pins? For example, the original Nano has pins 2 and 3 usable for interrupts. Do ...
0
votes
0answers
17 views

Arduino Uno does not detect the GPS module

I am trying to start the GLONASS NEO-7M-C module using TinyGPS++ liblary, but in the serial monitor I receive a message all the time that the module is not detected. My connection: PPS - None RX - ...
0
votes
1answer
95 views

Run a loop for only 60 secondes

How do run a code on arduino for only 60 secondes and than shut it down? I know I have to use the millis() function, but I do not know how to it in my code. Sorry if it looks unclear, but I only need ...
0
votes
0answers
26 views

Creating WebServer ip:port on esp8266 module

I creating Clever House with wifi. For this I'm using ESP8266 as module connected to Arduino. They communicate with SoftwareSerial. And there's a problem with global webserver on ESP8266. That I think ...
0
votes
0answers
10 views

Code Optimisation in esp32

I need to optimise my code for a real time system using a esp32. What's a simple and accurate way to benchmarks and statistics on the Arduino platform?
0
votes
1answer
42 views

Arduino RS485 shield to RS485 temperature & humidity sensor

I’m try to get data from rs485 is not work please advise to me. 1. Try to connect PC usb485 to DY-MD02 is work. Send command “AUTO” or “READ” 2. Try to Arduino rs485 shield to DY-MD02 is not ...
0
votes
0answers
21 views

Problem Writing/Reading EEPROM on MEGA

I want to make a program that writes on the EEPROM some structs, the final device will take structs of RGB LED data: typedef struct{ unsigned char r; unsigned char g; unsigned char b; } ...
-1
votes
1answer
47 views

Locate devices that can move among multiple connections [on hold]

I don’t know if this is even doable, but the idea is to have a large board with many (500+) locations where I objects can connect, each object having a single LED, and be able to illuminate the LED on ...
0
votes
1answer
35 views

Sending data through esp8266 using arduino

I'm trying to send GPS data using esp8266 using Arduino board. I've used neo-6m receiver and esp8266-01 module. Below is my program using AT commands. The program is successfully compiled and loaded ...
0
votes
0answers
13 views

green house vent servo based reading a sensor wrong

I am trying to make a green house vent that will open based on the temperature, however in my code the thermometer is not reading correctly, I've been designing it in tinkercad and heres the link ...
2
votes
1answer
64 views

Arduino wrap or subclass print() to work with multiple Serial

I am writing an Arduino program that uses Bluetooth on Serial1 to print text to a Bluetooth terninal on an Android phone and also normal Serial to print text to the serial monitor on a laptop. I would ...
0
votes
0answers
17 views

Does LabVIEW Linx affect the communication speed with Arduino?

I am using LabVIEW to connect to Arduino Mega. I control a logic gate to switch the current On/Off and at the same time there is an I2C connection with a sensor. It came to my attention that the ...
2
votes
1answer
124 views

LED not blinking when using a transistor

I want to control an led using a transistor. The led gets it‘s power from an external 5v dc power supply. For the transistor I use an 1kΩ base resistor. The transistor is a BC547C (npn). The ...
1
vote
0answers
26 views

Low voltage security

I'm building a circuit with a GPS sensor and an esp32. My input voltage is designed to be 5V but I experienced some issues where people put lower charger in input (<4V). As a result my esp32 will ...
0
votes
1answer
28 views

Why am only hearing noise or no sound?

Alright, there is something missing in the question, I was able to hear one sound of the files and the others apply to the question I asked and that is why I am wondering. what is happening! Here is ...
-2
votes
0answers
29 views

how to connect jm101 optical fingerprint module to arduino uno [closed]

please i want to know if anyone here has used the jm101b-1904c fingerprint module with 8 pins and how to connect it with the arduino uno, I am having a hard time finding resources for it. Thanks
0
votes
1answer
15 views

Arduino DUE- flash space for user

I need for my project to save only 32bit in non-volatile storage. What is the easiest/cheapest way to do that in Arduino DUE? ArduinoDUE is Atmel SAM3X8E so according to the attached table (from ...
0
votes
0answers
16 views

Connecting Adriono to Ubuntu Bluetooth HC-06 connection

I'm trying to connect a Bluetooth serial stream from a Teensy3.2 to an Ubuntu laptop. The USB comms between the Teensy and the laptop work fine and the BT comms between the Teensy and my phone work ...
0
votes
2answers
24 views

How to rotate a servo motor on a specific angle?

I am trying to rotate a top on a specific angle after every 1 second. For example: 1 degree/second. I have two question: Can I achieve this with servo motors? If not, what motor should I use? I ...
0
votes
0answers
19 views

Activate camera module(OV7670) with ultrasonic sensor(HC-SR04)

I want to use ultrasonic sensor(HC-SR04) to activate my camera module(OV7670) and capture images. When HC-SR04 detects an object is less than 15 cm away from it, camera needs to start working and take ...
0
votes
2answers
30 views

About ATmega32 event system

From my reading on internet i found that the Event system allows peripherals to trigger each other without involving the CPU...does the event system is software or hardware?also does ATmega32 support ...
0
votes
1answer
38 views

Can I solder wall cord directly to servo?

I have a servo which requires 7.4v and a wall power cord which says the output is 7.4v but the connector does not fit that of the servo. Is it safe to snip off the end of the wall cord and solder the ...
0
votes
1answer
16 views

My webswerver works fine when there is only 1 servo used/defined in my code

I am trying to make a webserver which controls my 3 servos for a robotic arm. When I define and use 1 servo it is nice and quick, but whereas if I use more than 1 the webserver is very slow and barely ...
0
votes
0answers
21 views

16x2 lcd lighting up blue but not showing any text

i should probably start off by saying i am really new to this stuff and have barely any idea what i'm doing. i am triyng to use a DHT22 and a 16x2 LCD to show the temperature and humidity. here is the ...
0
votes
0answers
18 views

How to control motor in trapezoidal manner using arduino

I am Working on a project in that i have to control motor in a Trapezoidal motion profile. on Y-axis is the velocity and X- axis as a time. Velocity increases linearly for a certain time, then ...
1
vote
3answers
47 views

Is there an alternative to soldering to connect boards?

I know that shields are usually soldered to headers so they can be attached to the board with the Arduino. I have a tremor, which makes soldering impossible. Are there ways of connecting PCBs without ...
0
votes
1answer
46 views

Include guards vs #pragma once [closed]

Is there any particular reason why #pragma once doesn't seem to be used in Arduino code? Is this just because it's not a well-known feature, or is there some overriding reason to use #ifndef XXX_H/#...
1
vote
1answer
44 views

Problems with Serial.read()

void loop() { if (sensor.begin() == true) { Serial.print("Current Conversion Mode: "); Serial.println(sensor.getConversionMode()); Serial.println("Enter your mode of Conversion (number ...
0
votes
2answers
40 views

How can I rewrite Arduino Code using SPI library into C++?

The issue is that I have code using an Arduino library and need to convert it into C++ so I can use it with a raspberry pi on ROS (Robot operating system). Does anyone know the best way to change it ...
-3
votes
1answer
30 views

Spi based pin expander for Arduino

I don't have enough pins on my Esp32 board. I would like to use a pin expander. All the ones I could find online only use i2c. Are there ones available that use SPI? I would like send pwm signals to ...
0
votes
0answers
20 views

Reading a big csv file from a SD card

I'm trying to read a csv file that's about 36000 lines long. X,Y,TYPE,SPEED,DirType,Direction -44.058251,-19.945982,1,30,1,339 -54.629503,-20.497509,1,30,1,263 -54.646202,-20.496151,1,30,1,86 For ...
0
votes
1answer
21 views

Increasing speed of Vl6180x Sensors

I have 5x vl6180x pololu ToF sensors. I have managed to hook up all of the sensors to the arduino via I2C by making each sensor startup at different times and when they do, changing their addresses, ...
0
votes
0answers
64 views

LED brightness control problem

My first question here. As an example, I'm using https://howtomechatronics.com/tutorials/arduino/how-to-control-ws2812b-individually-addressable-leds-using-arduino/ code to control my lighting, which ...
0
votes
0answers
19 views

using two mpu6050 to get more accurate and precise angles

i have been using this gyro for a while, now i am aware of all measures taken, to improve the outcome of this board. my question is: would using two at the same time improve the results? if yes how ...
1
vote
0answers
23 views

Can't get MMC3416xPJ to work

I needed a magnetometer with a high Output Data Rate (ODR). This is because I wanted to measure AC magnetic fields of around 20-80 Hz. So I decided to go with the MMC3416xPJ prototyping board which ...
0
votes
2answers
60 views
0
votes
1answer
20 views

How can i stop DC motor when button on remote is released? [closed]

I am trying to control a motor using a remote with Arduino Mega. The motor turns on when I press the button on the remote but when I release the button, it continues to move. Does anyone know how to ...
0
votes
1answer
20 views

Problems when attaching a second ultrasound sensor (HC SR04)

I am working on an obstacle avoiding robot. It uses an ultrasound sensor to avoid obstacles, but currently has trouble avoiding objects that are diagonal to it. Thus, i want to add a second ultrasound ...
0
votes
1answer
29 views

Read write with half duplex SPI

I'm currently struggling interfacing an SPI device using just 3 pins (CLK, DATA, NSS). Wiring up? Connecting MOSI/MISO together? How do i read since it's half duplex? In ESP32 there are flags ...
1
vote
0answers
25 views

Running a motorcycle horn with a NodeMCU [closed]

I'm currently working on a Project that uses a NodeMCU to activate a motorcycle horn. However, I've run into Problems with operating the Mosfet. As a Mosfet, I use the IRLZ44N (Datasheet: http://www....
0
votes
0answers
24 views

Online Json Service for Esp32

I'm building a simple outdoor temp and humidity sensor with an esp32 I've aquired but I need a platform that I can submit the Json to so that then my laptop can make an http request to get the Json ...
0
votes
0answers
18 views

freeRTOS tasks never run on Lightblue Bean

Although Punchthrough no longer supports the Bean and Bean+ they still maintain the online compiler and reference materials: Bean Github Bean reference One of the external libraries they've included ...
0
votes
1answer
26 views

NRF24l01 with Atmega 32u4 and internal clock

Will the nrf24l01 work with the Atmega 32u4 if I am using the 32u4's internal clock, or must I have an external clock source?
0
votes
1answer
32 views

Can you drive a stepper motor without the L293D

Can you drive a stepper motor without L293D. Don't awnser without giving explanations or saying it will be cheaper to buy the L293D. Thanks
0
votes
0answers
17 views

How to prevent FirebaseArduino's Firebase.failed() from returning true?

I have an ESP8266 receiving a stream from a firebase value. The value determines the state of an LED output D0. The stream works for the first few minutes after hard reset but Firebase.failed() ...

15 30 50 per page