Blind Controller v2 PCB Boards now available for purchase!

Custom circuit boards for version 2 of the automatic blind controller are now available. This saves the wiring hassle and greatly condenses the size of the completed electronics, neatly fitting into the 3D printable housing available via thingiverse. Version 2 uses a D1 mini micro-controller to allow full WiFi capability, control via a mobile phone app, automatic opening/closing and precise calibration of start/end stops.

Get yours now from my etsy store or alternatively via eBay.

A limited number of version 1 boards remain and are available through eBay if you are part way through that build but hurry as this is the last batch!

Blind Controller V2 Announced!

Blind-Controller-V2-Promo-Graphic

Exciting news, I will soon be releasing a new version of the Amazon Alexa compatible blind controller, similar in design but with all new hardware. Powered by a Wemos D1 Mini micro-controller, it is now WiFi enabled and can be operated from within a mobile app from anywhere in the world.  Upgraded motors allow for precise, repeatable positioning and easy calibration either from within the mobile app or using the full manual controls. The mobile app also allows scheduled opening and closing at pre-configured times.

Check out the teaser trailer below and be sure to check back soon and subscribe to my YouTube channel for future updates…

 

 

Solar power for small electronic projects

Having to rely on mains power can frequently limit the usefulness of the devices we make. Being able to power them continuously from the sun using a solar panel in combination with a rechargeable battery is an cheap and easy solution.

In this tutorial, I give a basic explanation of the process of  harnessing energy from the sun using solar and an example circuit which you could use for your own small scale projects.

 

The parts used for this project can be found here:

TP4056 Li-Ion Battery Charge Controller:

https://www.banggood.com/custlink/KGmmYIsB5L

TP18650 3.7V Li-Ion Battery (2600mAh):

https://www.banggood.com/custlink/KKDmESs4HB

6V 4.5W Mono crystalline Solar Panel:

https://www.banggood.com/custlink/GvD3YIs0PU

5V 1A USB Step Up Converter:

https://www.banggood.com/custlink/mvK3ESN6SK

Coming Up I will be using the theory presented here to create a Solar Module for my wireless moisture sensor to provide a hopefully near continuous supply of power so I can monitor my plants all through the summer season.

DSC00819

WiFi Enabled Soil Moisture Sensor

Combining the D1 Mini and Blynk to create a wireless Soil Moisture Sensor…

This small portable sensor can be used to alert you to the moisture condition of your plants. In the future it can be combined with a water pump to create a fully automatic garden system.

_MG_7852

To begin you will need to download and 3D-print the 3 separate parts available via thingiverse.

You will need the following components:

WeMos D1 Mini
3.7V 14500 Li-ion Battery
Capacitive Soil Moisture Sensor
D1 Mini Battery Shield
WS2812 RGB LED
1 x AA Battery Holder

Connect everything together using the following schematic:

Schematic.png

The shield can be connected directly to the D1 mini. The breadboard is used above for reference only and components should be soldered and crimped together in order to facilitate positioning inside the printed housing.

Remember to connect the RST pin to D0 in order to enable sleep mode.

The final assembled device should look similar to the image below:

DSC00734.jpg

Download the Blynk App to your smart phone/device and create a new project based on the following:

Screenshot_2018-12-16-22-42-33-140

Upload the sketch to the D1 Mini using the Arduino IDE. Edit the sketch to include reference to your WIFI SSD and password as well as your unique Blynk authentication token.

Insert and charge the battery and watch the data roll in…

Use the sliders in the app to adjust the threshold at which the dry/wet alerts are activated. The sketch can be further customised if your sensor needs it as well as for things like the length of time to sleep.

Getting started with the D1 Mini and the Arduino IDE

Before you can begin programming the D1 mini from within the Arduino IDE it must first be installed. Follow these easy steps to get started:

  1. Load the Arduino IDE
  2. Navigate to the preferences, File Preferences
  3. Under Additional Boards Manager URLs enter: http://arduino.esp8266.com/stable/package_esp8266com_index.json

    Preferences.png

  4. Navigate to Tools > Board > Boards Manager
  5. Search for esp8266 and click Install, then click close

    Boards Manager.png

  6. Under Tools > Board select the LOLIN(WEMOS) D1 R2 & mini
  7. Connect your D1 mini via USB and allow windows to automatically install the drivers
  8. Select the correct serial port under ToolsPort
  9. You should now be able to upload and test your sketches!

Getting your Arduino online – Using the ESP-01 and Blynk

A short tutorial on using the ESP-01 to connect your Arduino projects to the Internet of Things (IoT) via. The ESP-01 is a WiFi enabled microcontroller that may be used standalone or in combination with an Arduino to enable WiFi control and monitoring of any project.

If you have difficulty getting your ESP-01 to work, see my separate video on flashing new firmware: