Month: November 2018

Python: Floating Point vs. Decimal

In our Arduino projects (programmed in C/C++), we often use a Raspberry Pi for collecting data, and the Python programming language. Math with floating point is inherently risky, because a decimal number does not store exactly in binary. in python,1.1+2.2 = 3.3000000000000003 not the 3.3 you might expect. we can force the result we are …

Python: Floating Point vs. Decimal Read More »

Why can’t I upload to my Arduino Nano?

For all of you out there with Chinese NANO clones, or older Arduino NANO’s, there has been a recent change. The upload baud rate has been bumped up from 57600 to 115200, and that causes a upload error. avrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf6 The solution …

Why can’t I upload to my Arduino Nano? Read More »