Skip to main content

Posts

Showing posts with the label eggbit

Top 10 viewed posts 2021 on the Robot and Physical Computing Blog

Speech Recognition in Scratch 3 - turning Hello into Bonjour! The Raspberry Pi Foundation recently released a programming activity Alien Language , with support Dale from Machine Learning for Kids , tha... PS3 Controller to move a USB Robot Arm Guest Blogger Hiren Mistry, Nuffield Research Placement Student working at the University of Northampton. How to use a PS3 Controller to... Scratch Robot Arm It is not physical but CBiS Education have release a free robot arm simulator for Scratch.  Downloadable from their site  http://w... Tinkercad and Microbit: To make a neuron The free online CAD (and so much more) package Tinkercad  https://www.tinkercad.com/ under circuits; now has microbits as part of the list ... Escape the Maze with a VR robot - Vex VR You don't need to buy a robot to get programming a robot, now there are a range of free and relatively simple to start with robot simula... Easy, Free and no markers Augmented Reality - location based AR For a few years...

Hug Avoider 4 - micropython, Eggbot and speech

The last of the posts on the Hug avoider and the 4Tronix's Eggbit 4Tronix's Eggbit (in fact I bought three of them  https://shop.4tronix.co.uk/collections/bbc-micro-bit/products/eggbit-three-pack-special   :-) recently) is a cute add-on for the microbit. In three previous posts I looked at eggbit using microcode to  produce a hug avoider - warns when people at too close. - https://robotsandphysicalcomputing.blogspot.com/2021/12/hug-avoider-2-4tronix-eggbit.html -  4tronix Eggbit - cute and wearable - hug avoider Hug Avoider 3 - experiments with Python and 4Tronix Eggbit In this post using the buttons and adding (via Microbit V2 with its speaker) simple speech 1. Buttons Pins for the buttons pin8 - Green button pin12 - Red button pin14 - Yellow button pin`6 - Blue button     if pin12.read_digital()==1:         #Red Button         blank_it()     if pin8.read_digital()==1:         #Green but...

Hug Avoider 3 - experiments with Python and 4Tronix Eggbit

via GIPHY 4Tronix's Eggbit (in fact I bought three of them  https://shop.4tronix.co.uk/collections/bbc-micro-bit/products/eggbit-three-pack-special   :-) recently) is a cute add-on for the microbit (see above).  In two previous posts I looked at eggbit using microcode to  produce a hug avoider - warns when people at too close. - https://robotsandphysicalcomputing.blogspot.com/2021/12/hug-avoider-2-4tronix-eggbit.html -  4tronix Eggbit - cute and wearable - hug avoider This post replicates  some of this, but this time using Python and shows the stages of the build Get the ultrasound to find the distance; Produce smile and surprise on the eggbit's 'mouth'; Produce rainbow on the neopixels or all the pixels turning red; Bring it all together so if the person is too close, less than 30cm it reacts.   1. Ultrasonic detection Probably the most challenging bit of this was getting the ultrasonic distance measrement working. It actually is not that difficult; e...

4tronix Eggbit - cute and wearable - hug avoider

/ The ever-brilliant 4tronix have produced Eggbit https://shop.4tronix.co.uk/collections/microbit-accessories/products/eggbit;  a cute, wearable device, with ultrasonic sensors, buttons and LEDs for the microbit - I couldn't resist. Programming is through Makecode and an extension is available, to download and install. To use the extension, at the time of writing this, go through the add extension option and use the search box to add it  from  https://github.com/4tronix/EggBi t So what to do with it? Inspired by social distancing  (or not being a 'hugger')  created it so that when people get too close the RGB LEDs go out - simple but fun. The distance is set at 20cm for testing. The code is shown below. It was fun to do and perhaps swapping the settings around so the lights come on when people at too close might be more fun or using sound. This is a lovely device to play with and the look encourages play - just look how cute it is! The price is reasonable and th...