SD Card Partitions when installing Raspbian for Raspberry Pi

From the very start that I used a Raspberry Pi I have always been curious about how it partitions the microSD Card every step of the Raspbian installation to running the Raspberry Pi.

You will see below on what happens to your SD Card Paritions every step of the installation to running the Raspbian on your Raspberry Pi.


Testing Parameters

SD Card Sizes

I shall be using 2 SD Card memory sizes, 8GB and 16GB. The reason for me using these memory sizes is for us to see if there are any differences on the SD Card Partitions depending on the SD Card size.

Checking of the SD Card Partitions

I shall use Partition Wizard on Windows 10 to check the SD Card partitions as it has a graphical representation of the different partitions and it can detect Linux and Mac file systems. Continue reading SD Card Partitions when installing Raspbian for Raspberry Pi

Using an External Text Editor in Arduino IDE

Whenever I program an Arduino based project I would always use Sublime Text as my editor then compile and upload using the Arduino IDE. I prefer using Sublime Text as my Arduino Sketch editor as it gives more flexibility on color highlighting.

This post is a tutorial on how to use Sublime Text as an External Editor. It also answers the why, advantages and disadvantages of using External Editor.

In case you prefer to use Atom Text Editor than Sublime Text then you may still do so by opening your code on Atom Text Editor.

(Left) Sublime Text; (Right) Arduino IDE
Both editors are showing the same stripped down version of the Blink code.

Continue reading Using an External Text Editor in Arduino IDE

Setting Arduino .ino files to open as C++ files in Sublime Text

I have always preferred developing in Sublime Text especially for Arduino Projects since the syntax highlighting is better than doing it in Arduino IDE. Unfortunately, it is annoying to keep opening .ino files on Sublime Text then set the syntax highlighting to C++ (.cpp) on each file.

Luckily, there is a way to do this automatically so that whenever I open a .ino file it will always open with a C++ syntax highlighting in Sublime Text. Below are the steps on how I did it.

Modified version of the Blink code in Arduino IDE
Modified version of the Blink code in Arduino IDE

Note: My Sublime Text is configured to use the Color Scheme named Sixteen.


1. Open a .ino file in Sublime Text

In my case I created an Arduino Sketch, saved it then opened it in Sublime Text.  Continue reading Setting Arduino .ino files to open as C++ files in Sublime Text

Making an SD Card as Permanent Storage in Windows 10

I am using a laptop which only has 32GB for its main storage. Unfortunately, this becomes full quickly if I will be installing a lot of programs and add some cloud storage to it.

Fortunately, the computer has a microSD Card slot which I can use to expand my storage, but I could not install programs or put my cloud storage directory to it since it is not recognized as a Permanent Storage by Windows.

The microSD Card slot on my laptop

Do not worry, though, there is actually a way to make the Windows see your SD Card as a Permanent Storage. Below are the steps that you need to do.

Note: This tutorial would also work on Windows Tablet who also has the same problems as I have.

1. Make sure that your SD Card is formatted to NTFS

To be able to mount the SD Card as a Permanent Storage it must be formatted to the same file system as your computer’s main storage file system. For Windows 10 case the main file system is NTFS.

Usually SD Cards are formatted in FAT32 but let us check first. Continue reading Making an SD Card as Permanent Storage in Windows 10

Installing Picoscope on a 32-bit Windows 10 and make it work

I have recently acquired a PicoScope 2205A as I wanted to have a portable oscilloscope that can be connected directly to a laptop. Unfortunately, before I could fully enjoy the features of it I had a major road block due to the PicoScope software not being installed properly on 32-bit Windows 10 computers.

Here are the features that the PicoScope 2205A has.

  • 2 channel probes for the
  • 25 MHz Bandwidth
  • Arbitrary Waveform Generator

The Arbitrary Waveform Generator is one of the reasons I loved the PicoScope 2205A because I no longer have to acquire a signal generator for simple waveforms.

Anyways, I am not here to talk about the PicoScope 2205A but about the problem with installing a PicoScope Software on a 32-bit Windows laptop. Below are the steps to install it properly. Continue reading Installing Picoscope on a 32-bit Windows 10 and make it work

Gizduino Patch Installation in Windows 10

There are two ways to install Gizduino in the Arduino IDE. One I have already written here, and the next method is written on this post. Personally, this is my favorite method of installing Gizduino as it shows a better description in selecting the Gizduino Boards in the Boards Menu.

Note: The steps below can also be used for Windows 7 and Windows 8.

If you are wondering how to install Gizduino in Windows then just follow the steps below.

1. Install the latest version of the PL2303 Prolific Driver for Windows

http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

2. Download and Install the latest Arduino IDE release

Link to the Arduino Software: https://www.arduino.cc/en/Main/Software

Arduino IDE Windows Installer

Author’s Notes:

As of writing the latest Arduino IDE is 1.8.5. I prefer to download the non-install version (160 MB download). Just unzip on your preferred location on your drive, run the arduino.exe and wait for the Arduino IDE to initialize.

When unzipped it occupied around 399 MB of space in your drive. Then you can delete the zip file once unzipping was finished. Continue reading Gizduino Patch Installation in Windows 10

Gizduino Installation in Windows 10

I have my own Arduino Uno but most of the time I use a Gizduino since this is cheaper and easier to source here in the Philippines.

  • Arduino Uno (1,299 Pesos)
  • Gizduino+ mini with ATmega328 (735 Pesos)

If you are looking for a Gizduino you may purchase them in the e-Gizmo website (https://www.e-gizmo.net/)

To use the Gizduino, you will need to install the Arduino IDE to your Operating System and install the Gizduino Boards. Below are the steps for Gizduino Installation.

Author’s Note: The installation method below also works for Windows 7 and Windows 8.

1. Install the latest version of the PL2303 Prolific Driver for Windows

http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

2. Download and Install the latest Arduino IDE release

Link to the Arduino Software: https://www.arduino.cc/en/Main/Software

Author’s Notes:

As of writing the latest Arduino IDE is 1.8.5. I prefer to download the non-install version (160 MB download). Just unzip on your preferred location on your drive, run the arduino.exe and wait for the Arduino IDE to initialize.

When unzipped it occupied around 399 MB of space in your drive. Then you can delete the zip file once unzipping was finished. Continue reading Gizduino Installation in Windows 10

In Photos: Adafruit Circuit Playground Classic

We have recently purchased an Adafruit Circuit Playground. I was really excited to finally able to hold it as it is a small board packing with a lot of features. Some of the features I have not used yet.

Here are the list of features of the Adafruit Circuit Playground.

  • Board Dimension: 50.6mm (2.0 inches) in diameter
  • Weight: 8.5 grams
  • ATmega32u4 Processor (3.3V, 8MHz)
  • MicroUSB for programming and debugging with Arduino IDE and power
  • USB port can act like serial port, keyboard, mouse, joystick or MIDI
  • 2 pin JST port for Power (3-6V)
  • 10 mini NeoPixels (each can display any color)
  • 1 Motion Sensor (LIS3DH triple-axis accelerometer with tap detection, free-fall detection)
  • 1 Temperature Sensor (thermistor)
  • 1 Light Sensor (phototransistor)
  • 1 Sound Sensor (MEMS microphone)
  • 1 Mini Speaker (magnetic buzzer)
  • 2 Push Buttons
  • 1 Slide Switch
  • 8 alligator-clip friendly input/output pins (pads)
  • Includes I2C, UART, and 4 pins that can do analog inputs/PWM output
  • All 8 pads can act as capacitive touch inputs
  • Green Power LED
  • Basic Blinking LED (#13)
  • Reset button

This post is about being up close and personal with the Adafruit Circuit Playground so here are the photos that you have been looking for.

If you are interested in buying the Adafruit Circuit Playground you may purchase this by buying it directly from Adafruit here.


Continue reading In Photos: Adafruit Circuit Playground Classic

In Photos: Adafruit microSD Card Breakout Board+

I recently bought an Adafruit microSD Card Breakout Board+ since I wanted to try logging projects.

I had a hard time imagining how the microSD Card Breakout Board would fit physically into my project so I decided to create this post just in case you want to see close up photos of the breakout board.

Packaging

Continue reading In Photos: Adafruit microSD Card Breakout Board+

In Photos: Arduino Uno Revision 3

I recently bought an Official Arduino Uno for me to do some prototyping projects.

So far I have done a lot of projects with my Arduino Uno and decided that it would be helpful if there are up close and personal photos of the Arduino Uno Revision 3 that is why I am creating this post.

Top side

Continue reading In Photos: Arduino Uno Revision 3