All Questions
0
votes
0answers
7 views
Arduino/ESP8266 no SPI data coming from MCP3008
I'm using an ESP8266 (NodeMCU Dev Kit v1) to read analog data via an MCP3008 ADC chip.
However I'm receiving only zeros when I know non-zero data should be present. I'm using the following code, ...
1
vote
0answers
9 views
Is it possible to start audio playback when headphones gets plugged in?
I want to have 6 jack audio IN waiting for connection to start some WAV/OGG playback as soon as a headphone plugs in. In fact I'd like to have simultaneous playback in 6 lines. I've seen in the market ...
0
votes
0answers
7 views
Is it possible to sense 220V AC current using a reed switch?
I have a light switch in the room and also a relay connected to Arduino (Multi-way switching). I can turn on and off the light from both places. But there is a problem - the Arduino doesn't know about ...
0
votes
0answers
7 views
Bit-banging Pulse Width Modulation LED fade
Whilst programming an arduino pro mini I realised I had ran out of PWM pins. Upon reading the tutorial about "bit-banging on the official arduino website I wanted to use this in conjunction with the ...
0
votes
0answers
8 views
Python ImportError: No module named yahoo_finance
I am new to the Arduino & Python community. I tried to implement the following project:
...
0
votes
1answer
18 views
ATMEGA328P 16Mhz External Clock serial bitrate mismatch (corrupt data)
I've been trying to get an ATMEGA328P communicating via a FTDI breakout board, and have run into something I can't seem to find much information about.
When I have the ATMEGA running on its internal ...
0
votes
1answer
17 views
L298N Motor Driver problem with Arduino
I have connected 12v power supply to the L298N motor driver.
The ENA & ENB pins of the L298N are connected to pin 6 of the Arduino.
Whenever i try to change the pwm between 0 and 155, the output ...
0
votes
1answer
17 views
Are there fixed connectors for gpio?
Curently I am using these connectors for my prototype:
Ebay link
However, I need something more reliable so I can deliver the prototype to a user without to risk that the cables fall out of their ...
0
votes
0answers
15 views
Arduino Nokia 5110 graph
Hello I am using the U8glib library and a Nokia 5110 screen to draw graphics and text. That all works but I want to draw a 'fake' graph. It would be cool if it was animated randomly. How can I draw a ...
1
vote
2answers
17 views
When should you worry about interference affecting the analog input?
I made something that uploads the measured current to Thingspeak. Everything works, but i did not place the DC to DC converter on the board because i was worried that it would interfere with the ...
0
votes
1answer
5 views
'Keyboard' not found when trying to use Keyboard.write from the <Keyboard> library
I am trying to get a response from the arduino when I press a key, but when I try to upload the code it says that it could not find 'Keyboard' with 'Keyboard.write'. Here is my code. Ignore the bits ...
0
votes
0answers
10 views
A4988 stepper motor driver, arduino UNO and Haydon linear actuator
I bought a Haydon LC1574W linear actuator for a small project I'm working on. I have an A4988 Pololu stepper motor driver, is it possible to control the Haydon linear actuator using this stepper motor ...
0
votes
1answer
15 views
BMP280 returns 0
I have connected a BMP280 temperature/pressure sensor to an Arduino Uno just like here:
and used the example code provided by the Adafruit BMP280 library. However, the values for temperature and ...
1
vote
2answers
27 views
Draw polygon on LCD from GPS latitude and longitude
I'm working on a personal project (a usefully tool based on ublox GPS and Arduino Mega that can measure distance between 2 points, compute area, speed, save data on SD card)
Now I want to add new ...
0
votes
0answers
13 views
MQ7 Readings are too high
I am currently trying to learn how to use my MQ 7 CO Standalone to read CO in the air around the sensor. Currently Im using this circuit using my Arduino Uno. I get results of 900-1000. Here's a ...
0
votes
2answers
13 views
Air data rate nrf24l01
I'm using two nrf24l01 to communicate with each other, I did the right setup and they worked fine, however i wanted to change the air data rate to a lower value, for more stability, as the datasheet ...
0
votes
1answer
25 views
Wake up from sleep from pressed button?
#include <avr/sleep.h>
#include <avr/power.h>
//This sketch is a metronome, in which each led pin shows one beat.
const int speaker = 13; //speaker at pin 13
int ts = 6; //highest led ...
0
votes
2answers
22 views
Communication between IC and microcontroller (Teensy 3.2)
I am trying to use a rotary encoder with an integrated circuit to measure the position of a rotating shaft. I am then taking this data and writing to an SD card. The IC seems to be working correctly ...
-1
votes
1answer
22 views
Connecting to WIFI using esp8266
This is my code. I am tring to make a connection to my wifi through esp8266.
#define DST_IP "192.168.1.5" // my IP
#include <SoftwareSerial.h>
SoftwareSerial mySerial(0, 1);
void setup()
{
...
2
votes
0answers
15 views
Reading SD card with Sparkfun MP3 Shield
So I am using an Arduino Mega with the Sparkfun MP3 shield. And I can't seem to read the µSD card. It's formatted in FAT32 and it has a single .txt file on it. I always get this error:
SD ...
0
votes
1answer
30 views
Help! Interfacing LCD with Arduino using 8255A Intel peripherals
I'm new to all this stuff and for the past two days, I have been trying to interface a 16x2 LCD to an Arduino Uno using an Intel 8255A component without any luck. The problem is, how can I attach or ...
1
vote
0answers
22 views
what is flag in programming arduino?
I have seen many tutorials on programming a arduino to control a hc-05 bluetooth module. In that I did not understand the term called 'flag'. What does that mean?
0
votes
0answers
10 views
Get MP3 play length
I'm creating a project where music gets played that is the same length or slightly shorter than the given time (minutes:seconds). For this I have a Sparkfun MP3 shield, which also has a microSD slot.
...
1
vote
0answers
21 views
ESP8266 pin multiplexing possible?
I am trying to use Adafruit's ESP8266 implementation for a project of mine, which makes use of a bunch of sensors. The problem I have is the limited amount of pins available from ESP8266:
2 pins are ...
0
votes
2answers
33 views
How much code can an Arduino board run?
I'm getting back up and running with microcontrollers after about 5 years of hibernation time, and I am trying to understand a lot of different things. I have been experimenting with Arduinos for the ...
0
votes
0answers
9 views
Parallel Chaining of APA102 led matrices
I have four APA102 led matrices (those flexible ones) and I want to connect them together to make a display for showing images. Now my problem is this:
Consider the coordinate system with four ...
0
votes
1answer
15 views
No Response from ESP8266 WIFI
I am getting no response back from an ESP8266 WIFI with arduino mega using library ITEADLIB_Arduino_WeeESP8266.
//serial monitor response
setup begin
FW Version:
to station + softap ok
Join AP ...
1
vote
0answers
22 views
No response from device when trying to communicate with it via RS-232
I have an Arduino Uno with an RS-232 shield, and a servo drive that communicates via CAN or RS-232. I'm trying to communicate with this drive using an RS-232 cable, but I'm getting no response. I'm ...
0
votes
0answers
28 views
RFID Code (and setup) works on an UNO but not on the Yun
We're using two RDM6300 RFID readers for this, and the code works when plugged into an UNO, but not when connected to the Yun. We have one of the rfids plugged into the rx pin (0 on the digital side) ...
0
votes
1answer
9 views
How to Change the Output Resolution of Sine Wave Controller
I have code that receives values from a serial connection, then uses those values to generate sine wave points. These sine wave points are used to position multiple servos.
I am currently trying to ...
5
votes
2answers
33 views
Is there a way to replace an Arduino core function without modifying the Arduino code?
(Let's just skip the suggestions that it's wrong idea and interrupts for a while...)
Is there a way to replace the digitalWrite() method (for example) so I can add something more to happen in there? ...
0
votes
0answers
12 views
how to differentiate in code between Sangunio and Microduino core+
Sanguino and Microduino core+ both uses ATMEGA644PA . I need to write a piece of code in my library where I need to check what board has been selected
#elif defined(__AVR_ATmega1280__) || ...
0
votes
0answers
11 views
Can burn bootloader but not sketches… thoroughly mystified!
I have a custom board designed to be essentially identical to the Arduino Micro (Atmega32u4). I can burn the bootloader (Caterina) and it burns just fine, including the fade-then-slow LED signal that ...
0
votes
0answers
6 views
How to deal with launch4j error
It seems that the last several times I've tried to open Arduino IDE I've encountered an error that says Launch4j, "an error occurred while starting the application". It takes some time before that ...
0
votes
1answer
23 views
Arduino digital I/O pins
I heard that using digital io pins in INPUT_PULLUP mode is much reliable and stable than in the case of using them in INPUT MODE.Then why is INPUT MODE still used...I mean Why isn't INPUT_PULLUP mode ...
-1
votes
1answer
19 views
Arduino uno and ttl laser
I am using my uno with gshield for my cnc. I would like to put laser on it. Laser have 3 wires. Red wire to power supply +, Black wire to power supply -, White wire to Arduino digital pin. I need to ...
0
votes
2answers
22 views
Arduino relay module working in a wrong way
I have an Arduino Mega and a 4-channel relay module.
This is the relay module.
When the Arduino digital output is LOW, the relay is energized. When the Arduino output is HIGH, the relay coil is ...
0
votes
1answer
13 views
Arduino Uno (or Teensy 3.2) programmatically powering an external USB connection
I'd like to create a process to programmatically turn-on/activate a separate USB device connected to my computer...Thinking another way to state the problem, I want the Arduino to complete the USB ...
-2
votes
2answers
52 views
Pi3 + ATmega644P: How do I establish a data connection with 1 analog input and 1 digital output left on the AT?
I have no UARTs left on the ATmega and need to deliver 1 Byte of information from the pi using 1 analog input. I2C is no option either.
I planned using the digital output to request an analog signal ...
1
vote
4answers
37 views
Proper error logging using Arduino
Coming from a C# background where I do logs for every application, and given that I will be using the Mega for most projects and therefore have the memory available to do so, I want to incorporate ...
3
votes
1answer
56 views
How can I get ultra clean dc wall power for my arduino project?
I'm doing an rfid project that requires a read range of at least 5 inches or about 13cm. I'm using a nano with a usb port, a rfid reader from priority 1 design and a large antenna. The problem I'm ...
3
votes
3answers
49 views
Arduino IO long distance travel
I would like to use Arduino to control locks around a building which is 5 storeys high and on every floor there is 2 door.
I'm concerned whether the wires is able to travel all the way from the ...
-3
votes
0answers
23 views
Problem with Wi-Fi module ESP8266
I'm using ESP8266 Wi-Fi module for my project.
I'm getting a problem with my Wi-Fi module, so what should I do to fix my problem?
1
vote
3answers
32 views
How can I connect an 8-relay board without using 8 digital pins?
I'm looking to connect an 8-relay board to an Arduino Uno. A board like this one. However, I don't really want to use up 8 digital outputs if I don't have to. Is there some intermediate circuitry I ...
1
vote
2answers
22 views
Arduino IDE get stuck while uploading sketch
I was trying to use my L293D motor driver module. But when I upload the following sketch to try and run my motor, but it would get stuck on "Uploading". This happens with this sketch only, and happens ...
1
vote
0answers
19 views
Arduinino & Max7219
Im using a MAX7219 and 6 (six) seven segment displays
I used my own board and two purchased on ebay - no difference in operation.
MOSI, and CLK are correct and verified with my scope (Tektronics)
CS ...
0
votes
2answers
23 views
sensor sampling frequency
I have a problem collecting data from my accelerometer/gyroscope sensor with a constant sampling rate. Is there a way to program the arduino to collect data from the sensor and store these values in a ...
0
votes
1answer
14 views
Help compiling multiple .ino file code with code! (I'm not sure what to name this)
Ok, so i'm trying to make This Project and the code comes all in different .ino files but in the video its all in one program. So how do I compile all of the code onto the arduino? (By the way the ...
0
votes
1answer
45 views
Converting RGB from color sensor into the Munsell Color System
I am hoping I could get some help developing a an idea I have for archaeologists/soil scientists using an arduino and the TCS3200 colour sensor. The idea I have is a simple device which can determine ...
1
vote
1answer
25 views
Arduino uno IR Sensor Array
I am a beginner.I can't understand how can i get the reading of IR sensors(6) in a function.I use a home-made sensor.so,i have no built in library.