-
After some years in IoT, I tried a bunch of different platform like esp8266 but Arduino remains a must.
Simple reason to choose it for your first (or second :) IoT project:
- Arduino works at 5V and can accept as input voltage 7-12V, but with limit up to 20V (avoid it! :).
This mean you can use a wide range of power supply (4 AA Batteries, 12V transformer from your dead router and so on) - Arduino board provides a 5V regulated output and a 3.3V too for working with a wide range of sensors.
- You got 6 Analog2Digital pins (the A0...A5 pins) with a 0..1024 value resolution. In comparison, esp8266 has only one pin with less resolution.
- It is completly open source, so you can find easily cheap clones like this one at less then 10 euros.
- The ATmega328P chip inside Arduino provide I2C and SPI communication which means you can easily work with other chip.
You can even program an Arduino to be an I2C client to other Arduinos making a small set of complex circuits.
For instance, the C/64 SID chip emulator can be compiled to act like a I2C slave and another Arduino can program it like...a SID chip - Did I talk about the real time operating system, written by an italian guy?.... I was able to use it to build a small "Egg box Lamp".
- Arduino works at 5V and can accept as input voltage 7-12V, but with limit up to 20V (avoid it! :).
-
For a complete description see https://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins
All the Join you want -
The Sqlite Oracle Compatibility Functions is an experimental compatibility layer for SQLite vs Oracle, written in Python 3.
It aims to provide a minimal compatibility with Oracle. The need was having some regular expression functions, and I do not like to work with risky C code, like this university project did
Read More -
A very useful friend to make a elisp function starting from your….last command
C-x ESC ESC (translated from C-x <escape> <escape>) runs the command repeat-complex-command (found in global-map), which is an interactive compiled Lisp function in ‘simple.el’.
It is bound to <again>, <redo>, C-x M-:, C-x M-ESC.
Read More -
Thinking in Angular 4: Templates
Jul 28, 2018 · 2 min read ·
To understand Angular 4, after the “Hero” tutorial you should start from the Template syntax.
We highlighted some statement in red below:
Data direction Syntax Type One-way from data source to view target \{\{expression\}\} [target]="expression" bind-target="expression" Interpolation Property Attribute Class Style One-way from view target to data source (target)="statement" on-target="statement" Event Two-way [(target)]="expression" bindon-target="expression" Two-way Binding types other than interpolation have a target name to the left of the equal sign, either surrounded by punctuation (
[],()) or preceded by a prefix (bind-,on-,bindon-).The target name is the name of a property. It may look like the name of an attribute but it never is. To appreciate the difference, you must develop a new way to think about template HTML.
Read More -
UPDATED and BUGFIXED!
MicroPython Repl command line is very nice, because you can telnet to the chip and read-and-evaluate python code. It is a great way of learning embedded IoT. The bad thing you cannot copy file while it is running, so experimenting get bad.
Read More -
Because some friend of mine did not know about RUP, and deal with waterfall process, I decided to make a small recall for all poor young Project Manager dealing with bad developers, bad consultants and so on, out of there. From Wikipedia:
The Rational Unified Process (RUP) is an iterative software development process framework created by the Rational Software Corporation, a division of IBM since 2003.[1] RUP is not a single concrete prescriptive process, but rather an adaptable process framework, intended to be tailored by the development organizations and software project teams that will select the elements of the process that are appropriate for their needs. RUP is a specific implementation of the Unified Process.
Read More -
After a summer sale rush I got a 27’’ Philips monitor for less than 170 €, preferring it to the 24''
A 16:9 27’’ monitor give you a lot of space: you eclipse IDE works better because:
- you actually see the console logs while you edit the code
- you can split your IDE in 4 and have a quad-view
- you can open two virtual machine in a remote desktop and have them side by side
- you get two monitors in one
-
I stumbled upon John Resing’s GraphQL (jQuery creator, by the way):
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more
(Bold are mine, from GraphQL)
Read More -
An year ago, we discovered MSWindows was developed on Git as revision control System
On this week, Microsoft decided to buy GitHub. I suppose they had a tons on projects on GitHub platform already!
By the way, GitLab (the first competitor) now offers the Enterprise edition to open source project….
Read More -
Cloud, DevOps, and Microservices are three strong forces are melting together.
Containers is the key technology around them. Before docker, horizontal scaling via VM spinning was feasible but a slow speed, compared to the speed of a docker container boot.
So do you want to learn docker without going out of business? Let’s go!
Read MoreQualche mese fa avevo sviluppato una applicazione IoT per misurare la temperatura e spedire i dati ad una coda mqtt. Poi c’era uns server che collezionava i dati. Totale: tre server, con tre punti di fallimento ma architettura molto “cool”
In effetti però la potenza dei moderni chip embedded è tale che è possibile implementare una soluzione completamente asincrona “alla Erlang”. Con meno di 8 euro, potete procuravi il chip esp8266 su Amazon
Read More
In this second article I will continue my jorney on LambdaMoo code base. The C code is very well written. Sometimes the API abuse global variable to avoid passing around identifier like output database file descriptor or the like.
Because a lot of the system has been written in the Moo language, the core is composed of:
Read MoreAfter a bunch of years, I am happy to announce StereoSID 2.0.6 is here to stay. It spots a new sid_player example and some optimization on the I2C implementation. https://github.com/daitangio/sid-arduino-lib

