But the small size does come with some limitations. In the case of the Trinket the number of pins, lack of USB serial and just 2 PWM pins and one analogue pin. However for small projects it does have a good price and capability.
I’m also used to working in higher level languages such as C# at work so swapping back to C always seems to throw in some gotchas.
So when I heard about the Trinket M0 that got my attention. Adafruit have swapped the ATTiny85 chip with a ATSAMD21E18 which has a whole load more processing power. That allows them to run a subset of Python on the board called “Circuit Python”. This processor has some cool features such as touch sensors, analogue inputs possible on all 5 I/O, USB serial and the ability to run DotStar RGB Leds such as the one attached to pins 7 and 8. It has a lot more ram that the predecessor but that’s quickly used up by libraries.
The process for getting code on the board is a bit different too from the Arduino way. The Trinket appears as a disk drive on your system and you just copy the code and any supporting libraries onto the disk. The Trinket then auto resets and runs your code. However if you’ve used things like the Microbit this should all seem very familar.
The recommended editor is Mu. This is a very minimalist editor with chunky buttons. I’m not a big fan of this style but the board also supports Visual Studio Code and PyCharm. So I’ll be using VSCode for my projects.
So far I’ve used this board on a simple project called “FizzBuzz” which was inspired by the BenHeck team on Element14. I’ve successfully wired up an LCD display and some buttons, so it’s mostly coding to do now to make the game work.
The Trinket M0 does show a lot of promise and I’d definitely recommend it over the previous generation of Trinkets. The option of coding in C or Python does mean that you can use it for a range of projects and the USB capabilities mean that it could become a joystick or keyboard too.
Mad Morda I spotted Mad Morda via her application to host Element14’s “The Ben Heck Show”. She’s been making electronics, mods and 3D printed projects and publishing on youtube for the last year. I wish her the best of luck
Are bowls food safe? Jimmy Shaw brought up an interesting discussion on twitter the other day about where to draw the line for advising viewers. My thought was that this specific item should have been mentioned. The reasoning is that
The other day I was amused by an article in the paper that we were going to be forced to collect our recycling in 4 different boxes, this sounded like total rubbish so I thought I would investigate further.
There are a lot of DIY work plans available online these days but this time around we wanted to round up some project ideas that are unique in their own ways. Here is a list of projects to make your
This weekend I visited the Victoria and Albert museum. The V&A was paid for from the profits of the Great Exhibition of 1851. That exhibition showcased the latest developments in industry and art. So it seems fitting that the V&A
A bandsaw is one of the most precise tools that you can use for cutting wood and metal. Operating a bandsaw is relatively simple, you just place your chosen material on the saw table, set an appropriate speed for the
The Luggage is a fictional object that appears in several of the Discworld novels by Terry Pratchett. It is a large chest made of Sapient Pearwood (a magical, intelligent plant which is nearly extinct, impervious to magic, and only grows
Next Page »