All Questions

Filter by
Sorted by
Tagged with
-1
votes
0answers
6 views

Create boundaries with RFID and Arduino

I have a project which I will be starting next month, doing some research on how to implement it and the best tools to use. eg. I have a warehouse, the warehouse has four store rooms; A, B, C and D. ...
-2
votes
1answer
15 views

expected '}' at end of input

hi i am getting this error, im guessing i have a bracket missing or one in the wrong place. any help is appreciate, still new at this. thank you (code bellow) include include include ...
1
vote
0answers
13 views

Is it possible to split project into several folders?

It is possible to split the project into server files. However, it looks like they all must be in the same folder with the.ino file. Is it possible to split project into several folders? I’ve got ...
0
votes
0answers
9 views

How do I write my code to reverse the motors in the opposite direction so the RSLK can move backwards?

I've assembled the TI RSLK Robot Maze Edition for a final project for my embedded systems class. Instead of using the MSP432P401R LaunchPad that came with the kit to control the power board, I've used ...
0
votes
0answers
11 views

Control Stepper Motor Nema17 with Arduino mega 2560 and Ramps 1.4

I have an Arduino Mega 2560, 1 Ramps v1.4, 1 NEMA17 stepper motor and 1 A4988 driver. I try to control this motor but i can't. I try to test my motor in the X-axis with my code, please help me if i ...
0
votes
1answer
23 views

Adafruit motorshield v2.3 not working

I want to connect my adafruit motor shield v2.3 to a touch board from bare conductive so that the motor turns when one of the electrodes is touched. I've tested the touch part and that isn't a ...
0
votes
2answers
24 views

How can I save my float 'ave' on the EEPROM continuously?

How can I save my output continuously EEPROM? Or is this even possible? Please help me out. void setup() { Serial.begin(9600); } void loop() { static unsigned long count=0; static float sum=0; ...
-1
votes
0answers
6 views

Better gsm/gprs module for arduino

Please help me to choose module, all I need is only stable gprs connection. My system will once in 5-10 minutes send data to the server. I found modules as sim800, sim900, a6, a7. but which of them ...
0
votes
1answer
71 views

What type of Arduino is this?

I found a bunch of Arduinos (seemingly), but I can't identify the type. I first thought of a Micro, but the chip is a MEGA328PAU and the Micro should have a MEGA32U4 instead: I know it's also not a ...
0
votes
1answer
13 views

String to Dynamic Byte array

I'm new in Arduino stuck in String to a dynamic byte array. My String: String Finalval="6D616320747820636E662031352033300D0A"; Dynamic Byte array: byte ft[]={0x6D,0x61,0x63,0x20,0x74,0x78,0x20,...
0
votes
0answers
13 views

Trying to read different gas levels with MQ2 Gas Sensor

I found a link on how to connect MQ-2 Gas Sensor to Arduino Uno. http://electronicsprojectshub.com/how-to-connect-mq2-gas-sensor-to-arduino/ After I bought all the parts and tried it out, the sensor ...
0
votes
0answers
29 views

EEPROM page rotates while writing to it

The following code intends to read from serial port and write the data byte by byte to a 24LC01B EEPROM. // 24LC01B PINS // Pin 1, A0: float // Pin 2, A1: float // Pin 3, A2: float // Pin 4, VSS: GND ...
0
votes
0answers
29 views

AVR input pull-up working in simulator, but not working in hardware [Attiny13a]

Given that I accomplished shrinking size of my project and with huge help here and on arduino forums, basically rewrited to atmel studio, my "fire cat" displays all(but 1 led, this was problem before ...
-1
votes
0answers
16 views

Is it possible to update Arduino Uno Wifi using wifi web server

I am building a controller device based on a Arduino Uno Wifi. I am looking for a way to push updates to the board using a mobile phone app with a post or other method. I am currently running ...
0
votes
1answer
24 views

Running in loop or once according to a slide switch position

I have a question. I made a system which includes a servo, a stepper and a wiper motor :) All these parts has one job to do and I can code it. But, I want to make 2 modes in this system Single ...
0
votes
1answer
25 views

Continuous servo speed control with Arduino Uno controller and servo shield

It is very simple device, 2 continuous servos FS5113R, rotates continuously in one direction. Here is device original content, which is this servo shield it looks like russian, and here is library, I ...
0
votes
1answer
22 views

programming STM32 with arduino IDE issues

I'm currently trying to program an STM32 with arduino, but along the way, i encountered some issues with pin modes. To be more specific, programming certain pins to certain modes. Some pins have ...
-1
votes
2answers
48 views

How can I combine this two codes in one program? And use it in javafx application

The first one reads from sensors and displays it, the second code receives an incoming byte to control LEDs. I tried to combine it but i don't know why it doesn't work. Please help me out. I need it ...
1
vote
1answer
51 views

ESP8266 Webserver ESP8266WebServer variable html page (not as one const char)

The aim is to display a non-static html page depending on some variable condition. The code I created hast the problem, that the esp8266 is ressetting in the moment I request the page. const char ...
0
votes
1answer
16 views

Arduino Zero to Arduino Zero SPI configuration

I am in the planning stage of chaning two ATSAMD21 with a Zero or Nano 33 bootloade r in a SPI connection. The rational for this is that i am in need of 30 pin GPIO expansion and using 2 mcp23s17 ...
-1
votes
0answers
16 views

how can i restrict serial monitor values upto only 10 readings [closed]

i am trying to code for ultrasonic sensor, i could get the values of the distance in serial monitor but i want only 10 serial monitor readings I have tried 'while' loop and 'for' loop but i am not ...
0
votes
0answers
13 views

I am interfacing Amonia Sensor RS485 output with Arduino Mega . not getting any response

I am interfacing Amonia Sensor RS485 output with Arduino Mega but not getting any response. i need to transmit {0x06, 0x03, 0x00, 0x00, 0x00, 0x04, 0x45, 0xBE}; frame to sensor then senor will send ...
0
votes
1answer
44 views

Once and only once running program [closed]

I am searching for an Arduino program or function or technique, that will only run once at the time of installation. And, even if I reset my board it will not run. Only, if I reinstall it will be run ...
0
votes
0answers
16 views

I need to Get my changed SSID and Password in my Serial monitor

I have this(Wifi Manager - Autoconnect IP) program run in my arduino IDE. And I get the output in serial monitor as this Can Anyone help me in displaying my SSID and PASS in this serial monitor ...
0
votes
1answer
29 views

Powering LED Strip at both ends shorts my psu?

I've got a 200 LEDs strip of sk9822's hooked up to a 5V 8A power supply. As expected, at full white, there's considerable voltage drop and the far end of the strip turns from white to amber. I wanted ...
1
vote
0answers
31 views

How do I adjust this?

We're supposed to create a Simon Says game for our final. My professor is telling me I shouldn't need to modify much with what I already have. but I'm so confused because it feels like starting over. ...
0
votes
0answers
11 views

Get value from protected member of class

i'm really new to Arduino. I have Arduino Mega, a USB host shield and a barcode scanner. I'm using this library >> link and modified it example so barcode scanner worked (Got it from here) to read ...
0
votes
0answers
14 views

ESP32 Hardware Serial Flow control and full espressif/arduino-esp32 support

I have a similar issue. I want to use the ESP32 with RS485. I have used the Arduino and this works well assigning pins, but it seems not to allow full use of the UART. I see the new uarts in the ...
1
vote
1answer
17 views

ESP8266 Webserver ESP8266WebServer move Handler-Function in separate .h .c file

The plan is to create a bigger project and to split the ESP8266 webserver-code over several modules (.h .c files). The main problem is that the ESP8266WebServer server is not declared in the index.h ...
0
votes
1answer
17 views

How to obtain the type of DHT sensor

I made a simple temperature controller on DHT11. I want it to work with DHT22 as well having the same code. However, I can’t find a way how to get known what type of sensor is installed. Is there a ...
0
votes
2answers
35 views

HELP with making code size smaller for Attiny13a

Iam making an awesome christmas present a custom pcb badge. Everything works great with hooked up uno, but its heart is actually a Attiny13a, where I get ONLY around 1024bytes (mine code has 1944) ...
0
votes
0answers
16 views

Arduino One Wire Bus DS18B20 self developed driver missing bits or extraneous bits

I recently got to code my own driver for the One-Wire-Bus specifically with the ubiquitous DS18B20 temperature sensor in mind for an application. I am running that code on an Arduino Mega 2560. ...
-1
votes
1answer
36 views

LCD display with I2C module displays only several minute [closed]

my LCD display connected to the I2C module displays a characters for 3 seconds after that it finely dimming and the square boxes displayed what can i do?.i am a student so i don't know what can i do (...
0
votes
0answers
9 views

ESP8266 Connection with WPA2-PEAP Enterprise Network

I am trying to connect my nodemcu 12E module to WPA2-entrprise network but not able to connect. I had gone through the Espressif Forum and GitHub but still not able to resolve my problem. here is ...
1
vote
2answers
30 views

Code help in Arduino ( Serial data)

I Need a help in this code I am trying to assign the serial.write(OutData[i]) to byte data[]. Can anyone help me assign it. Here is my code #define ECHOPIN 11// Pin to receive echo pulse #define ...
0
votes
2answers
32 views

How to send data to multiple slave at a time

I have one master and three slave devices and i need to send data to all the slaves @ time.is that possible if so how to check which slave has recieved the first
0
votes
0answers
22 views

Leonardo doesn't have enough memory to run a TFT and handle MIDI messages

So, I got a Leonardo because I plan to build a device to draw MIDI CC curves on a touchscreen TFT to be sent over MIDI to a DAW. I'm in the initial testing stage, and got a basic Paint application to ...
1
vote
0answers
31 views

Can I reduce UIPEthernet library size (perhaps by ditching TCP)?

I am using the excellent UIPEthernet library to get an Arduino Nano to drive an ENC28J60 Ethernet Shield for a UDP-based application. But I think the poor library has to do a lot of work to make up ...
0
votes
1answer
24 views

USB to Arduino to bluetooth

I have a piece of equipment that has a USB output, that a flash drive gets inserted into, to collect data as the equipment completes its cycles. I need to make a device that can replace the Flash ...
0
votes
0answers
16 views

press button: servo move - hold X time - move back issue

Besides being a total noob I've been lurking and reading like mad over the last week to understand how to get my servo to move to X position when a button is pushed, have it wait Y time, and return to ...
0
votes
0answers
26 views

Humanoid Robot with 15 servos [closed]

I have made the bot ready but i am facing problem in coding. I don't knoe to code. I want a sample code. I want it to be controlled verbally using bluetooth module.
0
votes
0answers
20 views

Thermal Printer - Qrcode

I am trying to print QRcode (not bitmap) on my thermal printer with Arduino and ESP32. I am using the same QRcode library and Adafruit Thermal printer library of this post. How to scale a bitmap (...
0
votes
1answer
25 views

Motor shield and Arduino Led not turning on when connected to laptop and Arduino is heating up

I have a problem like that....As I connect my Arduino to the laptop with the usb cable and the motor shield connected, my led won't turn on neither does the led on the Arduino. And the small chip like ...
0
votes
1answer
17 views

Powering a MKR with regulated 3.3v

I've a low power consumption regulator to get 3.3V from two 1.5V batteries. I'm going to use it for powering an arduino MKR (MKRFOX1200), so my question is where I should connect it, to the battery ...
1
vote
1answer
37 views

How to use H3LIS331DL 3-Axis Linear Accelerometer with arduino to detect Harsh braking of vehicle

I am a newbie here, Recently I was working with H3LIS331DL 3-Axis Linear Accelerometer I²C Mini Module Here is code for the X, Y, Z-axis. #include <Wire.h> // H3LIS331DL I2C address is ...
0
votes
1answer
38 views

hexadecimal 1 to float 1 - Compare the float 1 with a predefined float 2 - If the float 1 and float 2 are the same - Print hexadecimal 2

I want to input a hexadecimal data from cool terminal say like (05 00 02 03 00 04 00 E5) And convert the data to a float value say 45.3. Now that I have to preassign a float value say 45.3 in my ...
-1
votes
0answers
49 views

Button presses not that accurate; how to fix this

noob here So I am developing an interactive game that takes its input from 2 push buttons connected to an Arduino. There are 4 levels and in each level, the player has to press the buttons a ...
0
votes
0answers
20 views

How to set text size for 16x16 matrix [closed]

Hello, I have a 16x16 matrix to display a certain number and I can’t seem to set the text size. If you notice the picture it still has room on top and bottom. It does display double digits but there ...
0
votes
0answers
17 views

STM32 Bluepill with Arduino IDE can not blink LEDs with a few pins

There are a couple pins such as PB4, PA15, and the ones near it where it won't allow me to blink LEDs with. They are stuck at a constant voltage, one that is around 1.5V, which is lower than minimum ...
0
votes
1answer
16 views

L298N Dual Motor Controller Enable Pin has power but motors not working

I am trying to get the L298N to work with a simple DC motor. For now, I have simplified the setup and the code to the basics to try to get it to work. I am using the following wiring setup with no ...

15 30 50 per page