background image

• 3x AAA batteries for power

The brains behind the Roshamglo is an ATtiny84, a light weight Arduino 
compatible microcontroller. The ATtiny84 comes with the following:

• 8kB of flash memory for our program (~6kB after the bootloader is 

installed)

• 512B of SRAM, which stores our variables used in our program
• 512B of EEPROM
• 12 IO pins MAX (the Roshamglo breaks out 9 of these pins)
• 10-bit analog to digital converter which can be used on 8 pins

For details about what each pin is able to do, refer to the table below.

Pin

Analog or Digital

Additional Uses

Roshamglo Uses

0

Both 

Analog Reference

5-way switch down

1

Both 

--

5-way switch right

2

Both 

--

5-way switch up

3

Both --

IR 

Receiver

4

Both 

SCK, SCL

5-way switch left

5

Both MISO, 

PWM

IR 

LED

6

Both 

MOSI, SDA, PWM

5-way switch center

7

Both PWM

Green 

LED

8

Digital PWM

Red 

LED

Missing from the list, are digital pins 9 and 10. The bootloader, 
uses these two pins for USB programming.

Each of these pins have been broken out to edge of the board to make 
customization easy! If you would like to use any of these pins for something 
other than what it’s currently connected two, we provided jumpers that can 
easily be cut with a hobby knife. The only pins that do not have a jumper on 
them are the pins used for the 5-way switch. The pins for the switch use the 
ATtiny’s internal pull up resistors, so as long as the switch is not closed, the 
pin can be configured in any way you’d like without having to cut traces.

Page 3 of 7

Содержание Roshamglo Badge Kit

Страница 1: ...ich you can upload to the scoreboard station and see how you re doing against other people at the event Required Materials To follow along with this hookup guide you will need the following Solder Lead Free 15 gram Tube TOL 09163 This is your basic tube of unleaded Pb free solder with a 60 40 no cl Hakko FX888D Soldering Station TOL 11704 For over 50 years Hakko has been producing superior quality...

Страница 2: ...s IR Communication This tutorial explains how common IR communication works as well as shows you how to set up a simple IR transmitter and receiver What is an Arduino What is this Arduino thing anyway How to Solder Through Hole Soldering This tutorial covers everything you need to know about through hole soldering How to Install an ATtiny Bootloader With Virtual USB With this you will be able to u...

Страница 3: ...ht 2 Both 5 way switch up 3 Both IR Receiver 4 Both SCK SCL 5 way switch left 5 Both MISO PWM IR LED 6 Both MOSI SDA PWM 5 way switch center 7 Both PWM Green LED 8 Digital PWM Red LED Missing from the list are digital pins 9 and 10 The bootloader uses these two pins for USB programming Each of these pins have been broken out to edge of the board to make customization easy If you would like to use ...

Страница 4: ...needed is to solder in the battery clips To insert the battery clips you ll need to turn the board to the side with the pictures of the batteries and push the battery clips into the holes Make sure that the metal tab on the ends are facing away from the center of the board Make sure the battery clips aren t touching each other To make sure they won t short against each other make sure the clips si...

Страница 5: ...green win Alternating red and green tie Blinking red see explanation below Fading timeout Try standing closer to your opponent and aiming your USB connector at their USB connector A blinking red LED could mean one of two things One possibility is that you have played against an opponent too many times Each controller has a unique ID and your Roshamglo will not function with the same opponent after...

Страница 6: ...There are three other modes that control the LED those LED patterns are described below Playing a game LED Color Meaning Blinking Green Transmitting IR Solid Green You won Solid Red You lost Alternating Red and Green It s a tie Blinking Red Case 1 Played this person too many times Case 2 Saved score is too high Upload score to reset Checking your score LED Color Meaning Blinking Green Each blink r...

Страница 7: ...IR receivers and transmitters included in the IR Control Kit Boss Alarm Build a Boss Alarm that alerts you of anyone walking into your office and automatically changes your computer screen ZX Distance and Gesture Sensor Hookup Guide How to connect and use the SparkFun ZX Distance and Gesture Sensor with an Arduino Roshamglo Project TV B Gone Turn your Roshamglo board into a nearly universal TV pow...

Отзывы: