Installing Oracle 11g XE and SQLDeveloper on Debian 8.5

First, let’s open a terminal and install the following packages: sudo apt-get install alien libaio1 Then download del installation file. Go to the Download page at Oracle. http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html In order to download the package, you must have a registered user at Oracle website. If you don’t, please do register and try again. At the time of this post, the following file was downloaded. http://download.oracle.com/otn/linux/oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip  If you click on this link you’ll be prompted for a user and password. Notice that the instalation file is an .rpm file. This is the package…

Read More

Installing CodeTyphon Free Pascal IDE Environment on Debian

CodeTyphon is an Object Oriented Free Pascal Visual Programming Studio, for Cross-Platform Native Development, with Multi-OS, Multi-CPU, Multi-Platform and Cross-Build abilities. For those with experience with Delphi Programming (Embarcadero Pascal Programming Environment) you will find many aspects very similar, although a few significant differences. It offers you the ability to build any kind of application, Commercial or Non-Commercial without any restrictions, and without any cost. It has native components to access most common Database Management Systems. And has plenty of visual components to use easily on your visual projects. But…

Read More

Using BME280 sensor for Humidity, Barometric Pressure and Temperature.

I’m interested in measuring these parameters (Humidity, Barometric Pressure and Temperature) to collect information using many low costs sensors along the Geophysical Network for several purposes. So I’m experimenting with several low cost sensors to see how they do and whether they are suitable for the task. In this case we are testing the BME280 integrated environmental sensor. It was developed specifically for mobile applications where size and low power consumption are key design constraints. See here. It is a Temperature Humidity Pressure Sensor, I2C and SPI capable. So it can be…

Read More

Arduino I2C-LCD Display Project with Malpartida Library

When trying to connect an LCD Display to your Arduino project, a clever solution is to use an I2C-LCD adapter. In this case the FC-113 IIC/I2C serial interface adapter module for 1602 or 2004 LCD Display. This will decrease the number of pins used in your Arduino board, leaving place for other sensors and actuators. The connection between the LCD Display and the I2C Module is quite straight forward. simply connect pin n of LCD to pin n (1 to 1, 2 to 2, and so on) of Serial Module for…

Read More

Cleaning heavy aluminum corrosion

While maintaining geophysical equipment placed out in the field, you may find some aluminum alloys are heavily corroded in case of contact with water (Or worst if battery leakage). That can be the case when you return for maintenance and revision, maybe months after last installation or visit. Pure aluminum is usually quite resistant to corrosion. But aluminum alloy castings are more susceptible of heavy corrosion. Aluminum alloys with other metals are meant to be stronger than pure aluminum. It depends on the type of alloy whether it is more…

Read More

MPU-6050 GY-521 6-axis accelerometer gyroscope

I’m experimenting with several accelerometer/gyroscope sensors for different purposes, from robotics, drone equilibrium, vibration control, building oscilations, to seismicity. In this case we are using the the MPU-6050 6-axis accelerometer/gyroscope. Some of its features are I2C Digital-output of 6 or 9-axis MotionFusion data in rotation matrix, quaternion, Euler Angle, or raw data format. This may be very convenient depending on the use and algebraic model of the data being processed. For example some drone software may either prefer matrix or quaternion representation to feed its internal coordinates engine. Input Voltage: 2.3 – 3.4V.  Tri-Axis…

Read More

Testing Lolin NodeMCU V3 esp8266

I’m testing Lolin NodeMCU V3 esp8266. This is a tiny microcontroller with embeded wifi. The model we are trying has 1MB of flash ram plus 8k of dynamic ram. These are quite a lot for many purposes. I’m using Arduino just for ease. But it’s got a Lua framework, this is that you can make Lua scripts upload them to the NodeMCU, link it to the init.lua script and run. I’m not going to show the Lua example in this post, but the Arduino IDE example. The Arduino IDE can…

Read More

How to drag a captionless form in free pascal-lazarus-typhon

Drag Captionless

We are going to create a demonstration on how to make a captionless form that can be dragged by pulling from any place from its form. Some ideas were borrowed from this site http://delphi.about.com/library/weekly/aa102505a.htm  and http://lazplanet.blogspot.com.uy/2013/06/dragging-form-by-its-body.html Create a new project in its own new directory and call it dragcaptionless Unit. Add a TButton to the lower right part of the newly created form. Change Caption property to ‘Bye!’. On the OnClick Event Handler write the following code: procedure TForm1.Button1Click(Sender: TObject); begin Application.Terminate; end; We add the following variables to the private part…

Read More

How to use WordPress MySQL Database Reader to recover posts

In order to recover your posts you need to recover your MySQL Database (through your utilities, like phpmyadmin, mysql workbench, console, etc.) or maybe you can connect directly to the database (some user:password@server:port, etc). In the first case assumes you can download a backup and were able to restore it at some other server, maybe your own desktop/laptop computer. In other cases like recovering from disk failure, server failure, etc, please read elsewhere in the Internet for directions or help. We assume a software failure. You may have to recover…

Read More