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 …
Just so you know I’m still around. I spent last month (and maybe this month) goofing off, which I feel entitled to do at my age. But I have been thinking, at least, about writing, and have been adding to and rearranging by book outlines. Financial sense tells me that the book about the SAMD21 …
I have done a few things related to the books. There is recently discovered errata for Far Inside The Arduino and Still Far Inside The Arduino. The errors are mild enough (?) that I’m not producing a revised edition at this time, but if you own one of these books go to the linked page …
I have been spending an hour a day for most of the past year learning Spanish for various reasons. While programming languages come easy to me, spoken languages do not. Anyway, I happened to come across an on-line course in Automata Theory offered by one of my Alma Maters, Stanford. I’ve always been curious about …
I came across this file: Embedded C Programming.scriv sitting forlorn in my folder of book folders, seeming not deserving of a folder of its own. Six years ago before I retired I had started to write a book on embedded programming. I was teaching a course on microcontrollers that used assembly language with C being …
That SAM microcontroller is interesting. The 32-bit ARM core is basically oriented toward computer use and not controller use, so the instruction set isn’t really quite right for the job. Frankly the whole chip is overly complicated. Some years ago I used a 32-bit ARM core microcontroller from another vendor on the job. I’m not …
The AVR-based Arduino boards use a Counter/Timer overflow interrupt to implement the system tick that is used in the micros(), millis(), and delay() functions. The SAMD21-based Arduino boards use the SysTick counter to implement the same functionality, but seeking out how it does it is a bit move involved. Looking at things top-down, this functions …
Very pleased to look on Amazon and see this: It is the number one new release in Digital Design, like Far Inside The Arduino got two years ago. Doesn’t really mean much though, just like the last time. What I really need are purchasers of my Arduino books to write reviews, especially if you like …