I recently got enthused to check out all of the sensors in my Elegoo 37 Sensor Kit (version 1) I bought 5 years ago. I suppose I should have checked them all out at the time because seven of the sensors, the ones on the red circuit boards, didn’t function at all. I’ve heard that …
Month: February 2022
A few years ago (I don’t remember exactly when) the US raised the tariff rate on Chinese electronics by a large amount, yet I never saw much or any change in price on Chinese Arduino clone boards. Until now. Looking at my favorite importer, Elegoo, their prices went up enormously this month. Most other clones …
I’ve previously shown that the SAMD21 is slower than the ATMega328P when accessing GPIO ports, however it does have a major advantage performing arithmetic. There’s quite an advantage to a 32-bit processor over an 8-bit processor. I was also interested in seeing the performance impact of using floating point, which is done in software on …
Here’s a topic relevant to both the new books I’m writing. Consider the following small program: char foo[] = {1, 2, 3, 4, 5, 6, 7, 8}; void setup() { Serial.begin(9600); while (!Serial); Serial.println(*(uint32_t *)&foo[0], HEX); Serial.println(*(uint32_t *)&foo[1], HEX); Serial.println(*(uint32_t *)&foo[2], HEX); Serial.println(*(uint32_t *)&foo[3], HEX); } void loop() { } If you run this on …