0
votes
0answers
15 views

Arduino Nano periodic reset under program control?

Is there a way to cause a periodic reset of an Arduino Nano under program control, short of some kind of external relay that signals the RST pin? I'd like to do a full reset triggered by a digital ...
2
votes
1answer
12 views

Arduino Leonardo - Using ICSP pins for serial

I'd like to know if it's possible to use the ICSP header pins on the Leonardo as GPIO pins, for example for software serial, and how to address them. I've a project which needs all available I/O pins, ...
1
vote
1answer
14 views

I2C collision detection

I have put together a system that uses multiple Arduinos and a couple of 20x4 LCD displays to monitor my PV sun tracker and a weather station. I am using I2C to link them all together. One of the ...
0
votes
0answers
6 views

GSM librarys Software Serial conflicts with I2C pins 2 and 3 for Arduino Micro

The GSM library apparently uses the Software Serial library to perform the communication. The Arduino Micro specified pins for the serial connection to the GSM is pin 2 and 3 (doc says, but see def of ...
0
votes
1answer
17 views

how to measure level shock using vibration sensor and arduino

My project title is about crash detection, by using this kind of vibration sensor. When the sensor reads the shock (which is when I knock the sensor) more than 50, it assumes it's a crash and will ...
0
votes
0answers
15 views

troubleshooting - Turn on a single led in a ws2811 ledstrip with an arduino Uno with FastLed

I want to to turn on a single led in a ledstrip running on ws2811 with an arduino uno. The problem is that when i try to turn just one of them on, they all three light up. The strip is a 3-wire ...
0
votes
0answers
9 views

Can I send commands from a Nextion editor Emulator to a real Arduino?

I'm building a project but don't have access to the Nextion at the moment. The title has it all, can i test my solution so far with only the emulator and a real arduino ? And if it were I'd assume it ...
0
votes
3answers
14 views

how to communicate MPU-6050 ( on arduino micro) wirelessly using nrf24l01 to arduino uno?

I have an arduino micro and mpu-6050. I'm trying to transfer the data obtained from the mpu-6050 wirelessly to my computer using an arduino uno at the other end. I'm not sure how to make this happen ...
0
votes
1answer
28 views

Problems reading I2C sensor when using a Xbee module

I'm developing a project where I can control a RC boat with GPS and a magnetometer. How ever, I was developing everything connected to my computer and worked pretty well. When I was going to make some ...
2
votes
1answer
43 views

How do interrupts work on the Arduino Uno and similar boards?

Please explain how interrupts work on the Arduino Uno and related boards using the ATmega328P processor. Boards such as the: Uno Mini Nano Pro Mini Lilypad In particular please discuss: What to use ...
0
votes
1answer
9 views

Thermosensor Error - 'Wire' does not name type?

Here is the code I am using: #define D6T_ID 0x0A #define D6T_CMD 0x4C int ReadBuffer[35]; float ptat; float tdata[16]; #include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); ...
1
vote
1answer
397 views

Arduino Uno has 2 crystal?

Take a look at this picture. I think most of use agree that the "big silvery" thing on the board (red) is the famous 16MHz crystal of the Arduino. Thats whats I've believe until very recently. I was ...
-1
votes
1answer
44 views

Why change the variable content?

I don't understand why change uidList[reader] variable, when doesn't run more to the else. I use in this test only the "0" reader. First loop go to the "else" and fill the uid to uidList[reader]. (...
0
votes
0answers
23 views

which Arduino UNO ethernet shield supports power over ethernet?

I ordered for this ethernet shield for my UNO as shown on the amazon website listing I was thinking to add power over ethernet module to take advantage of shield that supports adding POE module. . ...
2
votes
2answers
24 views

How can I play music using a speaker and Micro SD card Module?

I am trying to play music using my arduino and micro sd card module but can't seem to do it. Can anyone shed some light on this? The sd card module I'm using is a Catalex sainsmart micro sd card ...
0
votes
2answers
23 views

Common/standard library and/or protocol for Arduino to be I2C slave for driving NeoPixel

I would like to control a string of WS2812/NeoPixels from a SBC like a BeagleBone or C.H.I.P. I realize someone has gone through the trouble to come up with a way to drive the WS2812 string from a ...
1
vote
0answers
45 views

How to reprogram Arduino if USB port is already in use?

I'm developing a keyboard emulator using Digispark Pro (based on Arduino) which uses USB port as the keyboard interface. I haven't programmed it yet because I doubt how should I recognize the chip to ...
0
votes
0answers
23 views

how do I measure Watts without a CT clamp?

I'm trying to build a "iot" project for home that will in effect create a smartplug. I'd like to add the capability to measure the watt usage of the plug (and whatever's connected to it). I'd like ...
0
votes
0answers
13 views

ArduinoISP external programmer produces verification error?

I am using an ArduinoISP external programmer to upload a sketch to an Arduino MEGA. I set the processor type to MEGA 2560, and use Ctrl-Shft-U to upload using a programmer. My programmer is set to ...
0
votes
1answer
24 views

Does the SIM800L works in the US?

I want to know if the SIM800L works on US soil? I can´t get it to work on the H2O network! Does it work wit ATT or I only need the APN settings? If so what are the commands for data connection and ...
0
votes
2answers
22 views

HCSR04 Sensor without delay

I've made a code to make a stepper work together with a HCSR04 sensor. The problem here is that the sensor has to use a delay in order to work. This delay messes with the smootness of the stepper. ...
0
votes
2answers
33 views

digispark - 2 pin push button to iterate through an hashmap

I'm trying to create a project with my digispark where i can iterate through an hashmap, when i press the push button the digispark writes via digikeyboard the values from an hashmap. Each time i ...
2
votes
3answers
49 views

Using Arduino as Keylogger

Is it possible to use arduino uno r3 as USB keylogger by connecting the usb male pin to CPU and keybord cable to female USB pin of arduino. So that the keystrokes are stored in EEPROM. Without using ...
0
votes
1answer
15 views

ATtiny84A support with “Attiny” board manager installed to Arduino IDE

Referring to page http://highlowtech.org/?p=1695, is it possible to program ATtiny84A as well, or just the chip version ATtiny84 (without "A")? Does anybody know?
0
votes
1answer
24 views

code for line following robot not working perfectly

I have made a line following robot using 2 IR sensor. My line following robot was working successfully with this code. #define LS 2 // left sensor #define RS 3 // right sensor /*-------...
0
votes
1answer
37 views

Get Battery voltage on raw

I power my Arduino Mini with 3 AA batteries on RAW input. Is it possible to get the voltage on RAW and therefore the expected longevity of the batteries?
0
votes
1answer
29 views

Can I connect a servo directly to arduino uno without a transistor?

I am going to mount an ultrasonic sensor on the servo.
0
votes
0answers
23 views

Blank.txt at the End of Transmission

I'm using my HC-05 (Master) to receive strings from a sensor (Slave), each string is suppose to have 7 items divided by ',' like so "a,b,c,d,e,f,g". I also have to write these strings in a .txt file ...
0
votes
1answer
23 views

What is the datatype of the pinMode function?

I just tried it, but the Arduino IDE crashed, I hope its not related. I want to declare a datatype like this: int a = pinMode(pin, OUTPUT); or something like that, but I'm not sure what datatype the ...
0
votes
1answer
35 views

LED won't turn on and serial monitor won't display values

I am trying to use my Arduino to record some values from a photo-resister. The idea is when a character other than g is read the LED will turn on and 512 values will be recorded. When I type in a ...
0
votes
1answer
37 views

void loop followed by other “void” expressions

I hope this is a simple request from a newcomer to Arduino and programming. I have understood that once a program enters a void loop section, it loops round indefinitely. However I have recently seen ...
1
vote
1answer
28 views

Arduino Nano (3.0) Use an USB Bluetooth stick

I was thinking to build a very small USB Audio Streaming device with aux output for an amp (I know they already exist, but I like the self invention). So I bought an Arduino Nano and a USB Bluetooth ...
3
votes
1answer
30 views

How to display an entire incoming string from the serial monitor in arduino ide?

this is my first question in this forum. I need to receive a string from the Arduino serial monitor and display it when the communication is over. I have a similar problem like the one discussed in ...
1
vote
1answer
30 views

Compiling Error

I am trying to compile this code on arduino IDE...It showing error code is #include <IRremote.h> int RECV_PIN = 6; int led = 12;//1FE50AF int led1 = 10;//1FED827 int led2 = 9; //1FEF807 int ...
-1
votes
0answers
25 views

ESP8266/NodeMCU Resets when I use the IR REMOTE lib sendRaw function [on hold]

Whenever I send the raw codes with NodeMCU, it resets by giving the following error: Soft WDT reset ctx: cont sp: 3ffef260 end: 3ffef490 offset: 01b0 >>>stack>>> 3ffef410: ...
2
votes
1answer
38 views

How fast can I drive a stepper motor?

I have a 28BYJ 48, 5V stepper motor. After some trial and error I got it working with the all the sample examples in Arduino IDE. However when I increase the speed of the motor using setSpeed() ...
3
votes
1answer
35 views

The Mysterious Case of the Mostly-Vegetable Servo

Story: I was playing around with my Uno along with a servo. To my stupidity (or more appropriately: ignorance), I set the voltage to my servo with analogWrite(), rather than servo.write(). It worked ...
3
votes
2answers
61 views

All of the sudden the Nano will not accept programming

I have been working merrily along with CH340 to make Com10 work. It has been working flawlessly but now I am getting various messages like it can't open the port then the programmer is not responding....
0
votes
2answers
26 views

Ethernet shield not working

I have an ethernet shield on an Arduino Mega 2560. I am running the code below. This is a slightly modified version of the DHCP ip printer example, namely I am setting a static IP instead of DHCP. I ...
2
votes
4answers
96 views

How to track revolution of DC motor?

I am currently trying to build a line follower robot that is designed to solve maze. This maze has a loop, thus it needs to know distance it already travelling (or at least I assume so, please let me ...
0
votes
0answers
10 views

Problem unable to rename 'core\core.a'; reason: Permission denied Windows 8

I'm a beginner with arduino, I tried to run the Blink sketch but i recieved this error message : Arduino: 1.6.12 (Windows 8.1), Board: "Arduino/Genuino Uno" c:\arduino\hardware\tools\avr\bin../...
5
votes
0answers
40 views

Using SPI without driving MISO

I am developing an application where an Arduino Pro Mini communicates with a 12-bit ADC over SPI. The communication is one-way, meaning that the ADC will only send data back to the Arduino, not ...
3
votes
3answers
47 views

Mini Voice Recorder for Arduino

I am trying to find a small voice recorder that I can use with my Arduino Micro, and I found this. It is exactly what I am looking for, but it is now a retired product. I googled ISD1932, but many ...
0
votes
1answer
25 views

how to send Arduino Yun Post Request to localhost?

I've been trying to send data from my Arduino Yun to a local server using XAMPP. My code is shown below, in the serial monitor of arduino yun it shows connected and prints the data string but in the ...
0
votes
1answer
12 views

relay working problem

I am using circuits.io with Arduino. my program is to blink the led with 2 seconds delay. The led in the circuit blink according to program but the bulb does not blink. I am very weak in electronics. ...
0
votes
1answer
35 views

Problem with executing a function in the middle of a 'nested for loop'

New to Arduino here. I was wondering if there was anything wrong about my utilization of the nested 'for loop'. What i wanted is the execution of the 'looper4' and 'looper6' function if any of my ...
0
votes
1answer
26 views

Switch case problem in Ardiuno code

I am trying to develop an IR remote for appliances. I have written Arduino code for this purpose. I have used switch case to determine an action from the corresponding IR decode result (HEX), but I am ...
0
votes
1answer
25 views

What is wrong with this processing code?

I have written a processing code to work along with my arduino code for the arduino UNO. In this I'm trying to control the colour of the processing window by the arrow keys. However, I'm doing this in ...
1
vote
0answers
23 views

Ethernet module ENC28C60 doesn't connect to internet when DHCP on router is disabled.

Update: Examples from library are working if DHCP is enabled! Using this library I try to connect with static IP but it always say DNS failed. Ethernet module is blinking that means is good ...
0
votes
1answer
40 views

Alter baud rate after being certain event

I'm using my HC-05 (Master) to receive strings from a sensor (Slave), each string is suppose to have 7 items divided by ',' like so "a,b,c,d,e,f,g". But it isn't always received in such manner, ...

15 30 50 per page