Practical Arduino training workshop Frequently Asked Questions:

Q: What is this training about?
A: This training is a basic course on Arduino for people with electronics background. Its objectives are:

  • To be able to appreciate and apply the essential capabilities of the Aduino
  • To be able to execute a project using Arduino in an actual application

If you are an intermediate or advance user, this training may not be for you. See the coverage below:

  • Arduino Introduction
  • Development process and setup
  • Review: Arduino “language” essentials
  • GPIO’s
  • Driving large DC loads
  • Driving AC loads
  • External Interrupts
  • PWM Peripheral
  • ADC Peripheral
  • UART / Serial Port
  • Program Structuring for projects
  • HC-12 RF Transceiver
  • I2C Bus
  • Alphanuemric LCD with I2C interface
  • Servo Motor Control
  • Ultrasonic Sensor
  • Demostration of GSM monitoring & control
  • Demostration of two-wheeled robot control

Q: Whom is the training for?
A: The training is for:

  • People with electronics background wanting to start on Arduino or are just starting out on Arduino
  • People who have already done a number of projects but feel they lack the overall foundation to execute projects from scratch
    If you feel this is not for you, worry not, we will be having more trainings on different topics and levels this year.

Q: When and Where?
A: The training workshop will be held from 8:30am to 1:00pm on February 10 2019 at room B312 Lopez bldg “B”, Session rd., Baguio City.

Q: How much does it cost?
A: Layad Circuits shall charge a minimal fee of Php996.00. However, participants are required to provide for the Training Kit. The kit may also be bought from the store at a discounted rate of Php804 exclusive for participants only.

Q: What are the contents of the Training Kit.
A: The basic Training Kit shall contain as follows. Note that this is NOT the same as commercially available “Arduino Kits”. The contents have been selected to match the training requirements leaving out unncessary parts. Every participant must have at least have the following parts:
1x Arduino Uno SMD
1x USB cable
1x 830-Point Breadboard
10x Male-Male Connecting Wires
4x Male-Female Connecting Wires
1x 16×2 LCD with I2C backack
1x 5mm LED
3x 330ohm resistor
1x RGB LED
1x Traffic Light / 3-LED module
1x Breadboard compatible potentiometer
1x LM35 temperature sensor
1x LDR
1x 10K resistor
2x 6×6 tact switch
1x Active Buzzer

Q: There are other parts to be used in the traning, who will provide them?
A: Layad Circuits shall loan the other required components within the duration of the training. However, should a participant want their own, they may purchase or provide for the following:
1x DC motor or DC fan with 200mA or less and accepts 5V
1x mini Solenoid lock
1x Saleng Tracker
1x HC-SR04 Ultrasonic Module
1x HC-12 RF Tranceiver Module
1x Two wheel robot kit with controller and power
1x Saleng GSM Shield (for demo only)
1x Relay module
1x AC load (for demo only)

Q: Where and how do we reserve a seat?
A: Drop by our Physical Store at B314 Lopez Bldg. B, Baguio City to deposit your fee and register. Those who are not currently in Baguio but are interested may also contact us for bank or online payments.

Q: Are walk-ins allowed?
A: The training requires preparation of materials and other activities and hence, only advance registration will be accepted.

Q: Why limit seats?
A: For optimum trainor-trainee ratio, only a few seats will be offered

Need more information? Talk to us: 0916-442-8565, facebook.com/layadcircuits , info@layadcircuits.com or visit us at B314 Lopez Bldg B, Session Rd., Baguio City

NEMA17 + A4988 reference circuit and code

Someone bought NEMA17 motors from us and asked for a test, so we obliged and thought it may be better to post it here in case someone else needs it. The requirements was to use the following parts from our stock:

  • Saleng/Arduino Uno
  • NEMA17 Bipolar Stepper Motor
  • A4988 driver module

We then needed to rotate the motor clockwise and counter clockwise to demonstrate its basic usage. Here is our wiring diagram:

This is our test code:

After uploading and correctly wiring, you should expect the motor to move one full revolution in both directions. Happy hacking!

 

 

 

 

 

LED as Light Sensor

We all know that a LED emits light. But it also acts as a photodiode, that is, current flows through when the device is exposed to light and therefore producing a voltage drop across the terminals of the LED. The amount of light is proportional, although not linear, to the voltage across the terminals.

In this article, we will demostrate how this is done using an ordinary red LED and a Saleng Uno. For display, we will use a 16×2 LCD module with a Kimat I2C backpack.

Wiring:

 

Code:

Demostration:

Happy Hacking!

A closer look at the “R3” in Arduino Uno

You may probably wonder what the “R3” means in board titles such as “Arduino Uno R3”. It may be simpler than what you think.

To start with, the R3 is a revision number of the PCB. This means there were earlier revisions such as R2 and the original board. So what is the difference between an R3 board and earlier PCB’s? Here are the two most significant ones we feel may affect your project:

  • Extra I2C Headers – the R3 has an SDA and SCL pins after the AREF pins. these are actually a duplicate of A4 (SDA) and A5(SCL) and was probably added to facilitate connection of two devices in the I2C bus.
  • The on board “L” led  controlled by pin 13 is buffered using an op-amp in the R3 while earlier boards directly connects the LED and resistor to pin 13. This eliminates degradation of pin 13’s performance especially when used as an input.

There are other differences like the upgrade of the USB chip from an Atmega8U2 to Atmega16U2 but this is essentially of the same function and is not necessarily the only or the best solution for other Uno compatible boards. The rest of the differences are changes you may never notice or does not really affect performance such as the positioning of some components on the board.

And while we are discussing these changes, it is worthwhile to note that almost all boards being sold today are using the R3 variant. Even Uno-compatible boards have now inherited the changes in R3 and with some  adding even better improvements.

Arduino vs ATmega vs Atmel vs AVR

In the world of DIY/Hobby electronics, at least for Filipino hobbyist, one will encounter these terms that are sometimes used interchangeably. Knowing what they mean would help one better digest online materials or actual conversations on Arduino.


Atmel – A lot of Arduino boards uses microcontroller chips originally manufactured by Atmel. It was taken over by the company called Microchip, the former competitor of Atmel.

Microchip – The company that has taken over Atmel.

AVR – A distinct product family of microcontrollers manufactured by Atmel/Microchip. It is based on an 8-bit RISC architecture under which are the microcontrollers that power Arduino Uno, Nano, Leonardo and Mega2560, among others.

AtmegaXXXX – These are the part numbers of the actual chips. The Arduino Uno uses the chip ATmega328P while the Arduino Mega uses the ATmega2560. Both are part of the “megaAVR” sub-family of chips under AVR.

Arduino – The development board we are all familiar with including its tool sets.