All Questions

0
votes
0answers
10 views

Having trouble using HM-10 with my arduino

I am using the HM-10 bluetooth module with an Arduino Uno. I am able to connect HM-10 to my phone just fine using the app lightblue. My issue is that I cannot use AT commands and by that I mean ...
0
votes
0answers
44 views

SIMCOM SIM900 AT+QAUDCH=x; returns ERROR

For some reason, some commands return ERROR, like AT+QAUDCH=1 (headset). I tried unplugging the headphones and the mic and it didn't work. code: #include <SoftwareSerial.h> SoftwareSerial ...
0
votes
0answers
33 views

What's the required voltage for ws2815?

I am working on ws2815 led strip with the esp8266 on arduino 1.6.6 fast led library.Using CD40109B level shifter to convert 3.3V of esp output to 12V .It's working fine upto 31 leds according to the ...
0
votes
0answers
45 views

ESP8266 client.connect() generates a memory leak [duplicate]

I have an ESP8266 that has to run 24/7, it sends some data to server every our, everything works fine for about 2-3 days after that it crashes. Sometimes it resets sometimes it freezes. I got to the ...
0
votes
0answers
31 views

Comfort zone environmental sensor [closed]

Humans need a very specific set of environmental conditions for their wellbeing, mainly temperature, humidity and illumination. I would like to create a device that can tell how comfortable a certain ...
0
votes
0answers
21 views

Possibility of installing Node.js and IOTA on “TTGO T-Deer Pro mini LoRaWAN” Arduino [closed]

I found an article here :(Link to the article) entitled "LoraWAN and IOTA: Proof of Concept of storing data in real time in the Tangle" , written by Harm van den Brink (IOTA foundation member). ...
-1
votes
0answers
22 views

Sound sensor connection for Arduino programming [closed]

I am going to make a project by using sound detector. In my project sound sensor provided signal have to connect to Arduino and output from Arduino ATMEGA16U2 is indicator one. When sensor provided ...
0
votes
0answers
33 views

ESP12F module not working as an access point

I have an ESP12F WiFi module and I need it to work in access point mode. I burned the example code to it using Arduino IDE and it worked at first. I could connect to the WiFi provided by it using my ...
0
votes
1answer
24 views

Assign and control Digital pin from String

Here is modified version of Blink example #define D8 13 String p = "D8"; // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin ...
0
votes
0answers
45 views

Serial.read() keeps returning the same value over and over

This code keeps on returning 'S' with the Serial.read(). #include <Servo.h> #define trig 10 #define echo 9 int pinMotorRN=3; int pinMotorRP=4; int pinMotorLN=5; int pinMotorLP=6; long distance; ...
0
votes
1answer
43 views

Lines not pulsed fast enough (?))

Should this code pulse the PB3 and PB4 pins (MOSI and MISO of an Arduino Uno) at 2ms interval ? #include <avr/io.h> int main(void) { // for (byte i = 0; i < 32; i++) // pinMode(i, ...
0
votes
0answers
27 views

Passing functions while creating a library [duplicate]

I'm trying to create a library to bind a major part of common code ( starting Wifi, initiate MQTT, OTA and more ). while using same code in a non library sketch, which works as expected, I find a ...
0
votes
0answers
31 views

Simplest/cheapest way to measure furnace gas usage? [closed]

I have an IBC DC 33-160 boiler that burns propane. The boiler can ramp up or down between 33k and 160k BTUs depending on heating requirements of the house. Because of this ramp up/down I can't simply ...
0
votes
0answers
15 views

Sleepmode for arduino [closed]

i have a project to done which is An arduino should send sensor data via bluetooth to raspberry pi so my quetion is, is it anyway to make the arduino bluetooth into sleepmode? because i want save ...
0
votes
1answer
45 views

Deep Sleep NodeMCU with Door Sensor

I have a very simple code of door sensor (magnetic) which gives results in 1 & 0 format. But I want to run the NodeMCU only when a door is open or close. Rest of time I want to keep it in deep ...
0
votes
0answers
33 views

Uploading my code gets an error : permission denied on Ubuntu 16.04

I have faced this problem for few years ago and I solved it on Ubuntu 14.04 but I don't know why my solution doesn't work right now on Ubuntu 16.04 The Error : avrdude: ser_open(): can't open ...
0
votes
1answer
22 views

Serial.write printing blank values

I've got an Adafruit Bluefruit NRF52 hooked up to the Adafruit BNO055 9-axis orientation sensor, but when I use Serial.write to send the data, serial monitor displays blank values only. The scroll bar ...
0
votes
1answer
32 views

Question on how “f” value is calculated in converting Morse Code to laser audio from this tutorial

I am working on this tutorial, https://www.hackster.io/SURYATEJA/morse-code-communication-using-laser-module-both-ea1b01 and the author created a "Send" and "Receive" code for encoding and decoding ...
0
votes
1answer
37 views

Is connecting a 9V battery to a 3-6V pump and a 5V relay module necessarily? [closed]

I'm making a self watering mini greenhouse with the NodeMCU. When the plants are below a certain value the submersible pump should be pumping water through a tube. Im using a 1 channel relay module of ...
0
votes
0answers
22 views

SD card module not responding [duplicate]

I am trying to read an SD card info by Arduino and an SD card module. But the SD card is not responding. I connected the wires carefully several times but it is not working. I am using this module : ...
0
votes
0answers
28 views

How do I spilt a string of data into four different parts [closed]

The string has seconds, miles away from our point and latitude and longitude, and all we need is the lag and long 4271.645999999997,s,28.00301266666665,mi,28.48737418308778,N,-81.36210510944983,E. we ...
0
votes
1answer
37 views

Voltage sensor Calibration

We had used a voltage sensor unit to measure the voltage of the odroid board using an Arduino Uno. wWhen I uploaded the sketch and got the output, the value which was being displayed was around 4.7 to ...
0
votes
0answers
31 views

How can I control 4 DC brushless motors with an Arduino Uno? [closed]

I need all the motors to simultaneously spin at 80 rpm in the clockwise direction. I am looking for the cleanest set-up, along with the code. I have very limited experience coding or working with ...
0
votes
1answer
56 views

5V 10A 4 channel relay to 2 lights15W light in series in 220V AC supply

I am trying to setup my first relay module with live environment. I have attached the relay module image below. Which I am using to control 4 devices in my switch board as follows: Fan (working ...
0
votes
0answers
23 views

Fujitsu FMC-16LX(MB90F387) Pulse Sensor BPM formula displaying only 96BPM

#include "_ffmc16.h" #include "extern.h" #include "monitor.h" void initLCD(); void delay(); void instCtrl4(unsigned char data); void display(unsigned char temp); void display1(unsigned char pulse, ...
0
votes
2answers
36 views

Identifying a device from 10cm using Arduino [closed]

I'm developing a project using Arduino for the opening of bus doors. The bus door should open only if it is at the bus stop and is stopped. To judge if the bus is inside the bus stop I thought of ...
0
votes
1answer
28 views

Upload data to MAX 7219

I have the following code to write data on MAX7219 for light up a 8x8 LED Matrix: for (i = 0; i < 8; i++) { CLK = LOW; DIN = temp & MSBIT >> i; CLK = ...
0
votes
0answers
17 views

append a String on ArduinoJson Object value

I've a json string request coming from server and I convert it into json object StaticJsonBuffer<500> jsonStaticBuffer; JsonObject& root = jsonStaticBuffer.parseObject(String(msg)); ...
0
votes
1answer
48 views

noisy output lines when waking up from a sleep

Using code similar to these examples from AVR https://www.microchip.com/webdoc/AVRLibcReferenceManual/group__avr__sleep.html my program causes my Adafruit Feather 32u4 to often sleep. When the ...
0
votes
0answers
24 views

Unsure how to get pressure data from MCP3424

I am having trouble reading data from an MCP3424 chip, specifically the one from this website: https://uk.rs-online.com/web/p/general-purpose-adcs/6696086/ I have a pressure transducer that connects ...
0
votes
1answer
32 views

SIM900/Arduino UNO R3 serial communication not working

For some reason I cannot establish serial connection between the two devices. The shield is connected to the network because my number can be called, but I cannot send it any commands via the serial. ...
0
votes
0answers
21 views

Question about controlling servos with PWM while being able to accurately read the current from a sensor

Hi I am hoping to design a custom board ATMEGA32u4 with practically a Arduino leonardo bootloader. I plan to control up to 12 servos while being able to read back the current sensor voltage of an ...
0
votes
0answers
21 views

Encoder code using interrupts design question

I have an Arduino Mega 2560, an Omron Optical encoder with an Index (360 steps), a 60 led NeoPixel ring (no Clk wire) and another Arduino Uno. Here is my question, I have some code written that works ...
0
votes
0answers
16 views

Communicate with 2 Raspbarry Pi [closed]

I would like to know if it is possible to make an arduino (uno or mega) send information to 2 Raspberry Pi. It would be ideal to make it via the serial or i2c. Thanks in advance.
0
votes
0answers
20 views

Combine programs to create complete gui [closed]

Have anyone got idea how do I can merge many programs into one? Java programs like arduino ide, blender, etc. It would help me in my works, saving a lot of time. It would be slots to choose, or just ...
0
votes
1answer
15 views

2.8 inch tft LCD displays / Max Brightness / Startup White Screen / mirror text for Head Up Display Usage

hi does anyone know how to 1) set Max Brightness 2) change the start up splash screen from being white to black 3) how to change settings so that text can be mirrored so when display is reflected ...
0
votes
0answers
18 views

Arduino Due, MCP2515, SPI and CAN message

I use Vector network to send CAN messages to MCP2515 through CAN HIGH and CAN LOW lines. I connect MCP2515 with Arduino Due through SPI protocol. Connections are good. But I receive "not acknowledge ...
1
vote
2answers
31 views

Command through Serial monitor does not properly work in Arduino

I am executing a function in Arduino by giving String input to the serial monitor. The issue here is when i enter "SHOW$" (without quotes) the function showData() works but when i enter the same "...
1
vote
1answer
8 views

Calculate burden resistor value of current transformer and measure ac current with arduino

I Want to measure AC current with current transformer but i dont know exact value of burden resistor or calculation formula...i want to measure current of borewell pump. company specified pump as 1....
0
votes
0answers
37 views

USB Host can't understand how to send and get data

I need my Arduino to communicate with a USB device. The Arduino will be the host, so I need USB Host library, but I can't understand how to start coding. On the documentation of the device I see: I'...
0
votes
1answer
41 views

Voltage meter ADC + serial: Bytes lost during communication

I want to make a simple digital voltage monitor. So I have a sketch: void setup() { Serial.begin(115200); } void loop() { int val = analogRead(A4); // read the input pin val = 1; byte ...
0
votes
2answers
28 views

Arduino MKR GSM 1400 SSL client example fails to connect

I am using the GsmSSLWebClient example which comes with the MKRGSM library. The original example works just fine, I get the arduino ascii logo. But when I change the URL the arduino doesn't get any ...
0
votes
1answer
16 views

Connecting TFT Display MI0283QT-9A to ESP32

I have purchased a MI0283QT-9A TFT display (https://download.mikroe.com/documents/add-on-boards/other/display/tft-proto/tft-proto-manual-v200.pdf) which is driven by the ILI9341 display controller. I'...
0
votes
0answers
9 views

RN4678 Bluetooth doesn't respond

I am facing very basic level issue with RN4678. I purchased a module from https://www.mikroe.com/rn4678-click I want to simply communicate with it through serial port. To do that I connected it to ...
0
votes
0answers
33 views

Double precision floating point operations using Arduino

Today we were programming something in university which dealt with really large numbers (even larger than unsigned long) and we had to create a code that broke the numbers into an array and performed ...
1
vote
0answers
14 views

Seeed CAN Shield - Not receiving extended CAN-Message

I want to receive an extended CAN-Message. I send a extended CAN-Message, but nothing happens. Maybe somebody have an idea what the problem is.. It works with a standard CAN-Message. Thanks in ...
0
votes
1answer
23 views

How do I keep track of the time passed in this code? (PCR machine)

I am desperate need of help with my code. It is meant to be a biology project (a pcr machine) and I struggle with inplementing a time tracker. Everytime the cyclus goes to a function, I need it to ...
-1
votes
1answer
20 views

Interfacing MPU6050 with Arduino uno [closed]

What is the meaning of "volatile bool mpuInterrupt = false; " in Arduino Program interfacing MPU6050?
0
votes
0answers
22 views

How to use ESP8266 with Google API for GPS as well as controlling Arduino pins

I am working on IoT based project and I want to control the device using mobile App. Everything works fine, I can switch the load and get the status back on mobile app, but I want to use my ESP8266 as ...
0
votes
1answer
15 views

Mega attachInterrupt on pins 18 or 19 require EIFR bit set first (to clear it)?

Experimenting with external interrupts on a Mega. Pins 2 and 3 work with standard attachInterrupt(digitalPinToInterrupt(iPin),ISR,FALLING); coding and call my ISR. With pins 18 and 19 I had to add ...

15 30 50 per page