Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 7856

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

1 vote

how to make an led turn on when something gets close to an ultrasonic sensor

Try with this and check that at least you can reproduce the desired effect: http://www.arduino.cc/en/Tutorial/Ping?from=Tutorial.UltrasoundSensor Then you can refer to this for the part related to dr …
Igor Stoppa's user avatar
  • 2,125
1 vote
Accepted

Which Arduino Board should I start with?

My advice: - get a model with USB port (some do not have one) - the DUE might seem attractive, but you have less libraries available and less examples, I'd recommend it more as follow up - you will …
Igor Stoppa's user avatar
  • 2,125
3 votes

Heads Up Display Helmet With arduino

There is a fairly inexpensive solution, but it's not Arduino based. All you need is: the Google Cardboard sdk a fairly modern and powerful Android phone (I have a OnePlusOne and it works well with …
Igor Stoppa's user avatar
  • 2,125
0 votes

Beginner here. Which arduino revision should i buy?

That looks like an UNO R2, the type with DIP micro controller (you can extract it and replace it with another one, in case of problems). The R3 version is probably the best choice to get started. You …
Igor Stoppa's user avatar
  • 2,125
2 votes
Accepted

Help understanding code to build circuit for plant reader

Pin13 is attached to the onboard LED. So when you see a reference to it, it means that the program is turning the light ON/OFF. You do not need to do any wiring with it. But the logic seems strange: …
Igor Stoppa's user avatar
  • 2,125
0 votes
Accepted

How to Store the Value of A Sr04 Ultrasonic distance sensor (ping)?

First you must verify that storing the value as int is even possible: long int can represent much larger values than int. Are you 100% sure that the maximum reading you will ever get can be represent …
Igor Stoppa's user avatar
  • 2,125
4 votes
Accepted

Powering Arduino with 110v and controlling relay

In these cases where power must come from mains, my preferred solution is to buy a cheap phone charger+usb cable from ebay. They are sealed and safer than do-it-yourself solutions. The power adapter i …
Igor Stoppa's user avatar
  • 2,125
1 vote

Multiple sensor connection help

It depends on what you want to do overall. Using the HC-SR04 works roughly like this: you generate a strobe on a pin for a minimum amount of time, and this strobe is understood by the sensor as "em …
Igor Stoppa's user avatar
  • 2,125
0 votes

Extracting high and low bytes from long

An alternative way of seeing the two operations is through the operators "integer division" and "reminder of the integer division". In a more generic fashion: #include <limits.h> #define highBits(v …
Igor Stoppa's user avatar
  • 2,125
1 vote

Will there be any pin interference in this Project?

possibly you will face problems with current drain and timing. There is no ready made solution. You have to get a bit farther by yourself and come back with detailed descriptions of your problems. ch …
Igor Stoppa's user avatar
  • 2,125
1 vote

Simulating touchscreen input using PWM

To confirm your analysis that the issue is caused by the lower pwm frequency on the Arduino, did you try reproducing the problem with the teensy? Just divide by 3 the PWM frequency on the Teensy and s …
Igor Stoppa's user avatar
  • 2,125
-1 votes

Timer function without the use of a library

Those lines like currentMillis1; are completely useless You do not really have "timers", especially if your goal is to be more efficient. What you have done is to create some convoluted way to perf …
Igor Stoppa's user avatar
  • 2,125
1 vote

How to read AC Voltage in arduino uno with 12V adaptor and usb cable.?

If your battery voltage is lower than 12 but sufficiently high to power the arduino (let's say 9V), you could put a white LED on the 12V line and a red LED on the battery line, like this: WH …
Igor Stoppa's user avatar
  • 2,125
1 vote

Highly sensitive light sensor to calculate number of times each color LED blinks

Like the OP wrote, you can use very simple sensors, like a phototransistor. Even simpler, if you can somehow isolate each pair LED-phototransistor, you don't even need to care about the color of the l …
Igor Stoppa's user avatar
  • 2,125
1 vote

Issue with time-dependant conditional I/O control flow (Arduino UNO)

This is a snippet of how I would refactor the code: void mode3() { int timeout = millis() + random(1000,5000); while (digitalRead(TriggerSensorIn == LOW) && millis() < timeout) { }; …
Igor Stoppa's user avatar
  • 2,125

15 30 50 per page