Arduino is an open-source electronics prototyping platform based on easy-to-use hardware and software. Questions should relate to programming Arduinos only (as in contain code). General Arduino questions may be asked on https://arduino.stackexchange.com

learn more…| top users | synonyms

-1
votes
1answer
13 views

Processing serial communication issue

I am using Processing (java) to communicate over serial to an Arduino which controls two servos and a laser. Everything works independently, however when I turn the laser on using Processing I am ...
0
votes
1answer
12 views

Volatile Variables in Arduino ISR

I have a simple program and I'm declaring the variable that is passed between the normal loop and ISR as volatile but I'm still getting garbage when displaying the value of 'count'.....I'm assuming I'...
0
votes
0answers
17 views

why I can't use SRAM to store my data?

I wrote this simple blinking light program for Arduino Micro:void main() {*((volatile unsigned char *)(0x27))=128;volatile unsigned char x=0;volatile unsigned char y=0;volatile ...
0
votes
0answers
23 views

Bluetooth Connection

I've looked at quite a lot of topics on this in different forums and none seem to help me. I recently bought an Elegoo car kit, which is compatible with the Arduino IDE, and it comes with different ...
0
votes
0answers
13 views

Arduino esp8266 + mega using ssl

i have some problems uploading my code to my device. I´m using an arduino mega with a shield wifi ( ESP8266) and i want to use WifiClientSecure class to implement SSL in my wifi connection. Here is ...
0
votes
0answers
9 views

#include errors detected, can't compile an Arduino project using Visual Studio Code [intelliSense]

I'm using Visual Studio Code, Arduino, C and intelliSense plugins. I simply put a DHTNEW library folder into my project one and created an empty .ino sketch, when I try to include and "dhtnew.h" ...
-2
votes
0answers
10 views

Calling an arduino function through pyserial in python

I am trying get an ultrasonic reading from a sensor thats connected to an arduino and the function which runs that sensor is in the ardunio sketch however I want to be able to call that function ...
0
votes
0answers
7 views

Sending over a number from Arduino to Attiny85

I recently started my first arduino project, displaying a number on a 4x 7 segment display. I want to keep this code and use the display in other projects to display 4 digit numbers (creating a ...
-5
votes
0answers
30 views

Why is my app not opening the doorlock that it is supposed to open when clicking the “unlock” button in the android application? [on hold]

This is my android studio code (.java file) : package com.example.chintan.doorlock;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;import android.bluetooth....
-5
votes
0answers
17 views

Facing problems in hardware selection [on hold]

I am trying to make a surveillance system which will capture the images and turn on/off camera using PIR sensor. What hardware should i use for it which hardware wil be suitable?l
0
votes
1answer
17 views

Arduino NodeJS SerialPort speed

I have a basic NodeJS script that is sending data to my Arduino and the Arduino is sending data back. Everything works fine if the communication from NodeJS to the Arduino occurs around every two ...
0
votes
1answer
24 views

How send a HTTP request with no parameter in swift to arduino?

I have been given the following lines of code, which aim to send a value to an IP in Java. I want to do the same in Swift. But how can I know what kind of request (POST or PUT) this is? And also what ...
-2
votes
0answers
17 views

Control 12V DC dimmable LED bulb with Arduino [on hold]

I am trying to control the brightness of a 12V DC LED bulb (like this one). I assume that I will be able to control the brightness by controlling the voltage. Is this right? Or does it depend on each ...
0
votes
1answer
26 views

Arduino LCD display does not display text

I'm using LCD for the first time and I'm unable to make it work. It lights the background but it does not show any text. I tried three times from the beginning, each time with a different tutorial, ...
0
votes
1answer
34 views

Reading JSON string in ESP8266

I'm struggling with this piece of code and I can't get my head around it. So I manage to get a return from an api in JSON. I receive the reply in the String Client. But I can't get any data out this ...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,