Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

Filter by
Sorted by
Tagged with
0
votes
1answer
365 views

GPS coordinates

how do I compare coordinates I receive from the GPS module with the coordinates that I had hardcoded into the arduino, for example: if (GPS reading <= hardcoded) movecarforward(); else ...
1
vote
0answers
578 views

Arduino Uno - Firmata/Serial Communication in Visual Studio C++

I need to pass std::vector <double> values from a C++ console program (written in Visual Studio 2015) running on a PC to Arduino in real-time using USB serial communication. Can anyone of you ...
1
vote
1answer
766 views

How do I control 4 LEDs with 2 Digital Outputs?

In an effort to learn about transistors that seemed easy enough. But I can't get it to work in practice Can I control 4 LEDs with just 2 digital outputs (High, Low). So I figured I would use the ...
1
vote
1answer
57 views

How to get started? [closed]

I'm a guy who loves the tech world, but more in particular the Robotic one. I wanna start developing/making my first creations of robots or sort of. I won a little board from Texas Instrument from the ...
0
votes
1answer
693 views

Difference between simple wifi transceiver and arduino yun

I am debating over getting arduino yun or 2pcs nRF24L01+ 2.4GHz Wireless Transceiver. Here is the link to the transceiver on amazon amazon description. I do not know much about wifi but why would ...
0
votes
1answer
4k views

Sending data over TCP connection in one piece

I'm trying to send short strings via Java client to Arduino server and vice versa. Sending data to client goes fine, but when I try to send data to arduino it cuts the string into bytes and then sends ...
0
votes
2answers
854 views

Interface pressure Sensor

Hello folks, I am using G1/4 Pressure Transmitter Sensor 0-1.2 MPa sensor can you guide for programming part.The conversion from bar to pascal or bar to Mpa or pascal to psi.Though I am ...
1
vote
2answers
410 views

Arduino graphic interface

I succeeded in programming a system of thermoregulation using Arduino. This system holds the temperature of a plate at 37°C. I used a PID corrector to realize this. What I want to do now is make a ...
0
votes
2answers
8k views

Digital pin input stays high after receiving a high signal

I don't know why but when a pin set to input mode receives a high signal, then a low signal, it stays high for a seemingly random amount of time. #include <LiquidCrystal.h> LiquidCrystal lcd(7, ...
1
vote
1answer
727 views

Debouncing a limit switch in Arduino ISR with delays

I have a limit switch attached to an arduino Mega 2650 for motion control. The limit switch's two Normally Open contacts are connected to an Arduino Pin and ground, such that when the Limit Switch is ...
6
votes
3answers
7k views

How do I update the serial monitor without printing a new line each time?

I'm testing out an accelerometer and I want to know if there's a way to make it so that the serial monitor will update the values without printing a new line. Ideally the serial monitor would say ...
3
votes
0answers
2k views

How to read temperature using arduino uno board with PT100 RTD sensor?

I am new to arduino programming. And almost inexperienced. I am looking to program my arduino Uno board to read 2/3/4 wire configuration of PT100 RTD sensor (in accuracy levels of atleast 0.5°C). The ...
1
vote
1answer
440 views

sending multiple signals at the same time, with short delay

Is it possible to do something like this: send a HIGH signal to an output pin, after a 0.33s delay arduino sends HIGH signal to another pin, and after another 0.33s delay, arduino sends signal to ...
0
votes
1answer
851 views

How to transmit more than 1 byte continually?

In software serial, the write function only sends 1 byte at a time. Is there someway, some library, that i can send multiple bits/bytes, without stopping (and not using digitalWrite)? i want to be ...
1
vote
1answer
720 views

Why can't I connect more than one Arduino Uno + Ethernet Shield to my network?

I'm using 3 Arduino Uno boards with Ethernet shields. Each is connected to my home Internet switch with an Ethernet cable. I assigned a different local IP address to each Arduino and gave each board ...
0
votes
1answer
83 views

Arduino Uno + 12 relays

I'm using a basic relay and I want to use 12 like this. Each one needs 50 milliamps, but the Arduino can supply only 300 milliamps. What can I do?
0
votes
1answer
11k views

How to flash the “atmega328” with AVRDUDE?

I have an external device using an ATmega328, not a ATmega328-P as used by the Arduino Uno. Now I want to use AVRDUDE and an Arduino Uno to flash a hex file on this chip. Therefore I removed the ...
1
vote
0answers
46 views

Flexiforce to Uno to Keyboard. Working but not as inteded

I have a Flexiforce 25 pound pressure sensors connected to my Arduino Uno which connects to my laptop. My requirement is to be able to play video games using taps on pressure sensors. I am ...
1
vote
1answer
427 views

Controlling DC motor from Android device

Ref: https://robotics.stackexchange.com/q/8526/11146 I want to build a simple android controlled robot I will connect android phone<usb>arduino<wire>motor controller<wire>dc motor ...
3
votes
2answers
504 views

Help putting an Arduino project on the Internet

I'm working on quite a big project and I need few advices. Basically, Arduino will be receiving data (Strings) and will work with it. No problems with that, but I don't know what to do with receiving ...
1
vote
2answers
2k views

LiPo battery charger

Is it possible to build a battery charger with just an arduino UNO board (and perharps some passive components)?. It's a 3.7V 550 mAh LiPo Battery. I understand I need to monitor the charge and the ...
0
votes
1answer
274 views

Arduino Uno cannot upload any sketch: avrdude: stk500_recv(): programmer is not responding

I'm newbie in Arduino Dev I got Arduino Uno R3, at first it just worked fine. I tried to upload my whole project sketch which almost up to the max size of arduino memory. Then suddenly the upload ...
2
votes
1answer
3k views

Arduino and WS2812 RGB LED Strip “freezing”

I have been working on a project as a gift for my girlfriend for Christmas which involves some a bunch of standard "white" LEDs controlled by shift registers and darlington arrays, and also some RGB ...
1
vote
2answers
9k views

5v to 4.3v Regulator - For SIM800 module

I want to build a simple voltage regulator 3.8-4.2V with atleast 2A Peak Current Capability for my GSM Shield (It doesn't have regulated power supply), I don't want variation or it may burn the board....
2
votes
2answers
2k views

How do I set a constant in setup() that I can use in loop()?

I am new with coding, and I was wondering how I could run something once and define it as a constant. Here is my code: int sensorValue1 = analogRead(A0); int sensorValue2 = analogRead(A1); int g0 ...
1
vote
1answer
4k views

Library to correct time for DST

I am using a Uno as a data logger with a DS1307 RTC and the following libraries Time.h DS1307RTC.h The DS1307 does not have any support for DST and neither library includes Time Zone. Are there any ...
0
votes
2answers
359 views

How to know if arduino activated its short breaker?

today i was trying to use arduino power headers as a power source for my basic laser. I used pin "5V" to connect it to the laser anode and the "GND" pin to the laser groung pin. after doing this ...
0
votes
1answer
78 views

Identifying Arduino-compatible board signatures in code

I am developing libraries for compatibility across a number of Arduino/compatible boards. I know that Arduino boards can be identified by the test "#if defined (AVR_ATmega328P)" and compatibles as ...
3
votes
0answers
238 views

error with avrdude command line using arduino as isp (i think)

I am trying to upload a .hex file to my attiny85v-10pu and using my arduino as a isp (i think thats the right term) but it come up with this error. ser_open(): can't open device "lpt1": The system ...
7
votes
2answers
843 views

Using Arduino for simultaneous lighting effects

I am building a computer for my son (me). I'm trying to spark his interest in computer technology, so my idea is to drive multiple case lighting effects with a microprocessor or controller. I went ...
1
vote
3answers
124 views

Drawing amperage with Arduino code

I'd like to preface this by saying I'm a complete beginner, but I have learned a ton already on this project, and I feel like I'm almost there. I'm using an Arduino Uno and an Adafruit motor shield. ...
-3
votes
2answers
128 views

Suggest me some good seller for Arduino UNO [closed]

I want to start a new project with arduino uno and want to make some amazing mini projects, but i am confused that from where should i buy. So please suggest me some affordable robotic stores.
2
votes
1answer
138 views

Powering an Arduino UNO through 5V

I have a bench supply which I can use to power a breadboard at 5 V. Is it a bad idea to power the the Arduino by going directly to the 5 V pin? It sounds like both this method, and the USB are ...
1
vote
2answers
563 views

On the Uno, why does VIN require 7-12 volts and the USB only 5 volts?

I'm just wondering why the VIN would require 7-12 volts when the USB port itself only requires 5 volts? What happens if you power an Uno on VIN with 5 volts?
9
votes
2answers
896 views

Arduino ADC Reference Voltage if it is Battery Powered

I am looking to possibly monitor battery power to the Arduino using its ADC. This is fairly straight forward and simple (especially if using the Arduino API); however, if the battery is powering the ...
1
vote
2answers
216 views

What type of sensor could I use to determine the mass of a small object (under 1 kg)?

I'm building a robot that needs to pick up a piece of material and then determine its mass. My robot will retrieve the material using a scoop at the ended of a mechanized arm. Once the material is in ...
1
vote
0answers
2k views

Reading from ps2 barcode scanner

I am trying to read from a ps2 barcode scanner (Datalogic gryphon D). The Arduino is powered by the USB. The circuit is shown below The pinout of the ps2 is I have used the fritzing pin assignments ...
0
votes
3answers
149 views

Why can only some digital ports output PWM and the others not?

If it matters, I'm talking about the arduino uno v3.
1
vote
2answers
170 views

Ideal settings for regulated power using Arduino Uno VIN?

Is there a downside to providing a lot of amps to Arduino UNO's VIN? Is there any advantage to only supplying a limited amount of amps? I have a regulated power supply and I'm curious what I should ...
3
votes
2answers
263 views

A question about Continuous Rotation Servo and Arduino

We have this project that uses a Continuous Rotation Servo and we have a slight problem controlling it. We're planning to attach a Rack Gear to the Servo to slide a stainless steel to the right, and ...
1
vote
3answers
15k views

Communication via IP adress with Arduino IDE and ESP8266

I have two Arduino boards and two ESP8266 modules with the NodeMCU firmware, and I want to make this: One Aruino will be connected to one module and a vibration sensor, and when this sensor detects ...
1
vote
0answers
283 views

DFRobot Bluno + Relay Shield

I'm a new to all things electronics and I'm having trouble using a DFRobot Bluno V2 with a DFRobot Relay Shield for Arduino V2.1. For testing purposes I've done the exact same circuit as represented ...
2
votes
2answers
50 views

The Time are functions do not work correctly when the processor clock speed is set at 128K

How can I change The timers to work correctly when The processor clock is set to 128K instead of 16 M? At present, using the delay function does not work correctly, The delay is far too long.
0
votes
2answers
2k views

It is possible to control brightness of an LED strip (connected using a relay and having a seperate power supply ) using output from an arduino?

The circuit contains a relay interfacing with 12v power supply and LED strip. Can the brightness for this strip of LEDs be controlled using the analogWrite command? This works perfectly for a single ...
0
votes
1answer
468 views

How does the speed work in VirtualWire Library

I'm analyzing the VirtualWire library and in it, the send messages are being sent with digitalWrite in the "send" method. However, there is a setup speed function. I'm reading that function and I see ...
0
votes
2answers
2k views

Error with Arduino/Processing Serial Communication

I am relatively new to both Arduino and Processing and I have been working on a code that utilizes serial communication between the two. My Arduino code is reading and printing values from a piezo ...
0
votes
1answer
1k views

Processing printing sensor readings and raising NaN exception at the same time

I am using pressure sensor with Arduino Uno within Processing. Given these variables: Serial myPort; //the serial port float sensorValue = 0; //the value form the sensor Arduino is ...
1
vote
1answer
369 views

Can't read from DHT sensor when motor is running

I've been following this tutorial and I've run into some weird problems. When my motor starts running, I get "Failed to read from DHT sensor" on my serial window, meaning that readHumidity() and ...
1
vote
0answers
106 views

Teensy and MS5803 sensor

I'm trying to use the MS5803 pressure sensor with a Teensy 3.2. Compiling the Sparkfun, or other, libraries, however, results in no output. Can you provide guidance on how to modify the libraries to ...
3
votes
1answer
981 views

Need help converting a processing sketch for a robot arm with servo shield

I'm currently building a robotic arm. I'm using an Adafruit servo shield, 7 servos, Arduino uno, and a 5V 10A power supply. I found a program that controls the arm with mouse movement using a ...

1
129 130
131
132 133
150