All Questions

0
votes
1answer
12 views

Problem with SPI when using rf24 NRF24L01 transceiver with LED matrix MD_MAX72xx

I am currently using Arduino Mega to use a LED matrix and a NRF24L01 transceiver. for LED matrix, I use MD_MAX72xx library. While for the transceiver I use the RF24 library. I am already able to ...
1
vote
0answers
21 views

How can I create analog signal which is similar to PMT(Photo Multiplier Tube) pulse using analog write?

I have developed a circuit to process the PMT pulse output, For the testing, I need an artificial signal which is similar to the PMT pulse.How can i use the AnalogWrite() to create such type of signal....
0
votes
0answers
19 views

Sending data from ESP826 (nodeMCU) to database when connection is found

One of the parts in the project that I am currently working on is to provide a synchronization between ESP module (situated in a car nearby my house) and a database* on RaspberryPi (somewhere inside a ...
0
votes
0answers
26 views

several cameras share data lines

There are plenty of projects that connect an OmniVision camera, such as ov7670 , to an Arduino. A good example would be: https://www.scribd.com/document/356160003/Beginning-Arduino-Ov7670-Camera-...
0
votes
1answer
32 views

Generate a ramp input with an Arduino Uno

Is there anyway to generate a ramp input from an Arduino Uno? A visual depiction of the pulse I am looking for is as follows: With other microcontrollers, I was able to use their in-built DACs, ...
0
votes
0answers
27 views

ESP8266 WiFiClient connection always returns 0

I am trying to use a NodeMCU as a station to connect to a webserver, however, the WiFiClient connect function always returns 0 for no reason. I am able to connect the NodeMCU to my home WiFi, but it ...
-2
votes
0answers
27 views

Best way to make LED strip WIFI enabled [on hold]

I'm creating an addressable LED strip setup. However, I want it to be WiFi enabled and controllable through my iPhone. I've been looking at options such as ESP8266 to make this possible. My question ...
0
votes
0answers
17 views

Rfid module on nodemcu

I am trying to connect a mfrc522 module with nodemcu. I have tried all tutorials available in youtube. Everytime it shows firmware version: 0x89 (unknown}.
-1
votes
1answer
27 views

How to use MCP4251 write command?

https://github.com/tehniq3/MCP4261/blob/master/MCP4261_mega_lcd1602_i2c_test.ino here used the write command as: digitalPotWrite(wiper1writeAddr, 0); // Set wiper 1 to 200 https://tronixstuff.com/...
0
votes
0answers
23 views

what is this ets Jan 8 2013,rst cause:4, boot mode:(1,7)

i dont have any idea about this problem. can anyone help me how to fix this? #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <...
0
votes
0answers
20 views

In what mode does the Esp8266 and flame sensor code has to be executed?

I had executed Esp8266 code by changing the board to "ESP8266 Generic Board".I have also executed the Flame and smoke sensor by "Arduino Genuino/Uno".Now how should i integrate those two?Which board ...
1
vote
1answer
31 views

attachInterrupt() corrupting Serial buffer requiring Serial restart

I am working on a proof-of-concept ADC to "explode" what's inside of an ADC chip for teaching purposes. Currently, I have a sketch that uses a push-button to act as a clock-pulse that counts up (1, ...
1
vote
1answer
20 views

expected unqualified-id before 'if' if (!client.connected() && lastConnected)

#include <PulseSensorPlayground.h> #include <Timer.h> #include <SPI.h> #include <Ethernet.h> Timer t; PulseSensorPlayground pulseSensor; // Local Network Settings byte mac[] =...
0
votes
1answer
18 views

Help with code for pushbutton connected to adafruit motorshield v2

can anybody assist me with a code? I am using arduino uno with adafruit v2 motor shield stacked on top. I am using a pushbutton and one DC motor and I want the state of the push button to change after ...
0
votes
0answers
31 views

How to imitate a lost remote for an air conditoner using arduino? [on hold]

So I lost my remote and since I bought the ac years ago I lost the bill so I dont the model number and like other details. The ac belongs to a company called videocon. Can somebody please tell me how ...
0
votes
3answers
37 views

Not able to split string into 2 char

I am trying to split an incoming string into 2 integer values since I have to control 2 dc motors with it. The processor is node MCU and I get following error:- Com Port Reading:- WiFi connected ...
0
votes
1answer
14 views

i am getting an error while working with esp8266

i got an error avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 3 of 10: not in ...
0
votes
2answers
28 views

I am getting blocks on my lcd screen 16*2

When I have tried interfacing my 16*2 LCD with Arduino I am getting only the black coloured boxes on my screen. What might be the problem? Is there any solution to that? Do I need to connect any ...
0
votes
1answer
27 views

Create New Serial Class Inheriting from Stream

How should I inherit from Stream, for creating a new class MySerial able to be initialized from a Stream0 instance?. The error so far is: "cannot declare variable 'mySerial' to be of abstract type '...
0
votes
0answers
10 views

How to modify current driver files in USB_Host_Shield2.0 on github for Arduino Mega ADK USB driver for Epson LQ-310 printer?

At the moment, I am engaged in a project in which I have to drive Epson LQ-310 printer with Arduino Mega ADK (USB Host). There is already a library USB_Host_Shield_2.0 on Github which includes usb ...
0
votes
0answers
20 views

How do you move motor car forward for set amount of time and turning left/right

Am new to Arduino, wanted to know how to give motor direction to move and the duration of those movements. Goal is to move forward for say 5 seconds, turn left, move for 0.5 seconds, turn right, move ...
0
votes
1answer
50 views

millis() replace delay() question

// each "event" (LED) gets their own tracking variable unsigned long previousMillisLED12=0; unsigned long previousMillisLED13=0; unsigned long previousMillisLED3=0; // different intervals for each ...
0
votes
1answer
12 views

Pipe serial dump to SD card file

I am using the RFID module to read mifare NFC chips and the library has only methods to send the data to the serial monitor. I need them to be saved to an SD card file. I have been adding custom ...
0
votes
1answer
21 views

Passing arrays, global arrays within functions, pointers, and declaring array sizes

I'm super confused right about now! I've been working on project involving Xbees in API mode, and I need to send different arrays of bytes to the Xbee depending on which buttons I press. Mostly what ...
0
votes
0answers
18 views

arduino dose not working with my mac [on hold]

Arduino: 1.8.8 (Mac OS X), Board: "Arduino/Genuino Uno" fork/exec /Users/apple/Library/Arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/bin/avr-g++: no such file or directory Error ...
0
votes
0answers
18 views

Motion detection alarm that calls back

I need help. I am making motion detector that calls you when sensor activates and i have done the code for that, but the thing is i am beginner and i need to make it when it first time boots i send a ...
0
votes
0answers
21 views

L293D Motor Drive Shield For Arduino question

I have this shield for Arduino . The suppliers states that the driver is capable to move 2 unipolar stepper motors. https://www.sainsmart.com/collections/all-for-arduino/products/l293d-motor-drive-...
0
votes
0answers
32 views

MOSI pin not turning low

I have the following code: void initChips(){ SPI.begin(); SPI.beginTransaction(SPISettings(20000000, MSBFIRST, SPI_MODE0)); pinMode(SS, OUTPUT); digitalWrite(SS, LOW); } void ...
0
votes
1answer
43 views

Prioritizing one sensor

I want to ask is there a possible code to prioritize a specific part of a code? So I'm doing this project where I want to utilize muscle sensor, servo, and a button on an app over Bluetooth. The ...
0
votes
1answer
34 views

Arduino SPI Multiplexer problems

I want to use the ADG731 32 ch multiplexer to read 32 potentiometers, I have wired everything and it works but it doesn't works as fast as I would want. The problem is that If I turn a potentiometer ...
0
votes
0answers
16 views

bh1750 lightsesor won't work

ok, im having problems with my bh1750, here is all info i got: board: esp32s nodeMCU v. 1.1 Pins: Wiring: (the 2 reds go to pin 21 and 22) code: #include <BH1750.h> #include <Wire.h> ...
0
votes
2answers
20 views

“SSD1306 allocation failed” when #include SD.h

I'm using the ssd1306_128x64_i2c example file from the 1306's library. It works perfectly until I add the #include SD.h line, after which it gives the allocation failed error. Please advise. #...
0
votes
0answers
41 views

Analog pins giving off the same value

So recently I made code that used two custom sensors that are connected to the analog pin A0 & A5. Schematic can be seen here (http://inmoov.fr/test-your-finger-sensor/). const int ono = A0; ...
0
votes
1answer
19 views

Play computer *.wav files through Arduino

I am doing mice behavioral training. I have an arduino-controlled box for that. The sounds are play using Mp3 player controlled b the arduino. However, the mp3 player is not good enough for my needs. ...
0
votes
0answers
19 views

STM32F103C8 reset button not working

I am working project, using STM32F103C8T6 and W5500 Ethernet module. My project is something like network relay. My problem is that the STM32F103 can not boot up after pressing reset button when the ...
0
votes
0answers
32 views

How to make an audio player using arduino uno? [on hold]

I was trying to play .wav file using an arduino uno. Although I tried with TMRpcm library, the audio didn't play. It was showing a warning: ISO C++ forbids converting a string constant to 'char*' ...
0
votes
2answers
64 views

Reaction timer using millis

I've written this code for a reaction timer game. The LED is supposed to come on and blink when the game starts before going off and then lighting up again after a certain time. The user must then ...
0
votes
1answer
28 views

Mqtt not subscribe on topic that's converted from String to char array

I am still not sure what should be the exact Title for this question, because I don't know where the problem is. I am using #include <MQTTClient.h> mqtt library to subscribe on a topic. This ...
0
votes
0answers
4 views

Opencv Gtk2 Gtk3 Compability Problem [migrated]

I am using opencv-3.4.2. I want to use opencv for image processing and gtk3 for displying controls. I finished the ui using gtk3. But after I put in the gtk code inside my main function. Every time I ...
0
votes
1answer
24 views

HD44780 display incorrectly black-on-blue instead of white-on-blue

I have a generic HD44780 compatible 16x2 LCD display, with an already soldered on PCF8574 module. Its backlight is blue, and the characters are supposed to be white (on blue). It is connected to a ...
0
votes
0answers
10 views

Read SNMP OID values with Arduino

I wish to read SNMP predefined OID values from other devices, can it be done with Arduino? I searched all over the internet for the past 2 weeks about Arduino with SNMP and found a lot of great ...
0
votes
0answers
22 views

ESP8266 WiFiClient Slow Over LocalHost

Appears to be something to with Apache configuration, swapping to Nginx solved my issue. I'm getting slow responses when using localhost with a NODEMCU 1.0 and esp8266 WiFi library. If I GET a PHP ...
0
votes
1answer
22 views

Compare incoming message from ESP8266 [duplicate]

If there's one thing I never managed to do: it's comparing strings. So I have the incoming message saved here String Message2 = IClient[i].readStringUntil('\n'); And every time I try to compare it ...
0
votes
1answer
26 views

Correct Pins for Nodemcu 8266

I am building a small electronic project, and I am incorporating module nodeMcU 8266 in a box. I would like to know which pins are for "flash" and for "reset" I know there are 2 buttons on the module ...
0
votes
1answer
18 views

Verifiy NTP server update - at start

I have function to start an NTP service, right after obtaining wifi connection ( using ESP8266 board ). from time to time, I get an error saying date and time is01-01-1970... which I assume is due to ...
0
votes
0answers
15 views

Closed Loop Stepper Motor Control with ACE128 Absolute Rotary Encoder

I am using a 1.8 Resolution Stepper Motor controlled by a L298N driver and Arduino Mega. I have attached the ACE 128 Absolute encoder to the motor to use it as a closed loop system. The idea is for ...
0
votes
0answers
12 views

Ultrasonic,pir,gas mq2 sensor using Arduino in one code? [duplicate]

I have a three sensors codes but its are separately. I don't have knowledge of these code merg in single one code
0
votes
1answer
24 views

Control Air Pump Depending on Pressure Sensor [on hold]

I am working with an Arduino Mega, a 12V micro air pump, and a MP3V5050 air pressure sensor. The sensor outputs an analog voltage depending on the pressure reading in an inflatable member. I'd like to ...
0
votes
0answers
20 views

How to trigger a link using esp8266 in GET method?

I am trying to send a sms using a api called fast2sms . Notifications will be sent by triggering that link .I am new to this wifi module and I am not understanding how to trigger that link.
0
votes
0answers
12 views

Question about write-speed to a micro-SD Card on Adafruit Feather M0

I am working on a project and am having difficulty maximizing how fast we are able to write data to our micro-SD card. Our current setup is an Adafruit Feather M0 with a Class 10 Sandisk Ultra. We are ...

15 30 50 per page