akellyirl
  • Member for 7 years, 11 months
  • Last seen more than a month ago
Can I program for Arduino without having a real board?
90 votes

I like to use circuits.io aka TinkerCAD for this. It's cloud based and has some nice features including PCB design and collaboration. IMO the Arduino simulation and capability is impressive and ...

View answer
Can I turn off a device using the 5V and analog pins?
Accepted answer
7 votes

You would use a transistor. Something like this would work. In this case the Arduino controls a transistor to drive a brushless motor. Source: Arduino Cookbook: (https://www.inkling.com/read/...

View answer
Serial data plotting programs
6 votes

Responding to my own question here.. I use Bridge Control Panel as mentioned. Advantages: Lots of Features. Disadvantages: Tricky to setup and very poor syntax/error reporting. To use: You need to ...

View answer
Reading a varying voltage into Arduino
5 votes

Regarding your measurements, I would completely disregard the first set with Serial.println() in the loop. I would exepect the timing of this to be unreliable. Your second set of data that you ...

View answer
Is there a color LCD display for an arduino?
5 votes

There's also a 2.2" Adafruit TFT. The nice things about the Adafruit displays are: i) library support for both the display and the graphics core library. So it's easy to get it up and running. The ...

View answer
From transfer function to arduino
4 votes

Let's assume you have an Arduino that you have arranged to sample a signal with a sample rate of 1/T that is then processed by your controller. Let's also assume that the processing time for your ...

View answer
Controlling LED from web server
4 votes

The REST protocol is ideal for this and there's a nice Sketch already written, called RESTduino on Github: https://github.com/jjg/RESTduino Basically (and loosely) REST treats a URL as a command. ...

View answer
How to simulate Arduino?
3 votes

You can use 123d.circuits.io for simulation and PCB design for Arduino circuits. See this one for example. More generally, a previous answer states that Microcontroller based circuits are not ...

View answer
How has Arduino been used in the classroom?
2 votes

I've used Sparki from Arcbotics as a robotics platform. It's uses Arduino Sketch to program and a modified Arduino IDE. Sensors for line following , edge detection, distance and light level sensing ...

View answer
Use an Arduino as a user interface for the computer
2 votes

Arduino Yun, Leonardo, Esplora and Due have the ability to appear as a native Mouse and/or Keyboard to a connected computer by use of the Mouse and Keyboard libraries. Here's an example of how you ...

View answer
Webserver on Arduino
Accepted answer
2 votes

You'll need something like the Ethernet Shield to connect your Arduino Uno to a LAN. As for webserver functionality, the Webserver Example sketch does the bulk of what you need. For the "access this ...

View answer
Are there any signal smoothing libraries for Arduino?
2 votes

You could filter this digitally using a low pass filter: int valueFilt = (1-0.99)*value + 0.99*valueFilt; Change the 0.99 to change the cut off frequency (closer to 1.0 is lower frequency). The ...

View answer
Unintended reaction: Sketch makes LEDs turn on and of randomly/LEDs don't react
Accepted answer
1 votes

I think you're looking for the action (in pseudo-code): ONCE (Button Pressed): Light LED j; j++ But you have an IF(button) in a Loop{}. Something like: WHILE (Button Pressed): Light LED ...

View answer
Arduino serial port reset in Serial monitor & Python
1 votes

Take a look at if(Serial) That makes the Sketch wait for the serial port before continuing. void setup() { //Initialize serial and wait for port to open: Serial.begin(9600); while (!Serial) { ; /...

View answer
Debouncing results in no reaction at all
0 votes

If the button has stopped bouncing then (button_prev == button) and the inner if (button != button_prev) will fail. Basically you're trying to ensure the button is steady but then you're checking ...

View answer