New
#1541
According to the video the Crickit Hat for the Pi will support CircuitPython. Not 100% sure how that compares to full Python? I see the MU editor mentioned. Thats how I code for my BBC Microbit. Will have to wait for some better detailed info as to how that will exactly work with the crickit? For the Microbit, the Mu converts your code to a hex file and flashes that to the Microbit, its a micro controller not a computer per say. All the other Crickits connect to micro controllers.
New Products 11/7/18 Featuring #CRICKIT HAT for #RaspberryPi @adafruit #adafruit - YouTube
What is CircuitPython? | Welcome to CircuitPython! | Adafruit Learning System
EDIT: I think the way this will work is you do your code up in Python the MU editor, then save the PY file and run that from the Pi in Raspbian. I hope anyway.
Yeah, its over my head too sometime. The BBC MicroBit is a micro controller. Like an Arduino, or Feather etc. It doesn't run an OS, it runs machine code. Kind of like your smart TV, etc. Or like the BIOS in your PC, best anolagy I can think of at this time as I'm .
In this case you write the code and then flash it to its memory. The MU editor lets you code it in CircuitPython, but save it as a hex file that the Micro controller can deal with. You can actually save both. I save any Python I code for my Microbit as a PY file. I can then latter on just drag and drop that into the Mu editor to edit etc. The upload option puts a hex file on the Microbit over its USB connection. It shows like its a thumb drive. Sort of kind of. The hex file is kilobits in size. Teeny tiny compered to the PY file.
I'm leaning heavily towards getting an Arduino to play with. Not exactly sure which one though? One advantage to an Arduino, over a Raspberry Pi is no underlying OS to worry about. No having to properly shut down etc. Killing the power will not corrupt things. Your running code is stored in flash rom, eeprom. It has disadvantages too, depending on what your intended use is. The big advantage is its usually only doing one or two things, with nothing else running in the background. Its just running your machine code over and over and over. =)
i take back a comment on Adafruit and there support ,just found there Github site .downloaded lots of sound files to use with my Captive touch board and piano and drumhat ,nothing there yet for the cricket hat.
Adafruit Industries · GitHub
Last edited by caperjack; 12 Nov 2018 at 16:23.
My Arduino is on the way. Two Arduino's actually, early Christmas present from Pimoroni. =)
I just noticed an Arduino Uno Rev 3, and the MRK IoT bundle were shipped to me free of charge. =)
A thank you for helping out on their forums. Me buying and recommending their products likely didn't hurt things either.
Phil casually asked me if there was anything I might want and I replied an Arduino might be fun to have a go at. Next thing I know one is in the mail.
https://shop.pimoroni.com/products/arduino-uno-rev3
https://shop.pimoroni.com/products/a...mkr-iot-bundle
I was going to order an UNO at some point anyway. Thats the one I think most first timers with Arduino would go for.
I was also looking at the MKR one. https://shop.pimoroni.com/products/a...eaders-mounted I think I have that one in my Wish List which is likely why its on the way.
Now I can order more Pi stuff for Christmas and not eat into my Pi budget with Arduino stuff.
EDIT: I think I just found the projects book that comes in the other kit, https://bastiaanvanhengel.files.wordpress.com/2016/06/arduino_projects_book.pdf
Bonus. I have all those bits in the IoT kit. =)
I think I'm going to try and put this stuff away until Christmas. And not mess with it until then. Other than a quick test to see that Arduino's are working.
Last edited by alphanumeric; 14 Nov 2018 at 15:06.
I have several kits with servo's, LEDs resistors etc. I ordered at least two of the Explorer pHat Pro parts kits. https://shop.pimoroni.com/products/e...-pro-parts-kit I wanted them for my Micro Bits actually. The solderless breadboards mostly, to plug these into, https://shop.pimoroni.com/products/b...-for-micro-bit. And the other bits, its all good for use with a Raspberry Pi, or a Micro-Bit, or an Arduino. You just have to be mind full of which one uses 3.3V logic and which ones use 5V logic.
The Arduino Uno uses 5V logic. But the Arduino MKR uses 3.3V logic like the Micro Bit and Pi do. Playing around with the Arduino should hopefully get me back to tinkering with my Micro Bit again. They are both Micro controllers. Same thing but different lol.
Last edited by alphanumeric; 20 Nov 2018 at 04:50.