TiLDA MK3: Difference between revisions

From EMF Badge
Jump to navigation Jump to search
Line 34: Line 34:
If you want to get going and write your own code (of course you do!) start here: [[TiLDA MK3/Get Started|How to get started]]
If you want to get going and write your own code (of course you do!) start here: [[TiLDA MK3/Get Started|How to get started]]


The TiLDA badge supports all the default Micropython libraries and their [http://docs.micropython.org/en/latest/pyboard/ 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|the TiLDA Micropython API Documentation]] for functions related to the [[TiLDA MK3/documentation/wifi|WiFi]] and the [[TiLDA MK3/documentation/ugfx|LCD screen]].
For more information about the functions available please have a look at the [[#Badge API|Badge API]] section of this page.


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]]
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]]
Line 40: Line 40:
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: [[TiLDA MK3/build|How to build the firmware from scratch]]
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: [[TiLDA MK3/build|How to build the firmware from scratch]]


=== Badge API ===
=== Some ideas ===
See the following links for help and examples


- Microcontroller peripherals [https://micropython.org/doc/module/pyb/] (Timers, PWM, serial etc)
- IRC relay
 
- [[TiLDA MK3/ugfx|uGFX]] (screen library)


- [[TiLDA MK3/rtc|RTC]] (real time clock)
== Badge API ==
* [http://docs.micropython.org/en/latest/pyboard/ documentation] - General Micropython libarary
* [[TiLDA MK3/ugfx|uGFX]] - The TiLDA LCD colour screen
* [[TiLDA MK3/documentation/cc3100|CC3100]] - The wifi chip
* [[TiLDA MK3/rtc|RTC]] (real time clock)
* [[TiLDA MK3/adc|ADC]] (analogue reading)
* [[TiLDA MK3/timer|Timer]]
* Microcontroller peripherals [https://micropython.org/doc/module/pyb/] (Timers, PWM, serial etc)


- [[TiLDA MK3/adc|ADC]] (analogue reading)


- [[TiLDA MK3/timer|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)
(feel free to add additional ideas, and create links new wiki pages to on-going projects, perhaps someone will want to contribute)

Revision as of 20:52, 25 July 2016

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

For more information about the functions available please have a look at the Badge API section of this page.

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

Some ideas

- IRC relay

Badge API

  • documentation - General Micropython libarary
  • uGFX - The TiLDA LCD colour screen
  • CC3100 - The wifi chip
  • RTC (real time clock)
  • ADC (analogue reading)
  • Timer
  • Microcontroller peripherals [1] (Timers, PWM, serial etc)


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

Badge hardware

TiLDA comes with a long list of very useful hardware. Some might be obvious, but some are a bit hidden.

  • Colour LCD screen 320x240
  • Joystick and A/B/Menu Buttons
  • Wifi (cc3100)
  • Accelerometer
  • Compas
  • Buzzer
  • Battery
  • WS2812B aka "Neo Pixel"
  • MicroSD slot