loading

Any die-hard Harry Potter fan will remember Neville Longbottom's Remembrall. This object is described as a small, glass ball that fills with red smoke when its owner has forgotten something. Unfortunately, the Remembrall doesn't inform the owner about what they have forgotten, rendering the item fairly useless.

Because I seem to have a knack for creating useless things, I decided to create a Remembrall that ACTUALLY WORKS!!!!! This Internet Connected Remembrall functions alongside Todoist, which is a web and mobile to-do list application. After gathering the owner's data, the Remembrall turns red if due dates of uncompleted tasks have passed. While I will admit that my Remembrall isn't quite as useless as Neville's, it is sure to leave it's owner in a state of panic as they try to figure out what they have forgotten (or at least I hope it does!).

Step 1: Materials and Tools

You will need to collect the following items:


Electronics:

-Particle Photon

-SparkFun Photon Battery Shield

-Clear Red LEDs

-Resistors(6)

-Protoboard

-Male to Female Jumper Wires(4)

-Electrical Tape

-Micro USB Cable

-Polymer Lithium Ion Battery

Materials:

-3" Clear Fillable Ornament

-3" Shipping Tube

-Poly-Fill

-Hot Glue Sticks

-Sandpaper

-Puffy Paint

-18 Karat Gold Metals Premium Leafing Finish

-Blue Painters Tape

-Solder

-Rubber Bands

Tools:

-Saw

-Hot Glue Gun

-Wire Cutters

-Scissors

-Soldering Iron

Step 2: Todoist App and the Todoist API

Because this project works with the Todoist App, make (and start using!) an account on todoist.com. Todoist is very easy to create new 'time based' tasks on. When creating a new task, you can type in a specific date and time in the title, and Todoist will organize your tasks accordingly. For example, if I type in: "Buy Spell Books by Wednsday at 5pm", Todoist will move this Task under the "Wednesday" category.

Todoist also has a wonderfully documented API which can be found by clicking here. While logged in, click on the "Manage App", tab at the top of the page and click on the "Create New App" button. This will open up a new window where you will fill in the following information:

App Display Name: Spark Core

App Service URL: (leave blank)

Click the "Create" button and this will bring you to a new page. On this page you will find your "access token". If you scroll down the page a bit, you will also see a box asking for a "Webhook Callback URL". In this box write "https://todoist.com/API/v7/sync/" . Additionally under "Watched Events" check off the "items:uncomplted" box.

Next, visit the following URL and replace the "(your access token here)" text with your Access Token provided:

https://todoist.com/API/v7/sync/?token=(your access token here)&sync_token=%27*%27&resource_types=[%22items%22]

This URL will bring you to a page containing JSON data on all of your tasks. In the next step we will organize this data into information that our Remembrall can understand.

Step 3: Using MATLAB Code With ThingSpeak

ThingSpeak is a fantastic website that helps power some incredible IoT projects and web apps, including this one! To begin, make an account on thingspeak.com if you don't already have one. Next in the top navigation bar go to Channels > My Channels, and on this page click on the "New Channel" button. On this page, fill out the following information:

Name: Task Overdue

Field 1: taskoverdue

Then, click on the "Save Channel" button on the bottom of the page.

Next, click on the top navigation bar go to Apps. Under "Analytics" click on MATLAB Analysis. In the new window, click on the "New" button. On the new page that opens, select the "Custom (no starter code)" option, then click on the "Create" button.

For the name of the app, name it "Todoist", then insert the following code:

url = '(url from the previous step goes here)';

writeChannelID = (your write Channel ID);

writeKey = '(your write key)';

tempF = urlread(url);

expression = 'due_date_utc":"[a-zA-Z_0-9_ ]*:\w*';

x = regexp(tempF,expression,'match');

replace = {'due_date_utc":"'; 'Mon '; 'Tue '; 'Wed '; 'Thu '; 'Fri '; 'Sat '; 'Sun '};

newexpression = '';

DateStrings = regexprep(x,replace,newexpression);

t = datetime(DateStrings,'InputFormat','dd MMM yyyy HH:mm','TimeZone','UTC');

now = datetime('now','TimeZone','UTC');

dt = between(now,t);

tf = isbetween(t,now,'1-Jan-3000');

taskoverdue = any(tf == 0);

thingSpeakWrite(writeChannelID,[taskoverdue],'Fields',[1],'Writekey',writeKey);

There are three lines of the code above that you will need to edit. This is what you will have to do to get the following information:

url: Use your url determined in the previous step.

writeChannelID: Go to Channels > My Channels and click on the "Task Overdue" channel that you previously created. On this page you will find your "Channel ID".

writeKey: While still on your "Task Overdue" channel, click on the API Keys tab. The correct key to use is listed under the "Write API Key" section.

Once you have your code ready to go, click on the "Save and Run" button!

Step 4: TimeControl With ThingSpeak

Now we need to instruct our channel to run the MATLAB code periodically so we can continuously gather data. To do this, navigate to Apps tab, and under the "Actions" section, click on TimeControl. Click on the "New TimeControl" button and fill out the following information:

Name: Todoist Update

Frequency: Recurring

Recurrence: Minute

Every: 5 minutes

Action: MATLAB Analysis

Code to execute: Todoist

Then click on the "Save TimeControl" button. This TimeControl instructs the MATLAB code to run every 5 minutes, check Todoist.com for any overdue tasks, which returns a "0" if there aren't any overdue tasks, and a "1" if there are any overdue tasks. This information is then plotted to a graph under the "Task Overdue" channel where we can see a graph of our data as it updates.

Step 5: Twitter With ThingSpeak

Thingspeak provides easy integration with Twitter so it can tweet information about your data for you! Begin by creating a new account for your Remembrall. Next, go back to Thingspeak and navigate to the Apps tab and under the "Actions" section, click on ThingTweet. Click on the "Link Twitter Account" button and on the page that opens up, click on the "Authorize App" button.

Next, we have to make a new TimeControl app. Navigate back to TimeControl, click on the "New TimeControl" button and fill out the following information:

Name: Twitter

Frequency: Recurring

Recurrence: Minute

Every: 5 minutes

Action: ThingTweet

then tweet: It is currently %%datetime%% and Remembrall is #a%%channel_138352_field_1%%.

*replace the number "138352" with your channel ID*

using Twitter account: Select the name of your twitter account.

This TimeControl instructs TimeSpeak to automatically tweet a phrase to your Twitter account containing the current date and time (we do this because Twitter doesn't allow identical tweets), and the hashtag #a0 meaning that there are currently no overdue tasks, or the hashtag #a1 meaning that there are currently overdue tasks.

Step 6: Upload Code Using Particle Build

*Note*If you see in photos that I am using a Spark Core instead of a Particle Photon, don't fret! Both will work for this project!

If you haven't already, make an account on Particle Build and make sure your photon is connected. Next, under the <> (code) tab on the side navigation bar, click on the "Create New App" button and name the app "TODOIST". In this app, save and upload the following code to your Particle Photon:

int led1 = D1;
int led2 = D7;

void setup() {

pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
Spark.function("led_on", led_on);
Spark.function("led_off", led_off);

}

int led_on(String cmd) {

digitalWrite(led1, HIGH);
digitalWrite(led2, HIGH);

}

int led_off(String cmd) {

digitalWrite(led1, LOW);
digitalWrite(led2, LOW);

}

void loop() {

}

Step 7: IFTTT Recipies With Twitter and Particle

If you haven't visited IFTTT yet, you really should because it can do some really awesome things! For this project, we are going to use IFTTT to check for twitter updates so it can turn the red lights on our Remembrall on if we have forgotten to do something.

If you don't already have an account on IFTTT, create one. Next, click on the My Recipies tab in the top navigation bar, then click on the "Create a Recipe" button. Click on the word "this" and then search for the Twitter channel. Link your twitter account, and then click on New tweet by you with hashtag. Then, fill out the following information:

Hashtag: #a1

Click the "Create Trigger" button, then clock on the word "that". Search for the Particle channel, then click on Call a function. Then, fill out the following information:

Then call (Function Name): led_on on "(your photon's name)"

with input (Function Input): (leave blank)

Repeat this step by creating a second Recipe using "#a0" as your twitter hashtag and "led_off on "(your photon's name)"" as your function name. When you are done with this step, your Remembrall will now be able to read your tweets and update itself accordingly!


Step 8: Prepare Your Plastic Ornament

Your plastic ornament has a ring on each half of the top that will need to be removed before continuing. It's possible to break them off by hand, but I suggest getting an exacto knife and scoring them a few times to ease this process.

Next, sand the inside of the ornament to create a 'frosted' look. This will help to hide the electronics, diffuse the LEDs, and make the light look more similar to smoke. Run the inside of your ornament under water, take a small piece of sandpaper (I suggest using a finer grit), and begin sanding. Getting your ornament and sandpaper wet will help you sand smoothly.

Step 9: Create Your Ring

Take a ruler and measure 1/2" from the edge of your 3" mailing tube. I recommend creating a line around the entire circumference of your mailing tube to make cutting easier.

Use a saw to cut off this ring, making sure to follow the line you just drew as it's very easy to cut crooked! Cut a slit in the ring and hot glue it to the edge of your ornament half (the one with the lip on the outside). Leave about half of the ring exposed so the seam is hidden when the other half of the ornament snaps on.

As you will notice, 3" isn't quite enough to wrap around the entire ornament. To remedy this, measure the gap in your ring after you have hot glued it and cut a small piece of your cardboard ring to glue in place.

Step 10: Paint Your Ring

With your puffy paint, create small, evenly spaced dots around the ring. Once you've completed the entire circumference, let the puffy paint dry for several hours.

Next, cover your plastic ornament with blue painters tape. Using the gold leafing paint, paint your entire ring, making sure to get all of the edges. You will need to apply several coats of this paint (probably about 3 or 4), especially around the puffy paint.

While you are waiting for paint layers to dry, it helps placing your Remembrall in a cup so you don't get paint on any of your work surfaces.

Step 11: Solder Your Electronics

Using protoboard, solder 3 LEDs with the appropriate resistors in parallel with each other. Solder the female sides of two male to female jumper wires onto the protoboard, one on the positive(+) side of the circuit, and one on the negative(-) side. Repeat this process a second time on another piece of protoboard.

When soldering onto protoboard, leave all of the legs and pins of your electronics long until you are done with all the soldering. When complete, use wire cutters to cut everything down as short as possible (we will be a little tight on real estate in our Remembrall so this is very important!). I also recommend using a 3V battery to test your circuit to make sure it works before moving along.

When you have confirmed that everything is working as intended, take some electrical tape to wrap around the back of your protoboard to insulate your solder.

Step 12: Attach Electronics

Attach your Photon and your Lithium Ion battery to the battery shield. Next, attach your protoboards by making the following connections to the pins on your battery shield:


Protoboard #1 -

Positive(+): D1

Negative(-): GND

Protoboard #1 -
Positive(+): D7

Negative(-): GND

Finally, the most glamorous, well thought out step of all! (Can you hear the sarcasm in my voice?) Stack your electronic components on top of each other and secure them with some rubber bands or in my case, hair ties. It looks a little crude, but hey, it works!

Step 13: House Your Electronics

We are going to use some poly-fill to further hide our electronics, diffuse the LEDs and create the illusion of smoke. Begin by taking a thin piece of poly-fill and covering the inside of half of the plastic ornament. Insert your "electronic bundle" with one of the LED sides down.

Next, put poly-fill in the other half of your plastic ornament. Then, you can close up your Remembrall and admire what you've just created!

Step 14: Hooray You're Done....and Some Thoughts on Expanding This Project!

Well done! If you've come this far you have completed some thing totally awesome with unbridled potential to be almost entirely useless!

While this Remembrall only informs you when you've forgotten to do something from your Todoist app, there are so many other applications and internet connected items that you could potentially incorporate with this project!

Some ideas are as follows:

-Connect a Parrot Flower Power sensor to alert you when you've forgotten to water your plants.

-Tile, a lost item locator can alert the Remembrall when you're out or range of important objects like your keys or wallet.

-Use IFTTT to alert you when you've forgotten to respond to emails or phone notifications.

As you can see, the possibilities are endless!

<p>This is awesome, awesome, awesome. Thank you for these instructions!</p><p>I want to give this a try, but I am already a happy user of Asana for my to-do list. In theory (this is me asking before doing any great deal of research - just trying to understand the general concept) if I can somehow make Asana tweet similar updates, would the instructions be much the same from then on? In other words, once the updates are in twitter form, you're good to go from there on?</p>
<p>Hi Allie, I finally finished my Remembrall, so I thought you'd appreciate seeing it in all of its glowing glory. The image on the right depicts the substitution of a neopixel ring, which is connected to CheerLights on one half of the ball. It works! Thanks, again for sharing your knowledge. </p>
<p>Which resistors are used in this project?</p>
<p>Also, where did you get your battery?</p>
<p>I guess when I fixed the links in my supply list, the link to the battery got lost! Anyway, that is now corrected, but I will include the link here as well: </p><p><a href="https://www.amazon.com/gp/product/B01FVSG19E?ie=UTF8&tag=remembrall07-20&camp=1789&linkCode=xm2&creativeASIN=B01FVSG19E">https://www.amazon.com/gp/product/B01FVSG19E?ie=UT...</a></p><p>You don't have to use this exact battery, but do look for a Polymer Lithium Ion that is 3.7V. Adafruit sells a lot of great batteries. Generally, the larger mAh and size of the battery, the longer the battery life. Just make sure you don't buy a battery that is too big to fit inside the remembrall!</p>
<p>any idea for a replacement for this battery it seems to be out of stock everywhere.</p>
<p></p><p>https://www.amazon.com/gp/search?ie=UTF8&amp;tag=instructab0f2-20&amp;linkCode=ur2&amp;linkId=2766dc82fe2442f1d535b6c4cc4c7311&amp;camp=1789&amp;creative=9325&amp;index=electronics&amp;keywords=Lithium%20Ion%20Polymer%20Battery</p><p><a href="https://www.adafruit.com/categories/574">https://www.adafruit.com/categories/574</a></p><p>The first few results when visiting the above links will show you some good batteries. Make sure you choose one that is 3.7V, and generally the larger the mAh (along with a larger sized battery) means that you can go longer before you have to recharge. Just make sure to take a look at the specs to confirm that your battery will fit inside of the plastic ornament. </p>
<p>I used 100ohm resistors. Honestly, they were a little much for this project. The LEDs were a little dimmer than I had hoped, but I was trying to be conservative with spending money on supplies and had some lying around from another project.</p><p>I recommend looking at the specs for the LEDs you have and visit http://ledcalc.com/ to calculate exactly what you need. When I used the calculator, it told me that 22ohm was more appropriate for the LEDs I had purchased, but it might be slightly different for you unless you purchased the same LEDs as me. </p>
<p>Your project is absolutely wonderful, and it gave me the courage to try to learn more about scary sounding things like &quot;JSON&quot; and &quot;web hooks.&quot; I didn't make an actual ball, but I got my LEDs to work just like yours! Thanks, so much for sharing your knowledge! I finally understand a little more about how the IoT works and feel confident enough to start experimenting on my own! </p><p>Through some trial and error, I did notice a small thing missing in the code when adding the Todoist URL to ThingSpeak. I believe there should be single quotation marks in front and after the URL. Much gratitude to you!</p>
<p>Fantastic! Having recently found the courage to learn more about those scary words myself, I am so happy that this Instructable was able to help you! Since I always love seeing when people leave &quot;Made It!&quot; comments on my projects, I will be sending a code for a 3 month Instructables Pro Membership your way! Check your Inbox for the code. </p><p>And you were correct about the quotation marks! I must have accidentally deleted them when removing my personal URL from the code. I have updated the writeup accordingly. Thanks for catching my mistake!</p>
<p>This is really cool. Is anyone making extras to sell? Beyond my skill.</p>
<p>Hi, thanks for your comment! Unfortunately I am not able to make these to sell at the moment. I am always happy to answer questions to troubleshoot problems and give advice for those trying to make this project though! </p>
Ah well ... thanks anyway.
<p>Nice, very creative!</p>
<p>Thank you StefanS96!</p>
<p>Allie,</p><p>This is, to borrow the colloquialism, quite amazing! I have always desired to have a collection of Harry Potter related things that I've made that work, and with this, and a Weasley clock that works, I am fulfilling that dream! Now all you need to make is a wand that works!</p>
<p>Thank you so much!!! If you end up making the Remembrall, I would love to see pictures! And if you're looking to make a wand that works, I made a Magic Wand TV Remote about a year and a half ago. With some work, it could definitely be programed to do more than control just a television! Here is a link to the Instructable for that project: </p><p><a href="https://www.instructables.com/id/Magic-Wand-TV-Remote/">https://www.instructables.com/id/Magic-Wand-TV-Remo...</a></p>
<p>Oh, and also, I'm on Step 2 with the part with putting your Access Code into the URL, and it says that my Access Code is invalid....</p>
<p>Are you including the parentheses with the Access Token? If so don't. For example, if your access token is 1234567890, the URL should look like this:</p><p><a>https://todoist.com/API/v7/sync/?token=</a>12345667890&amp;sync_token=%27*%27&amp;resource_types=[%22items%22]</p><p>NOT this:</p><p><a>https://todoist.com/API/v7/sync/?token=(</a>1234567890)&amp;sync_token=%27*%27&amp;resource_types=[%22items%22]</p><p></p><p>If that doesn't solve your problem and you feel comfortable doing so, feel free to send me a personal message with your Access Token and I would be happy to try and get it to work for you.</p>
<p>Thank you so much!!!!! It worked! I can't believe that I didn't notice that!</p>
<p>Hi, I can't find where the &quot;Manage App&quot; button is. If you could please send some sort of screenshot of where it is, that would be much appreciated! Thank you!</p>
<p>Hi! Again I am very sorry for the slow reply! The Manage App button can be found through this link: </p><p><a href="https://developer.todoist.com/#api-overview">https://developer.todoist.com/</a></p><p>And here is a screen shot of it circled! </p>
<p>Thank you so much!</p>
<p>Congrats on winning first prize!</p>
<p>Thank you! Congratulations to you too! I was extremely impressed when I found out that your 'Time Turner Necklace' was made entirely out of paper!!!! </p>
<p>Great Instructable, its a good example of the varied skills that a well-rounded maker should/could develop. Also, good job on real-life-ing such a oddball movie item, I dig it! </p>
<p>Wow, thank you for such a nice comment! I'm completely flattered!!! </p>
<p>:-) You had me at &quot;knack for making useless things&quot;, there is something strangely rewarding about it. My &quot;Text Message in a Bottle&quot; is my favorite one so far.</p>
<p>Haha, I remember seeing your &quot;Text Message in a Bottle&quot; project back when it was posted and thinking it was really clever!!! </p>
<p>Very nicely done! I'm actually working on a moving Weasley clock, and used the app and cloudmqtt site you mentioned in your other instructable on the picture frame! Keep up the awesome work!</p>
<p>Awesome!!! I'd love to see your Weasley Clock when you are done! It's always really nice to hear when people use resources that I mention in my Instructables for their own projects. It makes me want to keep making, developing and writing, so thanks for such an encouraging comment!</p>
This is a really cool idea and fantastic instructabke, you got my vot :) Now, to build this I'd first really have to clean up my todoist. It would be glowing red 24h as of now :((
<p>Haha, it's glowing red for me right now too! And thank you! I appreciate the vote!</p>
<p>do you know how I could make this detect open WiFi?</p>
<p>Hi, unfortunately I don't think there is a way. If you wanted to be able to use this project in multiple locations and have a smart phone with a hotspot, you could try using that route. Here is a link to a forum topic talking about hotspots:</p><p>https://community.particle.io/t/connecting-to-an-iphones-wifi-and-using-its-3g-4g-web-connection/210/21</p>

About This Instructable

18,404views

182favorites

More by allie.fauer:Internet Connected Remembrall IoT Location Sensing Picture Frame Personalized 3D Printed PEZ Dispensers 
Add instructable to: