Games Night Event at TOG

games-9Don’t forget this Friday Tog will be hosting a series of short talks about games.

This will be followed by a night of gaming (we will have Board Games, Mame & Xbox consoles, you can bring your laptop and/or any other games). There will be spot prices and competitions run throughout the night.

games-4

 

We hope to SEE you ALL @ TOG on Friday the 30th of September, 6.30pm arrival for 7pm kick-off!

Project: Seven Segment Display and an Arduino Mega

Seven Segment Display standing on a table

Everyone has one in their house, a clock on your VCR you never set, a timer on your cooker or your microwave, a digital clock. The seven segments of LEDs that light up to form numbers are made up of Seven Segment Displays.

There are all sorts of projects you might want to add these to, but this is a basic introduction with one number.

The pins on these displays may differ, on mine, the first pin did nothing and the middle pin on the top and bottom connected to ground. Each of the other pins was a positive for a different segment on the display.

Seven Segment Display in Breadbord

First things first, look up the data sheet of your display and figure out how much current and voltage it should take, no point burning it out. You will probably need to hook up a resister for safety.

I’m using an Arduino Mega, but you could do it with any Arduino boards or a Raspberry Pi.

Put the display in a breadboard so each pin can be powered separately and first wire up the ground with a resister, then connect it to the Arduino ground.

Then, connect a jumper line to the 3.5V on the Arduino and connect it to each pin on the Display in turn. If everything works, each segment should light up as you power it up.

Seven Segment Display in Breadboard, being tested

To make it more interesting, wire up each segment to a digital pin on the board. For Arduino, I used pins 1-7, which is a bit interesting.

Seven Segment Display with all pins connected to Arduino

Firstly, you can’t connect pin 0 or pin 1 to anything while the sketch is uploading to the board. Once the program is uploaded, you can then connect these pins.

I used pins 1-7, and connected them to the display, skipping the ground pins.

The below code has 2 parts, and is derived from the blink program.

 

// the setup function runs once when you press reset or power the board

void setup() {

pinMode(7, OUTPUT);

pinMode(6, OUTPUT);

pinMode(5, OUTPUT);

pinMode(4, OUTPUT);

pinMode(3, OUTPUT);

pinMode(2, OUTPUT);

pinMode(1, OUTPUT);

// for each pin we want to use, we need to set it to output.

}

// the loop function runs over and over again forever

void loop() {

digitalWrite(7, HIGH); // turn on whatever segment is connected to pin 7

digitalWrite(6, LOW); // turn off whatever segment is connected to pin 6

digitalWrite(5, HIGH);

digitalWrite(4, LOW);

digitalWrite(3, HIGH);

digitalWrite(2, LOW);

digitalWrite(2, HIGH);

delay(4000); // wait for a 4 seconds

digitalWrite(7, LOW); // now whichever segment is connected to pin 7 will turn off

digitalWrite(6, HIGH); // now whichever segment is connected to 6 will turn on

digitalWrite(5, LOW);

digitalWrite(4, HIGH);

digitalWrite(3, LOW);

digitalWrite(2, HIGH);

digitalWrite(1, LOW);

delay(4000); // wait for 4 seconds

}

The display is really simple, it is made up of seven LEDs and you can turn on and off each part at the same time to from numbers. This is a basic introduction, you can add more displays for more advanced features.

Games Night Event at TOG

games-10

Tog will be hosting a series of short talks about games. Topics will include:

  • Introduction to game design
  • Process of game creation
  • Building interactive games
  • Coding games (tutorials)
  • New games on the market, hot Kickstarters
  • Use of games in education

This will be followed by a night of gaming (we will have Board Games, Mame & Xbox consoles, bring your laptop if you wish). There will be couple free to enter competitions run throughout the night.

Talks will start at 7pm on Friday 30th of September. Please arrive at 6.30pm.

games-4

Any speakers who are interested in giving a talk please contact us at info@tog.ie or speak to Izzy or Diarmaid in the space.

Each speaker will have 5 to 15 minutes available, although when necessary longer time slots can be assigned.

We hope to SEE you ALL @ TOG on Friday the 30th of September, 6.30pm arrival for 7pm kick-off!

Duck Resistance is Futile

dux6dux1

 

 

 

 

 

 

 

 

 

 

I decided to paint a row of ducks. It’s a work of art in progress. It has a definite meaning. The order of the colours should be a clue. Anyone like to guess what it is?

dux5

dux3dux4
dux2
 

 

Project – Green Screen in Tog

There is now a green screen on the wall in the back. Please feel free to use it.
green2

 

 

 

 

 

 

 

 

 

 

It’s basically some sheets of plastic, painted with matt green paint that was lying around in the space. It has been tested with a Samsung Galaxy Note 3 camera and iPhoto and it blends seamlessly. No shadows or marks blended into the final product.

To get the best results use a good quality digital camera that doesn’t bleed colours. Using an old JVC DV tape camera from 2004 which bled around the edges  left a halo in the final product. A still camera with movie facility with automatic exposure settings  totally messed up the green screen effect.
green1green4

 

 

 

 

 

CoderForge @ Tog – Updated

logo-text-188x56

NOTE: This has moved to every second Monday night to coincide with Coder Group Night. The first night will be on June 27th 2016.

 

Starting May 11th, until further notice, Tog will be hosting CoderForge nights every Wednesday from 7-9:30 pm.

CoderForge hopes to provide a weekly space for people interested in learning to code. With the current technology available to us it is perfectly feasible to trade as a coder whilst you learn your full skill set. No different to any other apprenticeship. Also using this method gives you the chance to see if coding or software development is something your interested in, it gives you a chance to test the market.

These `forges` also hope to balance some of the shortfalls to the method of training used within some of our educational institutions today, which always appear to be behind the technology that is required by current market forces. At a coder forge the format is flexible enough to change from `nodejs` to `php` or from `python` to whatever the next new big thing is. It is entirely up to those that are present. The coder forges are modeled on the popular `coder-dojo` but with a focus on adults rather than kids, and thus an ability to learn where to find work online and in the locality can also be introduced.

Coder Forge Meetup page.