All Questions

0
votes
0answers
2 views

http.POST is not sending data to local web page

so i am using a nodeMCU to send data to my local web page developed using Spring boot but when i run the code i don't get an error the esp8266 connects to wifi but i don't get anything on my spring ...
0
votes
0answers
10 views

Controlling UC1638 Graphical LCD screen (C, with Arduino)

I am using Arduino Uno, trying to control LCD screen type UC1638 (240x128 monochrome) I want to fillup the screen in black). Searching up the internet I ended up using this code (written in C): /* ...
0
votes
0answers
6 views

How can I reset servo position?

When I do myServo.write(0) It isn't straight, I want it to be straight but it is at about a 45 degree angle anyone know how to reset the position with arduino to make other positions 0 and making ...
3
votes
1answer
26 views

writting to buffer from serial input

Can some one explain this behaviour please, i have the following code byte buffer[512]; byte block; byte len; Serial.setTimeout(60000L) ; // wait until 20 seconds for input from serial ...
0
votes
0answers
16 views

Esp8266 module with 5v

My esp8266 module clearly says vcc which indicate 5v but i have read that es8266 only work with 3v3 here are the images for my module esp8266 module image
0
votes
0answers
10 views

Maximum voltage supplied on a port set as output

I've 1 port set as output on the ESP32. On HIGH, there's 5V on the port . It's working fine for several months now, but I'm wondering: what is the maximum voltage on a port set as output? I can ...
1
vote
1answer
24 views

Arduino Timer with increase time button

I have an Arduino project to do, which requires a countdown timer(which I've already done). I connected a push button, and when I press that button I need it to increase my countdown timer by +10 ...
0
votes
0answers
18 views

LED Strips - Data Noise Over Long Distance Between Controller and First Strip [on hold]

Please refer to the above picture. The black line is the ground wire and the green line is the wire carrying data. First Question In regards to data noise/interference, can the output ground wire ...
0
votes
0answers
13 views

Multiple libraries were found for “WiFiClient.h” using nodemcu

I am trying to send HTTP requests from nodemcu so I started by uploading the esp8266 library but when I run the following code #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> ...
0
votes
0answers
7 views

What is “tCAN” in codes of CAN bus? [on hold]

I'm new to Arduino and CAN bus. I'm studying some code examples which contain "tCAN message". My guess it defines a class for of CAN messages. I did a lot of search but found no information on it ...
0
votes
1answer
27 views

Flashing ESP8266 ESP-12E/12F

I'm pretty new to Arduino programming and i'm trying to connect this ESP8266 module to my FTDI programmer but constantly getting this error on my ARDUINO IDE: esptool.FatalError: Failed to connect to ...
0
votes
0answers
22 views

i2c slave write to ARM powered device master

I want to communicate to an ARM microprocessor via I2C protocol (Multitech mDot, which uses Mbed platform). I successfully receive data from it (and got it displayed on Arduino's serial monitor), but ...
0
votes
0answers
15 views

i have a problem with mdns i'm using an ESP8266

I am working on a project on which I have to drive a DC 12V motor. I use an ESP8266 I manage to manage my engine remotely but my only problem is the mdns I use the mdns but it does not work. when I ...
-1
votes
1answer
26 views

expected unidentified id before 'if" [on hold]

#include <iostream> using namespace std; char board[3][3]={{'1','2','3'},{'4','5','6'},{'7','8','9'}}; char turn='X'; int draw=0; int row,column; void display_board() { system("cls"); ...
0
votes
0answers
14 views

Microsd card PCB circuit designing [migrated]

I am trying to develop a microSD card module myself. My microSD card module is working at 3.3V and my microcontroller is operating at 1.8V. I have therefore used TXB0104 voltage level shifter to ...
0
votes
0answers
14 views

ESP32 Connecting to any available network? [on hold]

I am using an ESP32 to connect to a local WiFi hotspot on my computer. I am using the following code - const char* ssid = "yourNetworkName"; const char* password = "yourNetworkPass"; WiFi.begin(...
0
votes
0answers
29 views

Clap switch lamp [on hold]

I have previously uploaded a code to my arduino uno and it worked. The project is a clap switch lamp ( sound sensor detects sound and lights up the led, if there is another sound led will go out). ...
0
votes
2answers
27 views

Update time in RTC over I2c fails

I am communicating two arduinos using the I2C protocol and sending from the slave to the master the integer value of UTC to update the time in the RTC module. When the master receives the UTC value ...
0
votes
1answer
26 views

AC Voltage Sensing using Arduino Uno

Is it possible to sense AC Voltage using analog input for Arduino Uno or can it only read DC? I mean I've tried connecting an AC voltage source to analog and I'm reading some numbers. However, I don'...
1
vote
1answer
25 views

Serial Communication between arduino and nodeMCU

I am trying to connect a nodeMCU to arduino mega using serial communication so that i can read data from firebase. I have put the following code on the NODEMCU. #include<SoftwareSerial.h> //...
0
votes
1answer
28 views

why arduino can not write to server?

i write a code for Arduino + SIM800 for connecting to server. but it don't work! SerialGsm.println("AT+CIPSEND=63\r\n"); delay( 1000 ); receive_message(); SerialGsm.print( "GET http://sasasas.ir.ir/...
0
votes
0answers
18 views

Elegoo Uno R3 Shorting out after wire is plugged into 5v

I'm pretty new to Microcontrollers and I have mostly just a programming background. What I am trying to build is a device that uses the ultrasonic sensor to turn a LED on/off using the HC-05 ...
2
votes
1answer
26 views

Which sources of randomness are available? [duplicate]

I need a souce of randomness to generate a seed to pass to randomSeed. Where can I get this randomness from? Well, I hear I can read random noise from an unconnected pin. But I need to connect 9 ...
-2
votes
1answer
42 views

PIR sensor and hex inverter open collector

the M7404 Hex inverter is used to send an active low signal from a PIR sensor to a microcntroller pin However the reset is being constantly sent some signal keeping it set to on. You can tell because ...
0
votes
0answers
16 views

Confused in Voice or Speech recognition [on hold]

i'm doing a project to voice control some stuff in my house like lights , but i'm confused in choosing between elechouse module or EasyVR 3.0 to recognize my voice commands. I want my project to ...
0
votes
0answers
36 views

Why the PWM blinking the LED?

The LED on PWM pin is blinking while turning it on! Here's the code: int onHourONE = 11; int onMinuteONE = 00; int offHourONE = 23; int offMinuteONE = 00; unsigned long PWMdelay = 236; int PWMstatus =...
0
votes
0answers
15 views

“exit status 1 Error compiling for board Arduino/Genuino Uno.” Error when verifying code [on hold]

So I have been trying to learn use the Arduino LED Matrix, however I have faced a few roadblocks. I get a error everytime i verify/upload the code.The solutions on other forums seem to be on the lines ...
1
vote
0answers
45 views

how does c++ understand which function must to use?

in this code: void AdptSendReply(const char* str) { string s(strlen(str) + 2); s = str; AdptSendReply(s); } void AdptSendReply(const string& str) { string s(str.length() + 2);...
0
votes
1answer
26 views

Rounding float number

I want to enable user to change the duration of PWM from 0 to 255, the number should be in minute and increase/decrease with two push buttons. (X) x 255 / 60000 = minute In above example each time ...
0
votes
0answers
15 views

Connecting GoPro to Raspberry Pi with Bluetooth [on hold]

Is it possible to send commands to the GoPro and receive video/photos with a raspberry pi over Bluetooth?
0
votes
1answer
20 views

Libraries not included correctly

I stumbled upon the following unexpected behaviour and am curious about its cause. header.h: #include <Time.h> [...] main.ino: #include "header.h" #include <Time.h> [...] My code is ...
1
vote
1answer
49 views

Problem with passing string pointer from child to parent

I am trying to pass a pointer to a const char * from a child to its parent, but I am clearly not understanding how to do this correctly. Here is the code which contains three classes: 1) parent 2) ...
0
votes
1answer
33 views

Memory usage in AnalogBinLogger of SdFat library

The AnalogBinLogger.ino file of SdFat library says the following: Each 512 byte data block in the file has a four byte header followed by up to 508 bytes of data. (508 values in 8-bit mode or 254 ...
-1
votes
2answers
37 views

How to prevent modify library of arduino?

For some reasons of security, I created library for everybody to use, but I don't want people change my library, cause it make device not work. I search around but still not working. Do I need to set ...
0
votes
1answer
20 views

Velleman KA02 not working on Mega 2560 r3

I have a Velleman KA02 audio shield. When I use this shield on an Arduino UNO R3 with this sample code, it works. And by "work" I mean when I interact with the Serial Monitor (by pressing Y, for ...
1
vote
1answer
57 views

analogRead() output oscillates even though the pin is grounded

I'm using Arduino Micro to read from 5 flex sensors and display the corresponding angles to the Serial monitor. I am currently having quite some problems with the oscillating values I am getting from ...
0
votes
0answers
26 views

Best way to add 2.54mm screw terminals (or similar) to breadboard [on hold]

I am prototyping various projects and really like having a solid screw terminal to attach my wires coming to/from the breadboard. I like the 2.54mm pitch screw terminals (though please say if there’s ...
0
votes
1answer
31 views

Can you put Ardupilot on any flight controller?

Some FC's say that they support cleanflight and have no mention of Ardupilot. Is this just because its what's recommended or because it's all that works?
0
votes
1answer
28 views

How to utilize SPI Serial bus on a ATSAMD21G18?

Like the title suggests, I have a ATSAMD21G18 microcontroller that I want to interface with a LTC6803-4 chip, but I'm not sure how to set up the SPI bus on the microcontroller, and the datasheet ...
1
vote
2answers
52 views

Arduino Nano LED not working

I am just starting with Arduino and was trying to make the LED example work. I changed the script as follows to keep the LED on: #define LED_PIN 12 #define LED_RX_SIG LED_BUILTIN void setup() { // ...
0
votes
1answer
32 views

Is it safe to power Arduino project using a power bank and wall charger?

I got an Arduino project that need a constant source of power. Rather than dealing with batteries, I want to use a power bank like this: Better yet, I want to keep the power bank plugged in to the ...
0
votes
1answer
11 views

Possible to have different torque levels on MG966R servo with Rotary Potentiometer?

I want to apologise first and foremost, and say that I am very new to Arduinos! I wanted to control the torque on a MG966R servo so that I can separate it into 4 different torque levels. I read that ...
0
votes
0answers
18 views

How to count and list number of all UDP clients to WiFi softAP or event if new available?

I have simple ESP32 app (server, soft access point): WiFiUDP Udp; .... void setup() { WiFi.softAP(ssid, password, WiFi_chennel); Udp.begin(portServer); } .... void loop() { .... for(byte i=0;i<...
0
votes
0answers
11 views

RC servo motor initial position

I bought a RC servo motor and I try to run it to both clockwise and anti-clockwise direction. I tried to set the initial position myself but after I power up my Arduino, the servo motor will go to it "...
0
votes
1answer
32 views

About how to calculate execution time of avr code [on hold]

I have vector nav VN100 IMU sensor.I have interfaced it with ATmega32,reading roll,pitch and yaw angels in ASCII format and convert them to float.I want to control a servo motor according to the roll ...
0
votes
0answers
30 views

defined parameter for function in .h body but do not have parameter in code .is not error? [on hold]

in .h file typedef bool (*UartRecvHandler)(uint8_t ch); void handler(UartRecvHandler handler) { handler_ = handler; } in .cpp file glblUart->handler(UserUartRcvHandler); UserUartRecvHandler ...
0
votes
0answers
7 views

In HLW8012 schematic, where should the Referenced ground be connected [migrated]

In the datasheet of HLW8012, the both 33nF capacitors , 1K resistor and 0.1uF capacitor are connected to GND. I'm not sure where should I connect those ends of components marked with GND symbol, (To ...
0
votes
1answer
23 views

ESP8266 WiFiManager never manages to AutoConnect?

Running through examples of WiFiManager, and trying to incorporate the code into my own, it seems that WiFiManager (either version) never manages to connect using saved WiFi information. Starting my ...
0
votes
0answers
75 views

Interrupts arduino interrupting serial comunication

I have problem with communicating VB.Net-Arduino. It seems the interrupt pause my serial communication line in void loop() { ... }. I don't know what to do, and I can't erase interrupts line since I ...
0
votes
0answers
47 views

Is the Nano USB-serial supported with native drivers on MacOs? [on hold]

I'm making a peripheral using a Nano clone. All of those seem to use the CH34x serial chip. I'd like to believe that a naive user can just plug my device in and the OS will either have or find the ...

15 30 50 per page