New answers tagged

0 votes

GPS module Serial.begin value

The GPS module you link to is UART-I2C dual mode. You switch between these 2 modes by (de)soldering resistors. Check first which mode the module is in. Most GPS these days are in 9600 baud, when in ...
dda's user avatar
  • 1,583
0 votes

What does avrdude: Device signature = 0x000000 mean? Faulty wiring? Software issue? Incorrect tutorial?

Can confirm previous answer about changing SPI clock. I edited ArduinoISP.ino example and changed #define SPI_CLOCK (1000000 / 6) to #define SPI_CLOCK (128000/6) and after that I successfully burned ...
glebokator's user avatar
0 votes

Unable to get keypad key in while loop

In general, when a program needs to perform two or more functions (for example, counting off seconds and reacting to a button press that could happen at any moment) a state machine programming pattern ...
st2000's user avatar
  • 7,255
0 votes

L298n driver with Arduino with 2 motors won't work

Yes, most likely. Motors can draw a lot of power and your 9v battery is probably struggling to output enough voltage. 50-100 mA is about the max current you want to draw from a 9v. 9v batteries have a ...
Andrew Cline's user avatar
2 votes

DHT20 and Oled display not working together

The basic problem I don't have this sensor kit. But am able to observe what you're describing with substitutes and stand-ins. There seem to be two things you can do. The basic problem is that the ...
timemage's user avatar
  • 5,008
0 votes

Fluctuate output produce by LM35 temperature using Arduino and LINX LabVIEW

I don't use LabVIEW with Arduino (UNO) often, so you might have to do some troubleshooting yourself (i.e. is the A0 really just the 0 in the sub-VI?), but! Even without the resistor (which is useful ...
Nick S.'s user avatar
  • 149
0 votes

6v High Torque Servo Won't Function On Motor Shield?

It may pay to think about current required as well as voltage. Looking at a data sheet I found online (data sheet link) it refers to a stall current of 3.5A when running at 6V. What do you mean by “...
RowanP's user avatar
  • 851
2 votes

Arduino Uno, does a lower Aref voltage work well for measuring current? without increasing ADC integral non-linearity

If you used the 3.3 volt pin as external AREF a 1.5Ω resistor would drop 3V @ 2 Amps, 3V would produce an ADC value of 930 or 2.15mA per ADC count. If you use the 1.1V internal AREF, a 0.5Ω resistor ...
JC Allen's user avatar
0 votes

How to write an integer value to an RFID tag?

Let's say you have an array and an int. unsigned char blockcontent[16]; int number = 15; To save the int at position 0 of blockcontent, you do this: memcpy(blockcontent, &number, sizeof(int)); ...
dda's user avatar
  • 1,583
1 vote

Why my pushbutton always reads LOW?

When you press the button, you short the bottom blue (GND) and the bottom red (+5V) lines. That will in the least serious case cause your Arduino to reset, but could also damage the button, burn a ...
PMF's user avatar
  • 1,261
2 votes

How to compile without adding the bootloader?

I strongly doubt the compiler adds the bootloader. What that message is probably trying to tell you is that the bootloader is being included in its assumed address space. There are various bootloaders,...
Nick Gammon's user avatar
  • 37.9k
2 votes

How to compile without adding the bootloader?

I found this question which shows that the bootloader's address space is 7800 to 7FF0. I also confirmed that by taking a look at atmega328p's bootloader hex file stored in /usr/share/arduino/hardware/...
php_nub_qq's user avatar
4 votes

How to compile without adding the bootloader?

Seeing .bootloader section in size output doesn't mean it's really present. It just means the sum of all three is 4152 bytes. You can check the hex file if it contains large block of data at the ...
KIIV's user avatar
  • 4,742
0 votes

I'm planning on using 2 arduino boards for my project. Should I use 2 voltage regulators for project or use 1 for both?

I would use a buck or SEPIC regulator and feed Vin on each of the Arduino with about 7.5V from the one regulator. I prefer using Vin because of the additional filtering I get. Also be sure you are ...
Gil's user avatar
  • 1,811
2 votes

Compilation error: 'Serial' does not name a type

In C & C++, executable statements must be within a function. Your third statement, Serial.begin(9600); is (or should be) executable but since it is outside any function, the compiler tried to ...
JRobert's user avatar
  • 15.1k
-1 votes

Stabilization of HX711 and Faster Sampling. Code improvements

It is better to use a chip from Analog Device AD7799. It has relatively high accuracy and no swimming, compared to the HX711. When connecting 2 load cells of 50 kg on the pavement the scheme has an ...
Vache Babajanian's user avatar

Top 50 recent answers are included