Example Code for micro:bit-MakeCode-Send note to Evernote (IFFTT)
This article provides detailed instructions on how to send notes from a micro:bit device to Evernote using the IFTTT platform. It covers hardware and software requirements, wiring setup, and includes sample code for seamless integration, making it an ideal resource for those interested in IoT and automation.
Hardware Preparation
- micro:bit board: Quantity 1
- Micro: IoT expansion board: Quantity 1
- IFFTT platform access: Quantity 1
- Evernote account: Quantity 1
Software Preparation
- Makecode online graphical programming platform: https://makecode.microbit.org/
- Micro:IoT library: https://github.com/DFRobot/pxt-microIoT
- How to install an library?
Wiring Diagram
Plug the micro:bit board into the Micro: IoT expansion board.
Other Preparation Work
-
- Enter IFFTT website, register an account: https://ifttt.com
-
- Sign in and enter the My Applets page, click New Applets.
-
- Create an Applet: click This, input webhooks, fill the Event Name as "kkk".
-
- Click That, search Evernote, select "Create a note", select the default form, click "Creation action".
-
- Use the same password as the previous Email project.
Sample Code
Makecode Programs: send date to Evernote
Result
press down button A, send "HI DFROBOT" to the Evernote.
Was this article helpful?
