New answers tagged arduino-nano
0
votes
LoRa Ra-02 Module begin and beginPacket not working in Arduino Nano
Have you set the pins properly? Try doing:
LoRa.setPins(csPin, resetPin, irqPin);// set CS, reset, IRQ pin
There is a problem with the way your SX1276 is connected to the board, which is why .begin(...
2
votes
Accepted
Confusing stepper reaction to increase in delayMicroseconds()
With dt = 500 you get one step per millisecond. This is probably too fast for the motor/driver combination. When the driver tries to execute another step, while the previous is not fully executed by ...
10
votes
Accepted
Arduino Nano is performing really slowly, even though the calculations are simple and there are no delays
I put in some timing into your code. As a tip for you and others who may want to time code, here is a simple way of doing that ...
Timer class
Define a timer class as follows:
class timer
{
...
1
vote
Using Internal Timer Interrupt to Read Analog Sensor
First, read Nick Gammon's answer: all his points are perfectly valid. He
notes that the serial prints can be quite slow. And indeed, as I counted
the characters, I find that the prints should take at ...
0
votes
Using Internal Timer Interrupt to Read Analog Sensor
For one thing, currentPosition is not declared volatile so the compiler may be keeping that value in a register, which is not consulted inside the ISR.
I'm also concerned about all the serial prints ...
Top 50 recent answers are included
Related Tags
arduino-nano × 1288arduino-uno × 174
serial × 102
power × 77
arduino-ide × 70
sensors × 65
programming × 62
i2c × 62
led × 50
esp8266 × 45
arduino-mega × 41
bluetooth × 40
usb × 39
nrf24l01+ × 39
spi × 36
c++ × 31
atmega328 × 30
servo × 29
motor × 28
interrupt × 28
softwareserial × 28
battery × 26
lcd × 25
hc-05 × 25
pwm × 24