TiLDA MK3

From EMF Badge
Jump to navigation Jump to search

Using your badge

Assembly

ToDo: How to attach screen and battery

Basic usage

After you have assembled your badge you can just use the tiny switch at the bottom of the screen to turn your badge on. Alternatively you can use any USB power source. If you turn your badge on for the first time (or if for some reason it has reset itself) you will get some on-screen information while we try to download the newest set of software.

If at any point you want to restart your badge you can just press the reset button at the back.

ToDo: Explain Home Screen

ToDo: Explain App Library

ToDo: Explain how to change your name

WiFi

Your TiLDA Badge has built-in wifi support. It should all just work if you're at the campsite, but if you're on your own network you might have to tell the badge about it. For more information please have a look here: WiFi

Charging

The badge charges via a microUSB socket, and takes about 2-3 hours for a full charge. The red charge LED next to the USB connector will extinguish when charging is complete

Nothing works! Help!

Don't worry, you can always "factory reset" your badge. Please follow these instructions: Resetting

Hacking your badge

One of the main goals of TiLDA is to make hacking it as easy as possible. We even want you to share your results! All you need to do so is a computer with USB and your badge. So sit down and get comfy.

The badge itself runs code written in the computer language Python which is run by a bit of software called Micropython.

If you want to get going and write your own code (of course you do!) start here: How to get started

The TiLDA badge supports all the default Micropython libraries and their documentation is an excellent starting point to get going. There are however some additional features we have added to the standard functions, so please have a look at TiLDA MK3/documentation for functions related to the WiFi and the LCD screen.

If you're already familiar with all this you can jump right into the topic of Apps. Apps can be shared via the EMF App Library or by copying files of and on via USB. If you want to know more about how this works go to TiLDA MK3/apps

In case you're more interested in what makes the hardware tick directly and your confident with C++ and microprocessors the you can go deeper and work directly on the micropython code that runs TiLDA: How to build the firmware from scratch

Badge API

See the following links for help and examples

- Microcontroller peripherals [1] (Timers, PWM, serial etc)

- uGFX (screen library)

- RTC (real time clock)

- ADC (analogue reading)

- Timer

Some ideas

- IRC relay

(feel free to add additional ideas, and create links new wiki pages to on-going projects, perhaps someone will want to contribute)

Badge hardware