Sunday, May 20, 2018

AN INTRODUCTION TO ARDUINO IN SINHALA


RASPBERRY PI WITH ARDUINO


What is an Arduino?

Introduction

Arduino is an open-source platform used for building electronics projects. Arduino consists of both a physical programmable circuit board (often referred to as a microcontroller) and a piece of software, or IDE (Integrated Development Environment) that runs on your computer, used to write and upload computer code to the physical board.
The Arduino platform has become quite popular with people just starting out with electronics, and for good reason. Unlike most previous programmable circuit boards, the Arduino does not need a separate piece of hardware (called a programmer) in order to load new code onto the board – you can simply use a USB cable. Additionally, the Arduino IDE uses a simplified version of C++, making it easier to learn to program. Finally, Arduino provides a standard form factor that breaks out the functions of the micro-controller into a more accessible package.

what is on the board?

Arduino Uno

The Uno is a great choice for your first Arduino. It’s got everything you need to get started, and nothing you don’t. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a USB connection, a power jack, a reset button and more. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.




LilyPad  Arduino

This is LilyPad Arduino main board! LilyPad is a wearable e-textile technology developed by Leah Buechley and cooperatively designed by Leah and SparkFun. Each LilyPad was creatively designed with large connecting pads and a flat back to allow them to be sewn into clothing with conductive thread. The LilyPad also has its own family of input, output, power, and sensor boards that are also built specifically for e-textiles. They’re even washable!


Red Board

At SparkFun we use many Arduinos and we’re always looking for the simplest, most stable one. Each board is a bit different and no one board has everything we want – so we decided to make our own version that combines all our favorite features.
The RedBoard can be programmed over a USB Mini-B cable using the Arduino IDE. It’ll work on Windows 8 without having to change your security settings (we used signed drivers, unlike the UNO). It’s more stable due to the USB/FTDI chip we used, plus it’s completely flat on the back, making it easier to embed in your projects. Just plug in the board, select “Arduino UNO” from the board menu and you’re ready to upload code. You can power the RedBoard over USB or through the barrel jack. The on-board power regulator can handle anything from 7 to 15VDC.


reference fron :- https://learn.sparkfun.com/tutorials/what-is-an-arduino

what is arduino?

https://www.arduino.cc/reference/en/

what are the state machines?

WHAT ARE THE STATE MACHINES.

INTRODUCTION:

A state machine is any device storing the status of something at a given time. The status of something at a given time. The status changes based on inputs, providing the resulting output for the implemented changes. A finite state machine has finite internal memory. Input symbols are read in a sequence producing an output feature in the form of a user interface.
                                                State machines are represented using state diagrams. The output of a state machine is a function of the input and current state. State machines play a significant role in areas such as electrical engineering.
                                                                           The operation of a state machine begins from a start state. On a successful transition it ends up in an accept state. The transition takes place based on the inputs provided. The current state depends on the past states of the systems. The number of states formed depends on the available states of memory. A transition is enabled  based on certain conditions and indicates a state change. An action describes an activity performed at the given moment. The different types of actions are transition actions, input action, entry and text action.





Do You Know About MQTT?

what is MQTT?

MQTT == MQ Telemetry Transport

In a nutshell--->
A light weighted event and message oriented protocol allowing  to asynchronously communicate efficiently across constr
ained networks to remote systems.




publish subscribe messaging protocol allowing a message to be published once multiple consumers(applications/devices) to receive the messages providing decoupling between the product and consumer(s)

A producer sends (publishes) a message (publication)on a topic(subject)
A consumer subscribes (make a subscription) for messages on a topic(subject)

A message server/broker matches publications to subcriptions
* If no matches the message is discarded
*If one or more matches the message is delivered to each matching subscriber/ consumer.







Thursday, May 17, 2018

System architecture references

https://study.com/academy/lesson/systems-architecture-definition-characteristics.html

UI Design

https://visualhierarchy.co/blog/user-interface-design-best-practices/