Showing posts with label Software. Show all posts
Showing posts with label Software. Show all posts

Sunday, 14 June 2015

App Inventor

Hello again! We've started working with App Inventor. This is a software to create and programme an Apk (mobile application). You can design and create the functions of the Apk, and try it in your mobile phone (via Wifi or USB wire), or with a computer emulator, to check if it works properly. 

To access this program you just need a google account with which you log in in the MIT App Inventor webpage. Then you'll be asked the way you want to see the application on real time. You choose it or continue without emulation.

In the main page (designer) you can choose the components from the left column and drag them to the screen in the middle. Here you just place the components of the apk and select their features in the column in the right, as you like. There are many different components, but the most important ones are the buttons, which you can press to make actions, the canvas to add images, the labels to add texts, and other not visible components like the camera or the accelerometer, which act depending on how you programme them.

In the programming page (blocks) you create the 'orders' of the apk, depending on what you want it to do. On the left you can see the different features. If you want some specific component you added in the designer to do any action, you click on its name and select the action you want. You have to combine those 'orders' or blocks in a way it makes sense and works. As I said, you can check if it works with an emulator or with your own mobile phone. As you practice you will manipulate App Inventor better, so don't get desperate at the beginning.

We've had to create two apps. The first one is a photo painter. You can take a picture or take it from your gallery, and paint on it with different colors. You can download it to try it here.

The second one is a questioning game. You are asked a question and you have to answer it. Depending on how you answer it will congratulate you or you will have to try again. I already have to finish and improve it, but you can download it here.

I hope you liked, I think this is very entertaining if you like computing, so I encourage you to try it.

On the other hand this may be the last post about my IT lessons, because this is the last year I can have this subject and the course is finishing, but I will try to post something from time to time. Have a great summer.

Access

Hello again Internet surfers. We are working now with Access, a database management system owned by Microsoft Office, with its relational and graphical tools, and so similar to any Microsoft Office Software. It is used to create any kind of databases, in my case I made a database for a summer camp for anyone interested. It stores the information about the clients, the activities, the age groups, the monitors and the application forms. I'm going to explain you a bit how we've made it and show mine in some screenshots.


First of all we had to create some charts in which we included the information. The clients' and the monitors' charts included their personal data (name, surname, id, address, phone number, email...); the activities' one, the name of the activities, the description and the places where they are hold; the groups' one, the age gaps in which groups are separated, and the application forms' one collects the information of each client's application form, their choices, their allocated monitor and date, their personal data...

In the two first images you can see the main components of these charts.

Secondly we created the forms, which record that information from the charts and allow to add information. You can add them by clicking on "Form" in the window "Create". They can be personalised with different shapes and colors. Buttons linked to other forms or reports can be added, and also dropdown lists to choose the different options from a chart without having to write it oneself.

Then we also added reports for some of the forms. The most important one is the applications' one, because there the information about each client's stay in the camp is collected. It's easy to create because you just have to click on "Create -> Report" when you are on the chart of which you want to create the report, and it appears. You just have to adjust the design if you want to.

A last thing was the consultation. It's a sheet to consult specific information from a Form. You can choose what it will show when you create it with the assistent of consultations. You just follow the instructions and, if you want, adjust the design.

An important thing is the main menu, which has to be done to access everything from the database. Mainly the forms and the important reports, and maybe a print button for a report or an exit button. This can be made adding buttons in the form's tools window, and choosing its characteristics.

Some relationships between forms can be made to ease these things in the database's tools window, and also some other consultations. There are a lot of tools in Access, but the ones we learned are the basic ones, and anyone can manage with them.

I hope you liked and it was useful, see you in the next post (it will be interesting, about App Inventor, so have a look at it).

Databases

Hello! I'm going to write about databases. A database (DB) is a 'bank' of information which classifies the data and creates relationships between the groups of data. This information is organised in a way that the desired pieces of data can be quickly selected, found and accessed. It is also an electronic filling system, as you can add information whenever you want to. If it is properly designed, it can ease administrative works a lot. For example, if you have an enterprise and you want to clasify your products, have the information about their prices, the clients or the dates of delivery... Databases can collect small pieces of information, for small things (like personal things) as well as huge pieces information for huge enterprises or managements.

Traditional databases are organized by fields, records, and files. A field is a single piece of information; a record is one complete set of fields; and a file is a collection of records. For example: a telephone book is a file with a list of records, consisted of three fields: name, address, and telephone number.

On the other hand, data in databases can normally be reorganized and accessed in a number of different ways. They have charts in which the fields are specified and the data and the kind of information they contain is also added; forms in which the data can be seen in an organised way and also new data can be added in the different fields; reports in which the recorded information can be seen in a glance; and consultations in which some specific information is ordered and seen in an specific way, also in a glance, like reports but more specific. Relationships between charts and their fields are made to ease the results of the forms and the components of the database.

Databases are accessed and edited through Database Management Systems (DBMS), like Access, the one we normally use, which belongs to Microsoft. They enable you to enter, organize, and select data once the database has been created and molded for its target.

Once you know what a database is you can create one to organise some information. You'll see my database project in Access in the next post. Have a nice day, and enjoy the good weather.

Sunday, 10 May 2015

Servomotors

Hello in this third term. I have to write something about servomotors.

A servomotor is a rotary actuator which receives electric signals or orders and rotates with precise control of angular position, velocity and acceleration. It consists of a motor joined to a sensor for position feedback. It also requires a sophisticated controller.

In our case we controlled it through the Arduino software, and connected the servomotor to the Arduino board to make it recieve the orders. Once it has recieved the data from the computer, the board stores the information and makes it work when it receives an specific signal from the sensors. Then it turns the determined number of degrees in an specific direction, speed and strength, depending on what signal it receives and what you've programmed with the software.

We've been using these motors to make some Arduino robots work. Ours consisted on a rocking chair-robot which had a foil heart which, when being touched, activated those servomotors and lifted the arms and the legs. This was possible because the board received a signal from the capacitive sensor (the foil), which receives current from our skin, and then activated the servomotor, which rotated some degrees and pulled a piece of thread which was attached to it and to the arms and the legs, and with the pulley effect, those were lifted. It was hard to attach the thread to the servomotor and the lifts, and make the capacitive sensor work, but we finally made it and it was cool.


I hope you liked, see you in the next post!

Monday, 23 March 2015

Arduino

To end this term we've been working with Arduino. Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects and it's mainly composed by a software and a board shield, supplemented by several means. This project was created in around 2005 by a group of people related with the Italian Interactive Design Institute Ivrea, to create a more affordable and accessible free hardware device, compatible with most operative systems. Now there are discussions about the licensing of Arduino between its creators but this project is a great mean for education and development so I hope we will still be using it in schools for long.

In our high school we have several Arduino materials with which we create interactive gadgets. Then with our creations we participate in a technology fair. But, to get started on it, we at first make simple projects. We've made two projects until now. You can see the information about them in the Verkstad Creative Technologies webpage, in the second and third blocks.

The first project consisted on a sport or game. My group made REACT. It consists on a sequence of LEDs that come on light aleatory and you have to push the corresponding capacitive sensor rapidly to continue playing. You can see the information here:


The second project consisted on a "magic" gadget. My group made POV, which consists on a line of LEDs on the shield which come on light depending on how you program them, so that when you make it turn rapidly or you move it rapidly, you can see words or symbols on it, and it is so cool. You can see its information here:


I hope you liked, I'll upload more information and images about this if we continue working with Arduino. Have nice Easter holidays!

Processing

Hello again. We've started programming in computing with Processing and Arduino. Processing is an open source programming language and integrated development environment (IDE) to create designs and electronic or media art. For example, you can create figures which follow the mouse, stay the same, move aleatory or through your keyboard's keys, or follow orders, with different colors and shapes, and make them do something interesting.

We worked with the exercises from the Creative Technologies web, and then modified them, so in the 1st block from this webpage you can find the explanations about these exercises and how to do them.


To set the size of the window that appears we use the function void setup(). Data is inserted between {} and each line with data ends with ; .

A first exercise useful to learn is creating a figure with different shapes, sizes and colours, and place them in a coordinate or make them follow the mouse. The properties of these figures and the background colours are set with the function void draw()

Another simple exercise to learn is creating a line whose end follows the mouse and leaves a trail through his way, by making one of its ends follow the mouse with the coordinates line(0, 0, mouseX, mouseY).

Then we also made a kind of snake which follows the mouse and changes colour through the time. I changed its shape, the colours, the time in which it changes colour...

A more complicated practice was making a digital clock which was based on the computers' clock. We inserted the numbers' images, changed the shape of the clock, put it horizontally and added the colons.

To finish with Processing we made a videogame in which something moved with the keyboard keys had to catch a falling object. I set all the images, changed the time limit, set a winning objective and adjusted several things.

Programming is complicated if you have to do it from scratch, but with Versktad's webpage it's a lot easier, it explains it very well and you can manage to change already existent programs.

I hope it was useful and you liked it, in the next post I'll write about Arduino.

Saturday, 7 February 2015

Alan Turing

Hello again. We've been told to post something about Alan Turing, who was a British pioneering computer scientist, mathematician, logician, cryptanalyst, philosopher, mathematical biologist, and marathon and ultra distance runner. 

Alan Turing, considered father of modern computing, was born in 1912 and he was homosexual. That's why he is supposed to have killed himself ingesting cyanide in 1954, because that time homosexuality was punished (he was chemically castrated and condemned for 61 years). He's recently been reprieved by Isabel Queen.

He influenced the end of the second world war because he cracked the "unbreakable" nazi code Enigma through his electromechanical machine, which is considered as a precursor for modern computers. This machine made a set of logical deductions for any possible combination.

Another important thing he did is create the first detailed design of an ACE (Automatic Computing Engine), a computer of programmed storage. Analising this and wondering whether a computer could compose music or think, he made an experiment, the Turing Test, which considered a machine "smart" when a person was unable to distinguish computers' answers from real persons' answers. Nowadays we know the CAPTCHA, which is the reverse of Turing test.

He also made a chess programme, studied the Fibonacci numbers in nature, worked in cybernetics and started programming, for instance, so he was a great man with a sad ending.

In brief, Alan Turing made great progress in computing and science in general, and maybe, if it weren't for him, we wouldn't have all these smart gadgets or be so computing-developped.

I hope you learned a bit more with this post, have a great day.

Thursday, 5 February 2015

QCad

Welcome again in this second term, and happy new year, by the way. We've been working with QCad, which is a free Computer-Aided Design (CAD) software application for 2D design and drafting.

We've copied some already-existent designs and learned how to make lines, angles, circles and arcs, how to dimension, fill and move figures, how to force positions or splay corners...
This is a very visual programme and I think it's easy to use once you know a bit about technical drawing. You have an icon menu on the left of the window where you can choose the action or the figure you want. Then, after you choose the figure you want and the way you want to draw it by clicking on the specific icons, you can draw it two ways:
-By just drawing it on your own on the work space, which has a black background divided in squares of 10x10 units, separated by points
-By writting the coordinates it asks you on the gap below. The points are inserted as x,y, the distances as @x and the angles as <x. Depending on the function you choose, you may have to insert the radius on a gap above.

When you already have something drawn you can "snap" (force) the speific point you want to choose so that it's more accurate and you don't accumulate errors, for example snap endpoints (when a line ends), grid (the spots given on the workspace), middle, intersection (where the lines get crossed)... and restrict the area.

To work in different colors or with different types of lines you can add several layers on the column on the right, and edit their characteristics.

And more or less these are the basic things we've learned in our IT class, but if you have any question you can comment this post and ask. I leave here my practices.
I hope it was interesting and useful, have a nice day.


Friday, 12 December 2014

Excel III: Customizable laptop app

Hello for the last time in this term. The last excel practice we've made consists on an application to make a laptop with the components you choose, which gives you a budget and the possibility to adjust a price limit.
The first sheet is a front page with linking buttons to the rest of the sheets, as always.

The components' sheet is a simple one but it takes some time and it's such a tedious work because you have to look for information of laptops' components and their prices. The only remarkable thing here is the format of the price cells, in euros, and the linking buttons to the other sheets.

The invoice sheet is very complex. For the price of each component I set a "VLOOKUP" function, which I explained in the post about the automatic invoice, with this code: =BUSCARV(C4;Componentes!B2:C13;2;FALSO). To make a dropdown list for each component I used a data format called data validation, as a list, taking the data from the respective chart from the components' sheet. For the final price I added all the components' prices and then I added the 21% of taxes as you can see in the image. And as alert I added an 'IF' function which warns you if the final price exceeds your personal price limit, and which is =SI(C14=0;"";SI(D17>C14;"CUIDADO, ¡SUPERADO!";"NO SUPERADO AÚN"))
To make it become red I added a conditional format only applied to cells with the specific text that is shown when the personal limit price is exceeded. But to alert you in a greater way I also added an error message through another data validation in the price limit cell. Here you have to make possible only a lower final price amount than the price limit amount, as the image below shows, and set your own error message.



I hope it was useful, you can always ask me anything in case of doubt. Have a great Christmas time and enjoy yourselves on this holydays!

Friday, 5 December 2014

Excel II: Ecuation solver

Hello again. The second big project we've made with excel is an ecuation solver which can solve simple ecuations of first degree and of second degree quickly.

In the first sheet there must be a front sheet that links to the rest of the sheets: 1st degree ecuation, representation of the 1st degree ecuation, 2nd degree ecuation and representation of the 2nd degree ecuation. You can do it with a macro or with a hyperlink as the image shows.

For the first degree ecuation I just had to write the ecuation leaving gaps where each term had to be written and leave a solution gap where I wrote the formula to solve the ecuation. I also made it notify if there were terms left. So my function was =SI(D7=0;SI(F7=0;"¡Faltan coeficientes en la ecuación!";"¡Faltan coeficientes en la ecuación!");(H7-F7)/D7). I solved the ecuation leaving the x alone.
For its representation I wrote the formula as in the previous sheet and gave several values for the x in a chart and, to obtain the respective value of y, I just made a formula replacing x by the value given respectively: =SI(C10=" ";" ";$D$5*C10+$F$5-$H$5). To add the graphic you insert a lines graphic and set the data as the image shows. I also added linking buttons as in all the sheets.

And for the second degree ecuation it's the same but with a different formula: =SI(D7=0;SI(F7=0;SI(H7=0;"¡Faltan coeficientes en la ecuación!";"Ecuación incompatible");"Ecuación de primer grado");SI((F7^2-4*D7*H7)>=0;((-F7+(RAIZ(F7^2-4*D7*H7)))/(2*D7));"Sin resultados reales")) for the first result and: =SI(D7=0;SI(F7=0;SI(H7=0;"¡Faltan coeficientes en la ecuación!";"Ecuación incompatible");"Sólo hay un resultado");SI((F7^2-4*D7*H7)>=0;((-F7-(RAIZ(F7^2-4*D7*H7)))/(2*D7));"Sin resultados reales")) for the second result. 

To make its representation it's the same, replace the x by different values to obtain the y, and create the graphic with that values. The formula I used was: =SI(C10="";"";$D$5*(C10^2)+$F$5*C10+$H$5)

I made erase and print buttons with macros in each sheet so, if you want to know how I did them, visit my previous post. I also added linking buttons in each sheet to link to the rest of the sheets.

I hope it was useful and if you've any questions, please ask me. See you.

Friday, 28 November 2014

Excel: automatic invoice

This long period of time I haven't posted anything because we've been making some Excel practices (and I've also been to New York!!!). At first we remembered how to make some simple functions as multiplying, dividing, adding, subtracting and other more difficult functions as the average, inserting graphics, the "DGET", "DMAX", "DMIN", "DCOUNT" "DCOUNTA" or "IF" functions, the "IF" function within other "IF" functions and so. We also practiced format functions (percentages, money symbols, colour of the field depending on something...).

The first important project we've made was an electronic invoice with a record of products, clients and the charged amounts depending on what they buy.

The first thing I had to have in this excel book was a front or home page where you include the company data and some buttons to link to the other pages. You can do that with a macro or adding a hyperlink by right clicking on the button you've drawn or inserted, choosing "Hyperlink", "place from this folder" and the sheet you want to make that button access.

Then it was time to fill in the data within the clients' sheet. You have to fill in the name, surname, adress, phone number and e-mail adress manually but then you can add a special format to set their personal codes with three digits, for instance, as I did in my "B" column. I also set a "DGET" function in my "C" column so that it shows the three first letters of their surname (=EXTRAE(D4;1;3)). Then I added a conditional format on my "F" column to green colour if the client is a man (M) or yellow color if it's a woman (F) by setting that options in a new rule on "Condicional Format".

The easiest sheet is the products' catalog one. You just have to fill in the products' code, its name and its price. I also added the price with taxes. The code to do this consists just in multiplying the price by the percentage of the tax and add it to the price. For the code you can do the same as in the clients' sheet, making it have three digits automatically by adding zeros. As in the rest of the sheets I added buttons to access the other sheets.

The last sheet is the bill. At first you have to know the client who's buying so with filling the client code, his or her data has to be showed. This is possible with the function =BUSCARV(C5;Clientes!B4:L17;6;FALSO) in the case of my bill, just changing the number of column, the third factor of the function. The first one is the box in which the code is writen and the second one the chart in which the data must be searched. With the products it's the same but with another chart and another code box (=BUSCARV(C10;Catálogo!B4:F22;2;FALSO)). Then the tax and the discount are added.

To erase the data you just have to make a macro as the image shows, and erase all the fields you want (the code boxes and the number of products) and stop the recording of the macro. Then you add the macro to a button. To print it's just the same but pressing the print button while recording the macro.

I hope it was useful and if you have any question, just let me know. See you soon.

Wednesday, 15 October 2014

Internet of things

As in the project about the knowledge society I didn't expand much the concept of Internet of things, I'm going to devote this post to it.


The Internet of things (IoT) is the term we use to call the fact of having our gadgets and the things that surround us digitally controlled and interconnected through the net. This includes alarm systems, cell phones, printers, washing machines, coffee makers, blinds, headphones, lamps, wearable gadgets, machines components... And almost anything else you can imagine, so it's a huge network of connected devices and also people, which allows relationships betwen both groups.

It has the potential to impact how we live and work because of the great advances of the new technologies: broadband Internet availability, easy connection, new very capable devices, a great smart phone penetration, the decreasing technology costs... And in a short period of time we might be able to say that anything we want to be connected and controlled can be connected and controlled, and we'll live in smart cities and smart houses which interact with us.

For example we can change the temperature or the illumination of our house with a smartphone depending in our feelings, blinds can come down automatically when it's very sunny or at night; the trafic lights can control themselves depending on the traffic and the people waiting to cross the road...

So anything can be done automatically with IoT so life will be a lot easier as this is developped, locations will be known easily, economy would be more controlled, education will develop, what's turned on or off will be known, anything will be close to everyone even if it's on the other side of the world... And we should make this possible.

I wish you agree and you liked, I obtained some of this information at this webpage: http://www.forbes.com/sites/jacobmorgan/2014/05/13/simple-explanation-internet-things-that-anyone-can-understand/

See you!

Wednesday, 8 October 2014

Knowledge Society

Hi blog readers. The first project we had to do this course was a Word document about the knowledge society. In it we talk about what the concept of knowledge society involves, its characteristics and its background. This society is a progression from the information and communication society that also allows the management of the information skillfully.
I also speak about the areas in which it is important; our personal development and the social factor that makes us being interconnected and learn dynamically.
Other important factors are the problems that it may suppose with the use of technological devices (the Digital Divide, the cybercrime and other security problems) and I have to tell you to be careful with what you post or upload on the Internet and to control the time you spend on the net and valore if you are really taking advantage of the resources and the time you have in a good way.

Sociedad del conocimiento from Carmen Bueno Iglesias

I wish it was interesting and you liked, you can also watch the document here. Thank you for watching.

See you at the next post.

Tuesday, 23 September 2014

Welcome again!

Hello everybody, how has your summer been? We've come back from holidays and we're going to start a new Computing course. This course the subjet isn't called Computing but IT (TIC in spanish), and now we don't have the bilingüal classes option so we take them on spanish, but I'll try to continue writting in English.

This summer I've made some interesting things; I've been to a 3D computer design workshop using 3ds Max and I've made a 3D Pocahontas, I've recieved a graphics tablet to draw and design on the computer and I've been drawing with it, I've made a poster for a contest in my village through Corel Painter X3 and I've won...
But now the new course is starting and we're going to do a lot of interesting things too.

I'll be reporting you about our learning during the course with several posts, as I used to do last course, so I wish you like my blog and my new posts, see you in the next one.

Sunday, 15 June 2014

VideoPad

These last days of the evaluation we are making a video with VideoPad.

VideoPad is a video edition tool, which was created in 2008 by NCH Software.

The first thing you have to do to start a video or edit it, is adding files (videos, images, sounds), by clicking the Add Media icon on the tasks bar above. Then you can cut the video or adjust its length with the icons under it and add it to the video line below, where you can see the 'perspective' of your video (how is it assembled).
Once you've set all the videos, images or sounds you want on the video line, you can add effects, transitions or overlays on or between each of them through the icons on the tasks bar.
Afterwards, you can subtitle the movie with the corresponding icon of the tasks bar, and finally you have to export it; save it as a video.
  
Obviously, as you get used to using it you will understand it better and you might find some new actions to edit your videos. It's a good basic tool with a free trialware for you to try it and if you like computing you will enjoy it.
I wish you liked, as always, and currently this is the last post of the evaluation but I'll try to continue informing you whenever I discover something interesting. See you :)