TiLDA MK3: Difference between revisions
Marekventur (talk | contribs) |
Marekventur (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
== Hacking your badge == | == Hacking your badge == | ||
Revision as of 20:21, 25 July 2016
Using your badge
- Explaining buttons
- Battery
- Hardware
- WiFi How to set up the badge for your wifi and what to do if it doesn't work
- Resetting your badge if files become corrupted after editing.
Hacking your badge
One of the main goals of this years TiLDA is to make it as easy as possible to hack it and share your results. All you need to do so is a computer with USB and your badge.
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 "Widgets". Widgets are equivalent to mobile phone apps and they can be shared via the EMF Widget Store. If you want to know more about how this works go to TiLDA MK3/widgets
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
Hacking your badge
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)