Arduino Continuous Rotation (360 degree) Servo Driver Implementation

This servo rotates fully forward or backwards instead of moving to a position. You can use any servo code, hardware or library to control these servos. Good for making simple moving robots. Comes with four different horns.

To control with an Arduino, I suggest connecting the control wire to pin 9 or 10 and using the Servo library included with the Arduino IDE. Position “90” (1.5ms pulse) is stopped, “180” (2ms pulse) is full speed forward, “0” (1ms pulse) is full speed backward.

Even though we have used continuous servos, the interface is universal enough to handle any other motor (ie. DC brushed).

Interface

 

Implementation

Example Arduino Code

3D Printed Case for Living Green Wall Project

This post is part of the series on DIY Living Green Wall:

  1. Living Green Wall Prototype
  2. Arduino Watering System Prototype
  3. 3D Printed Case for Living Green Wall project

To follow you need basic knowledge of Arduino circuits (do some tutorials first) and beginner skills in programming.

Business requirements

We need the project’s casing to:

  • enclose all the circuit parts
  • be extendable with different pumps, additional sensors, and functionalities
  • have an accessible manual control button
  • have an OLED display attached
  • have an easy access to Arduino UNO ports and power plug
  • be easy to disassemble, hence limit the use of glue and solder

We will use  Modular 3D Printed Case for DIY Project and extend the base design to fulfill our requirements.

Read more

3D Printed Case (Modular!) for your DIY Project

Every time I build a DIY project I stumble upon the need to encase it. There is plenty available 3D Printed Case designs online but none truly met my needs for simplicity and modularity. This pushed me to design the case tailored exactly to my needs.

Business requirements

We need the project’s casing to:

  • enclose all the circuit parts
  • be easily extended with additional sensors, motors, and functionalities
  • be easy to modify
  • be easy to disassemble all the parts
  • limit the need for soldering and gluing
  • be 3D printed without support and bridges
  • be KISS (Keep It Simple, Stupid)

Read more

Arduino Watering System Prototype – DIY Living Green Wall

This post is part of the series on DIY Living Green Wall:

  1. Living Green Wall Prototype
  2. Arduino Watering System Prototype
  3. 3D Printed Case for Living Green Wall project

To follow you need basic knowledge of Arduino circuits (do some tutorials first) and beginner skills in programming.

Business requirements

This is an initial set of requirements for a DIY home irrigation system. I will dig into other possible evolution paths later on.

  1. We want to water our plants in intervals, for instance every 12 hours. Interval starts when watering starts.
  2. Watering process should take no longer then set amount of time, for instance 20 minutes
  3. We should be able to stop watering process manually
  4. We should be able to start watering process manually

Read more

The Prototype – DIY Living Green Wall

This post is part of the series on DIY Living Green Wall:

  1. Living Green Wall Prototype
  2. Arduino Watering System Prototype
  3. 3D Printed Case for Living Green Wall project

When it comes to improving your house or health, spending a little green on greens can go a long way. It’s not just about improving your indoor aesthetics.
Even if you don’t notice a plant’s presence, seeing a plant can subconsciously make you feel calm and relaxed.

A lot of research has gone into the benefits of plants on human health. Studies showed mixed results about the benefits. Some of these include:

  • Boosting your mood
  • Enhancing concentration and memory, hence productivity
  • Providing cleaner air
  • Lowering chance of illness

Read more

DIY 3D Printer, cheap

Your next project could be DIY 3D Printer.

Creating things out of thin air has always been man’s dream. Unfortunately 3D printers are not molecular synthesizers. No doubt in near future every household will be using 3D printing device, just like microwave. We’re talking here about really close future.
Read more

How to bold first (or n-th) paragraph of text

In the last two projects I’ve been asked a simple task to bold first paragraph of text. This task proved to be very complex or quite trivial depending on my customer’s requirements. Hope someone will find code snippets below helpful.

Lets assume your HTML code looks like that:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur imperdiet purus in dictum scelerisque.

Vivamus ut consectetur tortor. Phasellus egestas magna nisi, non tempus purus malesuada sed.

You want to bold first paragraph like this (visual representation depends on CSS):

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur imperdiet purus in dictum scelerisque.

Vivamus ut consectetur tortor. Phasellus egestas magna nisi, non tempus purus malesuada sed.

This can be achieved in at least two ways.
Read more

How to build free portfolio? 5 easy steps.

Want to build free portfolio? Photographers, models, architects, painters and all kinds of visual artists can benefit from having a portfolio of their best work online. This will make sharing photos with potential clients and employers easy and professional. Free online portfolio websites are a great source for such, allowing users to showcase their work. Here’s how to create an online portfolio using a system like Stylinova.
These 5 easy steps will teach you how to create your very own online portfolio.

Read more