<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://badge.emfcamp.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Philcrump</id>
	<title>EMF Badge - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://badge.emfcamp.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Philcrump"/>
	<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/wiki/Special:Contributions/Philcrump"/>
	<updated>2026-04-18T12:00:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/Firmware_Update&amp;diff=353</id>
		<title>TiLDA MK4/Firmware Update</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/Firmware_Update&amp;diff=353"/>
		<updated>2018-08-30T17:12:47Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: Correct tilda-tools to tilda_tools.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TiLDA Mk4 is being actively developed. This doesn't just include changes on the python code (which can be updated via the Badge Store), but also for the firmware. Think of it as updating your operating system. Like an operating system update it's a bit more involved than just updating applications.&lt;br /&gt;
&lt;br /&gt;
Warning: You might potentially lose all your apps and settings.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
* A computer with USB and a cable to your badge&lt;br /&gt;
* A checkout of Mk4-Apps. See [[TiLDA_MK4/Badge_Store_Submissions| here]] for how to do that&lt;br /&gt;
* You need to have http://dfu-util.sourceforge.net/ installed&lt;br /&gt;
&lt;br /&gt;
You should also look up how to use [[TiLDA_MK4/tilda-tools|tilda-tools]].&lt;br /&gt;
&lt;br /&gt;
This is how to do it:&lt;br /&gt;
* Put your Badge into DFU mode. To do so press the joystick to the right (towards the screen) and quickly press reset while doing so. Release the joystick afterwards.&lt;br /&gt;
* Run the firmware update:&lt;br /&gt;
** OSX / Linux: Open a terminal, go to your Mk4-Apps folder and run &amp;quot;./tilda_tools firmware-update&amp;quot;.&lt;br /&gt;
** Windows: Todo&lt;br /&gt;
* Follow the onscreen information&lt;br /&gt;
* Don't forget to press the reset buttons once the firmware update was successful.&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=352</id>
		<title>TiLDA MK4/tilda-tools</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=352"/>
		<updated>2018-08-30T17:12:27Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: Correct tilda-tools to tilda_tools.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''tilda_tools'' is a toolchain for working with the micropython environment on the badge.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Python 3&lt;br /&gt;
* pyserial&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Clone the Mk4-Apps repo from https://github.com/emfcamp/Mk4-Apps/ (see [https://help.github.com/articles/cloning-a-repository/ Cloning a repository] for help). Alternatively you can download a ZIP file from the repository page. &lt;br /&gt;
&lt;br /&gt;
* Open a terminal in the Mk4-Apps/ directory. ''tilda_tools'' is in the root of this directory.&lt;br /&gt;
&lt;br /&gt;
== tilda-tools ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tilda_tools &amp;lt;options&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
-d --device  : serial interface (default: auto)&lt;br /&gt;
-s --storage : path to flash storage&lt;br /&gt;
&lt;br /&gt;
Usage&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
Reboot badge&lt;br /&gt;
$ tilda_tools reset&lt;br /&gt;
&lt;br /&gt;
Soft reboot badge and start specific app&lt;br /&gt;
$ tilda_tools reset --boot my_app&lt;br /&gt;
&lt;br /&gt;
Update files on the badge to match the current local version, restarts afterwards&lt;br /&gt;
$ tilda_tools sync&lt;br /&gt;
&lt;br /&gt;
Update files in folder(s) to match current local version&lt;br /&gt;
$ tilda_tools sync my_game shared&lt;br /&gt;
$ tilda_tools sync &amp;lt;pattern1&amp;gt; &amp;lt;pattern2&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute my_app after reboot&lt;br /&gt;
$ tilda_tools sync --boot my_app [&amp;lt;other sync parameter&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute a single file afterwards without copying it to the badge&lt;br /&gt;
$ tilda_tools sync --run some_other_file.py&lt;br /&gt;
&lt;br /&gt;
Sync a given app and execute it&lt;br /&gt;
$ tilda_tools app home_default&lt;br /&gt;
&lt;br /&gt;
Executes a single file on the badge without copying anything (Using pyboard.py)&lt;br /&gt;
$ tilda_tools run my_app/main.py&lt;br /&gt;
&lt;br /&gt;
Runs local validation (doesn't require a badge, but doesn't run unit tests)&lt;br /&gt;
$ tilda_tools validate&lt;br /&gt;
&lt;br /&gt;
Runs local validation and badge-side tests&lt;br /&gt;
$ tilda_tools test&lt;br /&gt;
&lt;br /&gt;
Update firmware on badge (warning, this will delete all settings etc. stored on the badge!)&lt;br /&gt;
$ tilda_tools firmware-update&lt;br /&gt;
&lt;br /&gt;
Setup wifi.json to be copied to the badge on every sync&lt;br /&gt;
$ tilda_tools wifi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/Firmware_Update&amp;diff=351</id>
		<title>TiLDA MK4/Firmware Update</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/Firmware_Update&amp;diff=351"/>
		<updated>2018-08-30T17:11:29Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: OSX Instructions should work for Linux too (tested ubuntu 18.04)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TiLDA Mk4 is being actively developed. This doesn't just include changes on the python code (which can be updated via the Badge Store), but also for the firmware. Think of it as updating your operating system. Like an operating system update it's a bit more involved than just updating applications.&lt;br /&gt;
&lt;br /&gt;
Warning: You might potentially lose all your apps and settings.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
* A computer with USB and a cable to your badge&lt;br /&gt;
* A checkout of Mk4-Apps. See [[TiLDA_MK4/Badge_Store_Submissions| here]] for how to do that&lt;br /&gt;
* You need to have http://dfu-util.sourceforge.net/ installed&lt;br /&gt;
&lt;br /&gt;
You should also look up how to use [[TiLDA_MK4/tilda-tools|tilda-tools]].&lt;br /&gt;
&lt;br /&gt;
This is how to do it:&lt;br /&gt;
* Put your Badge into DFU mode. To do so press the joystick to the right (towards the screen) and quickly press reset while doing so. Release the joystick afterwards.&lt;br /&gt;
* Run the firmware update:&lt;br /&gt;
** OSX / Linux: Open a terminal, go to your Mk4-Apps folder and run &amp;quot;./tilda-tools firmware-update&amp;quot;.&lt;br /&gt;
** Windows: Todo&lt;br /&gt;
* Follow the onscreen information&lt;br /&gt;
* Don't forget to press the reset buttons once the firmware update was successful.&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=350</id>
		<title>TiLDA MK4/tilda-tools</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=350"/>
		<updated>2018-08-30T17:06:26Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: Remove python3.7 note.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''tilda-tools'' is a toolchain for working with the micropython environment on the badge.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Python 3&lt;br /&gt;
* pyserial&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Clone the Mk4-Apps repo from https://github.com/emfcamp/Mk4-Apps/ (see [https://help.github.com/articles/cloning-a-repository/ Cloning a repository] for help). Alternatively you can download a ZIP file from the repository page. &lt;br /&gt;
&lt;br /&gt;
* Open a terminal in the Mk4-Apps/ directory. ''tilda-tools'' is in the root of this directory.&lt;br /&gt;
&lt;br /&gt;
== tilda-tools ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tilda-tools &amp;lt;options&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
-d --device  : serial interface (default: auto)&lt;br /&gt;
-s --storage : path to flash storage&lt;br /&gt;
&lt;br /&gt;
Usage&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
Reboot badge&lt;br /&gt;
$ tilda_tools reset&lt;br /&gt;
&lt;br /&gt;
Soft reboot badge and start specific app&lt;br /&gt;
$ tilda_tools reset --boot my_app&lt;br /&gt;
&lt;br /&gt;
Update files on the badge to match the current local version, restarts afterwards&lt;br /&gt;
$ tilda_tools sync&lt;br /&gt;
&lt;br /&gt;
Update files in folder(s) to match current local version&lt;br /&gt;
$ tilda_tools sync my_game shared&lt;br /&gt;
$ tilda_tools sync &amp;lt;pattern1&amp;gt; &amp;lt;pattern2&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute my_app after reboot&lt;br /&gt;
$ tilda_tools sync --boot my_app [&amp;lt;other sync parameter&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute a single file afterwards without copying it to the badge&lt;br /&gt;
$ tilda_tools sync --run some_other_file.py&lt;br /&gt;
&lt;br /&gt;
Sync a given app and execute it&lt;br /&gt;
$ tilda_tools app home_default&lt;br /&gt;
&lt;br /&gt;
Executes a single file on the badge without copying anything (Using pyboard.py)&lt;br /&gt;
$ tilda_tools run my_app/main.py&lt;br /&gt;
&lt;br /&gt;
Runs local validation (doesn't require a badge, but doesn't run unit tests)&lt;br /&gt;
$ tilda_tools validate&lt;br /&gt;
&lt;br /&gt;
Runs local validation and badge-side tests&lt;br /&gt;
$ tilda_tools test&lt;br /&gt;
&lt;br /&gt;
Update firmware on badge (warning, this will delete all settings etc. stored on the badge!)&lt;br /&gt;
$ tilda_tools firmware-update&lt;br /&gt;
&lt;br /&gt;
Setup wifi.json to be copied to the badge on every sync&lt;br /&gt;
$ tilda_tools wifi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=349</id>
		<title>TiLDA MK4/tilda-tools</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=349"/>
		<updated>2018-08-30T16:42:43Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Dependencies */ Add missing step.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''tilda-tools'' is a toolchain for working with the micropython environment on the badge.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Python 3.7&lt;br /&gt;
* pyserial&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu 18.04 ====&lt;br /&gt;
&lt;br /&gt;
Python3.6 is installed by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install python3.7&lt;br /&gt;
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.7&lt;br /&gt;
sudo pip3.7 install pyserial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Clone the Mk4-Apps repo from https://github.com/emfcamp/Mk4-Apps/ (see [https://help.github.com/articles/cloning-a-repository/ Cloning a repository] for help). Alternatively you can download a ZIP file from the repository page. &lt;br /&gt;
&lt;br /&gt;
* Open a terminal in the Mk4-Apps/ directory. ''tilda-tools'' is in the root of this directory.&lt;br /&gt;
&lt;br /&gt;
== tilda-tools ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tilda-tools &amp;lt;options&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
-d --device  : serial interface (default: auto)&lt;br /&gt;
-s --storage : path to flash storage&lt;br /&gt;
&lt;br /&gt;
Usage&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
Reboot badge&lt;br /&gt;
$ tilda_tools reset&lt;br /&gt;
&lt;br /&gt;
Soft reboot badge and start specific app&lt;br /&gt;
$ tilda_tools reset --boot my_app&lt;br /&gt;
&lt;br /&gt;
Update files on the badge to match the current local version, restarts afterwards&lt;br /&gt;
$ tilda_tools sync&lt;br /&gt;
&lt;br /&gt;
Update files in folder(s) to match current local version&lt;br /&gt;
$ tilda_tools sync my_game shared&lt;br /&gt;
$ tilda_tools sync &amp;lt;pattern1&amp;gt; &amp;lt;pattern2&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute my_app after reboot&lt;br /&gt;
$ tilda_tools sync --boot my_app [&amp;lt;other sync parameter&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute a single file afterwards without copying it to the badge&lt;br /&gt;
$ tilda_tools sync --run some_other_file.py&lt;br /&gt;
&lt;br /&gt;
Sync a given app and execute it&lt;br /&gt;
$ tilda_tools app home_default&lt;br /&gt;
&lt;br /&gt;
Executes a single file on the badge without copying anything (Using pyboard.py)&lt;br /&gt;
$ tilda_tools run my_app/main.py&lt;br /&gt;
&lt;br /&gt;
Runs local validation (doesn't require a badge, but doesn't run unit tests)&lt;br /&gt;
$ tilda_tools validate&lt;br /&gt;
&lt;br /&gt;
Runs local validation and badge-side tests&lt;br /&gt;
$ tilda_tools test&lt;br /&gt;
&lt;br /&gt;
Update firmware on badge (warning, this will delete all settings etc. stored on the badge!)&lt;br /&gt;
$ tilda_tools firmware-update&lt;br /&gt;
&lt;br /&gt;
Setup wifi.json to be copied to the badge on every sync&lt;br /&gt;
$ tilda_tools wifi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=348</id>
		<title>TiLDA MK4/tilda-tools</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=348"/>
		<updated>2018-08-30T16:36:13Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''tilda-tools'' is a toolchain for working with the micropython environment on the badge.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Python 3.7&lt;br /&gt;
* pyserial&lt;br /&gt;
&lt;br /&gt;
==== Ubuntu 18.04 ====&lt;br /&gt;
&lt;br /&gt;
Python3.6 is installed by default.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install python3.7&lt;br /&gt;
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Clone the Mk4-Apps repo from https://github.com/emfcamp/Mk4-Apps/ (see [https://help.github.com/articles/cloning-a-repository/ Cloning a repository] for help). Alternatively you can download a ZIP file from the repository page. &lt;br /&gt;
&lt;br /&gt;
* Open a terminal in the Mk4-Apps/ directory. ''tilda-tools'' is in the root of this directory.&lt;br /&gt;
&lt;br /&gt;
== tilda-tools ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tilda-tools &amp;lt;options&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
-d --device  : serial interface (default: auto)&lt;br /&gt;
-s --storage : path to flash storage&lt;br /&gt;
&lt;br /&gt;
Usage&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
Reboot badge&lt;br /&gt;
$ tilda_tools reset&lt;br /&gt;
&lt;br /&gt;
Soft reboot badge and start specific app&lt;br /&gt;
$ tilda_tools reset --boot my_app&lt;br /&gt;
&lt;br /&gt;
Update files on the badge to match the current local version, restarts afterwards&lt;br /&gt;
$ tilda_tools sync&lt;br /&gt;
&lt;br /&gt;
Update files in folder(s) to match current local version&lt;br /&gt;
$ tilda_tools sync my_game shared&lt;br /&gt;
$ tilda_tools sync &amp;lt;pattern1&amp;gt; &amp;lt;pattern2&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute my_app after reboot&lt;br /&gt;
$ tilda_tools sync --boot my_app [&amp;lt;other sync parameter&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute a single file afterwards without copying it to the badge&lt;br /&gt;
$ tilda_tools sync --run some_other_file.py&lt;br /&gt;
&lt;br /&gt;
Sync a given app and execute it&lt;br /&gt;
$ tilda_tools app home_default&lt;br /&gt;
&lt;br /&gt;
Executes a single file on the badge without copying anything (Using pyboard.py)&lt;br /&gt;
$ tilda_tools run my_app/main.py&lt;br /&gt;
&lt;br /&gt;
Runs local validation (doesn't require a badge, but doesn't run unit tests)&lt;br /&gt;
$ tilda_tools validate&lt;br /&gt;
&lt;br /&gt;
Runs local validation and badge-side tests&lt;br /&gt;
$ tilda_tools test&lt;br /&gt;
&lt;br /&gt;
Update firmware on badge (warning, this will delete all settings etc. stored on the badge!)&lt;br /&gt;
$ tilda_tools firmware-update&lt;br /&gt;
&lt;br /&gt;
Setup wifi.json to be copied to the badge on every sync&lt;br /&gt;
$ tilda_tools wifi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=347</id>
		<title>TiLDA MK4/tilda-tools</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=347"/>
		<updated>2018-08-30T16:33:59Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''tilda-tools'' is a toolchain for working with the micropython environment on the badge.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Python 3.7&lt;br /&gt;
* pyserial&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Clone the Mk4-Apps repo from https://github.com/emfcamp/Mk4-Apps/ (see [https://help.github.com/articles/cloning-a-repository/ Cloning a repository] for help). Alternatively you can download a ZIP file from the repository page. &lt;br /&gt;
&lt;br /&gt;
* Open a terminal in the Mk4-Apps/ directory. ''tilda-tools'' is in the root of this directory.&lt;br /&gt;
&lt;br /&gt;
== tilda-tools ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tilda-tools &amp;lt;options&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
-d --device  : serial interface (default: auto)&lt;br /&gt;
-s --storage : path to flash storage&lt;br /&gt;
&lt;br /&gt;
Usage&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
Reboot badge&lt;br /&gt;
$ tilda_tools reset&lt;br /&gt;
&lt;br /&gt;
Soft reboot badge and start specific app&lt;br /&gt;
$ tilda_tools reset --boot my_app&lt;br /&gt;
&lt;br /&gt;
Update files on the badge to match the current local version, restarts afterwards&lt;br /&gt;
$ tilda_tools sync&lt;br /&gt;
&lt;br /&gt;
Update files in folder(s) to match current local version&lt;br /&gt;
$ tilda_tools sync my_game shared&lt;br /&gt;
$ tilda_tools sync &amp;lt;pattern1&amp;gt; &amp;lt;pattern2&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute my_app after reboot&lt;br /&gt;
$ tilda_tools sync --boot my_app [&amp;lt;other sync parameter&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute a single file afterwards without copying it to the badge&lt;br /&gt;
$ tilda_tools sync --run some_other_file.py&lt;br /&gt;
&lt;br /&gt;
Sync a given app and execute it&lt;br /&gt;
$ tilda_tools app home_default&lt;br /&gt;
&lt;br /&gt;
Executes a single file on the badge without copying anything (Using pyboard.py)&lt;br /&gt;
$ tilda_tools run my_app/main.py&lt;br /&gt;
&lt;br /&gt;
Runs local validation (doesn't require a badge, but doesn't run unit tests)&lt;br /&gt;
$ tilda_tools validate&lt;br /&gt;
&lt;br /&gt;
Runs local validation and badge-side tests&lt;br /&gt;
$ tilda_tools test&lt;br /&gt;
&lt;br /&gt;
Update firmware on badge (warning, this will delete all settings etc. stored on the badge!)&lt;br /&gt;
$ tilda_tools firmware-update&lt;br /&gt;
&lt;br /&gt;
Setup wifi.json to be copied to the badge on every sync&lt;br /&gt;
$ tilda_tools wifi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=346</id>
		<title>TiLDA MK4/tilda-tools</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=346"/>
		<updated>2018-08-30T16:29:56Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: Add partial dependencies.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''tilda-tools'' is a toolchain for working with the micropython environment on the badge.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
* Python 3.7&lt;br /&gt;
* ??&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Clone the Mk4-Apps repo from https://github.com/emfcamp/Mk4-Apps/ (see [https://help.github.com/articles/cloning-a-repository/ Cloning a repository] for help). Alternatively you can download a ZIP file from the repository page. &lt;br /&gt;
&lt;br /&gt;
* Open a terminal in the Mk4-Apps/ directory. ''tilda-tools'' is in the root of this directory.&lt;br /&gt;
&lt;br /&gt;
== tilda-tools ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tilda-tools &amp;lt;options&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
-d --device  : serial interface (default: auto)&lt;br /&gt;
-s --storage : path to flash storage&lt;br /&gt;
&lt;br /&gt;
Usage&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
Reboot badge&lt;br /&gt;
$ tilda_tools reset&lt;br /&gt;
&lt;br /&gt;
Soft reboot badge and start specific app&lt;br /&gt;
$ tilda_tools reset --boot my_app&lt;br /&gt;
&lt;br /&gt;
Update files on the badge to match the current local version, restarts afterwards&lt;br /&gt;
$ tilda_tools sync&lt;br /&gt;
&lt;br /&gt;
Update files in folder(s) to match current local version&lt;br /&gt;
$ tilda_tools sync my_game shared&lt;br /&gt;
$ tilda_tools sync &amp;lt;pattern1&amp;gt; &amp;lt;pattern2&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute my_app after reboot&lt;br /&gt;
$ tilda_tools sync --boot my_app [&amp;lt;other sync parameter&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute a single file afterwards without copying it to the badge&lt;br /&gt;
$ tilda_tools sync --run some_other_file.py&lt;br /&gt;
&lt;br /&gt;
Sync a given app and execute it&lt;br /&gt;
$ tilda_tools app home_default&lt;br /&gt;
&lt;br /&gt;
Executes a single file on the badge without copying anything (Using pyboard.py)&lt;br /&gt;
$ tilda_tools run my_app/main.py&lt;br /&gt;
&lt;br /&gt;
Runs local validation (doesn't require a badge, but doesn't run unit tests)&lt;br /&gt;
$ tilda_tools validate&lt;br /&gt;
&lt;br /&gt;
Runs local validation and badge-side tests&lt;br /&gt;
$ tilda_tools test&lt;br /&gt;
&lt;br /&gt;
Update firmware on badge (warning, this will delete all settings etc. stored on the badge!)&lt;br /&gt;
$ tilda_tools firmware-update&lt;br /&gt;
&lt;br /&gt;
Setup wifi.json to be copied to the badge on every sync&lt;br /&gt;
$ tilda_tools wifi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=345</id>
		<title>TiLDA MK4/tilda-tools</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/tilda-tools&amp;diff=345"/>
		<updated>2018-08-30T16:22:32Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: Add installation &amp;amp; usage instructions from git repo.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''tilda-tools'' is a toolchain for working with the micropython environment on the badge.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Clone the Mk4-Apps repo from https://github.com/emfcamp/Mk4-Apps/ (see [https://help.github.com/articles/cloning-a-repository/ Cloning a repository] for help). Alternatively you can download a ZIP file from the repository page. &lt;br /&gt;
&lt;br /&gt;
* Open a terminal in the Mk4-Apps/ directory. ''tilda-tools'' is in the root of this directory.&lt;br /&gt;
&lt;br /&gt;
== tilda-tools ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tilda-tools &amp;lt;options&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Parameters&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;br /&gt;
-d --device  : serial interface (default: auto)&lt;br /&gt;
-s --storage : path to flash storage&lt;br /&gt;
&lt;br /&gt;
Usage&lt;br /&gt;
------------------------------------&lt;br /&gt;
&lt;br /&gt;
Reboot badge&lt;br /&gt;
$ tilda_tools reset&lt;br /&gt;
&lt;br /&gt;
Soft reboot badge and start specific app&lt;br /&gt;
$ tilda_tools reset --boot my_app&lt;br /&gt;
&lt;br /&gt;
Update files on the badge to match the current local version, restarts afterwards&lt;br /&gt;
$ tilda_tools sync&lt;br /&gt;
&lt;br /&gt;
Update files in folder(s) to match current local version&lt;br /&gt;
$ tilda_tools sync my_game shared&lt;br /&gt;
$ tilda_tools sync &amp;lt;pattern1&amp;gt; &amp;lt;pattern2&amp;gt; ...&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute my_app after reboot&lt;br /&gt;
$ tilda_tools sync --boot my_app [&amp;lt;other sync parameter&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Sync (as above), but execute a single file afterwards without copying it to the badge&lt;br /&gt;
$ tilda_tools sync --run some_other_file.py&lt;br /&gt;
&lt;br /&gt;
Sync a given app and execute it&lt;br /&gt;
$ tilda_tools app home_default&lt;br /&gt;
&lt;br /&gt;
Executes a single file on the badge without copying anything (Using pyboard.py)&lt;br /&gt;
$ tilda_tools run my_app/main.py&lt;br /&gt;
&lt;br /&gt;
Runs local validation (doesn't require a badge, but doesn't run unit tests)&lt;br /&gt;
$ tilda_tools validate&lt;br /&gt;
&lt;br /&gt;
Runs local validation and badge-side tests&lt;br /&gt;
$ tilda_tools test&lt;br /&gt;
&lt;br /&gt;
Update firmware on badge (warning, this will delete all settings etc. stored on the badge!)&lt;br /&gt;
$ tilda_tools firmware-update&lt;br /&gt;
&lt;br /&gt;
Setup wifi.json to be copied to the badge on every sync&lt;br /&gt;
$ tilda_tools wifi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4&amp;diff=344</id>
		<title>TiLDA MK4</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4&amp;diff=344"/>
		<updated>2018-08-30T16:02:38Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Basic usage */ Clarify reset button location.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TiLDA_Mk4_Front_with_sponsors.png|right|500px|TiLDA Mk𝛿]]&lt;br /&gt;
&lt;br /&gt;
== Using your badge ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #FFFFDD; border: 1px solid #808000; padding: 5px;&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;If you just got your badge and it doesn't do anything&amp;lt;/strong&amp;gt;, don't despair, quite a few of them need to be [[TiLDA_MK4/reset|factory reset]] before showing the loading screen. Press and hold &amp;lt;code&amp;gt;MENU&amp;lt;/code&amp;gt; while quickly pressing the reset button at the back. Keep the &amp;lt;code&amp;gt;MENU&amp;lt;/code&amp;gt; button hold for another 2 seconds. Release it when both the red and green LED are lit. If you got it correct both LEDs should flash a few times.&amp;lt;br&amp;gt;If this doesn't work you can [[TiLDA_MK4/Firmware_Update|update the badge firmware]]. If this doesn't work, please come and join us in #tilda on [https://freenode.net/ Freenode IRC]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Assembly ===&lt;br /&gt;
With your badge you will receive a booklet explaining how it's done. If you have any problems, please come to the Badge Operation Center and we will help you.&lt;br /&gt;
&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
If at any point you want to restart your badge you can just press the reset button on the back below the display ribbon. &lt;br /&gt;
&lt;br /&gt;
==== Changing your name ====&lt;br /&gt;
&lt;br /&gt;
# Press 'Menu'&lt;br /&gt;
# Select the 'Settings&amp;quot; app&lt;br /&gt;
# &amp;quot;Change Name&amp;quot; and press 'A'&lt;br /&gt;
# Use the joystick and 'A' key to enter your name&lt;br /&gt;
# Press 'Menu' to save your name and reset the badge - your name should now be displayed!&lt;br /&gt;
&lt;br /&gt;
==== Installing new apps ====&lt;br /&gt;
&lt;br /&gt;
# Press 'Menu'&lt;br /&gt;
# Select 'Badge Store' app and press 'A'&lt;br /&gt;
# Select &amp;quot;Install&amp;quot;&lt;br /&gt;
# Select a category and then an app. Wait until you see the description and press &amp;quot;A&amp;quot; to save it.&lt;br /&gt;
# Press B a few times (or alternatively MENU) to restart your badge&lt;br /&gt;
# On the home screen you can now press MENU to find your newly installed app.&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
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: [[TiLDA MK4/wifi|WiFi]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The badge charges via a microUSB socket, and takes about 2-3 hours for a full charge. The red charge LED to the right of the display ribbon on the back will extinguish when charging is complete.&lt;br /&gt;
&lt;br /&gt;
=== Nothing works! Help! ===&lt;br /&gt;
&lt;br /&gt;
Don't worry, you can always &amp;quot;factory reset&amp;quot; your badge. Please follow these instructions: [[TiLDA_MK4/reset|Resetting]]&lt;br /&gt;
&lt;br /&gt;
If everything else absolutely fails, you can try following these instructions (advanced): [[TiLDA_MK4/Firmware_Update]]&lt;br /&gt;
&lt;br /&gt;
== Hacking your badge ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''[[TiLDA_MK4/Introduction_to_badge_hacking|Badge Hacking Workshop Documentation]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the main goals of TiLDA is to make hacking it as easy as possible. All you need to do so is a computer with USB and your badge.&lt;br /&gt;
&lt;br /&gt;
* '''[[TiLDA_MK4/tilda-tools|tilda-tools]]''' - the one-stop interface for all your badge needs&lt;br /&gt;
* '''[[TiLDA MK4/Get Started|Step-by-step]]''' - to make it as easy as possible to get going&lt;br /&gt;
* '''[[TiLDA MK4/Run Code|3 Ways to run code on your TiLDA]]'''&lt;br /&gt;
* '''[[TiLDA MK4/Badge Store Submissions|Badge Store Submissions]]''' - Share your creations with others&lt;br /&gt;
* '''[[TiLDA MK4/Code Structure|Code Structure]]''' - How the python code is structured&lt;br /&gt;
&lt;br /&gt;
The badge itself runs code written in the computer language [https://en.wikipedia.org/wiki/Python_(programming_language) Python] which is run by a bit of software called [https://micropython.org/ Micropython]. &lt;br /&gt;
&lt;br /&gt;
For more information about the functions available please have a look at the [[#Badge API|Badge API]] section of this page.&lt;br /&gt;
&lt;br /&gt;
In case you're more interested in what makes the hardware tick and your confident with C++ and microprocessors then you can work directly with the micropython code that runs TiLDA: [[TiLDA MK4/build|How to build the firmware from scratch]]&lt;br /&gt;
&lt;br /&gt;
All code used is hosted on Github. Contributions and PR are very welcome!&lt;br /&gt;
* https://github.com/emfcamp/Mk4-Apps&lt;br /&gt;
* https://github.com/emfcamp/Mk4-Backend (powers the badge store)&lt;br /&gt;
* https://github.com/emfcamp/micropython&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some ideas ===&lt;br /&gt;
&lt;br /&gt;
[[TiLDA MK4/Ideas|Please share what you've done (or want to do) with others!]]&lt;br /&gt;
&lt;br /&gt;
== Badge API ==&lt;br /&gt;
&lt;br /&gt;
=== Build-in ===&lt;br /&gt;
* [http://docs.micropython.org/en/latest/pyboard/ documentation] - General Micropython libarary&lt;br /&gt;
* [[TiLDA MK4/ugfx|uGFX]] - The TiLDA LCD colour screen&lt;br /&gt;
* [[TiLDA MK4/documentation/cc3100|CC3100]] - The wifi chip&lt;br /&gt;
* [[TiLDA MK4/rtc|RTC]] (real time clock)&lt;br /&gt;
* [[TiLDA MK4/sensors|Sensors]]&lt;br /&gt;
* [[TiLDA MK4/sim800|SIM800]] (GSM/Phone/Bluetooth)&lt;br /&gt;
* [[TiLDA MK4/modtilda|import tilda]] (our custom micropython module)&lt;br /&gt;
* [[TiLDA MK4/spi|SPI]] SPI&lt;br /&gt;
* please add&lt;br /&gt;
&lt;br /&gt;
=== TiLDA Libraries ===&lt;br /&gt;
On top of the build-in modules above we have also created a bunch of helpful libraries written in python. If you go through the bootstrap process or use the App Library you should always have a full set of those on your badge. If for some reason this isn't the case you can download our repository from https://github.com/emfcamp/Mk3-Firmware and copy the &amp;lt;code&amp;gt;lib&amp;lt;/code&amp;gt; folder onto your badge.&lt;br /&gt;
&lt;br /&gt;
for now please have a look at the libraries themselves: https://github.com/emfcamp/Mk4-Apps/tree/master/lib&lt;br /&gt;
&lt;br /&gt;
(feel free to add additional ideas, and create links new wiki pages to on-going projects, perhaps someone will want to contribute)&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
Full hardware files are on GitHub [https://github.com/emfcamp/Mk4-Hardware]&lt;br /&gt;
&lt;br /&gt;
== Badge hardware ==&lt;br /&gt;
&lt;br /&gt;
TiLDA comes with a long list of very useful hardware. Some might be obvious, but some are a bit hidden. &lt;br /&gt;
* Texas Instruments [http://www.ti.com/product/MSP432E401Y MSP432E4 SimpleLink Microcontroller] (ARM Cortex-M4F @ 120MHz)&lt;br /&gt;
* Texas Instruments [http://www.ti.com/product/CC3120 CC3120 SimpleLink Wi-Fi® Network Processor]&lt;br /&gt;
* 256KB internal RAM / 8MB external SDRAM&lt;br /&gt;
* 1MB internal flash (firmware) / 1MB external flash (filesystem)&lt;br /&gt;
* [https://simcom.ee/modules/gsm-gprs/sim800c/ SIM800 Quad-band GSM/GPRS module] with Bluetooth support&lt;br /&gt;
* [https://cdn.hackaday.io/files/11178478239552/ER-TFT024-3_Datasheet.pdf 240x320 RGB screen]&lt;br /&gt;
* 2 [https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf WS2812B RGB LEDs] (aka Neopixels) with a 3-pin header to connect your own (And this year they’re the right way up!)&lt;br /&gt;
* Texas Instruments [http://www.ti.com/lit/ds/symlink/hdc2080.pdf HDC2080 Low Power Humidity and Temperature Sensor]&lt;br /&gt;
* Texas Instruments [http://www.ti.com/lit/ds/symlink/tmp102.pdf TMP102 Digital Temperature Sensor]&lt;br /&gt;
* Texas Instruments [http://www.ti.com/lit/ds/symlink/opt3001.pdf OPT3001 Digital Ambient Light Sensor]&lt;br /&gt;
* Texas Instruments [http://www.ti.com/lit/ds/symlink/drv5055.pdf DRV5055 High Accuracy Bipolar Hall Effect Sensor]&lt;br /&gt;
* Speaker and Microphone&lt;br /&gt;
* 2000mAh Battery&lt;br /&gt;
* Onboard Ethernet (requires breakout)&lt;br /&gt;
* A [https://en.wikipedia.org/wiki/T9_(predictive_text) T9] number keypad and a joystick&lt;br /&gt;
* 2 [http://wiki.seeedstudio.com/Grove_System/ Seed Studio Grove headers] (one UART, one I²C)&lt;br /&gt;
* [https://learn.sparkfun.com/tutorials/sewing-with-conductive-thread Conductive thread] points and 0.1&amp;quot; header for power/UART/I2C/GPIO&lt;br /&gt;
* [https://hackaday.io/project/52950-defcon-26-shitty-add-ons Defcon 26 Shitty Add-Ons connector]&lt;br /&gt;
&lt;br /&gt;
Hardware files are available on GitHub [https://github.com/emfcamp/Mk4-Hardware].&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/reset&amp;diff=343</id>
		<title>TiLDA MK4/reset</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4/reset&amp;diff=343"/>
		<updated>2018-08-30T16:00:23Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: Clarify reset process.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Should your badge stop working there are these ways to fix it. Please make sure you have a backup of whatever you've been working on, you might lose all the data stored on your badge.&lt;br /&gt;
&lt;br /&gt;
Todo: Is there an easier way? &lt;br /&gt;
&lt;br /&gt;
== Factory reset the badge== &lt;br /&gt;
Press and hold 'MENU' and then briefly press the reset button on the back. Keep the MENU button held down, then release it when both the green and red LED are on at the same time. Both LEDs should flash for a few times. Wait a few seconds until the blinking has stopped and press reset again. &lt;br /&gt;
&lt;br /&gt;
After that you should finally get a screen saying &amp;quot;Downloading TiLDA software&amp;quot;. It should take less than a minute until the badge functionalities are restored, but you will have to re-install your apps.&lt;br /&gt;
&lt;br /&gt;
P.S. The micropython documentation on factory resetting is [http://docs.micropython.org/en/latest/pyboard/pyboard/tutorial/reset.html here]. On the TiLDA MK3 the USR button is the MENU button, and the orange LED is actually red.&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4&amp;diff=342</id>
		<title>TiLDA MK4</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4&amp;diff=342"/>
		<updated>2018-08-30T15:55:58Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Badge hardware */ Added parts links from blog post.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TiLDA_Mk4_Front_with_sponsors.png|right|500px|TiLDA Mk𝛿]]&lt;br /&gt;
&lt;br /&gt;
== Using your badge ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #FFFFDD; border: 1px solid #808000; padding: 5px;&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;If you just got your badge and it doesn't do anything&amp;lt;/strong&amp;gt;, don't despair, quite a few of them need to be [[TiLDA_MK4/reset|factory reset]] before showing the loading screen. Press and hold &amp;lt;code&amp;gt;MENU&amp;lt;/code&amp;gt; while quickly pressing the reset button at the back. Keep the &amp;lt;code&amp;gt;MENU&amp;lt;/code&amp;gt; button hold for another 2 seconds. Release it when both the red and green LED are lit. If you got it correct both LEDs should flash a few times.&amp;lt;br&amp;gt;If this doesn't work you can [[TiLDA_MK4/Firmware_Update|update the badge firmware]]. If this doesn't work, please come and join us in #tilda on [https://freenode.net/ Freenode IRC]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Assembly ===&lt;br /&gt;
With your badge you will receive a booklet explaining how it's done. If you have any problems, please come to the Badge Operation Center and we will help you.&lt;br /&gt;
&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
If at any point you want to restart your badge you can just press the reset button at the back. &lt;br /&gt;
&lt;br /&gt;
==== Changing your name ====&lt;br /&gt;
&lt;br /&gt;
# Press 'Menu'&lt;br /&gt;
# Select the 'Settings&amp;quot; app&lt;br /&gt;
# &amp;quot;Change Name&amp;quot; and press 'A'&lt;br /&gt;
# Use the joystick and 'A' key to enter your name&lt;br /&gt;
# Press 'Menu' to save your name and reset the badge - your name should now be displayed!&lt;br /&gt;
&lt;br /&gt;
==== Installing new apps ====&lt;br /&gt;
&lt;br /&gt;
# Press 'Menu'&lt;br /&gt;
# Select 'Badge Store' app and press 'A'&lt;br /&gt;
# Select &amp;quot;Install&amp;quot;&lt;br /&gt;
# Select a category and then an app. Wait until you see the description and press &amp;quot;A&amp;quot; to save it.&lt;br /&gt;
# Press B a few times (or alternatively MENU) to restart your badge&lt;br /&gt;
# On the home screen you can now press MENU to find your newly installed app. &lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
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: [[TiLDA MK4/wifi|WiFi]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The badge charges via a microUSB socket, and takes about 2-3 hours for a full charge. The red charge LED to the right of the display ribbon on the back will extinguish when charging is complete.&lt;br /&gt;
&lt;br /&gt;
=== Nothing works! Help! ===&lt;br /&gt;
&lt;br /&gt;
Don't worry, you can always &amp;quot;factory reset&amp;quot; your badge. Please follow these instructions: [[TiLDA_MK4/reset|Resetting]]&lt;br /&gt;
&lt;br /&gt;
If everything else absolutely fails, you can try following these instructions (advanced): [[TiLDA_MK4/Firmware_Update]]&lt;br /&gt;
&lt;br /&gt;
== Hacking your badge ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''[[TiLDA_MK4/Introduction_to_badge_hacking|Badge Hacking Workshop Documentation]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the main goals of TiLDA is to make hacking it as easy as possible. All you need to do so is a computer with USB and your badge.&lt;br /&gt;
&lt;br /&gt;
* '''[[TiLDA_MK4/tilda-tools|tilda-tools]]''' - the one-stop interface for all your badge needs&lt;br /&gt;
* '''[[TiLDA MK4/Get Started|Step-by-step]]''' - to make it as easy as possible to get going&lt;br /&gt;
* '''[[TiLDA MK4/Run Code|3 Ways to run code on your TiLDA]]'''&lt;br /&gt;
* '''[[TiLDA MK4/Badge Store Submissions|Badge Store Submissions]]''' - Share your creations with others&lt;br /&gt;
* '''[[TiLDA MK4/Code Structure|Code Structure]]''' - How the python code is structured&lt;br /&gt;
&lt;br /&gt;
The badge itself runs code written in the computer language [https://en.wikipedia.org/wiki/Python_(programming_language) Python] which is run by a bit of software called [https://micropython.org/ Micropython]. &lt;br /&gt;
&lt;br /&gt;
For more information about the functions available please have a look at the [[#Badge API|Badge API]] section of this page.&lt;br /&gt;
&lt;br /&gt;
In case you're more interested in what makes the hardware tick and your confident with C++ and microprocessors then you can work directly with the micropython code that runs TiLDA: [[TiLDA MK4/build|How to build the firmware from scratch]]&lt;br /&gt;
&lt;br /&gt;
All code used is hosted on Github. Contributions and PR are very welcome!&lt;br /&gt;
* https://github.com/emfcamp/Mk4-Apps&lt;br /&gt;
* https://github.com/emfcamp/Mk4-Backend (powers the badge store)&lt;br /&gt;
* https://github.com/emfcamp/micropython&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some ideas ===&lt;br /&gt;
&lt;br /&gt;
[[TiLDA MK4/Ideas|Please share what you've done (or want to do) with others!]]&lt;br /&gt;
&lt;br /&gt;
== Badge API ==&lt;br /&gt;
&lt;br /&gt;
=== Build-in ===&lt;br /&gt;
* [http://docs.micropython.org/en/latest/pyboard/ documentation] - General Micropython libarary&lt;br /&gt;
* [[TiLDA MK4/ugfx|uGFX]] - The TiLDA LCD colour screen&lt;br /&gt;
* [[TiLDA MK4/documentation/cc3100|CC3100]] - The wifi chip&lt;br /&gt;
* [[TiLDA MK4/rtc|RTC]] (real time clock)&lt;br /&gt;
* [[TiLDA MK4/sensors|Sensors]]&lt;br /&gt;
* [[TiLDA MK4/sim800|SIM800]] (GSM/Phone/Bluetooth)&lt;br /&gt;
* [[TiLDA MK4/modtilda|import tilda]] (our custom micropython module)&lt;br /&gt;
* [[TiLDA MK4/spi|SPI]] SPI&lt;br /&gt;
* please add&lt;br /&gt;
&lt;br /&gt;
=== TiLDA Libraries ===&lt;br /&gt;
On top of the build-in modules above we have also created a bunch of helpful libraries written in python. If you go through the bootstrap process or use the App Library you should always have a full set of those on your badge. If for some reason this isn't the case you can download our repository from https://github.com/emfcamp/Mk3-Firmware and copy the &amp;lt;code&amp;gt;lib&amp;lt;/code&amp;gt; folder onto your badge.&lt;br /&gt;
&lt;br /&gt;
for now please have a look at the libraries themselves: https://github.com/emfcamp/Mk4-Apps/tree/master/lib&lt;br /&gt;
&lt;br /&gt;
(feel free to add additional ideas, and create links new wiki pages to on-going projects, perhaps someone will want to contribute)&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
Full hardware files are on GitHub [https://github.com/emfcamp/Mk4-Hardware]&lt;br /&gt;
&lt;br /&gt;
== Badge hardware ==&lt;br /&gt;
&lt;br /&gt;
TiLDA comes with a long list of very useful hardware. Some might be obvious, but some are a bit hidden. &lt;br /&gt;
* Texas Instruments [http://www.ti.com/product/MSP432E401Y MSP432E4 SimpleLink Microcontroller] (ARM Cortex-M4F @ 120MHz)&lt;br /&gt;
* Texas Instruments [http://www.ti.com/product/CC3120 CC3120 SimpleLink Wi-Fi® Network Processor]&lt;br /&gt;
* 256KB internal RAM / 8MB external SDRAM&lt;br /&gt;
* 1MB internal flash (firmware) / 1MB external flash (filesystem)&lt;br /&gt;
* [https://simcom.ee/modules/gsm-gprs/sim800c/ SIM800 Quad-band GSM/GPRS module] with Bluetooth support&lt;br /&gt;
* [https://cdn.hackaday.io/files/11178478239552/ER-TFT024-3_Datasheet.pdf 240x320 RGB screen]&lt;br /&gt;
* 2 [https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf WS2812B RGB LEDs] (aka Neopixels) with a 3-pin header to connect your own (And this year they’re the right way up!)&lt;br /&gt;
* Texas Instruments [http://www.ti.com/lit/ds/symlink/hdc2080.pdf HDC2080 Low Power Humidity and Temperature Sensor]&lt;br /&gt;
* Texas Instruments [http://www.ti.com/lit/ds/symlink/tmp102.pdf TMP102 Digital Temperature Sensor]&lt;br /&gt;
* Texas Instruments [http://www.ti.com/lit/ds/symlink/opt3001.pdf OPT3001 Digital Ambient Light Sensor]&lt;br /&gt;
* Texas Instruments [http://www.ti.com/lit/ds/symlink/drv5055.pdf DRV5055 High Accuracy Bipolar Hall Effect Sensor]&lt;br /&gt;
* Speaker and Microphone&lt;br /&gt;
* 2000mAh Battery&lt;br /&gt;
* Onboard Ethernet (requires breakout)&lt;br /&gt;
* A [https://en.wikipedia.org/wiki/T9_(predictive_text) T9] number keypad and a joystick&lt;br /&gt;
* 2 [http://wiki.seeedstudio.com/Grove_System/ Seed Studio Grove headers] (one UART, one I²C)&lt;br /&gt;
* [https://learn.sparkfun.com/tutorials/sewing-with-conductive-thread Conductive thread] points and 0.1&amp;quot; header for power/UART/I2C/GPIO&lt;br /&gt;
* [https://hackaday.io/project/52950-defcon-26-shitty-add-ons Defcon 26 Shitty Add-Ons connector]&lt;br /&gt;
&lt;br /&gt;
Hardware files are available on GitHub [https://github.com/emfcamp/Mk4-Hardware].&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4&amp;diff=341</id>
		<title>TiLDA MK4</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK4&amp;diff=341"/>
		<updated>2018-08-30T15:49:17Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: Fix charging led position description.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TiLDA_Mk4_Front_with_sponsors.png|right|500px|TiLDA Mk𝛿]]&lt;br /&gt;
&lt;br /&gt;
== Using your badge ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color: #FFFFDD; border: 1px solid #808000; padding: 5px;&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;If you just got your badge and it doesn't do anything&amp;lt;/strong&amp;gt;, don't despair, quite a few of them need to be [[TiLDA_MK4/reset|factory reset]] before showing the loading screen. Press and hold &amp;lt;code&amp;gt;MENU&amp;lt;/code&amp;gt; while quickly pressing the reset button at the back. Keep the &amp;lt;code&amp;gt;MENU&amp;lt;/code&amp;gt; button hold for another 2 seconds. Release it when both the red and green LED are lit. If you got it correct both LEDs should flash a few times.&amp;lt;br&amp;gt;If this doesn't work you can [[TiLDA_MK4/Firmware_Update|update the badge firmware]]. If this doesn't work, please come and join us in #tilda on [https://freenode.net/ Freenode IRC]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Assembly ===&lt;br /&gt;
With your badge you will receive a booklet explaining how it's done. If you have any problems, please come to the Badge Operation Center and we will help you.&lt;br /&gt;
&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
If at any point you want to restart your badge you can just press the reset button at the back. &lt;br /&gt;
&lt;br /&gt;
==== Changing your name ====&lt;br /&gt;
&lt;br /&gt;
# Press 'Menu'&lt;br /&gt;
# Select the 'Settings&amp;quot; app&lt;br /&gt;
# &amp;quot;Change Name&amp;quot; and press 'A'&lt;br /&gt;
# Use the joystick and 'A' key to enter your name&lt;br /&gt;
# Press 'Menu' to save your name and reset the badge - your name should now be displayed!&lt;br /&gt;
&lt;br /&gt;
==== Installing new apps ====&lt;br /&gt;
&lt;br /&gt;
# Press 'Menu'&lt;br /&gt;
# Select 'Badge Store' app and press 'A'&lt;br /&gt;
# Select &amp;quot;Install&amp;quot;&lt;br /&gt;
# Select a category and then an app. Wait until you see the description and press &amp;quot;A&amp;quot; to save it.&lt;br /&gt;
# Press B a few times (or alternatively MENU) to restart your badge&lt;br /&gt;
# On the home screen you can now press MENU to find your newly installed app. &lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
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: [[TiLDA MK4/wifi|WiFi]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The badge charges via a microUSB socket, and takes about 2-3 hours for a full charge. The red charge LED to the right of the display ribbon on the back will extinguish when charging is complete.&lt;br /&gt;
&lt;br /&gt;
=== Nothing works! Help! ===&lt;br /&gt;
&lt;br /&gt;
Don't worry, you can always &amp;quot;factory reset&amp;quot; your badge. Please follow these instructions: [[TiLDA_MK4/reset|Resetting]]&lt;br /&gt;
&lt;br /&gt;
If everything else absolutely fails, you can try following these instructions (advanced): [[TiLDA_MK4/Firmware_Update]]&lt;br /&gt;
&lt;br /&gt;
== Hacking your badge ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''[[TiLDA_MK4/Introduction_to_badge_hacking|Badge Hacking Workshop Documentation]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One of the main goals of TiLDA is to make hacking it as easy as possible. All you need to do so is a computer with USB and your badge.&lt;br /&gt;
&lt;br /&gt;
* '''[[TiLDA_MK4/tilda-tools|tilda-tools]]''' - the one-stop interface for all your badge needs&lt;br /&gt;
* '''[[TiLDA MK4/Get Started|Step-by-step]]''' - to make it as easy as possible to get going&lt;br /&gt;
* '''[[TiLDA MK4/Run Code|3 Ways to run code on your TiLDA]]'''&lt;br /&gt;
* '''[[TiLDA MK4/Badge Store Submissions|Badge Store Submissions]]''' - Share your creations with others&lt;br /&gt;
* '''[[TiLDA MK4/Code Structure|Code Structure]]''' - How the python code is structured&lt;br /&gt;
&lt;br /&gt;
The badge itself runs code written in the computer language [https://en.wikipedia.org/wiki/Python_(programming_language) Python] which is run by a bit of software called [https://micropython.org/ Micropython]. &lt;br /&gt;
&lt;br /&gt;
For more information about the functions available please have a look at the [[#Badge API|Badge API]] section of this page.&lt;br /&gt;
&lt;br /&gt;
In case you're more interested in what makes the hardware tick and your confident with C++ and microprocessors then you can work directly with the micropython code that runs TiLDA: [[TiLDA MK4/build|How to build the firmware from scratch]]&lt;br /&gt;
&lt;br /&gt;
All code used is hosted on Github. Contributions and PR are very welcome!&lt;br /&gt;
* https://github.com/emfcamp/Mk4-Apps&lt;br /&gt;
* https://github.com/emfcamp/Mk4-Backend (powers the badge store)&lt;br /&gt;
* https://github.com/emfcamp/micropython&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Some ideas ===&lt;br /&gt;
&lt;br /&gt;
[[TiLDA MK4/Ideas|Please share what you've done (or want to do) with others!]]&lt;br /&gt;
&lt;br /&gt;
== Badge API ==&lt;br /&gt;
&lt;br /&gt;
=== Build-in ===&lt;br /&gt;
* [http://docs.micropython.org/en/latest/pyboard/ documentation] - General Micropython libarary&lt;br /&gt;
* [[TiLDA MK4/ugfx|uGFX]] - The TiLDA LCD colour screen&lt;br /&gt;
* [[TiLDA MK4/documentation/cc3100|CC3100]] - The wifi chip&lt;br /&gt;
* [[TiLDA MK4/rtc|RTC]] (real time clock)&lt;br /&gt;
* [[TiLDA MK4/sensors|Sensors]]&lt;br /&gt;
* [[TiLDA MK4/sim800|SIM800]] (GSM/Phone/Bluetooth)&lt;br /&gt;
* [[TiLDA MK4/modtilda|import tilda]] (our custom micropython module)&lt;br /&gt;
* [[TiLDA MK4/spi|SPI]] SPI&lt;br /&gt;
* please add&lt;br /&gt;
&lt;br /&gt;
=== TiLDA Libraries ===&lt;br /&gt;
On top of the build-in modules above we have also created a bunch of helpful libraries written in python. If you go through the bootstrap process or use the App Library you should always have a full set of those on your badge. If for some reason this isn't the case you can download our repository from https://github.com/emfcamp/Mk3-Firmware and copy the &amp;lt;code&amp;gt;lib&amp;lt;/code&amp;gt; folder onto your badge.&lt;br /&gt;
&lt;br /&gt;
for now please have a look at the libraries themselves: https://github.com/emfcamp/Mk4-Apps/tree/master/lib&lt;br /&gt;
&lt;br /&gt;
(feel free to add additional ideas, and create links new wiki pages to on-going projects, perhaps someone will want to contribute)&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
&lt;br /&gt;
Full hardware files are on GitHub [https://github.com/emfcamp/Mk4-Hardware]&lt;br /&gt;
&lt;br /&gt;
== Badge hardware ==&lt;br /&gt;
&lt;br /&gt;
TiLDA comes with a long list of very useful hardware. Some might be obvious, but some are a bit hidden. &lt;br /&gt;
* Texas Instruments MSP432E4 SimpleLink Microcontroller (ARM Cortex-M4F @ 120MHz)&lt;br /&gt;
* Texas Instruments CC3120 SimpleLink Wi-Fi® Network Processor&lt;br /&gt;
* 256KB internal RAM / 8MB external SDRAM&lt;br /&gt;
* 1MB internal flash (firmware) / 1MB external flash (filesystem)&lt;br /&gt;
* SIM800 Quad-band GSM/GPRS module with Bluetooth support&lt;br /&gt;
* 240x320 RGB screen&lt;br /&gt;
* 2 WS2812B RGB LEDs (aka Neopixels) with a 3-pin header to connect your own (And this year they’re the right way up!)&lt;br /&gt;
* Texas Instruments HDC2080 Low Power Humidity and Temperature Sensor&lt;br /&gt;
* Texas Instruments TMP102 Digital Temperature Sensor&lt;br /&gt;
* Texas Instruments OPT3001 Digital Ambient Light Sensor&lt;br /&gt;
* Texas Instruments DRV5055 High Accuracy Bipolar Hall Effect Sensor&lt;br /&gt;
* Speaker and Microphone&lt;br /&gt;
* 2000mAh Battery&lt;br /&gt;
* Onboard Ethernet (requires breakout)&lt;br /&gt;
* A T9 number keypad and a joystick&lt;br /&gt;
* 2 Seed Studio Grove headers (one UART, one I²C)&lt;br /&gt;
* Conductive thread points and 0.1&amp;quot; header for power/UART/I2C/GPIO&lt;br /&gt;
* Defcon 26 Shitty Add-Ons connector&lt;br /&gt;
(todo: please add links from http://blog.emfcamp.org/post/177423823788/tilda-mk4-the-emf-2018-badge)&lt;br /&gt;
&lt;br /&gt;
Hardware files are available on GitHub [https://github.com/emfcamp/Mk4-Hardware].&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3&amp;diff=120</id>
		<title>TiLDA MK3</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3&amp;diff=120"/>
		<updated>2016-08-03T22:55:46Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Changing your name */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Using your badge ==&lt;br /&gt;
&lt;br /&gt;
=== Assembly ===&lt;br /&gt;
ToDo: How to attach screen and battery&lt;br /&gt;
&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
If at any point you want to restart your badge you can just press the reset button at the back. &lt;br /&gt;
&lt;br /&gt;
ToDo: Explain Home Screen&lt;br /&gt;
&lt;br /&gt;
ToDo: Explain App Library&lt;br /&gt;
&lt;br /&gt;
==== Changing your name ====&lt;br /&gt;
&lt;br /&gt;
# Press 'Menu'&lt;br /&gt;
# Select 'View All' and press 'A'&lt;br /&gt;
# Use 'right' on the joystick to reach the 'All' category&lt;br /&gt;
# Select the 'Change Name' app and press 'A'&lt;br /&gt;
# Use the joystick and 'A' key to enter your name&lt;br /&gt;
# Press 'Menu' to save your name and reset the badge - your name should now be displayed!&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
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: [[TiLDA MK3/wifi|WiFi]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
=== Nothing works! Help! ===&lt;br /&gt;
&lt;br /&gt;
Don't worry, you can always &amp;quot;factory reset&amp;quot; your badge. Please follow these instructions: [[TiLDA_MK3/reset|Resetting]]&lt;br /&gt;
&lt;br /&gt;
== Hacking your badge ==&lt;br /&gt;
&lt;br /&gt;
One of the main goals of TiLDA is to make hacking it as easy as possible. All you need to do so is a computer with USB and your badge.&lt;br /&gt;
&lt;br /&gt;
'''[[TiLDA MK3/Get Started|Step-by-step: How to get started]]''' &lt;br /&gt;
&lt;br /&gt;
The badge itself runs code written in the computer language [https://en.wikipedia.org/wiki/Python_(programming_language) Python] which is run by a bit of software called [https://micropython.org/ Micropython]. &lt;br /&gt;
&lt;br /&gt;
For more information about the functions available please have a look at the [[#Badge API|Badge API]] section of this page.&lt;br /&gt;
&lt;br /&gt;
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]]&lt;br /&gt;
&lt;br /&gt;
In case you're more interested in what makes the hardware tick and your confident with C++ and microprocessors then you can work directly with the micropython code that runs TiLDA: [[TiLDA MK3/build|How to build the firmware from scratch]]&lt;br /&gt;
&lt;br /&gt;
All code used is hosted on Github. Contributions and PR are very welcome!&lt;br /&gt;
* https://github.com/emfcamp/micropython&lt;br /&gt;
* https://github.com/emfcamp/Mk3-Firmware&lt;br /&gt;
* https://github.com/emfcamp/Mk3-Server&lt;br /&gt;
&lt;br /&gt;
=== Some ideas ===&lt;br /&gt;
&lt;br /&gt;
[[TiLDA MK3/Ideas|Please share what you've done (or want to do) with others!]]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/emfcamp/Mk3-Hardware/blob/master/case-final.dxf Laser cut case files]&lt;br /&gt;
&lt;br /&gt;
== Badge API ==&lt;br /&gt;
&lt;br /&gt;
=== Build-in ===&lt;br /&gt;
* [http://docs.micropython.org/en/latest/pyboard/ documentation] - General Micropython libarary&lt;br /&gt;
* [[TiLDA MK3/ugfx|uGFX]] - The TiLDA LCD colour screen&lt;br /&gt;
* [[TiLDA MK3/documentation/cc3100|CC3100]] - The wifi chip&lt;br /&gt;
* [[TiLDA MK3/rtc|RTC]] (real time clock)&lt;br /&gt;
* [[TiLDA MK3/adc|ADC]] (analogue reading)&lt;br /&gt;
* [[TiLDA MK3/timer|Timer]]&lt;br /&gt;
* Microcontroller peripherals [https://micropython.org/doc/module/pyb/] (Timers, PWM, serial etc)&lt;br /&gt;
&lt;br /&gt;
=== TiLDA Libraries ===&lt;br /&gt;
On top of the build-in modules above we have also created a bunch of helpful libraries written in python. If you go through the bootstrap process or use the App Library you should always have a full set of those on your badge. If for some reason this isn't the case you can download our repository from https://github.com/emfcamp/Mk3-Firmware and copy the &amp;lt;code&amp;gt;lib&amp;lt;/code&amp;gt; folder onto your badge.&lt;br /&gt;
&lt;br /&gt;
* buttons&lt;br /&gt;
* database&lt;br /&gt;
* dialogs&lt;br /&gt;
* filesystem&lt;br /&gt;
* http_client&lt;br /&gt;
* imu&lt;br /&gt;
* wifi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(feel free to add additional ideas, and create links new wiki pages to on-going projects, perhaps someone will want to contribute)&lt;br /&gt;
&lt;br /&gt;
== Badge hardware ==&lt;br /&gt;
TiLDA comes with a long list of very useful hardware. Some might be obvious, but some are a bit hidden. &lt;br /&gt;
* Colour LCD screen 320x240&lt;br /&gt;
* Joystick and A/B/Menu Buttons&lt;br /&gt;
* Wifi (cc3100)&lt;br /&gt;
* Accelerometer&lt;br /&gt;
* Compass&lt;br /&gt;
* Buzzer&lt;br /&gt;
* Battery&lt;br /&gt;
* &amp;lt;s&amp;gt;WS2812B aka &amp;quot;Neo Pixel&amp;quot;&amp;lt;/s&amp;gt; Sadly defunct - come to the badge tent to have it fixed :(&lt;br /&gt;
* MicroSD slot&lt;br /&gt;
&lt;br /&gt;
[[File:pinout-1.png | 500px]] [[File:pinout2-1.png | 500px]]&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3&amp;diff=119</id>
		<title>TiLDA MK3</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3&amp;diff=119"/>
		<updated>2016-08-03T22:55:13Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Basic usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Using your badge ==&lt;br /&gt;
&lt;br /&gt;
=== Assembly ===&lt;br /&gt;
ToDo: How to attach screen and battery&lt;br /&gt;
&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
If at any point you want to restart your badge you can just press the reset button at the back. &lt;br /&gt;
&lt;br /&gt;
ToDo: Explain Home Screen&lt;br /&gt;
&lt;br /&gt;
ToDo: Explain App Library&lt;br /&gt;
&lt;br /&gt;
==== Changing your name ====&lt;br /&gt;
&lt;br /&gt;
1. Press 'Menu'&lt;br /&gt;
2. Select 'View All' and press 'A'&lt;br /&gt;
3. Use 'right' on the joystick to reach the 'All' category&lt;br /&gt;
4. Select the 'Change Name' app and press 'A'&lt;br /&gt;
5. Use the joystick and 'A' key to enter your name&lt;br /&gt;
6. Press 'Menu' to save your name and reset the badge - your name should now be displayed!&lt;br /&gt;
&lt;br /&gt;
=== WiFi ===&lt;br /&gt;
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: [[TiLDA MK3/wifi|WiFi]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
=== Nothing works! Help! ===&lt;br /&gt;
&lt;br /&gt;
Don't worry, you can always &amp;quot;factory reset&amp;quot; your badge. Please follow these instructions: [[TiLDA_MK3/reset|Resetting]]&lt;br /&gt;
&lt;br /&gt;
== Hacking your badge ==&lt;br /&gt;
&lt;br /&gt;
One of the main goals of TiLDA is to make hacking it as easy as possible. All you need to do so is a computer with USB and your badge.&lt;br /&gt;
&lt;br /&gt;
'''[[TiLDA MK3/Get Started|Step-by-step: How to get started]]''' &lt;br /&gt;
&lt;br /&gt;
The badge itself runs code written in the computer language [https://en.wikipedia.org/wiki/Python_(programming_language) Python] which is run by a bit of software called [https://micropython.org/ Micropython]. &lt;br /&gt;
&lt;br /&gt;
For more information about the functions available please have a look at the [[#Badge API|Badge API]] section of this page.&lt;br /&gt;
&lt;br /&gt;
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]]&lt;br /&gt;
&lt;br /&gt;
In case you're more interested in what makes the hardware tick and your confident with C++ and microprocessors then you can work directly with the micropython code that runs TiLDA: [[TiLDA MK3/build|How to build the firmware from scratch]]&lt;br /&gt;
&lt;br /&gt;
All code used is hosted on Github. Contributions and PR are very welcome!&lt;br /&gt;
* https://github.com/emfcamp/micropython&lt;br /&gt;
* https://github.com/emfcamp/Mk3-Firmware&lt;br /&gt;
* https://github.com/emfcamp/Mk3-Server&lt;br /&gt;
&lt;br /&gt;
=== Some ideas ===&lt;br /&gt;
&lt;br /&gt;
[[TiLDA MK3/Ideas|Please share what you've done (or want to do) with others!]]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/emfcamp/Mk3-Hardware/blob/master/case-final.dxf Laser cut case files]&lt;br /&gt;
&lt;br /&gt;
== Badge API ==&lt;br /&gt;
&lt;br /&gt;
=== Build-in ===&lt;br /&gt;
* [http://docs.micropython.org/en/latest/pyboard/ documentation] - General Micropython libarary&lt;br /&gt;
* [[TiLDA MK3/ugfx|uGFX]] - The TiLDA LCD colour screen&lt;br /&gt;
* [[TiLDA MK3/documentation/cc3100|CC3100]] - The wifi chip&lt;br /&gt;
* [[TiLDA MK3/rtc|RTC]] (real time clock)&lt;br /&gt;
* [[TiLDA MK3/adc|ADC]] (analogue reading)&lt;br /&gt;
* [[TiLDA MK3/timer|Timer]]&lt;br /&gt;
* Microcontroller peripherals [https://micropython.org/doc/module/pyb/] (Timers, PWM, serial etc)&lt;br /&gt;
&lt;br /&gt;
=== TiLDA Libraries ===&lt;br /&gt;
On top of the build-in modules above we have also created a bunch of helpful libraries written in python. If you go through the bootstrap process or use the App Library you should always have a full set of those on your badge. If for some reason this isn't the case you can download our repository from https://github.com/emfcamp/Mk3-Firmware and copy the &amp;lt;code&amp;gt;lib&amp;lt;/code&amp;gt; folder onto your badge.&lt;br /&gt;
&lt;br /&gt;
* buttons&lt;br /&gt;
* database&lt;br /&gt;
* dialogs&lt;br /&gt;
* filesystem&lt;br /&gt;
* http_client&lt;br /&gt;
* imu&lt;br /&gt;
* wifi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(feel free to add additional ideas, and create links new wiki pages to on-going projects, perhaps someone will want to contribute)&lt;br /&gt;
&lt;br /&gt;
== Badge hardware ==&lt;br /&gt;
TiLDA comes with a long list of very useful hardware. Some might be obvious, but some are a bit hidden. &lt;br /&gt;
* Colour LCD screen 320x240&lt;br /&gt;
* Joystick and A/B/Menu Buttons&lt;br /&gt;
* Wifi (cc3100)&lt;br /&gt;
* Accelerometer&lt;br /&gt;
* Compass&lt;br /&gt;
* Buzzer&lt;br /&gt;
* Battery&lt;br /&gt;
* &amp;lt;s&amp;gt;WS2812B aka &amp;quot;Neo Pixel&amp;quot;&amp;lt;/s&amp;gt; Sadly defunct - come to the badge tent to have it fixed :(&lt;br /&gt;
* MicroSD slot&lt;br /&gt;
&lt;br /&gt;
[[File:pinout-1.png | 500px]] [[File:pinout2-1.png | 500px]]&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3/wifi&amp;diff=118</id>
		<title>TiLDA MK3/wifi</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3/wifi&amp;diff=118"/>
		<updated>2016-08-03T22:50:54Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: Clarify root directory of the badge.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= wifi.json =&lt;br /&gt;
A simple json document in the root directory of the badge containing at least those properties:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&amp;quot;ssid&amp;quot;:&amp;quot;your-wifi-name&amp;quot;,&amp;quot;pw&amp;quot;:&amp;quot;your-wifi-password&amp;quot;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Most badge apps that use the wifi chip will expect a wifi.json file to exist. Please make sure it's valid json and that both name and password are in the correct case. &lt;br /&gt;
&lt;br /&gt;
Please make sure to &amp;quot;eject&amp;quot; the usb storage properly before restarting the badge.&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3/ugfx&amp;diff=63</id>
		<title>TiLDA MK3/ugfx</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3/ugfx&amp;diff=63"/>
		<updated>2016-07-24T11:33:18Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Widgets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The badge makes use of uGFX for providing drawing functions on the LCD. Most of this functionality is available through the micropython interface, and you may wish to browse the uGFX documentation for more details&lt;br /&gt;
&lt;br /&gt;
== Simple examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and tricks ==&lt;br /&gt;
&lt;br /&gt;
=== Tearing ===&lt;br /&gt;
&lt;br /&gt;
When writing large areas of the screen, a 'tearing' [https://en.wikipedia.org/wiki/Screen_tearing] effect may be observed.&lt;br /&gt;
&lt;br /&gt;
The screen module is comprised of a large memory, with one memory location to store the RGB data for each pixel. The LCD driver continuously updates the LCD pixels, by reading the memory in a sequential, line-by-line manner, and updating the LCD with the data from the memory. This 'read line-pointer' moves from the top to the bottom of the screen (when viewed in portrait), at about 70Hz (the refresh rate of the screen)&lt;br /&gt;
&lt;br /&gt;
This large memory as part of the screen means it can be driven by a microcontroller which may have a considerably smaller memory. The microcontroller therefore only needs to update the memory when it whats the content to change. &lt;br /&gt;
&lt;br /&gt;
Consider the scenario where the microcontroller wants to set the screen from one colour to another. The microcontroller needs to update the entire memory (320x240x2 = 153kB) with the new colour. At the same time the 'read line-pointer' is reading the same memory to update the LCD. In this case, tearing occurs if the 'read line-pointer' reads the top half of the memory containing the new colour, but then catches up with microcontroller writing to the memory, then the 'read line-pointer' starts reading the old colour in the bottom half of the memory.&lt;br /&gt;
&lt;br /&gt;
To avoid tearing the 'read line-pointer' should not cross the region the microcontroller is updating. Since the microcontroller writes to the screen slightly slower* than the LCD reads it, providing the microntroller starts writes to the top of the memory just after the LCD starts reading from the top, the read and write pointers will not overlap, and tearing will not occur. To sync the microcontroller with the LCD 'read line-pointer,' there is a vsync/tear output (connected to pin named 'TEAR') which is pulled high when the 'read line-pointer' reaches a given line (default is line 0). This can be turned on and off with '''ugfx.enable_tear()''' and '''ugfx.disable_tear()'''. To change the line at which the tear output is generated, use '''ugfx.set_tear_line(0..319)'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(*true at line of writing, it now might have been sped up)&lt;br /&gt;
&lt;br /&gt;
=== Reducing power consumption ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Detailed documentation ==&lt;br /&gt;
&lt;br /&gt;
Note. all co-ordinates are from the top left (battery symbol) corner.&lt;br /&gt;
&lt;br /&gt;
=== Colour format ===&lt;br /&gt;
&lt;br /&gt;
Internally, ugfx uses 565 format (5 bits for red and blue, 6 for green). Preset colours are available, for example '''ugfx.RED''', '''ugfx.ORANGE''', etc. To convert from 24 bit RGB format, use '''ugfx.html_color(0xRRGGBB)''' to return the 16 bit 565 format.&lt;br /&gt;
=== Containers ===&lt;br /&gt;
&lt;br /&gt;
==== ugfx.circle(&amp;lt;x&amp;gt;,&amp;lt;y&amp;gt;,&amp;lt;diameter&amp;gt;,&amp;lt;colour&amp;gt;) ====&lt;br /&gt;
&lt;br /&gt;
Draws a circle at &amp;lt;x&amp;gt;,&amp;lt;y&amp;gt; of &amp;lt;diameter&amp;gt; with a 1 pixel border of &amp;lt;colour&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
eg. ''ugfx.circle(180,150,40,ugfx.RED)''&lt;br /&gt;
&lt;br /&gt;
=== Widgets ===&lt;br /&gt;
&lt;br /&gt;
==== ugfx.text(&amp;lt;x&amp;gt;,&amp;lt;y&amp;gt;,&amp;lt;text&amp;gt;,&amp;lt;colour&amp;gt;) ====&lt;br /&gt;
&lt;br /&gt;
Draws a text string &amp;lt;text&amp;gt; at &amp;lt;x&amp;gt;,&amp;lt;y&amp;gt; in &amp;lt;colour&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
eg. ''ugfx.text(40,40,&amp;quot;My name is...&amp;quot;,ugfx.BLUE)''&lt;br /&gt;
&lt;br /&gt;
=== Styles ===&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
	<entry>
		<id>https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3/ugfx&amp;diff=62</id>
		<title>TiLDA MK3/ugfx</title>
		<link rel="alternate" type="text/html" href="https://badge.emfcamp.org/w/index.php?title=TiLDA_MK3/ugfx&amp;diff=62"/>
		<updated>2016-07-24T11:31:01Z</updated>

		<summary type="html">&lt;p&gt;Philcrump: /* Detailed documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The badge makes use of uGFX for providing drawing functions on the LCD. Most of this functionality is available through the micropython interface, and you may wish to browse the uGFX documentation for more details&lt;br /&gt;
&lt;br /&gt;
== Simple examples ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tips and tricks ==&lt;br /&gt;
&lt;br /&gt;
=== Tearing ===&lt;br /&gt;
&lt;br /&gt;
When writing large areas of the screen, a 'tearing' [https://en.wikipedia.org/wiki/Screen_tearing] effect may be observed.&lt;br /&gt;
&lt;br /&gt;
The screen module is comprised of a large memory, with one memory location to store the RGB data for each pixel. The LCD driver continuously updates the LCD pixels, by reading the memory in a sequential, line-by-line manner, and updating the LCD with the data from the memory. This 'read line-pointer' moves from the top to the bottom of the screen (when viewed in portrait), at about 70Hz (the refresh rate of the screen)&lt;br /&gt;
&lt;br /&gt;
This large memory as part of the screen means it can be driven by a microcontroller which may have a considerably smaller memory. The microcontroller therefore only needs to update the memory when it whats the content to change. &lt;br /&gt;
&lt;br /&gt;
Consider the scenario where the microcontroller wants to set the screen from one colour to another. The microcontroller needs to update the entire memory (320x240x2 = 153kB) with the new colour. At the same time the 'read line-pointer' is reading the same memory to update the LCD. In this case, tearing occurs if the 'read line-pointer' reads the top half of the memory containing the new colour, but then catches up with microcontroller writing to the memory, then the 'read line-pointer' starts reading the old colour in the bottom half of the memory.&lt;br /&gt;
&lt;br /&gt;
To avoid tearing the 'read line-pointer' should not cross the region the microcontroller is updating. Since the microcontroller writes to the screen slightly slower* than the LCD reads it, providing the microntroller starts writes to the top of the memory just after the LCD starts reading from the top, the read and write pointers will not overlap, and tearing will not occur. To sync the microcontroller with the LCD 'read line-pointer,' there is a vsync/tear output (connected to pin named 'TEAR') which is pulled high when the 'read line-pointer' reaches a given line (default is line 0). This can be turned on and off with '''ugfx.enable_tear()''' and '''ugfx.disable_tear()'''. To change the line at which the tear output is generated, use '''ugfx.set_tear_line(0..319)'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(*true at line of writing, it now might have been sped up)&lt;br /&gt;
&lt;br /&gt;
=== Reducing power consumption ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Detailed documentation ==&lt;br /&gt;
&lt;br /&gt;
Note. all co-ordinates are from the top left (battery symbol) corner.&lt;br /&gt;
&lt;br /&gt;
=== Colour format ===&lt;br /&gt;
&lt;br /&gt;
Internally, ugfx uses 565 format (5 bits for red and blue, 6 for green). Preset colours are available, for example '''ugfx.RED''', '''ugfx.ORANGE''', etc. To convert from 24 bit RGB format, use '''ugfx.html_color(0xRRGGBB)''' to return the 16 bit 565 format.&lt;br /&gt;
=== Containers ===&lt;br /&gt;
&lt;br /&gt;
==== ugfx.circle(&amp;lt;x&amp;gt;,&amp;lt;y&amp;gt;,&amp;lt;diameter&amp;gt;,&amp;lt;colour&amp;gt;) ====&lt;br /&gt;
&lt;br /&gt;
Draws a circle at &amp;lt;x&amp;gt;,&amp;lt;y&amp;gt; of &amp;lt;diameter&amp;gt; with a 1 pixel border of &amp;lt;colour&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
eg. ''ugfx.circle(180,150,40,ugfx.RED)''&lt;br /&gt;
&lt;br /&gt;
=== Widgets ===&lt;br /&gt;
&lt;br /&gt;
=== Styles ===&lt;/div&gt;</summary>
		<author><name>Philcrump</name></author>
	</entry>
</feed>