Sabelectronic with arduino projects

Tuesday, August 11, 2020

Arduino Apps

Arduino apps for Android and Windows

We know that Arduino Apps Used for Programming. But we could run it on
Windows Or Android. As it depends on the availability of a programming device for
Our projects.

These Apps can help to learn and create electronic projects. I will describe the
functions and introductory of the following application and also support systems
required to run.

Arduino Apps






Arduino Apps for Android

Android Apps for Electronics solutions. It is an easy-to-use Arduino Application in Apple Android.

Arduino Droid app for Mobiles Droid v 4.9.1.


Droid is a short form of Android, it means a robot. The Droid app works on PC and
An example of Arduino is also available.

It includes IDE, compiler, and up-loader. the mobile memory should be enough and
it can't be set up on an SD card for Android protection policy.

Arduino Apps


The second picture shows a menu, it looks easy to program Arduino. all options
Will display By clicking the upright button. Arduino Libraries can add, as in Arduino
Ide.

Arduino Apps


Blynk App for IoT


Blynk is one of the best Arduino Apps of Blynk Inc for android to use with ESP8266,
ESP32, NodeMCU, and also works with Raspberry Pi. Blynk also supports
Bluetooth Low Energy (BLE). this is an Arduino Bluetooth controller app for wireless
devices.

It contains a lot of examples and a set of libraries to build an internet of things (IoT)
easily, even if you have little experience in electronics.

By using the Blynk just connect Sensors and you can control output modules e.g.
Motors, actuators, or robotics vehicles. It is available from the Blynk official site.

Arduino Apps


Light show app


It is an iPhone application to control the color of light. Light show works on Bluetooth technology. You can vary colors through the Arduino and Bluetooth module.
.
Arduino Apps

Arduino apps for Windows

Arduino IDE

Arduino IDE is open-source software for Arduino programming. It is very easy to
install. The software has a beta version and hourly based, any of them can program
Arduino.

It is widely used for Arduino Projects. Here the downloads for only windows, but for
mac OS and Linux.

Arduino Apps


mblock 05

If you don't enjoy programming with difficult languages, the mblock is the best option
For programming. It is also an open-source tool. It is a scratch-based coding
platform.

Software designed for Science, Technology, Engineering, Arts, and Mathematics
(STEAM) education. We use it for Arduino Mega2560 and a micro bit. The latest
version is mblock 5 for windows 7/8/10.

It is a drag & drop type block-based Developer tool. It is available at the App Store
for iPhone and iPad. This is also an Arduino app for android and gets from the
Google play store. Mblock is mostly used for robotics projects.

Aruino Apps


Ardublockly

Ardublockly is used to program Arduino, a useful visual programming editor. Which
Easily generates. Arduino code JavaScript used for creating block-based visual
programming languages (VPLs) and editors.

Ardublockly runs on Windows, Linux, and Mac. Ardublockly is free and open-source.
Arduino app. It is block-based programming, Just select blocks and makes a
program.

Aruino Apps

Arduino UNO Simulator 1.6 (with key)

The Arduino UNO simulator is a Windows and Android-based Software (at play
store with many available) that provide a virtual representation of a real-world
Arduino circuit. It is a virtual version of exactly the same circuit.

Arduino Apps


PartSim online Circuit simulator

Partsim is a freeware software, and it is easy to apply a circuit simulator. parts run in
your Internet Browser. You can use it online. This circuit simulator also used to
calculate the current in each loop.

Arduino Apps

Tuesday, July 7, 2020

788bs Led Matrix display interface with Arduino uno

788bs Led Matrix Pinout


There are several types of led matrix Displays available in the market. We can differentiate it as per size and types of connection, e.g. 5x7, 8x8, common anode, and common cathode type. It comes in different single colors and RGB.

But in this article, I will discuss 788bs as a common anode 8x8 red color matrix Modules. We use it in many electronics displaying items, e.g. electronics clocks. also for moving message displays, displaying games, etc.

We use a dot matrix display with an Arduino UNO board directly, sometimes in projects. But for some projects, we use a max7219 chip or 74hc595 for dot matrix driver as required in our projects.

788bs Led Matrix

8x8 led Matrix Pinout details


The 788bs led matrix modules used in various colors, but I specifically describe the red color led matrix. It is very easy to Interface a led matrix with an Arduino board as compared to an RGB led display.

If we look at a piece of the 8x8 dot matrix, it contains 16 pins in which 8 pins used for rows and 8 for columns. That's mean in rows and columns have 64 LEDs.We start from Pin # 1 to pin # 8. Pin number 1 is R5 (Row-5) and Pin number 8 is R3(Row-3) at the downside.

At the upper side From Pin 9 (Row-1) to Pin 16 (column-1) located. But a newbie always confuses and starts from zero, because we know the picture/diagram. often we get from some source, also we have to sort out which one +VE and -VE. might be an expert can understand from common cathode/anode type.

But my concern about the person has a basic knowledge of electronics. Who try to make their own initial display projects like a clock or some more.


Ok let’s start if we have an 8x8 dot matrix, And how do we know where pin 1 is? As in IC Chips near Pin 1, a dot mentioned at IC/Microcontroller Chip. But here, how do we know?

788bs Led Matrix


At the led matrix module, the manufacturer writes the tag or mark at pin 1 side, as shown in the figure. We definitely find it. And also a curve mentioned at pin number 1 side.

788bs Led Matrix

Row =       +  Positive Supply
Column =  -   Negative Supply
The testing power supply should be 1.5V DC required. So the only one battery cell enough or uses one 130 ohm resistance in series at a positive/negative side.

788bs Led Matrix

After that attached led to the power supply. We found that the 8th column and 5th rows led become ON as Connection shown in the figure. How to connect the battery cell with a matrix display.

788bs Led Matrix

Pin Test of led dot matrix

As shown in fig pin # 1 and pin # 16 got Energize and the 8th Column and 5th-row led become ON. We should verify the Dot-matrix before using it because if any led found blown we can replace it with a good one.

788BS led matrix

Programming with Arduino UNO


To run the 788bs, you need to check it with Arduino UNO. What material you need to perform a complete test.

Arduino UNO        Amazon
Breadboard         Amazon / Banggood
788BS 8x8 matrix    Amazon / Banggood
Battery (1.5V) only one
Jumper wires

We often use the dot matrix display with the shift register 74HC595 led driver or max7219. most common in electronic Circuits, we operate it with a Microcontroller or Arduino platform, and even with Raspberry Pi. But in this circuit, you can test the matrix direct with an Arduino UNO board.

Interface dot matrix with Arduino


First setting up the matrix circuit, as per the connection given in the picture diagram. start the Arduino IDE to program the Arduino UNO board. Arduino IDE is available at Arduino's official site. For this circuit, it does not need resistance at all. Just connect wires as per the instruction.

Here you need two steps before starting a matrix connection with Arduino as per the 788bs datasheet matrix pins connection given.

1- 8x8 led matrix code generator


This will help to generate code for your matrix. Just draw anything for the matrix, copy the code, and use it in your program. You can draw different symbols, shapes, or words.

2- Add matrix library with Arduino Ide


​​​​​​​First, add the 8x8 led dot matrix library in Arduino Ide. hereafter, the library manager in Arduino Ide will run the code. It will display in the matrix.

The connection between Led matrix and Arduino UNO


Matrix Rows Pins #  ------------ Arduino Uno output Pins #
                   Pin #  1  ---------- 2 
                              2  ---------- 3 
                              3  ---------- 4 
                              4  ---------- 5 
                              5  ---------- 6 
                              6  ---------- 7 
                              7  ---------- 8 
                              8  ---------- 9 

Matrix Column: Pins #  ----------------- Arduino Uno output Pins #
                       Pin # 1  ------------ 10 
                                 2  ------------  11
                                  3  ------------ 12
                                   4  ------------  13
                                   5  ------------  A1
                                   6  ------------ A2
                                   7  ------------  A3
                                   8  ------------ A4
 

Saturday, June 27, 2020

Arduino UNO Pinout (Diagram)and board components

Arduino UNO Pinout and Board description


Arduino Uno is an electronic experimental board. The Atmega328P Microcontroller is the main chip of the Arduino board. It is an open-source electronics platform, helpful to create electronics projects.

I will explain the description of the Arduino UNO Pins and the board in the post. Arduino Uno is a standard board of the company, even though other boards e, g. micro, Nano, mega, Leonardo, 101. Due and Yen. Arduino also manufactured IoT (internet of things), Bluetooth, GSM/3G, Wi-Fi, and motion sensors boards.

Arduino Uno board


The Atmega328P Microcontroller is an 8bit with 32k byte internal flash memory. To program the main chip, a 16 MHz crystal is part of the board. The Arduino board requires only 5V DC to operate.

Arduino Pins color shows pin functions. Blue color represents Power pins, Pink for analog input pins, Light blue for Digital pins, Green for communication, and Purple for PWM pins.

Arduino UNO Pinout
                                                                    FIG-A

Arduino Uno pins detail


Arduino UNO board has analog/digital (PWM) pins. These pins could be GPIO or using for specific signals.
 

Vin Pin


It uses Vin pin for 7-12 VDC apply to the board as an external power source. We can use a 9V battery cell for the input supply voltage.

Arduino UNO Pinout
   FIG-B

Analog Input Pins


Pin A0 to A5 Used as analog input pins (for Sensors modules) used as analog output. It contains 06 ADC (analog-to-digital converter)with a 10-bit resolution. These Arduino pins have the functionality of general-purpose digital in/out pins.

SDA/SCL


We use it for I²C (inter integrated-circuit) / TWI (two-wire interface) communication. A Wire library is available to communicate with different devices with the Arduino board.

Serial-UART (SPI Communication)


Pin 0 used as RX and 1 TX (in fig-A as D0&D1)used for TTL Serial Communication. RX is to receive data, and TX to transmit the data.

SPI Communication pins


10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication.

Interrupt


Pin 2 & 3 can use as INT0 & INT1, we can configure it to act as external interrupts for a function written in the program.

PWM


Pin # 3, 5, 6, 9, 10, and 11 used for PWM function (Pulse Width Modulation). Analogwrite function () is very effective to operate the DC motors and varying led light in many electronic projects.

AREF Pin


We use an analog reference pin for analog reference. AREF is used to set external analog input voltage. We cannot use less than o and over 5 volts for the AREF Pin.

Arduino Uno Pins(GPIO) 


We use 14 digital pins as input or output. From 0 to 13 used as general-purpose digital in/out has internal pull-up resistors that can be high/low to ON/OFF maximum current per pin 40 mA.
As showing in fig A from D0 to D13 pins. A built-in led function through pin 14 (D13).

PWM (Pulse Width Modulation)

We use digital out as High or Low even with PWM outputs function. We can use these pins, As analog out/we can control the motor at different speedsDigital write() function used for high/low pins.

USB Communication Interface

For USB/Serial communication, we use mostly two chips, CH341A or Atmega16U.
 

CH341A


CH341a has used a USB interface chip for UART communication, It is a standard parallel port, memory parallel port, and synchronous serial (I2C, SPI Communication). We use the CH341A chip in many cheap programmers.

Atmega16U


We use atmega16u Microcontroller for USB serial communication interface. To program the Microcontroller, an ICSP pin header is available on the board.

LM358


LM358 is a dual-channel op-amp IC. In Arduino, used for an auto-voltage selection circuit, but in reality, it operates as an auto voltage cut-off circuit.

Arduino UNO Pinout

LM1117


It is a series of chips that set the output voltage from 1.25V to 13.8V with only two external resistors.

DC Power Port


We use this DC power port for the DC input voltage. The board is using a power supply voltage of 5-20Vdc.

USB Type B port


The USB port is used to program the chip and also for the power source. We use the port for USB connection to the computer. USB cable is used to connect the board and PC.

Reset Button


If you push the Reset button, it will restart the codes even there is a malfunction happens, just press this button, and it will restart the program.

3.3V/5V/GND


The red color pin we used for the power source. We can use a 3.3V/5V power supply voltage for our projects, but it could not exceed 50 mA. GND for ground pins.

Arduino uno schematic


To find the Arduino Uno circuit, a more detailed schematic diagram could be helpful.

Arduino UNO Pinout

Arduino Uno board comparison to other Boards


Arduino boards have come with many types of versions, as per pins, size, and
function, I will explain mostly the comparison of the Arduino UNO board.

Arduino UNO R3


Digital IO pins 14 (including 6pins PWM), 
Analog pins 6, 
Microcontroller Atmega328P,
USB to serial communication ATMEGA 8U2 Microcontroller.

Arduino Duemilanove


Duemilanove Italian word means 2009, year of manufacture.

Digital IO pins 14 (6pins PWM)

ATMEGA 168 Microcontroller.

16kb flash memory, although Uno has 32kb flash memory

FTDI USB serial communication chip.


Arduino Diecimila


After completion of the 10,000 board, it introduced the Diecimila name. 
Flash memory 16kb 
FTDI chip for the USB port.
Digital IO pins 14 

Arduino BT (Bluetooth)


Supplied with ATMEGA 168 SMD type in the start but now comes with Atmega 328, added Bluegiga TTI module.

Arduino Mega


ATMEGA 1280 Microcontroller. 

FTDI chip for USB to serial communication.

54 digital IO pins, 

15 pins for the PWM function.


Arduino Lilypad


Using the ATMEGA 32U4 Microcontroller, 
The small size of 9 digital IO pins (4pins used as an analog pin and 4 for PWM). Micro USB port used for communication.

Arduino Nano


ATMEGA  328 SMD micro-controller
Nano used a mini-B USB port for programming and the power supply voltage. Small size but same 14 digital IO pins, 
6 Pins for PWM function, 8 Pins for Analog pins.

Arduino mini


Mini is smaller than Nano. 
Atmega 168 (in start), but now uses the Atmega 328 Microcontroller,
14 digital IO pins, including 06 Analog pins.

Conclusion


Arduino Uno Pins vary in many Arduino boards, but the main pins function is similar. We have just simplified it in a concise description.

Popular Posts