Christmas Eve is finally here and we opened our bottle of Bailys Irish Cream and enjoyed some on the rocks. Jaidan is looking forward to opening presents tomorrow morning, as is Thavorn.
I have devoured the turles that my sister Elaine bought for me. They never last very long and Thavorn helped a little.
Ontario enters into a 28 day lockdown on boxing day, mainly because the GTA area (Toronto) can't seem to control themselves or just don't give a shit. They are the same fools that keep electing Trudope.
Here in Ottawa it is 8 degrees with rain tomorrow so it appears we will not be getting a white Christmas.
That's it for now, it is zoom for Christmas tomorrow, and I wish a Merry Christmas to all. Ho, ho, ho :-)
Todays' song is: Bang ... AJR .. I love this song :-)
It is the 23rd of December and I am happy and upbeat getting ready to enjoy Christmas in Canada with my Thavorn and Jaidan. The presents were bough, wrapped, and placed around the tree 2 weeks ago. Ready set go :-)
My friends still in Thailand are enjoying the weather and the night life and beach life. I will get back their eventually, but on my own terms, no some terms that the Thai government comes up with.
Jaidan's major Christmas present is a Nintendo Switch which I will probably enjoy as much as he will.
Jaime will drop up some presents on Christmas eve and pick up some presents. Her last present arrived via Canada Post on Monday so everything is good to go. Ann and Bill will visit Elaine on Christmas day which should be enjoyable for the 3 of them.
We have been babysitting Kali, Jordan's dog over the past 24 hours and Jaidan has enjoyed being kali's shadow rather than mine. The only down side is Kali likes to crap on the floor :-(
Shaun is keeping me entertained with his travel to Pattaya. I do miss Pattaya and its nightlife.
At the start of the pandemic Thavorn and I were building Lego cars and I was motorizing them with controllers bought from Hungary. These controllers were a crowd funding project and they work quite well, but by the time they arrive in Canada they are $150!
These controllers, Buwizz and sBrick communcate with the lego car via bluetooth. Time for some research.
I studied electronics in High School as part of a 5 year science and tech stream that is unfortunately no longer offered. Too bad, it was a great program. My interest in electronics and single board computers and lately, microcontrollers has continued.
The good news is there are lots of inexpensive options for hardware and there are lots of videos and blogs on the net to help you. Of particular interest is Adafruit a company started by Ada, a grad of MIT. She is really interesting and her company makes quality components backed by great learning docs.
I decided to buy their circuitplay ground that is used by many schools for STEM education. My second choice would have been the the BBC Microbit. The cdn cost was about $35. I added the circuit crickit at about another $35 but it is really not needed but seeing schools were pairing them with the playground to build robots I thought I would look at it.
Here is the crickit with the playground bolted on top.
To show the size, compared to an American quarater.
The cricket can be bought with a BBC micobit slot or an Adafruit feather slot for more experienced builder. But as mentionned before the playground and many other lower cost boards will work as well.
Most electronic cicuits utilize 3.7 to 5 volts DC power, but Lego used 9 volts for their motors and cicuits. You can always run the motors on 5 volts but that is about.6 of their capacity (speed).
So the hunt began for something that could be used to run my leo motors at full (or perhaps more) power. The legacy and populat moule selling for about $6 Canadian is the L298n module.
The big problem with this module is there is a 2 volt loss in the cicuitry so the 9 volts you feed it to power the motors gets cut back to 7 volts so that sucks. The other downside is that heat sink is there for a reason as it gets hot. BTW, according to the law of conservation of energy, that is where your 2 volts disappears to. There has to be a better circuit. More research!
The solution I found was the Maker drive by Cytron (a Malysian componay) that sells for $5.99 CDN. BTW I buy most of my stuff from https://elmwoodelectronics.ca/ out of Toronto and they are fantastic, with four day shipping. I also buy from Amazon.ca.
The Maker Drive is excellent, smaller, test buttons, led indicator, and best of all, very little voltage drop. Note the absence of a heat sink.
I have always advocated that a day that goes by without learning something new is a wasted day and when playing around with microcontrollers there is always lots of learning.
Here is a pic of my Lego leaning platform. The wiring will be cleaned up in the near future but it is fully functioning. The playground and crickit have much more capability, including many sensors and the ability to play wav or mp3 files.
Crickit
Playground
The Mule
The Lego motors are a L-motor (drive) and a servo motor (steering).
In the near future I will change the electronics substituting one of these for the playground and crickit to make everything smaller. I almost forgot, I program the modules in python, but there are visual ides such at Microsoft MakeCode thay are extremely easy to program with.
It is almost a month since my last post and it is about time to report in. Covid is still with us but the vaccines have started to arrive in Canada and though it will take months to get around to everybody, there is light at the end of the tunnel.
In the meantime, Thavorn and I have walked in the woods on a snowy day and I have started a new hobby, learning about microcontrollers and teaming them up with some of my Logo cars. Learning is fun.
Christmas is just 9 sleeps away and the presents are bought and under the tree. Jaidan is getting a Nintendo switch and some games. Thavorn is getting a couple of Coach purses and a new Hua Wei watch. Jaidan will inherit her older Hua Wei watch as he is enjoying learning to tell time. Papa does not need any presents except for his new microcontrollers which he is already playing with. It is Thavorn's and Jaidan's first Christmas and they enjoyed decorating the tree and our looking forward to Santa arriving.
Meanwhile, in Thailand Santa has already arrived :-)