0
votes
0answers
8 views

Looking for light-weight Arduino OLED library that supports text and bitmaps

I'm trying to incorporate a screen into my Arduino code which is quite large already. The Adafruit SSD1306 library is overly large and has a lot of unnecessary things in it. I've found the ...
1
vote
1answer
4 views

How can I power a NeoPixel ring and strip through Arduino MKR1000?

I currently have a MKR1000 which is connected to 1 ring with 8 neopixels, 1 strip with 20 neopixels, 1 microwave sensor, 1 speaker, 1 rotary encoder. I am running the NeoPixel positive and negatives ...
0
votes
4answers
29 views

Local char* - keeps its value

Sorry for novice question in Arduino, but I'm trying to figure out why res is keeping its value when up_cmd0 is being called again. for example - if num=8 in first run and the result is :up_cmd0_res: ...
0
votes
2answers
9 views

Arduino SD card cannot write

I am developing a very simple project to measure some temperatures and store them in an SD card. I have a problem trying to write. No matter what I do the SD card always ends up with content like this:...
0
votes
3answers
41 views

Is it possible to insert your own routine into the Reset procedure

I'm working with ATmega328 NANO boards, and I would like to know if it is possible to INSERT my own routine, to be included in the things done during reset, BEFORE any pre-C initialization is done, ...
0
votes
0answers
16 views

connecting multiple sensors [on hold]

i want to connect a humidity,moisture and temperature sensor to a micro controller which controller shall i use and how?
0
votes
2answers
18 views

Potentiometer reading out letters

My potentiometer reads out t's or u's in my serial. I believe that my potentiometer is wired correctly. What am I missing? Here is my code: #include <VarSpeedServo.h> VarSpeedServo servo; ...
0
votes
0answers
13 views

MAX7219 cascade issue

I have six daisy chained MAX7219 connected to an Arduino nano. The thing is that all of them turn on and display the desired results but only the data on the first two is retained. The other four go ...
-2
votes
0answers
35 views

The best humidity sensor available?

I am working on a project requiring very precise humidity control, preferably in 40 to 90 percent RH, for that I have been looking for a reliable andaccurate humidity sensor. I am using an Arduino ...
0
votes
0answers
17 views

UNO + ESP8266-01 Send UDP/OSC -> OSX (MAX/MSP) [on hold]

I am unable to set it up. I want UNO to read some sensor data -> ESP8266 should transmit this sensor data to OSX. I want ESP to act like Access Point. And read incoming changes from uno and transmit ...
-1
votes
0answers
6 views

Two HC05 Bluetooth Bind problem

I succeeded in giving an AT command. My two BL MAC addresses are 21, 13, A03B and 21, 13, A3E2. When I want to connect one to the other I use AT+BIND=21,13,A3E2. But then I see Error(7). If I use ...
0
votes
1answer
26 views

Reading text from sd card is returning weird characters?

I have an ebook which is converted to a .txt file saved on an sd card which is connected to the arduino. I'm trying to display the words from the book on a 16x2 lcd display on word at a time. It works ...
0
votes
1answer
10 views

Problem with html code in ESP8266 WebServer

Here I have a small problem: I have an ESP8266, to which I have connected a matrix of LEDs to move text (the array of LEDs is made with the tape of LEDs addressable ws2812); when you turn on the ...
0
votes
0answers
17 views

Flicker LEDs from Arduino with precise square wave?

I need some advice regarding an Arduino setup I am currently working on. My aim: I have a set of 6 high power LEDs (http://www.roithner-laser.com/datasheets/led_highsingle/apg2c3-530.pdf) that I need ...
1
vote
0answers
27 views

How can i prepare for short-circuit between 5V and GND pins?

My Arduino Uno controls a couple LEDs in a watertight enclosure. I'm running wires from ground, a data pin and the 5V pin into the enclosure. The Arduino is powered through the DC jack. What measures ...
-2
votes
0answers
17 views

How to attach a counter sensor which should work in between two flags?

I want to attach a counter sensor which should work in between two flags. My code for measuring speed between two flags fixed at 30 m spacing is below: const int laserPin = 2; int laser =0; volatile ...
0
votes
1answer
16 views

sending and recieving data from esp8266

We're trying to make an network of connected cars in which the status of one car is continuously updated to the nearby cars (for example, speed, gear, brakes, etc.). Can I continuously send out ...
0
votes
2answers
24 views

Second SD not writing

simple problem I can't see the reason behind, the sd card writes the first file fine, but the second doesn't write at all. Can any one see why? #include <SPI.h> #include <SD.h> ...
0
votes
0answers
24 views

My Arduino is not working with the LCD [on hold]

I have this code, and I have wired everything properly but the LCD is not displaying anything. Can someone help? #include<LiquidCrystal.h> LiquidCrystal lcd(13,12,11,10,9,8); #include <...
0
votes
3answers
35 views

Need help with a program for a button to change the display on an OLED display

So I am programming an OLED display from my Arduino Uno. I am trying to have a button that switches the different words on the display. (The words are just placeholders for programs as of now.) My ...
2
votes
4answers
73 views

Can you help me trim my code?

First of all I want to be clear, I'm not very skilled in programming methods, all the C I learned was for various Arduino projects. That being said, I just finished a project that reads some data ...
-1
votes
1answer
32 views

Arduino controlled by USB gamepad

I want to control my Arduino with USB gamepad. I know that exists library for USB keyboard for Arduino but I don't know any library for usb gamepad. I have PS3 styled gamepad. I dont want to use ...
2
votes
1answer
24 views

Using external reset to trigger radio receipt

I am designing a low-power RF application using an ATTiny (Adafruit Trinket). When the system receives a radio signal, it needs to read some sensors, and transmit with that data. Because I am short ...
-1
votes
1answer
22 views

How we can implement the interrupt? [on hold]

I want to implement the Interrupt on the Adafruit_RGBLCDShield Select button to start/stop the data logging?
-1
votes
0answers
19 views

DC motors (Bluetooth control) suddenly stop working [on hold]

I was making a rc car with 4 dc motors, all controlled via Bluetooth. They were working fine wirelessly, but when I set them up in the car, they suddenly stopped working. I am giving commands to the ...
0
votes
0answers
12 views

How to connect hc-05 module and pH sensor at a time with Arduino Uno? [on hold]

I am new to Arduino world!, now how to connect hc-05 module and pH sensor at a time with Arduino Uno?
0
votes
2answers
30 views

Arduino Serial Writing Array Problem

I am trying to communicate Pc - Arduino Uno. My Arduino code is here: (It is working as below) int ndx = 0; char pack[12]; void setup() { Serial.begin(9600); while(!Serial){;} } void ...
0
votes
1answer
50 views

Typedef not accepted as a data type in a function?

I know I'm in a C++ compiler, but I typically create a typedef from structures, probably a holdover from earlier C programming. So this has my head spinning. I create a Typedef from a structure. After ...
0
votes
1answer
7 views

How to share/Reassign analog pin for two Adafruit libraries for two adafruit hardware

I'm attempting to use the Adafruit BMP180 and Adafruit 16x2 RGB LCD Display together on the same Arduino Uno R1. Both the pieces of hardware and their libraries use Analog Pin 4 and 5. Is there any ...
0
votes
1answer
23 views

How to print/display next menu item with menubackend.h?

I'm trying to make a navigational menu with sub menus to display on an OLED. Have managed this OK, however I would like to display the next item on the same level, to encourage scrolling, but I am ...
0
votes
1answer
64 views

Why does the potentiometer act as an on/off switch in my program?

I'm using an HC-SRO4 Ultrasonic Sensor and a D10K Potentiometer. So, I was just messing around with the potentiometer in the program and then tried to change the brightness of the LED which turns on ...
0
votes
1answer
24 views

Compile Error for Arduino Sketch

I am attempting to increase the volume of a Max9744 20 watt amplifier from Adafruit using an Arduino sketch. I am just a very beginner and working with my grandson, this may be more than I am capable ...
0
votes
1answer
22 views

Sending arduino signal to another arduino

I'm working on a project which consists of 2 different function. since the arduino only can do 1 function so i decide to use 2 arduino instead. my idea is 1st arduino will give a output and the sketch ...
0
votes
1answer
12 views

Can I use GSM and Data Logger Shield at the same time on one Arduino?

Me and my classmates are trying to make an arduino base project where we will be using sensors, GSM, and Data logger shield. We want the arduino to store the data collected and at the same time send a ...
2
votes
2answers
44 views

How close to 5 kHz can I set the PWM frequency on an UNO pin 11?

I'm rebuilding a laser CNC machine and using LaserWeb4 as the control interface and GRBL 1.1 as the low-level interface to the stepper motors, limit switches and the laser. I have all the motion ...
2
votes
3answers
59 views

Is the strange problem I'm having to do with comparing floats?

I have a timer interrupt that controls a stepper motor, on an UNO board. In the interrupt handler it checks the speed of the motor and compares it to the target speed. This allows the motor to ...
0
votes
1answer
18 views

Arduino DDS IOT ESP8266 controlling AD9834

first post, having probs with uploading sketches on win10, blink sketch loads but when I try either of 2 sketches which have been specifically coded for this duino I get the following error: ...
1
vote
1answer
73 views

Uno pin connection: Atmega16u2 & ATmega328P

On my Uno, I set up the HoodLoader2 (link below) so I can program both the ATMega16u2 and the ATmega328P. I can communicate between the two using the serial port. However, I need the serial port to ...
-1
votes
0answers
5 views

Ads1292r - printing filtered ecg data [on hold]

I am using one of the libraries from Protocentral and their ads1292r shield. I am trying to print filtered ecg data to serial monitor, but I am not sure I am getting the right values. This is the ...
1
vote
2answers
32 views

Arduino Uno 2 I2C devices problem

I have two I2C devices connected to an Arduino Uno: an RTC and an OBD interface (see links below). The SCL/SDA of both devices connect parallel to SCL/SDA (respectively) of the Uno. My problem: when I ...
1
vote
1answer
18 views

Problems improving the inquiry speed of Bluetooth HC-05

I'm buiding a project with the Arduino and Bluetooth HC-05 module that receives the MACs of Bluetooth devices around (does not connect, just inquiry). It works, but I want a better performance in ...
2
votes
2answers
165 views

DS1820 bad reading from 4th sensor

I am very new to Arduino. I want to add about 50 sensors to Arduino R3. I get good readings from 3 sensors, but when I connect 4th one, I get 'No devices found'. Here is a diagram: and here is the ...
1
vote
1answer
19 views

avrdude ser_open() can't set com-state

When trying to upload the blink sketch to my (unofficial) Arduino Uno, I get the following error: avrdude ser_open() can't set com-state for "\\.\COM3" I have programmed this Arduino before using ...
0
votes
1answer
47 views

How to convert char array to String in arduino?

I want to convert const char array in PROGMEM to String. How do I do this? const char charArray[] PROGMEM = "Some text";
0
votes
1answer
14 views

Use SD-Card module in combination with MKR GSM 1400

I have bought a SD Module with the following Pin-Names: VCC,GND,MOSO,MOSI,CS,SCK. I've found many tutorials on how to use it with the Arduino Uno. But haven't found any on how to wire it with the MKR ...
0
votes
0answers
17 views

Reading raw values from MPU6050 using Arduino Mega

I am trying to connect Arduino Mega with a gyroscope/accelerometer with 6DOF, using MPU6050 micro ship. While searhing online, I found lots of codes with more than 200 lines, to just read raw values ...
0
votes
1answer
63 views

Run piece of code based on a feature

I am an engineering student completely new at using Arduino so my following question might be silly but still. I do not think you'll need to get the entire code so I am only going to expose the idea. ...
0
votes
1answer
29 views

Pointer memory allocation in function

I would like to know how Arduino allocate memory for pointers in function arguments. For instance. I have this code that use 192 bytes (Arduino IDE compiler: Global variables use 192 bytes (9%) of ...
1
vote
1answer
27 views

Return a char concatenation

My goal is to create a function that concatenate 2 chars into 1, and return it as MQTT subscribe. I get a difference between the results inside and outside the function ( I'm new to Arduino ), and I ...
-1
votes
0answers
28 views

Connecting two ESP32/ESP8266 over internet [on hold]

I need to connect two ESP32 or ESP8266 over internet, but they have dynamic IP. Also, using dyndns is blocked. I thought about vpn connection like hamachi but I don't know if it is possible on any of ...

15 30 50 per page