All Questions

0
votes
0answers
10 views

How to find the MAC address using NodeMCU when connecting to WiFi?

I am new to using NodeMCU and IOT. I am testing the NodeMCU (ESP8266) so that I can connect with pubnub server. Have taken code from github but there is error saying 'mac was not declared in this ...
0
votes
0answers
11 views

Ethernet Shield - Not Working Properly Always

I'm working on a school project and using Arduino Uno. The basic working method for the project is as follows: Read temperature from LM-35. Read CO2 level in air using MH-Z14A. Upload data to server ...
1
vote
2answers
26 views

How to combine strings and text together?

I'm trying to combine two strings (strings/int) together with text in below code: int foo = String((char*)payload).indexOf(' '); int message1; int message2; message1 = String((char*)payload)....
0
votes
0answers
18 views

error: 'View' does not name a type

The code seems to be good, but I get the mentioned error. Let's have a look at the code: view.h #ifndef _VIEW_H_ #define _VIEW_H_ #include <Arduino.h> #include <ds3231.h> #include "info....
0
votes
0answers
13 views

How can I merge my two scripts: Basketball Timer & Basketball Scorer?

I have a project in arduino, an arcade basketball machine using 4" Single-7-Segment Displays driven by IC 74HC595N. The purpose of my program is to record the score by merging 2 SSDs at the same time ...
0
votes
0answers
10 views

'inet_addr_to_ipaddr' was not declared in this scope

I am using ESP32 Ping from this page: https://github.com/pbecchi/ESP32_ping It works fine on ESP32, no compiler error. Because something wrong on my PC, I did fresh install Windows 10 and Arduino ...
0
votes
0answers
17 views

Nested “switch” statements menu

I know that menus were discussed perhaps a thousand times here and everywhere. But using a ready solution is not something that I'm looking for because I know I won't learn the concept if I use them. ...
-2
votes
0answers
24 views

How to communicate with Arduino using Bluetooth/WiFi

I would like to make a project where an Arduino is able to receive texts from my iPhone and then flash a led when I receive a notification. I never use an Arduino and I am wondering if an Arduino ...
0
votes
1answer
25 views

How do I use a 5v/120v relay that is not mounted on a board [on hold]

I bought an arduino kit, and it came with, amongst other things, a 5v relay to control 120-220v. The relay is only that, there is only the 5 pin relay, and it's not on a board on which one can ...
0
votes
0answers
9 views

HC-12 or S14432 for multiple transmitters

I want to build a property monitoring system that can monitor up to 15 different battery powered sensors around the property and report alarms wirelessly back to one main mega about 600’ away (line of ...
0
votes
0answers
12 views

ESP-13 WiFi shield - “error: espcomm_upload_mem failed”

I am creating a web server with Arduino and a ESP-13 WiFi shield. The wiring is as following: Arduino UNO || ESP-13 WiFi shield 5V || .5V GND || GND TX || RX RX || ...
0
votes
0answers
19 views

Why is arduino Mega2560 taking so much time to recognise the pin is no longer at HIGH?

I am in my first arduino steps. I have a Mega2560R3 I wrote this code const byte D0 = 22; const byte D1 = 24; const byte D2 = 26; const byte D3 = 28; const byte D4 = 30; const byte D5 = 32; const ...
0
votes
1answer
22 views

Dynamically modifying the call stack using pointers

In a C++ Arduino library, can we modify the call stack from inside a function by intentionally decrementing a pointer to a stack variable so that it's out of range? Like this: void FooBar() { char ...
0
votes
0answers
11 views

Using pulseIn() to read from an RC receiver is giving erratic/no values

I'm trying to read values from an RC receiver into an ardruino uno r3 using this code: int input[4] = {0, 0, 0, 0}; int *elevator = &input[0], *aileron = &input[1], *rudder = &...
0
votes
2answers
35 views

Can Serial be safely used in an SPI interrupt routine

I have anecdotal experience that using Serial.print inside a slave's SPI interrupt routine (ISR) causes issues with transmission. It also seems that interrupts may be called more than once before the ...
0
votes
0answers
49 views

How to get PWM frequency to ~14KHz?

I found this question: Set PWM frequency to 25 kHz It is useful, however, I want to use it to generate ~14KHz? int d = 0; // pwm value void setup() { // Sets Timer1 to Phase Correct ...
0
votes
0answers
31 views

Checking Arduino 5/3.3V under load

Is there a way to use common/cheap components to put the 3.3V and 5V pins on an Arduino under load, in order to measure if they are giving a correct and stable voltage? Can I calculate a certain load ...
0
votes
0answers
21 views

vscode arduino integration errors

I'm just trying to understand how vscode can compile arduino sketch. Now I uploaded some sketch to arduino and it was fine. Now I'm trying to add my own header files to .ino sketch and I got weird ...
1
vote
1answer
34 views

Does Arduino C++ support dynamic arrays of objects

My C++ is seriously out-of-date, and I'm working on a project that will be juggling multiple timed actions at the same time, with a menu system to manage the interface and control those timed actions (...
-2
votes
0answers
21 views

where can I get “soc/soc.h” [on hold]

I am trying to follow the instructions for a project given here. What do these parts of the code mean, and how can I obtain the files? #include "esp_err.h" #include "esp_wifi_types.h" #include "...
0
votes
1answer
25 views

Trying to power multiple servos at once using a Arduino Mega

Recently I have been trying to do a project for my end of year project, it involved making a humanoid arm. I am still a newbie at these things, I usually have my friend do the wiring, but since he ...
0
votes
0answers
21 views

How to convert jpeg byte stream into jpeg image and display on 1.8 inch TFT display

I have an ESP32 having a cam and it is transmitting compressed JPEG stream. TTGO T-Journal ESP32 Camera Development Board OV2640 SMA WiFi 3dbi Antenna 0.91 OLED Camera Board I have an ESP32 ...
0
votes
1answer
48 views

Analog output gives a close range of values

I try to get a good range of values from VMA309 sound sensor. However, when I connect it properly it gives me a range of values +/-5 like below. The documentation says it should give numbers ...
-2
votes
0answers
18 views

Arduino DHT11 sensor not working [on hold]

I've connected my DHT11 sensor to a digital pin and supplied it with 5V DC, and when I print the humidity to the serial monitor, it keeps on showing -999%. What do I do?
0
votes
1answer
38 views

Failsafe Arduino

I want to read an RFID tag using an Arduino, which controls some relais. This is easy. For me the more complex part is to build it fault-tolerant. So I thought I could use the watchdog. The tricky ...
1
vote
0answers
75 views

integer corruption

I use a sensor to measure the temperature. This is returned as float. I feed this float using typecasting (int) to a blink function. This works fine. But the next is step is using this same unchanged ...
0
votes
0answers
14 views

No matching function for call to 'TembooChoreo::TembooChoreo()'? TembooChoreo SendSMSChoreo; Error Help

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" C:\Users\user\Documents\Arduino\intruderAlarmTest\intruderAlarmTest.ino: In function 'void loop()': intruderAlarmTest:46:18: error: no ...
1
vote
1answer
33 views

Serial not declared in this scope, newbie mistake most likely

Ok, newguy with a little VBA coding experience going to pull hair out soon. It is probably a simple thing I have missed but I would like someone to point out where I went wrong. I modified a sketch ...
0
votes
1answer
24 views

NRF24 vs commercial RC transmitter [on hold]

I was looking for a suitable RC transmitter with over 6 channels. A friend suggests me that I make one myself using Arduino and the NRF24 2.4GHz radio modules. I would like to follow this ...
0
votes
0answers
22 views

Arduino Mega and ADS1256 board

I found code for a Teensy board and now I added just digitalwriteFast library to code and changed port to SPI for Arduino Mega. And now I get just one number out: #include <SPI.h> #include <...
0
votes
1answer
26 views

Error code board and boards.txt? Formatting error? cannot verify alarm.txt or any

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" Error reading file (E:\arduino\arduino-1.8.8\hardware\arduino\avr**\boards.txt:0**): Invalid line format, should be 'key=value' Error ...
0
votes
1answer
36 views

Split up Arduino code into multiple files using Arduino IDE

I am working on a very long code that requires multiple functions defined. I want to split the code into two files as main code ("Feeder_Control" in the screenshot) and functions ("connections" in the ...
0
votes
1answer
19 views

iBus transmission and read it in Arduino

I am using an Arduino Uno and I want to transmit data from FSi6 to FS-iA6B and read received data in an Arduino. After searching, I found the below link which is iBUStelemetry. iBustelemetry I am ...
0
votes
1answer
37 views

About Wemos D1 WiFi

I bought the Wemos D1 WiFi and I am wondering how to operate this. So, inside the Arduino IDE, I downloaded ESP8266 boards, I see WeMos D1 mini, WeMos D1 R1, and WeMos mini Pro/Lite. Why in the world ...
0
votes
1answer
38 views

Arduino hangs after some time

I am using Atmega328p with 5V power supply, My Arduino getting hangs [or auto restarts] after some times. I am using libraries: Wire.h CRC32.h EEPROM.h Arduino.h TimerOne.h RtcDS3231.h ...
0
votes
0answers
8 views

Can MKR WAN 1300 be used as LoRa Gateway? [on hold]

All the tutorials I can find are for use with Things Network or another Gateway-as-a-Service solution, but my use case requires that the entire network (nodes and gateway) be moveable and usable ...
0
votes
0answers
33 views

pin voltage output from ir send is too low [on hold]

I'm trying to use Arduino to send IR code through an infrared LED to my TV and haven't found luck so far. My schematic looks similar to the one at https://electronics.stackexchange.com/questions/...
-1
votes
1answer
22 views

Arduino IDE / Specified folder/zip file does not contain a valid library

I trying to add library here but it doesn't seem to work https://github.com/esp8266/Arduino This happens "Specified folder/zip file does not contain a valid library" This problem make me no longer ...
0
votes
1answer
29 views

Running 2 channel 5V relay with nodmcu esp8266 [on hold]

I am cry for help & search many articles with no solution.pls anyone guide me. I connect my relay with nodmcu in 2 ways 1st one a) Vcc = 3.3v from nodmcu b) in1 = D4 of nodmcu c) in2 = D5 of nod ...
0
votes
1answer
79 views

Need some help on a very small project [duplicate]

Apologies for the simple question, I really couldn’t find any help online with this as when I kept searching, the results had lights that had way too much voltage compared to what I need. So I have a ...
1
vote
2answers
73 views

Need help with the syntax for a function that takes a closure [on hold]

My C++ is very out-of-date. (20+ years, before C++ had closures). I'm a senior SW engineer, and I spent several hours yesterday trying to figure this out, but I could not work it out. The background:...
0
votes
3answers
63 views

Do I need a pull-up/down resistor for button LED circuit?

When reading up on how to make a circuit that turns an LED on when a button is held down, I keep finding people saying a pull up or down resistor must be involved, to avoid the flickering state of the ...
0
votes
0answers
16 views

AD7849 with arduino nano [on hold]

Anybody have any experience using AD7849 with Arduino Nano? The 16 bit DAC I mostly see in google searches is AD5662. The only one I could find was AD7849. Any advices before I dive in?
3
votes
5answers
1k views

Simultanous button reading?

I'm currently working on a project that requires that I simultanously check the state of two buttons. Each button HIGH state is assigned to one if loop. Here's the basic concept: void loop() { ...
0
votes
0answers
12 views

Is there software to make an interactive GUI for my TFT touch screen shield?

I was wondering this, because realized it takes quite time consuming due to all the lines of code I have to write.
0
votes
1answer
30 views

C: No communication to a connected serial port?

I'm trying to connect to an arduino Mega At2560 unit connected via usb serial port in my linux based PC. Using C code, I'm trying to send and receive simple text strings, just I'm able to send and ...
0
votes
1answer
15 views

Display Wireless Temperature Sensor data to Web page by using Serial communication

I am reading from wireless temperature sensor with help of gateway receiver connected to Arduino UNO, using this code I need to display the data of the wireless sensor on the webpage. Any ...
-3
votes
0answers
25 views

Just saw this question in Arduino CC, and want to know if there is any good ideas? [on hold]

http://forum.arduino.cc/index.php?topic=590532.0 What I still lack for the above display would be something like ON / OFF or SLEEPIN / SLEEPOUT. The used controller ILI9341 should be able to do that....
0
votes
0answers
28 views

Radio tx/rx makes my oled screen not work

I've been struggeling with this assignment for school for a couple of days. I have finally figured out where the problem lies. I have an oled screen that is supposed to print out the temperature of a ...
0
votes
0answers
19 views

Using TCA9548A to read 30 ADCs

I want to read 30 differential ended analog sensors. Using ADS1115 16 bit this is possible, but we end up having only 4 address on I2C, so i chose TCA9548A breakout board with 8 I2C multiplex channels,...

15 30 50 per page