Voici la question qui me guide dans mes recherches...

L’appât du gain manifesté par les entreprises supranationales et certains groupes oligarchiques, de même que le contrôle des ressources naturelles par ceux-ci, dirigent l’humanité vers un nouvel ordre mondial de type féodal, voir même sa perte. Confronté à cette situation, l’être humain est invité à refuser d’accepter d’emblée une pseudo-vérité véhiculée par des médias peut-être à la solde de ces entreprises et groupes. Au contraire, il est invité à s’engager dans un processus de discernement et conscientisation afin de créer sa propre vérité par la confrontation de sa réalité nécessairement subjective à des données objectives, telles que révélées par la science, par exemple.

The penalty that good men pay for not being interested in politics is to be governed by men worse than themselves. - Plato

dimanche 31 janvier 2016

Getting started with Internet of Things IoT

Update: Feb 21th 2016:


So I decided to start my exploration with 2 modules.

First one is the NodeMCU (manufacturer)
  • Contains a ESP8266 Wi-Fi SoC integrated with a Tensilica Xtensa LX106 core
  • Memory 20kBytes, Storage 4MBytes
  • Running uses the Lua scripting language 
  • Many guide on YouTube
  • Github for the firmware and code
  •  Start here guide on ESP8266.com
I found those on Alibaba from A+A+A+ vendor at a very low cost of around 5$ Can.  Adafruit as a similar product called Feather HUSSAH!

To play with the module, I also purchased the DHT22 Temperature / Humidity combo sensor.
And a DC to DC converted to power it from a 9V battery.

The second module I bought is the Arduino UNO R3 + Proto shield to get familiar with the Aduino line.

I started a blog post at Sparkfun.com to discuss some aspect of the projects.

Will start a new blog post to explain the steps to get those going.


Original post


Here's some quick notes for those of you who are looking to build some IoT devices by your self.

There's two main types of devices to start with, many others, but will cover the 2 main ones first...

 

1) Arduino based products
  • Arduino comes in a range of form factors some of which are very small (almost as small as a bottle-top in some cases)
  • Can only use one language, a variant of C
  • Need a computer to program it and upload
  • You cannot connect the  usual keyboard, mouse and display.
  • It's good to do simple task, read/write I/O's and take actions
  • Cost varies from 3$ to 20$ and more if adding modules (WiFi)
  • With careful programming, can run a single task for a year on a set of AA batteries
  • Support page of Arduino
  • Home page of the product
  • Lots of digital I/O's, analog input (for sensors) and PWM (for analog out). List per model.
  • Many vendors have enhanced Arduino compatible boards like this one with WiFi, SD card and RTC.
  • Add-on Modules are called "shields".  Many exist, like adding WiFi, controlling motors etc.
  • 5 Great Arduino shields you should buy 
2) Raspberry PI based products
  •  RaspberryPI is a complete PC
  • You can connect a keyboard, mouse and display
  • Cost varies from $20-$60 depending on type of modules
  • RaspPi has a wide variety of programming languages available eg perl, python, php, C, shell etc and can be programming with a keyboard and a HDMI-compatible monitor.
  • Support page of Raspberry Pi
  • Home page of Raspberry Pi
  • WiFi can be added with off-the-shelf USB Wifi stick
  • Consume a lot more power than the Arduino
3) Discovered some more fun things to explore!

Partly discovered from this video

  • Particle Photon
    • Fast 32 bit CPU + I/) and WiFi
  • CHIP - The World's First Nine Dollar Computer
  • PINE A64, First $15 64-Bit Single Board Super Computer
  • UDOO Neo = Raspberry Pi + Arduino + Wi-Fi + BT 4.0 + Sensors
  • LattePanda - A £45 Win10 Computer For Everything
  • Black Swift is a tiny — coin-sized — embedded computer with powerful CPU, integrated Wi-Fi and USB interface

4) Vendors

5) Other info

I will be documenting my project here, which the first one should consist of a Arduino + Wifi monitoring water level, humidity and temperature and exporting the data to ThingSpeak.

dimanche 3 janvier 2016

How to calculate solar power for Canada.

Taking a course on energy on Coursera.  I stumble on this Canadien web site:

http://pv.nrcan.gc.ca/

Where you can find the number of kWh yearly average per kW of solar panel installed.

The FAQ page explains the calculation:

1. What does photovoltaic (PV) potential mean and what do the units kWh/kW refer to?
The PV potential values give a simple estimate of how much AC electricity in kilowatt-hours (kWh) is expected to be generated by a typical grid-connected photovoltaic system without batteries per unit of photovoltaic system rated DC power in kilowatts (kW) at Standard Test Conditions (STC). The STC rated power of a PV system is the total rated DC power at STC of all the photovoltaic modules in the PV system. Standard Test Conditions are: 1000 W/m² irradiance with normal incidence, 25°C module temperature, air mass 1.5. PV potential values are given as totals per month or per year, and represent an estimated average yield over the lifetime of a typical PV system. As an example, if the annual PV potential at a given location is 1150 kWh/kW, this indicates that for a system with a rated STC power of 3 kW, annual electricity production should be approximately 1150 kWh/kW*3 kW=3450 kWh. More about the methodology that was used to estimate PV potential is explained here.

So for my location, the early average if the panels are tilted to my latitude (optimal), I get around 1200kWh/kW.  So if I install this panel of 140W (cost around 300$), I will get:
1200*(140/1000) = 168kWh per year.  Divide this by 365 days and 24h, this give 19.2WattsHr in average over the year for this 140W panel... or 19.2/140*100 = 13.6% capacity factor.

So my 140W panel, gives me a early average of 19.2W.  If I need to power and average house in Canada, which is 12,000kWh/year, this is around 1.4kWh.  So I would need 1400W/19.2W = around 73 panels of 140W or around 22,000$ just for the panels, without counting the batteries and installation. 

I would also need a lot of space!  Around 850 square foot or around 30 foot x 30 foot of south facing space. And I would need to clear the snow of those panels during 3-4 months.

In Quebec, I spend less than 4000$ per year on electricity (I burn wood during winter time).  So to pay for the panels only, it would be 5.5 years of return... With the whole cost, installation, batteries, we can easily double that number to around 10 years.