Most Popular
1500 questions
6
votes
3 answers
How to get the firmware (hex) file from a .ino file containing the code
I currently have a .ino firmware file that I use in the Arduino IDE to program an ATmega328 micro-controller. I would like to get the file that the Arduino IDE uses to program the micro-controller.
Probably the IDE uses a hexadecimal (hex) file or…
Eduardo Cardoso
- 183
- 1
- 1
- 6
6
votes
4 answers
Can you fry an arduino with nothing plugged in to it?
I only get to work on my arduino every few weeks, so sometimes and get interrupted a lot by small children, so if I completely forget what is on the firmware, then I unplug the pins (because I haven't got anything soldered on there) should I be 100%…
Peter Turner
- 311
- 1
- 2
- 7
6
votes
1 answer
How to optimise TX power for ESP8266?
I have multiple ESP8266 units programmed using Arduino SDK and I would like each one of them to adjust the transmission power to lower the power requirements.
Arduino allows setting the TX power of the ESP8266 using the function…
FarO
- 339
- 1
- 4
- 15
6
votes
1 answer
How important is the INT pin of the MPU6050 (GY-521)?
I want to wire multiple MPU6050 (at least 16 of them) to an arduino UNO for development (then nano for production). So I first started wiring one MPU6050 to an arduino like shown on the diyhacking website or in the picture below:
as you can see in…
Paiku Han
- 179
- 1
- 1
- 4
6
votes
1 answer
EPS8266 ESP-01: LED manipulation seems to interfere with serial communication
I'm playing around with this udp-example. Both this and the blink-example work perfectly. Now I would like to use the LED to indicate what the ESP is currently doing, as well as reading some data over Serial. My code looks like this:
void setup(){
…
user2224350
- 113
- 6
6
votes
5 answers
Adding an LCD to Uno but not enough pins left
I am an absolute beginner and wanted to build a simple home automation system using DTMF module using this guide. My problem is out of 12 pins most of them are getting used in DTMF module(5) and the relay module(4). So how do i add an LCD display to…
Vaibhav
- 61
- 3
6
votes
0 answers
Why is Wire.onReceive() called during requests?
I'm building a complex I2C-based networking protocol and have noticed that the Wire.onReceive() handler is called both for I2C read and write operations. When the master writes to the slave, it is called as you'd expect. But it also seems to be…
Jeremy Gilbert
- 264
- 2
- 4
6
votes
2 answers
Serial.println(): Where is the text printed?
When I used Serial.println() in the code I naively believed I would see the characters that I sent displayed on that little black area just under the interface (just like a terminal).
#include
int moveServo;
Servo myservo;
void…
Fraïssé
- 905
- 5
- 13
- 16
6
votes
1 answer
Difference between PWM and regular output port for servos?
I have been controlling my servomotors for a while now only using pin 0. After some research, it has became apparent to me that the ports with ~ are the PWM pins.
I thought that all pins sent out PWM signals, therefore the motor was able to move…
Fraïssé
- 905
- 5
- 13
- 16
6
votes
3 answers
Why does this button have a connection to ground?
I am testing this basic button example from the Arduino tutorial page.
This circuit lets power flow to pin 2 when the button is pressed. When the button is not pressed, the power goes through the resistor to ground, but my question is: why would…
Kokodoko
- 161
- 1
- 6
6
votes
3 answers
Arduino UNO hangs without visible reason
I'm having trouble with Arduino UNO. I bought a cheap clone (what obviously may be the reason) along with display+keypad shield (site in Polish). For my project I wrote a menu library, which (along with simple demo project) may be downloaded or…
Spook
- 195
- 1
- 8
6
votes
3 answers
Arduino nano as HID Keyboard
I'm a bit of a noob in the Arduino area but I found an Arduino nano I bought a long time ago sitting on my shelf and collecting dust,
so I taught "why not make a project". I game a lot of racing games so I wanted to make a simple ignition button…
brandon bondig
- 61
- 1
- 1
- 2
6
votes
2 answers
How does Arduino IDE 'Get Board Info'?
I want my C# application to automatically select the correct COM port by way of a string equality check against a 'GetInfo'-type request to the Arduino board.
I know the Arduino IDE can get info from the board;
Tools > GetBoardInfo
But I…
n00dles
- 163
- 1
- 1
- 5
6
votes
1 answer
Why do MEGA2560 digital pins go high on serial disconnect?
I'm trying to set up a system using an that delivers a specific number of digital pulses to a device using one of the digital pins. The number of pulses delivered is specified over a the Mega's USB serial connection using a Python script (or…
c-wilson
- 163
- 3
6
votes
1 answer
Expected unqualified ID before numeric constant
After debugging and having some conflicting declarations about analog pins, I finally thought it was done, after compiling I got this error:
32:0,
1:
31:12: error: expected unqualified-id before numeric constant
2:5: note: in expansion of macro…
Dudamesh 192
- 99
- 1
- 1
- 8