bookmark_borderArduino Crash Course: Get up and running in 1 hour

Have you heard of the Arduino? Its a small but powerful micro-controller that can be used to create many amazing things. An Arduino can be used to sense its own environment, connect and communicate with the Internet, manipulate devices around it, send messages, and much much more. Last year, over 700,000 hobbyists were using and contributing to the Arduino environment.

This course is designed to take you from 0 to 100 with Arduino in less than an hour. At the end of the course, you’ll be fully familiarized with Arduino and ready to build your own applications and devices. Ideally, this course is for beginners who want to get their toes wet with the Arduino system but those already familiar with Arduino can still learn from the techniques used in this course.

What you’ll learn in this course:

– How to setup the Arduino software and start outputting code
– How to understand and write code that your Arduino can understand
– How to setup Serial communication
– How to use a breadboard, and RGB sensor, and a LED Pin.
– How to create a variety of functions that interact with your Arduino
– How to create a device that detects your rooms temperature and changes colors accordingly.

ALL IN LESS THAN ONE HOUR!

Continue reading “Arduino Crash Course: Get up and running in 1 hour”

bookmark_borderSubmenu item to Custom Post Types on WordPress

This is my first post under “Today I Learned” category, where I will post tips and code snippets about solutions to some problems I found while working on my projects.

Right now I am creating a custom WordPress plugin to interact with Campaign Monitor API. In the wordpress admin panel you have a Custom Post Type called “Email Campaigns”, and that’s where we want our plugin to add a submenu.

To get the right menu item to add the submenu, you need to check the URL that it takes you. For example, by clicking on the “Email Campaigns” button, it loads the page: http://www.domain.com/wp-admin/edit.php?post_type=email-campaign. So the item that we will use will be ‘edit.php?post_type=email-campaign‘.

The function below adds the submenu to that Custom Post Type:

And this is the result:

Before:

email_api_after

After:

email_api_before

bookmark_borderCustom jQuery Slide Button

The idea of this code is to create a button with a cross on the right side and when you click, it rotates the cross and expands a hidden div. To slide up you can click on the button or on a round circle on the bottom of the div.

Everything was made using HTML, JavaScript and CSS.

You can also check a demo here.

button example

Continue reading “Custom jQuery Slide Button”

bookmark_borderSay hello to my little friend – Arm Pro Mini

Last couple of weeks I have been playing with this great board called “Arm Pro Mini” (name that came after the Arduino Pro Mini). This board is a small barebone open source ARM M0 Microcontroller that was designed to help makers take the bold move from the Arduino “world” to the next step into the feared ARM architecture.

Continue reading “Say hello to my little friend – Arm Pro Mini”