All Questions
0
votes
2answers
22 views
Can I use the same Data Registry for both input and output pins?
This is for a class in which we are not allowed to use the Arduino Library (Not my choice or preference). I know to use DDRB for the B pins. This is the code that I have so far:
//Global pointers
...
0
votes
1answer
22 views
Get pin input status without using the arduino library
I am not allowed to use the Arduino Library (or any Library) for this program. How would I check the input of a pin?
I found two different functions:
In Arduino.h:
#define bitRead(value, bit) (((...
0
votes
1answer
14 views
Arduino Uno R3 not working with Cytron shield GPS 53
My project is to find latitude and longitude of certain places. I am using an Arduino Uno R3 with a Cytron GPS 53 shield to get the position of places but, my device cannot run because COM4 already in ...
0
votes
0answers
10 views
DC Motor Pinning the Ada Fruit Moto Shield with the Mega2560 R3
I picked up an AdaFruit Motor Shield V2.3 . The example on the site shows how to code the DC Motor connection
// Create the motor shield object with the default I2C address
Adafruit_MotorShield AFMS ...
0
votes
1answer
10 views
Having trouble using RTC if I set an ISR for a 1 second timer
I built a sketch using some timer ISR code to get a trigger every second. (for the Atmega328 chip I use the following code I got form the internets. It works)
It runs fine and I get a trigger/...
1
vote
0answers
11 views
EthernetClient: HTML table isn't being fully populated
I have the following code below for an EthernetClient named client. It is supposed to print a 2 row, 9 column table. The headers are ID and Name and are the first cell in each row. The other columns ...
-2
votes
1answer
26 views
How do I calculate speed from raw accelerometer values
I have a MPU6050 breakout and I'm trying to built a speedometer with it.
The problem is that I do not know how to change the raw value into something like kilometers per hour or miles per hour.
Can ...
0
votes
1answer
31 views
Can't get ESP8266 working
I have received an ESP8266 (ESP-07) Wi-Fi module from DealExtreme (Link: http://bit.ly/2dFJdxE).
It is a 4-pin module with the following pins: RX, TX, VCC and GND.
The module has a switch so you can ...
0
votes
0answers
26 views
how to make sketch for arduino for controlling stepper motor
how to make sketch for arduino for controlling stepper motor . I making program in visual basic that send the value of text box by serial port to the arduino board and the arduino sketch will multiply ...
-1
votes
0answers
21 views
using easy driver v4.4 to control stepper motor
how to write sketch in arduino that make easy driver v4 turn the stepper motor
5 step and stop using pin 8 and pin 9
0
votes
3answers
31 views
Time.h rollover after 49.7 days [duplicate]
I'm developing a arduino based system, which includes a alarm system.
Searching on the Internet, I found these lybraries "Time.h" and "TimeAlarms.h".
In the requirements, it says: "Time does not ...
1
vote
0answers
29 views
I'm new here. Where to look for documentation for my specific board
sorry if this isn't the done thing. I have a little red space invader shaped board that has an arduino chip on the back from a conference. There is an LCD display and I've just got it to function ...
0
votes
1answer
18 views
VLcd pin to ground?
i just bought a ERC12864-655 lcd screen.
on the datasheet it says that i need to connect the vlcd pin to gnd.
However in this (page 8) datasheet it says that vlcd is the main power supply. As far ...
-1
votes
0answers
22 views
arduino programming with interrupts
how to write a program to display the number of times a push button is pressed as (binary value) in 8 LEDs without using external interrupts
-1
votes
0answers
17 views
TFT LCD to Arduino mega 2560 [on hold]
I'm very new with TFT LCD, and I don't know how to use it with arduino. I don't know how to install this lcd with arduino. can I get the pict. to describe how to plug the lcd to arduino. thank you so ...
-1
votes
1answer
16 views
Using Arduino GSM with WiFi
I have a project which require multiple data to be sent online from a moving bus. I am using ESP8266F modules to send the data.
I am wondering what arduino modules to buy that will act as an access ...
2
votes
2answers
34 views
Reading the DotStar datasheet - power requirements
I'm trying to figure out my power requirements for a strand of Adafruit DotStar LEDs - APA102 Cool White, not the RGB. I'm not sure how to interpret the datasheet.
In the middle of the product spec ...
1
vote
1answer
15 views
Made a Adafruit Flora unusable
I was playing around with an Adafruit Flora and a strip of NeoPixel LEDs. After uploading the sketch to the Flora (via Arduino IDE), the LED strip lights for about 1 second and then dims to a dull ...
0
votes
0answers
8 views
Trouble finding correct Bootloader
Overview:
I am using a custom SAMD21J18A M0 Microcontroller. I have two Versions of hardware that I will refer to as Version 1.2 and Version 1.3. The main difference between Version 1.2 and Version ...
1
vote
0answers
29 views
How to sense toggle switch using OPTOCOUPLER
I am using an EL817 Photocoupler, here is the Datasheet. I have designed a circuit to sense the Switch using EL817 and it is connected to the GPIO pin of Arduino. How can I sense the switch? The ...
1
vote
0answers
33 views
Accelerating a stepper motor without it making noise [on hold]
I am having some issues moving my stepper motors without it making noise.
I read somewhere that ramping the frequency of the pulse modulated signal would help, but seems to have same issues as well. ...
2
votes
2answers
28 views
How to connect IR Transmitter and Receiver Module?
The IR Transmitter and Receiver module has both receiver and transmitter in same board. I tired Arduino IR Remote library example to decode Remote signal using below connection. But its not working.
...
-1
votes
1answer
18 views
The Arduino Sketch does not save in Arduino folder location
I have just installed Arduino on Mac OS. The Arduino folder is created under Documents. But whenever I save the sketch it gets stored in some ghost location and gives an error, the same name already ...
1
vote
0answers
38 views
How do I change the PWM frequency on an Arduino Uno [migrated]
I currently trying to change the PWM frequency from the the standard 490 Hz to something else, Literally something else.
I previously used a timer1 library available from the Arduino, but became ...
1
vote
2answers
42 views
Proper Attiny85 timer/delay
Im having problems with Attiny85 programming. I am making something similar like this project. But i added function that every day on some time it turns on output - something like alarm clock. The ...
-1
votes
1answer
36 views
Will 5V 2A current input to the power port kill my Arduino? [duplicate]
I want to power my Arduino with a mobile charger, the out put is 5V 2A, will it kill my Arduino? And what's the max input current as power source?
3
votes
1answer
21 views
Self made microphone burns Arduino
I'm very new to electrical engineering and I'm trying to read microphone input with Arduino Nano. I've made a separate microphone module (based on this example) and plugged it into Arduino like this:
...
3
votes
1answer
105 views
Using two pins to sum maximum available current
I have a theoretical question about using digital pins of arduino. The specification of Arduino Uno (or any other I guess) says, that maximum current from digital pin is 40mA. If I would need more ...
3
votes
2answers
37 views
Update variable using buttons
I made a part of code to change the temperature limit for alarm system. On warm days user have to change the temperature limit with buttons and OLED display.
The question is: How can the variable ...
-2
votes
1answer
17 views
Fading RGB LED between 10 and 60 cm
What I want to achieve is that between 10 and 60 cm of my HCSR04 sensor the color fades from red to blue on my RGB LED in steps of 1 cm between 10 and 60 cm.
I have tried creating some own functions ...
-3
votes
0answers
25 views
I am in trouble with audrino.I am willing to buy but I want to get clear [on hold]
I want a tutorial where I can use gyroscope sensor to watch in vr.so sir I want to make gyroscope sensor and connect with my phone to use it but I want that after programming with audrino ,I want it ...
-1
votes
0answers
16 views
setting timer1 period inside ISR is not possible?
I am at the moment trying to change the top value of my timer1 such that i can control when an interrupt should be called.
My plan was to increase the timespan each time an interrupt is called.
...
-3
votes
1answer
17 views
What is LCD bias voltage and where do I have to connect it?
I noticed that I have VB0+, VB0-, VB1+ and VB1- pins on my LCD. In the datasheet it says they are for the "LCD Bias Voltage". I have never heard about that. So what is it? Where do I have to connect ...
1
vote
2answers
19 views
combination of arduino uno and mega?
I am new to Arduino. Can I combine Arduino UNO and MEGA in 1 project? Arduino UNO is for audio output and MEGA for LCD display. If I am wrong, is there any ideas how do combine both LCD display and ...
1
vote
1answer
22 views
An audio jack modem
I'm looking at controlling Arduino by reading audio commands sent from a raspberry pi (through javascript). I've found the SoftModem code and wonder how it works. It claims that "It uses the phone's ...
0
votes
2answers
16 views
Arduino nano & pro micro SPI simple communication
I'm working with Arduino boards with AVR C coding to perform simple SPI communication from master for simple blink application on slave side.
They don't work, the TX function on the master side doesn'...
0
votes
1answer
21 views
How to read differential TTL signal from encoder using Arduino?
I am using Arduino UNO/ MEGA to read the incremental encoder pulses (Baumer encoder EIL580). Currently, I am using it in single-ended mode (reading A,B and Z outputs) as I am not sure how to read the ...
1
vote
2answers
38 views
Which sensor to detect light?
I have a kit of 37 sensors as described here:
http://www.instructables.com/id/Arduino-37-in-1-Sensors-Kit-Explained/?ALLSTEPS
https://tkkrlab.nl/wiki/Arduino_37_sensors
I want to create a simple ...
3
votes
1answer
45 views
What to do after prototyping?
I want to make a USB gamepad, and I've heard that an Arduino would be great for this kind of project. But before I start to work on it, I want to make sure I understand some things. Here are my basic ...
0
votes
0answers
17 views
Esp8266 gpio pins problem
I programmed my esp8266-01 in arduino ide. I uploaded that code:
void setup() {
pinMode(2,OUTPUT);
}
void loop() {
digitalWrite(2,HIGH);
delay(500);
digitalWrite(2,LOW);
delay(...
0
votes
0answers
9 views
Arduino Mega connection to Arduino GSM 2 shield
I'm about to purchase the Arduino GSM shield 2 and have a question about connecting the shield to an Arduino Mega. It says on the documentation that you need to reroute pin 2 to pin 10 so that it can ...
0
votes
4answers
56 views
Code for activating a led after 2 minutes and will blink after 30 seconds interval
Can anyone help me to build a code which will activate a LED after 2 minutes when the power supply is cut off and blink that LED after a time interval of 30 seconds.
I want to import the code on ...
0
votes
1answer
20 views
Is it possible to create an Arduino digital signal emulator
I was looking at a post where someone was analyzing the digital signal that a device created, and then writing a program to allow an Arduino to emulate the digital signal. ( in the example it was ...
0
votes
2answers
31 views
What sensor would work for soccer ball detection efficiently using Arduino?
I want to make a soccer goal counter using Arduino and some sensors. I built using an ultrasonic sensor, but it does not detect if the ball is moving too fast. Are there any other sensors I can use to ...
-1
votes
0answers
9 views
after getting my raw values from MPU6050 ,what to proceed next?
i got all the values for X,Y,Z . i'm making a hand gestures based robot ,but after taking the values what to do next with these values??
0
votes
1answer
31 views
Measuring .7 volts on D2 and 0.0 on the rest when setting all pins low
Having my Arduino Nano 328P disconnected from any circuitry and setting all pins to pinMode(OUTPUT) and writing LOW to all the pins, when I connect my multimeter to every output pin and the Arduino ...
-3
votes
2answers
23 views
Arduino uno - Ethernet Shield enc28j60 hangs after some time
I am using Ethernet Shield enc28j60 for retrieve data from web server, but Ethernet Shield enc28j60 hangs after some time and it only works after restarting power supply (router usb port).
My sketch :...
3
votes
1answer
30 views
How do I use ATTiny pin 5 (RESET) as a digital output?
I am using an Arduino Uno as ISP (Using the standard ArduinoISP sketch) to program an ATTiny13A through the Arduino IDE. (I also have a USBtinyISP 2.0 and a USBASP 2.0, but can't reliably get either ...
1
vote
1answer
17 views
Use Arduino Yun Shield as ISP for bootloaded ATMega328-PU
My question is how do I replace the Aarduino Uuno board in this circuit:
...With an Arduino Yun shield? I can setup the hardware - ICSP configuration is easy enough - but how do I go about using the ...
1
vote
1answer
17 views
MPU6050 Measure distance traveled or position
How can I use MPU-6050 with an arduino to measure the distance the robot traveled from it's starting point or just it's current position on the map?
The Robot should be moving in a map same as a 2D ...