2 votes

Problem with using PubSubClient, the "callback" function doesn't seem to work correctly

From the PubSubClient library documentation: Internally, the client uses the same buffer for both inbound and outbound messages. After the callback function returns, or if a call to either publish or ...
Bra1n's user avatar
  • 1,008
2 votes

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

Unfortunately the three prominent threads on the Arduino forum on this topic are closed, so their good but incomplete information is baked in time: Invalid device signature error Which references: ...
Heath Raftery's user avatar
2 votes

Barebones AVR - Connecting RESET pin to Vcc

I updated the question with a pic. I am using ATMega328. I intend to program the chip using Sparkfun's AVR Programmer. Then don't tie /RESET to VCC. The programming won't work. What are you doing? ...
Nick Gammon's user avatar
  • 38.2k
2 votes

Barebones AVR - Connecting RESET pin to Vcc

According to the datasheet linked to by hcheung in their comment, datasheet, on page 41 it states "Figure 10-2. MCU Start-up, RESET Tied to VCC". I believe it would be OK to tie the pin ...
VE7JRO's user avatar
  • 2,565
2 votes
Accepted

ATmega328 drop-in replacement with more flash memory

Is there a ATmega328 drop-in replacement with more flash memory? No Alternatively, is there a board that has the exact dimensions and pins as an Arduino UNO, but with more flash memory? Yes, but it'...
KIIV's user avatar
  • 4,752
2 votes

I can't upload my sketch to Arduino Uno using avrdude

Finally I resolved the issue. I used arduino programmer as a parameter to avrdude ... -c arduino, but it can't work with the newer Arduino boards. It was written for the boards that use optiboot as a ...
Alexander Perechnev's user avatar
1 vote

Emulating Arduino Uno with QEMU: interrupts do not work

The documentation of qemu-system-avr says: [...] ATmega controller, which model is limited to USART & 16-bit timer devices, enough to run FreeRTOS based applications [...] It means the emulator ...
1 vote
Accepted

Is it safe to leave an ATmega328PB's RX and TX pins unconnected?

Look at these pins as any other I/O pin. There is nothing special about them, if you do not enable their special function, in your case USART0. This is what the data sheet says: 17.2.6 Unconnected ...
the busybee's user avatar
  • 2,002
1 vote

Can arduino be used in industrial projects?

I don't think there are any major problems with your proposal. The chips themselves will have documented limitations (specifications) that you would need to be aware of. I think you would find that ...
Nick Gammon's user avatar
  • 38.2k
1 vote

Can arduino be used in industrial projects?

You don't talk about Arduino hardware. Your concern is the Arduino IDE. Which is a lawyer's licensing topic. Might depend on the libraries you plan to use. And whether you want to hide the fact you're ...
DataFiddler's user avatar
  • 1,045
1 vote

interface pcf7991at to arduino

The communication between MCU (Arduino) and IC (PCF7991AT) can work at any frequency (like SPI or I2C). The 125khz antenna frequency is generated in the IC internally. But you need to set the divider ...
Jorik W's user avatar
  • 11
1 vote

USART, SPI or Bit-Bang for the continuous transfer of bytes without inserted extra bits

The SPI peripheral on the ATMega328 cannot continuously send data without a brief pause after every byte, as it does not sample the input buffer immediately after clocking the last bit, no matter what ...
Scott's user avatar
  • 11
1 vote

Low-byte fuse programming of ATmega328 on Arduino Uno

Do you have another Arduino? If so, check this video and you can set the fuses with AVRDUDESS. Be careful: if you set the fuses the wrong way you kind of "brick" the chip, and depending on ...
Nuno Santos's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible