5 Wemos Mini shields with examples

In this article we look at five Wemos shields and will have examples of their usage. The Wemos mini is my favourite development board for the ESP8266 microcontroller. The shields we are looking at are the PIR Shield, Ambient light Shield, WS2812B RGB Shield, SHT30 Shield and the Matrix LED Shield.

Easy Module Shield for Arduino : 7 examples

The Easy Module Shield in my opinion is one of the best shields you can buy for your Arduino Uno, the shield consists of the following features Two pushbutton switches Two LEDs One RGB LED Infrared receiving module Light dependent resistor Buzzer Potentiometer DHT11 temperature and humidity sensor module LM35 temperature sensor Here is a picture of the shield, you can clearly see the various parts mentioned above. Due to the large amount of features listed above, you can create many examples and therefore this is ideal for…

6 micro:bit LED examples using the blocks editor

In this article we will introduce you to the JavaScript Blocks Editor for the micro:bit, we will create some simple examples for the micro:bit. The blocks editor makes it incredibly easy to create simple examples with no coding, you can also switch to Javascript and see the code version of the block examples which you create.

Arduino uno or nano : what to choose

A common question which crops up is should I choose an Arduino uno or nano for my projects First of all lets look at the classic Arduino Uno The Arduino Uno The Arduino UNO is the most famous of all of the Arduino boards.The Arduino UNO has 6 analog inputs and 14 digital I/O where 6 of them are PWM outputs. It uses a ATmega328 processor with 32kB flash memory. The clock speed of the Arduino UNO is 16Mhz and its size is 68.6mm x 53.3mm. One of the big positives with the Arduino Uno is that there are masses of shields that…

Random dice example for a codebug

A random dice example for a codebug Code Python # To run this code on CodeBug, visit: # # http://www.codebug.org.uk/learn/activity/66/tethering-codebug-with-python/#step585 # import codebug_tether from codebug_tether import (IO_DIGITAL_OUTPUT, IO_DIGITAL_INPUT, IO_PWM_OUTPUT, IO_ANALOG_INPUT) import random from codebug_tether.sprites import Sprite random_number = None codebug = codebug_tether.CodeBug() codebug.set_leg_io(0, IO_DIGITAL_INPUT); codebug.set_leg_io(1, IO_DIGITAL_INPUT); codebug.set_leg_io(2,…

Scrolling text on a Codebug

In this example we will display some of the scrolling text examples on a  codebug, these are easy to create Code Python # To run this code on CodeBug, visit: # # http://www.codebug.org.uk/learn/activity/66/tethering-codebug-with-python/#step585 # import codebug_tether from codebug_tether import (IO_DIGITAL_OUTPUT, IO_DIGITAL_INPUT, IO_PWM_OUTPUT, IO_ANALOG_INPUT) from codebug_tether.sprites import StringSprite codebug = codebug_tether.CodeBug() codebug.set_leg_io(0, IO_DIGITAL_INPUT); codebug.set_leg_io(1, IO_DIGITAL_INPUT);…

Happy or Sad face on Codebug

Lets press a button and then display a happy face with button A pressed and a sad face if button B is pressed Code Python Code # To run this code on CodeBug, visit: # # http://www.codebug.org.uk/learn/activity/66/tethering-codebug-with-python/#step585 # import codebug_tether from codebug_tether import (IO_DIGITAL_OUTPUT, IO_DIGITAL_INPUT, IO_PWM_OUTPUT, IO_ANALOG_INPUT) from codebug_tether.sprites import Sprite display = None display_1 = None codebug = codebug_tether.CodeBug() codebug.set_leg_io(0, IO_DIGITAL_INPUT);…

Magic 8 ball on a Codebug example

This is magic 8 ball running on a codebug CodeBug™ is a fun, engaging, entry level introduction to simple programming and electronic concepts to anyone, at any age. It is easy to program using the online interface, which features colourful drag and drop blocks, an in-browser emulator and engaging community features. It enables you to create your own games, clothes, robots or whatever other inventions you have in mind. Plugs onto Raspberry Pi GPIO as an add-on Starting point for Internet of Things devices Versatile I/O…