Arduino vs. Raspberry Pi: What’s Best for Kids?

Single-board computers are a common choice for most electronic hobbyists who want to learn to code for various reasons. Worth noting is its ability to develop various programs and an easy learning curve for beginners. To mention, single-board computers are single circuit boards with functionalities of a complete computer. They feature a microprocessor, input/output, memory, and other features. That said, while several single-board computers are available on the market, Arduino and Raspberry Pi are the most popular options for students and professionals alike. Both boards have pros and cons that only professionals can spell out. However, novice programming enthusiasts might find it confusing choosing between the two when deciding the best board for their projects. The guide below outlines individual differences that make it easy for parenting individuals to introduce their kids to make a good choice.

Continue reading

Powerful open source SQLite manager for Raspberry Pi

SQLite is a lightweight but powerful database management tool. It occupies a little space on the device – a bit more than 500KB, but offers most of the features implemented on other SQL database tools. SQLite is a serverless engine, meaning that the whole database is stored in a single file, and all transactions are reads and write from the file. There are no initial server configurations required – all you need is to create a .db file and start writing queries. This is why SQLite is preferred on small devices like mobile phones, embedded devices, and Raspberry Pi. Previously, we have installed an SQLite into Raspberry Pi, created a database and table with only a few lines of script. We performed all the tasks from the command-line tool. Eventually, you will want to have full control of the database and see the whole picture. Therefore, you should also consider installing SQLite manager, which brings a graphical user interface to work with SQL databases. To run the SQLite manager, you will need to work from the Raspberry Pi desktop. You may want to connect a monitor or use a VNC client to access the Raspberry Pi desktop like me. VNC…

Continue reading

Start Working with Raspberry Pi and Motion Systems

Technology is something that has come forward in leaps and bounds over recent years, and it is something that Progressive Automations, in particular has taken advantage of. Technological advancements have meant that various computer systems which can be used in the teaching of computer sciences have progressed sharply; if they had not, of course, students would leave their classes unable to handle the more up-to-date versions of computer programs that had come out during the time they had been learning. One such system developed to help in teaching is Raspberry Pi, which brings raspberry pi and actuators together to allow students to become proficient in handling linear actuators and the motion systems they are often attached to.

Continue reading

Network attached storage (NAS) with Raspberry Pi

raspberry_pi_nas_upload_speed_LAN

There is a Raspberry Pi 3 out there, which is much faster than versions 1 and 2. While latest two are faster than first model, I thought it would be great to give some purpose to first Raspberry Pi model B. We share several computers around the house and sometimes need simple file storage solution to make backups, share and store. Raspberry Pi model B is sufficient for simple Network Attached Storage (NAS) solution. Such network automation setup doesn’t need much processing power to manage the drive. And there is also an option to have a torrent client running 24/7. Another benefit of using Raspberry Pi is low power. Let’s go through all steps on how to set up Network Attached Storage on this Raspberry Pi. You can go with several different solutions for setting up NAS. You could go with cloud solution like Owncloud, which is similar to Dropbox. This might be convenient in many ways, but I would like to have the ability to use the drive as portable media when needed. In that case, I am going to stick with SAMBA server.

Continue reading

Continuously running Raspberry Pi torrent client

raspberry_pi_transmission_weg_ui

Previously we have configured basic NAS storage on Raspberry Pi. Having such power and doing nothing with storage is a waste. To prove its usefulness Next logical step is to implement a torrent client on this machine. The benefit is obvious. You have a NAS server that is always available and a torrent client that downloads/seeds files without the need power-hungry PC. You can find many torrent clients that can be used in Raspberry Pi, but it seems that lots of people prefer Deluge, which has plenty of features and requires small memory to run. Deluge is great in its flexibility – the ability to run on desktop, through the web interface, and through ThinClient. The other popular packet is Transmission, which is also lightweight and has great WebUI. Transmission can handle magnet links from the web interface. And it seems it is easier to configure. So we are going to stick with Transmission.

Continue reading

Raspberry Pi 3 goes 64-bit and adds more features

Raspberry Pi 3

When the first Raspberry Pi board was introduced it changed the understanding of small computers by bringing Linux closer to us. With great support, low board prices, and the vast community, it stayed on top next to Arduino for four years. Of course, in to keep that success, updates in hardware and software are mandatory. We know how fast things change computer industry, so time to time, Raspberry Pi foundation kept upgrading Pi boards From first to second and now the newest third generation – Raspberry Pi 3. At first glance, you may see that Raspberry Pi 3 board is practically identical to version 2. component layout is the same, including all peripherals. So all enclosures that worked with Pi2 should fit fine for Pi3 boards. But not the most obvious things that make it stand out.

Continue reading

Transferring files with SCP between raspberries

I was playing with Raspberry Pi Model B for quite a long time. I tweaked few settings, and wrote couple helper scripts. After some time second Raspberry Pi 2 arrived. I realized that most settings and scripts that were working on previous should do fine on a new one. I needed to copy few files from one Raspberry to another. For this purpose, I decided to use Secure Copy (SCP). This is a file-sending command over SSH. Raspbian OS already come with SCP installed, so you can use it right away. (it is missing you can install it by running the command sudo apt-get install scp).

Continue reading

Time to make Raspberry Pi go wireless

Updated on 2019 with simplified settings! Setting WiFi on Raspberry Pi is easier than described earlier. The Raspberry Pi has gone through upgrades and generations, so most of the settings have been simplified. If you set up WiFi using GUI, then it same as on any windows – you select SSID and enter a password. Raspberry pi should be mostly accessed through the console since it is designed to be an embedded computer. This is why it is important to have the ability to do all things in the command line. No matter which raspberry pi you have, you can set wireless networks the same way. If you use Raspberry Pi 1 or 2, you will need a USB wireless adapter. The later boards already come with built-in WiFi and Bluetooth connectivity. To set up WiFi, you need to edit wpa-supplicant configuration file, which can be accessed by entering: To the bottom of file add your network settings as follows: Save settings by pressing CTRL+X and Y to confirm. You may need to reboot your board for the network to connect.

Continue reading

Working with SQLite in Raspberry Pi using Python 3

Last time we did a few basic operations with SQLite in Raspberry Pi. We learned how to set up SQLite3, create the first database file and fill it with data. Using SQL commands, we were able to select data and print it on the terminal screen. But eventually, you will face more complex queries or store data automatically so other routines could read it. For instance, you will build a simple project that would read data from the digital temperature sensor. One of the great ways of storing data into a database is to use a python script. Anyway, you are probably going to use it for GPIO operations. So let us learn how to store simple data to SQLite database using python.

Continue reading

Using SQLite in Raspberry Pi

If you are doing some data logging, sensor reading, or another routine task with Raspberry Pi, you probably think of using the database. The list of database software choices is quite long, but you will end with a single or few tables in the database in most cases. The first thought might be MySQL – a well-known database server in WWW. Anyway, this is a pretty heavy tool to have running on Raspberry Pi. In my opinion, SQLite is probably the most suitable choice. Because it is serverless, lightweight, opensource, and supports most SQL code. Another handy thing is that SQLite stores data in a single file which can be stored anywhere.

Continue reading