All Questions
Tagged with arduino-uno c
155 questions
-2
votes
0
answers
45
views
Book for embedded systems study as a professional [closed]
Which books are suitable for studying embedded systems, contain easy language and do not require another person? I can use that for self study. Do not have the option to do masters in embedded systems....
4
votes
1
answer
668
views
Problem with reading data from ELM327
The idea was to create a bluetooth device on the arduino to read data from the machine (ELM327 v2.1) using the HC-05 bluetooth module.
In this code the bluetooth module is switched to MASTER mode and ...
2
votes
0
answers
181
views
TFT Screen with Arduino UNO does not display as expected
I have a 3.5" TFT LCD communicating in parallel connected to Arduino UNO.
I expect it draws a white circle on a black background but all it does is to show a white screen.
How to fix this?
main.c
...
2
votes
1
answer
277
views
How does the compiler/assembler work wrt bootloader?
I realized that on the atmega boards the bootloader is programmed into the chip.
I'm curious, when compiling a sketch how does the compiler/assembler differ from compiling a standard C program for a ...
-1
votes
1
answer
380
views
How to write arduino code in a c/c++ script
I'm pretty new to arduino. But I have some knowledge about programming in c/c++. I know that arduino is written in c. But it can't be used as normal c/c++ code.
for example ,
instead of including some ...
-1
votes
1
answer
109
views
Can't get input from 4x4 keyboard
I'd like to make some basic calculator. Currently, I'm struggling with inputs. I wanted to get from user some numerical input, then, I'd like to have an information, which type of calculation he is ...
5
votes
1
answer
2k
views
How arduino PORTB pins are addressed if I want to access them with pointer?
So Let say I want to access Digital Pin 13. Thats port B pin. Is there an memory address associated with this pin 13 of Arduino Uno r3?
How Port B pins are addressed with corresponding pin numbers ...
0
votes
1
answer
85
views
Do I need to use resisters and ICes for specific sensors.What if I dont use it,Will it impact my arduino board some how like making it useless &faulty
So I was reading about Simple AutomaticLight Controller using LDR. or with the help of LDRSenso. But I have LM393 Photoresistor (LDR) Sensor I like to know are they same thing or somewhat different. ...
1
vote
1
answer
90
views
Morse encoder code not working as expected on Arduino UNO [closed]
I'll start saying that I don't have much experience working with Arduino and programming in C. I have an Elegoo Arduino UNO clone.
Recently I was trying to build a morse encode which converts a text ...
2
votes
1
answer
5k
views
Arduino parsing of a string using sscanf
Hello I am new to Arduino and C programming.
I wanted to parse string using sscanf fuction
This is my Program
String hith;
int field1,field2;
float field3;
int F1=0,F2=0;
float F3=0;
int h1,h3;
float ...
1
vote
0
answers
52
views
1 Button + Potentiometer [duplicate]
Sketch
arduino-uno programming
1 Button and 1 Potentiometer
Sketch: Each time the button is pressed, acquire the value of the potentiometer in a array of 10 positions of these values do the average ...
1
vote
1
answer
177
views
int array passed through function has wrong values only after multiple passes
I have this code:
for(int i = 0; i < its; i++) {
x1 = random(0,4);
y1 = random(0,4);
multiLamp(new int[2] {3,1}, new int[2] {x1,x2}, new int[2] {y1,y2}, wait, 2);
multiLamp(new int[...
2
votes
1
answer
136
views
Arduino buzzer code sequence not triggering
I have a problem with my arduino buzzer:
the code should be doing the following:
I have a security system where in order to open the door you have to enter a 4 digit code from the remote. If the code ...
2
votes
2
answers
5k
views
Difference between char array and unsigned char array [closed]
I have written a small test code for Arduino Uno which is as follows:
unsigned char tes[4];
char testing[4];
void setup() {
Serial.begin(9600);
for (int i = 0; i < 4; i++) {
...
1
vote
0
answers
134
views
Arduino LCD only display image for few second and turn screen to white
I have a problem with my Arduino and LCD touch screen. I create a few functional button in my Arduino. One of the button is START button. Right now, I want the image is display when I touch START ...