New answers tagged arduino-mega
0
votes
Sending data from processing to arduino
if (Serial.available() > 0) { //_________ RECEPCION DATOS DESDE TERMINAL TECLADO
delay(100);
SerialData = Serial.read();
data = SerialData;
}
2
votes
Accepted
Arduino battery capacity selection based on the current measurements
You have two current values and the approximate time those currents run for. From that you can calculate the average current.
If you have 8 seconds "on" and (15*60-8) 892 seconds "off&...
2
votes
Accepted
Sending float values from Python to Arduino using Serial communication
There are two things going on here.
First of all, if you look up the readline() method in Python that is referenced in the PySerial manual, you'll see the following:
readline(size=- 1, /)
Read and ...
1
vote
Accepted
Using a 5 pin button with Arduino Correctly
The button's pins are as follows:
+: The LED's anode
-: The LED's cathode
C: The common pin of the switch
NC: Normally Closed - is normally connected to the C pin until the button is pressed
NO: ...
1
vote
Displaying multiple temperature outputs w/Thermistors
Here is my proposal:
Sum the readings (samples) of each sensor(thermistor) and store the sum in an array. Then divide each sum by the number of samples that were taken. Instead of computing one ...
Top 50 recent answers are included
Related Tags
arduino-mega × 1759arduino-uno × 264
serial × 189
programming × 127
arduino-ide × 82
sensors × 76
interrupt × 73
c++ × 64
power × 64
motor × 53
spi × 51
lcd × 48
shields × 48
sd-card × 47
timers × 45
gsm × 45
esp8266 × 44
pwm × 42
i2c × 41
arduino-nano × 39
usb × 39
communication × 36
ethernet × 36
softwareserial × 35
pins × 34