Assembly Tutorial of Amarino Nano 1.0

Amarino Nano 1.0

Please visit this page first to know about Amarino Nano.

Assembly process of this kit is very easy. If you have basic soldering knowledge, you can assemble the board within half an hour.

You can directly visit BuildCircuit’s Flickr page and see all the assembly steps.

If you look at the PCB, you will see that the silkscreen labels are enough to guide you to solder the components properly.

PCB

Before you start, make sure that you have all the required components.

Here’s the list of components:

  • 1 x Arduino Nano
  • 1 x Bluetooth adapter
  • 1 x Amarino Nano PCB
  • 2 x 15 pin female headers
  • 1 x 4 pin female header
  • 1 x Red Color 1P DIP switch
  • 1 x LM35DZ temperature sensor
  • 1 x 5mm LED
  • 1 x RGB LED- common cathode
  • 1 x photo resistor
  • 4 x 220 Ohm resistor
  • 1 x 10K Ohm resistor

Now, follow these steps:

1. Always start with the small components. So, solder all the resistors first. Solder 220 Ohm resistors.

Step 2- Solder resistor that connects to D11

2. Solder 10K Ohm resistor and the photo resistor

Step 3- Solder 10K Ohm resistor

3. Solder LM35DZ temperature sensor.

Step 5- Solder LM35

4. Solder 1P DIP switch, the one in RED color. This switch has to be turned off while uploading the Arduino sketch.

Step 6- Solder 1P DIP switch

5. Solder 5mm white LED

Step 7- Solder 5mm LED

6. Solder common cathode RGB LED

Step 8- Solder RGB LED Step 8.2- RGB LED top view

7. Solder 4 pin female header for Bluetooth moduleStep 9- Solder 4pin female header

8. Solder 2pcs 15 pin female header to stack the Arduino NanoStep 10- Solder 15 pin female headers

9. Stack the Bluetooth module and the Arduino Nano on the correct female headers. Your Amarino Nano board is ready to use. Visit this page for experiments.

Step 11- Fix Arduino Nano and Bluetooth Module

10. Connect a mini USB cable to operate the kit.

Connect USB cable and use the kit

See the following links:

1. About Amarino Nano 1.0

2. Experiments with Amarino Nano 1.0– You will get all the Apps and Arduino sketches on this page.

3. All the images on Flickr


Where can you buy this kit ?

The kit is available at BuildCircuit Store (www.buildcircuit.com.au- Free Shipping in Australia)

Amarino Nano-1-1Buy now button

Experiments with Amarino Nano 1.0

If you have come to this page from a search engine, please read this page first, you will eventually come back to this page again. The first page gives you the idea of Amarino Nano 1.0 and its features.

Steps for experiments: 

Before you start the experiment, stack the Arduino Nano and Bluetooth modules on the headers of Amarino Nano. This is how you do that:

Amarino Nano-1-1

Then connect it to your computer for programming using the provided USB cable. Please remember that you need to turn off the RED colored 1P-DIP switch while uploading your sketch to your Arduino.

For all the experiments, you have the following things in common:

Step 1: Amarino Toolkit MAIN application: This is the main Amarino application to be installed on your Android phone. There are other applications which work only after installing the main application. If the link does not work, download the application from here.

Step 2: Amarino Library for Arduino: Download it and move it to the Libraries folder. You can check here if the Amarino team has upgraded the library. It’s always good to use the updated version :) .

If the given link does not work, you can download the library from this link. 

After installing the Amarino main application and Amarino library, we move to the following steps:

Step 3: Pair up the Bluetooth adapter module with the Bluetooth of your Android phone. The pairing code is 1234. 

After installing the Bluetooth adapter on the Amarino Nano kit, switch on the Bluetooth function of your phone, open the Amarino application and connect each other using the pairing code 1234. You can see the MAC ID of the Bluetooth adapter on the Amarino application interface. On the image shown below, you can see that there are two Bluetooth adapters with two different names and IDs registered on the application. Pressing the “Connect” button connects the application to the chosen adapter. You can connect only one adapter at one time.

Once the adapter is paired up, you don’t need to pair it again. 

Amarino Interface

A low cost general Bluetooth adapter is enough for this shield. You can purchase one at www.buildcircuit.com.au.

Look at the schematic before you start:

On the schematic given below you can see how the components are connected to Arduino Nano. Seeing the schematic you can expect the output of your projects.

Amarino Nano1

Experiment 1- RGB LED Control: watch this video.

Amarino Nano-1-1

This is how you stack Arduino Nano and Bluetooth modules on the headers.

Remember to turn off the RED color 1P DIP switch while uploading your Arduino sketch.

RGB LED is connected to digital pins 3(RED), 5(GREEN) and 6(BLUE).

RGB control application multicolor lamp

  • Open the application and control your RGB LED. As you move the slider, the color on the RGB LED changes. Remember to switch on the 1P DIP switch, otherwise, it won’t work. 

The multicolor lamp application

Experiment 2: Sensor Graph display

Switch off the RED color 1P DIP switch while uploading your Arduino sketch.

The photoresistor/LDR is connected to A1 and the 5mm white LED is connected to D11.

  • Download the sensor graph application and install it on your phone.
  • Download the Arduino source code and upload it to your Arduino Nano. NOTE: You need to switch off the 1P DIP switch while uploading the sketch. After uploading switch it on again.
  • Set Bluetooth MAC ID. It is different for all Bluetooth modules. My Bluetooth module has MAC ID: 98:D3:31:70:3A:98, so, I used that. You will have a different MAC ID for your module.

Sensor Graphsensor graph

  • Open the application and see the sensor data on your phone. You may also control the 5mm LED simultaneously. Remember to switch on the 1P DIP switch, otherwise, it won’t work. 

sensor graph (2)

Experiment 3: LM35 temperature sensor data display

Switch off the RED color 1P DIP switch while uploading your Arduino sketch.

LM35 temperature sensor is connected to A0.

temperature sensor log intemperature sensor

  • Open the application and see the sensor data on your phone. You may also control the 5mm LED simultaneously. Remember to switch on the 1P DIP switch, otherwise, it won’t work. 

temperature sensor datatemperature sensor


Where can you buy this kit ?

The kit is available at BuildCircuit Store (www.buildcircuit.com.au- Free Shipping in Australia)

Amarino Nano-1-1Buy now button

Cosmarino- A DIY kit for Android-Arduino communication

Cosmarino

“Cosmarino is a kit for experimenting Android-Arduino communication via Bluetooth.”

Features: 

  • Control RGB LED with Android phone
  • Display photoresistor sensor data on a graph on Android phone
  • Transmit LM35DZ temperature sensor data on Android phone
  • Control 5V relay with Android phone
  • Control 5V relay and LED with any infrared remote control

This is Cosmarino- A simple DIY kit for facilitating communication between Arduino Nano and Android via Bluetooth communication medium. The kit also has a TSOP4838 infrared sensor which offers you the possibility of controlling the kit with a normal infrared remote control.

The kit has been designed to support particularly Amarino toolkit Android application, but we have tested the kit with many other applications made for Arduino-Android communication via Bluetooth and all have worked properly.

The kit package includes:

  1. Cosmarino kit- Available in fully assembled and DIY versions
  2. Bluetooth module
  3. Amarino Nano– Chinese version with CH340G chip
  4. Infrared remote control

Cosmarino has the following features:

  • Android app controlled: The Cosmarino kit can be controlled with several Android applications made for controlling Arduino or communicating with Arduino via Bluetooth. We have used Amarino toolkit and many other Android applications for testing different features of the kit.
  • Bluetooth support: The control signals from Android phone are sent to Arduino Nano via Bluetooth. There is a Bluetooth module connected to the circuit board that facilitates communication between Android and Arduino.
  • TSOP4838 infrared sensor: There is a TSOP4838 infrared sensor on the circuit board which allows you to control Cosmarino with any kind of TV/DVD remote control. However, the kit package includes an Infrared remote control also.
  • Fully programmable: The kit is fully programmable because it has Arduino Nano.

Experiments:

You can do several experiments with Cosmarino. Some of the interesting experiments have been listed below.

1. RGB LED control: You can control the common cathode RGB LED with your Android smart phone.

multicolor lamp

2. Relay control- Relay on the kit can be controlled with the phone or any remote control.

3. LDR/photoresistor sensor data- Cosmarino can transmit LDR sensor data to your phone. You can receive LDR sensor data and control the 5mm LED at the same time.

This feature is available with Amarino toolkit application only.

sensor graph

5. LM35 temperature sensor data- The kit transmits LM35 temperature sensor data to your phone. You can receive the sensor data and control the 5mm LED at the same time.

This feature is available with Amarino toolkit application only.

temperature sensor

 Schematic: (Click on the schematic to enlarge)

cosmarino

As you can see on the schematic the components have been connected to the Arduino Nano in the following way:

1. OUTPUT- RGB LED: R= D3, Blue= D5 and Green= D6. All these digital pins have Pulse Width Modulation function.

2. OUTPUT- 5mm LED connected to Digital pin D11

3. OUTPUT- 5V relay connected to Digital pin D2

4. INPUT- LDR/Photoresistor connected to Analog pin A1

5. INPUT- LM35 temperature sensor connected to Analog pin A0

6. INPUT- TSOP4838 infrared sensor connected to Digital pin D7

Related documents:

Where can you buy ?

buildcircuit

Cosmarino Assembly Tutorial

If you have come to this page from a search engine, please check this page first, you will eventually come to this page again.

About Cosmarino

The assembly process of the Cosmarino kit is very straight forward. You just need to follow the silkscreen labels to get the idea of assembly. A basic knowledge in soldering is enough for assembling the kit.

To be quick, you can see all the assembly images on Flickr. 

Step 1: Solder all the 220 ohm resistors

Step 1- Solder 220 Ohm resistors

Step 2: Solder 330 Ohm and 10K ohm resistors

Step 2- SOlder 330 Ohm and 10K Ohm resistors

Step 3: Solder 1N4001 diode.

Step 3- Solder 1N4001 Diode

Step 4: Solder LDR/ photoresistor.
Step 4- Solder LDR

Step 5: Solder BD139 NPN transistor
Step 5- Solder BD139 NPN transistor

Step 6: Solder LM35DZ temperature sensor
Step 6- Solder LM35 temperature sensor
Step 6.1- LM35 temperature sensor

Step 7: Solder TSOP4838 infrared sensor
Step 7- Solder TSOP4838 infrared sensor

Step 8: Solder 1P DIP switch
Step 8- Solder 1P DIP switch

Step 9: Solder 5mm white LED
Step 9- Solder 5mm White LED

Step 10: Solder RGB LED
Step 10- Solder common cathode RGB LED
Step 10.1- RGB Common cathode LED

Step 11: Solder 2pcs 15 pin female header
Step 11- Solder 4 pin and 15 pin female headers

Step 12: Solder 3 pin screw terminal
Step 12- Solder 3 pin screw terminal
Step 12.1- 3 pin screw terminal

Step 13: Solder 5V relay
Step 13- Solder 5V relay

Step 14: Stack Bluetooth module and Arduino Nano
Step 14- Stack Bluetooth module and Arduino Nano

The kit is ready to use
Step 15- Use Mini USB cable to program Arduino Nano - Copy


Cosmarino Experiments


 

Related documents:

Where can you buy ?

buildcircuit   ebay   etsy

How to program Amarino lamp

Recommended app

To know about Amarino lamp, visit this page. 

Amarino lamp is fully programmable. The kit package consists of FTDI basic breakout board, you can use it to program the lamp. The lamp is based on Arduino.

Connect the FTDI basic breakout board to the lamp, open the Arduino programming interface and upload your sketch.

REMEMBER: Turn off the red colored 1P DIP switch 1-position-2p-side-style-dip-switch-redwhile uploading sketch(if the Bluetooth module has been stacked over the 4 pin female header)

programming

Documents: 

  1. About Amarino Lamp
  2. Assembly Tutorial
  3. Amarino Lamp- Light sensor
  4. Lamp test with different phone sensors
  5. How to program Amarino lamp

Where can you buy ?

buildcircuit    etsy

Cosmarino Experiments

If you have come to this page from a search engine, please visit this page first, you will eventually come back to this page again.

About Cosmarino 

Cosmarino is a versatile kit that facilitates communication between Android and Arduino in a simple way.

We can do several experiments with this kit. In this tutorial we have shown experiments related to Amarino only. However, you can test the kit with several other Android app available at Google Play.

Before you start the experiments, please know how the components are connected to the Arduino Nano.

1. OUTPUT- RGB LED: R= D3, Blue= D5 and Green= D6. All these digital pins have Pulse Width Modulation fuctionality.

2. OUTPUT- 5mm LED: Digital pin D11

3. OUTPUT- 5V relay= Digital pin D2

4. INPUT- LDR/Photoresistor= Analog pin A1

5. INPUT- LM35 temperature sensor: Analog pin A0

6. INPUT- TSOP4838 infrared sensor= Digital pin D7

Steps for Amarino experiments: 

Amarino_logo-W490

For all the experiments, you have the following things in common:

Step 1: Amarino Toolkit MAIN application: This is the main Amarino toolkit application to be installed on your Android phone. There are other applications which work only after installing the main application. If the link does not work, download the application from here.

amarino main app

Amarino Nano (1)

Step 2: Amarino Library for Arduino: Download it and move it to the Libraries folder. You can check here if the Amarino team has upgraded the library. It’s always good to use the updated version .

If the given link does not work, you can download the library from this link. 

meet android

Step 3: Connect the Bluetooth module to the circuit board. Please note how the Bluetooth module has been stacked over the 4 pin female header. After you stack it on the circuit board, you will see a red LED blinks on the Bluetooth module.

bluetooth module  Bluetooth module

Step 14- Stack Bluetooth module and Arduino NanoNote how the Bluetooth module has been stacked over the board.

Then, activate the Bluetooth function of your phone.

Amarino Nano (2)

Step 5: After you see an LED blinking on the Bluetooth module, open the Amarino Main application, you see the following interface:

Amarino Nano (1)

On the Amarino main application interface, touch Add BT Device. That will display the Bluetooth module close to your Android phone.

Amarino Interface

Select the linvor Bluetooth module. Remember to note down the MAC ID also. In this example, the MAC ID is 20:13:05:09:15:39. It is unique for all the modules. You will need this MAC ID in the next step. Note that the MAC ID is unique for all modules. It is never same for any two Bluetooth modules.

Pressing the “Connect” button display a text box(for the first time), where you need to enter the pairing code, which is 1234. This connects the application to the chosen adapter. You can connect only one adapter at one time.

Pairing code: 1234

Once the adapter is paired up, you don’t need to pair it again. 

Now we can move to the experiments below:

 Experiment 1- RGB LED Control: 

RGB LED is connected to digital pins 3(RED), 5(GREEN) and 6(BLUE).

  • Download the RGB LED control application and install it on your phone.
  • Download the Arduino source code and upload it to your Arduino Nano. NOTE: You need to switch off the 1P DIP switch while uploading the sketch. After uploading switch it on again.
  • Set Bluetooth MAC ID. It is different for all Bluetooth modules. For example, my Bluetooth module has MAC ID: 98:D3:31:70:3A:98, so, I used that. No two Bluetooth modules can have the same MAC ID. You will have a different MAC ID for your module. Enter the MAC ID that you had noted down in the previous step.

RGB control application

  • As soon as you open the application, the app will connect to the Bluetooth module and you can simply control your RGB LED. As you move the slider, the color on the RGB LED changes. Remember to switch on the 1P DIP switch, otherwise, it won’t work. 

The multicolor lamp application

RGB LED control using “Arduino Bluetooth RGB LEDs” android App:

Cosmarino app

There are several Android applications that can control Amarino Nano kit. Here’s one application that we have tested:

You can then simply connect Bluetooth of your phone to the external Bluetooth module and control the Amarino Nano kit.

Experiment 2: Sensor Graph display

The photoresistor/LDR is connected to A1 and the 5mm white LED is connected to D11.

  • Download the sensor graph application and install it on your phone.
  • Download the Arduino source code and upload it to your Arduino Nano. NOTE: You need to switch off the 1P DIP switch while uploading the sketch. After uploading switch it on again.
  • Set Bluetooth MAC ID. It is different for all Bluetooth modules. For example, my Bluetooth module has MAC ID: 98:D3:31:70:3A:98, so, I used that. You will have a different MAC ID for your module.

Sensor Graph

  • Open the application and see the sensor data on your phone. You may also control the 5mm LED simultaneously. Remember to switch on the 1P DIP switch, otherwise, it won’t work. 

sensor graph (2)

Experiment 3: LM35 temperature sensor data display

  • Download the LM35 temperature senor display application and install it on your phone.
  • Download the Arduino source code and upload it to your Arduino Nano. NOTE: You need to switch off the 1P DIP switch while uploading the sketch. After uploading switch it on again.
  • Set Bluetooth MAC ID. It is different for all Bluetooth modules. For example, my Bluetooth module has MAC ID: 98:D3:31:70:3A:98, so, I used that. You will have a different MAC ID for your module.

temperature sensor log in

  • Open the application and see the sensor data on your phone. You may also control the 5mm LED simultaneously. Remember to switch on the 1P DIP switch, otherwise, it won’t work. 

LED control app interface

Relay control

There is a 5V relay on the Cosmarino kit. You can control the relay using your phone application or a normal infrared remote control.

Control the relay using general Android application and Infrared remote control

There are hundreds of applications on Google Play that have been made for Arduino and Android application. You can pick up any of those apps and control the kit.

In this example, we have picked up this application which transmits text ‘h’ every time the green button is pressed. We have programmed it in such a way that the relay is switched on if the Arduino gets an ‘h’.

TIP: If you want to know what text a random Android app sends to Arduino, you can check out this tutorial. The tutorial shows you what Arduino receives from the phone and what Arduino sends to the phone. See this video also.

The kit is fully programmable. Please remember to switch off the red DIP Bluetooth switch while programming, otherwise, the Arduino Nano cannot be programmed. You should switch it back again after the kit has been programmed.

Step 1: Install this Android application from Google Play.

external app

Step 2: Upload any of these sketches:

If you intend to control the relay with infrared remote control, then, you need to download the library and copy it to the libraries folder of Arduino.

Download Infrared sensor library from the original link 

Step 3: Open the Android application and search for the Bluetooth module stacked on the circuit board. Pair up the module with your Android application(to be done only once). Pairing code= 1234. You need to pair up with the module only once.

Step 4: Switch on/off the relay with the application. You can simultaneously control the lamp with your infrared remote control also if you have uploaded this sketch.

Related documents:

Where can you buy ?

buildcircuit   ebay   etsy

Amarino LED Lamp

Amarino Lamp is a versatile programmable LED lamp based on Arduino. The lamp has an inbuilt Arduino as its controller. PWM signals from Arduino are fed into UNL2003A and this chip controls the LED lamp. You can also simultaneously control the lamp with an infrared remote control. It has the following features:

  • Android app controlled: The LED lamp can be controlled with several Android applications made for controlling Arduino or communicating with Arduino via Bluetooth. We have tested the kit with Amarino toolkit and many other Android applications.
  • Bluetooth support: The control signals from Android phone are sent to the lamp via Bluetooth. There is a Bluetooth module connected to the circuit board that facilitates communication between Android and Arduino.
  • TSOP4838 infrared sensor: There is a TSOP4838 infrared sensor on the circuit board which allows you to control the lamp with any kind of TV/DVD remote control.
  • Fully programmable: The lamp is fully programmable because it has an inbuilt Arduino. You will need an FTDI breakout board to program the chip on the board. The kit package includes the FTDI basic breakout board.
  • Resettable PTC fuse: The lamp has a resettable PTC fuse which protects the circuit board from over current flow. In this kit, if the circuit tries to draw more than 500mA of current (if you have a bad short for instance) the PTC would ‘trip’ (by heating up). The increased resistance (trip state) would break the circuit and allow only a small leakage current.

Specification of lamp(according to the manufacturer): This is not the specification of whole circuit.

lamp image

MR16 4W LED Lamp
Lamp base MR16
Power 4W
Voltage 12V AC/DC
Lumens 400-500LM
Beam angle 45°
Dimension diameter 48mm x 61mm high
Weight 37g
Life time more than 50000 hours
Color temperature Cool white:5700-6300K

The kit package includes:

android lamp- main-small

The kit package includes everything that you need to build the LED lamp. On the assembly tutorial page you will get the list of components.

“The kit package does not include 12V/500mA power supply. You need to buy it separately”.

A 12V power supply with 500mA or 1A output is enough for this lamp.

You can buy similar to this one: 12V DC Power Adapter Supply 2.1mm 1A, CCTV

We do not sell that because different countries have different plug standards, so, we cannot stock that for all countries, not even Australia.

List of components is available on the assembly tutorial page.

About ULN2003:

Download datasheet

The ULN2003A is a high-voltage high-current darlington transistor array. The chip consists of seven npn darlington pairs that feature high-voltage outputs with common cathode clamp diodes for switching inductive loads. The collector-current rating of a single darlington pair is 500mA.

Because ULN2003 can drive 500mA, we chose MR16 4W LED lamp that can be driven easily by ULN2003A.

Schematic:

Smart phone lamp

How does it work ?

“You can simultaneously use Android phone application and IR remote control to operate the LED lamp.”

Bluetooth mode: 

The Bluetooth module on the kit is paired up with the Bluetooth of phone and control commands are sent from the phone application. The commands are interpreted by the Arduino UNO microcontroller and ULN2003 is driven to operate the LED lamp.

Infrared mode:

Infrared signals are sent from the infrared remote control and those signals are interpreted by Arduino UNO chip and control commands are sent to the ULN2003 to drive the LED lamp.

Using Amarino toolkit application

You can try several Amarino related experiments with this lamp.

Amarino_logo-W490

Step 1: Download Amarino main application from Amarino website(www.amarino-toolkit.net) and install it on your Android phone. Optional link (use this if the previous link does not work)

amarino main app

Step 2:  Download Meet Android Library and copy it to the Libraries folder of Arduino. Optional link

meet android

Step 3: Upload this sketch to the Atmega328P-PU Arduino UNO chip that’s on the circuit board. You will also need a library for remote control function, download the library and copy it to the libraries folder of Arduino.

Download Infrared sensor library from the original link 

Step 4: Connect the Bluetooth module to the circuit board. Please note how the Bluetooth module has been stacked over the 4 pin female header. And remember to SWITCH ON the circuit board. After you switch on the circuit board, you will see a red LED blinks on the Bluetooth module. Use a 12V (500mA/1A) power supply to power up the lamp.

bluetooth module  REMEMBER: Switch ON the 1P DIP RED color switch also. This switch:1-position-2p-side-style-dip-switch-red. Turning it on makes connection between the Bluetooth module and the microcontroller. But, this switch should be turned off while uploading a sketch.

Step 18- Fix a Bluetooth module over the 4 pin female headerSee how the  Bluetooth module has been stacked.

Then, activate the Bluetooth function of your phone

Amarino Nano (2)

Step 5: After you see an LED blinking on the Bluetooth module, open the Amarino Main application, you see the following interface:

Amarino Nano (1)

On the Amarino main application interface, press Add BT Device. That will display the Bluetooth module close to your Android phone.

Amarino Nano (3)

Select the HC-06 Bluetooth module. Remember to note down the MAC ID. In this example, the MAC ID is 98:D3:31:70:35:94. You will need this MAC ID in the next step. Note that the MAC ID is unique for all modules. It is never same for any two Bluetooth modules.

Now, you need to pair up your phone with the Bluetooth module. So, your phone will prompt a box for entering the pairing code. Pairing up with the Bluetooth module is a one time task.

Amarino Nano (9)

Enter the pairing code: 1234

After entering the pairing code, you will see the Bluetooth module listed on the Amarino application.

Amarino Nano (5)

Press Connect button to make Bluetooth connection between your phone and the Bluetooth module. As soon as the phone and module are connected, the red LED on the module stops blinking.

Step 6: Install this application for controlling the LED lamp.

LED lamp

Step 7: Enter the MAC ID of the Bluetooth module that you noted down in the previous step. In this example, it is 98:D3:31:70:35:94. Then, press Set Device ID.

Android Lamp (2)

Step 8: After you enter the MAC ID of the Bluetooth module, you will reach to this interface. Bluetooth module will be connected automatically to the Bluetooth of your phone.

Android Lamp

Step 9: Control the LED lamp with the slider and simultaneously control it with ANY remote control.

Watch the video below:

Where can you buy ?

buildcircuit      etsy

Control the lamp using general Android application

There are hundreds of applications on Google Play that have been made for Arduino and Android application. You can pick up any of those apps and control the LED lamp.

In this example, we have picked up this application which transmits text ‘h’ every time the green button is pressed. We have programmed it in such a way that the LED lamp is switched on if the Arduino gets an ‘h’.


TIP: If you want to know what text a random Android app sends to Arduino, you can check out this tutorial. The tutorial shows you what Arduino receives from the phone and what Arduino sends to the phone. See this video also.


The lamp is fully programmable. So, you can use your regular Arduino programming interface to program the lamp in anyway you want. Please remember to switch off the red DIP Bluetooth switch while programming, otherwise, the chip cannot be programmed. You should switch it back again after the chip has been programmed. 

Step 1: Install this Android application from Google Play.

external app

Step 2: Upload this sketch to your Arduino. This sketch is for controlling the lamp with Android app and infrared remote control at the same time. If you want to exclude the infrared sensor, you can upload this sketch. You can use an FTDI basic breakout board to program the kit. The breakout board is included in the kit package.

If you intend to control the lamp with infrared remote control, then, you need to download the library and copy it to the libraries folder of Arduino.

Download Infrared sensor library from the original link 

Step 3: Open the Android application and search for the Bluetooth module stacked on the circuit board. Pair up the module with your Android application. Pairing code= 1234. You need to pair up with the module only once.

Step 4: Switch on/off the lamp with the application. You can simultaneously control the lamp with your infrared remote control also.

Watch the video below:


Three interesting experiments:


Related documents: 

 Where can you buy ?

You can buy the lamp on www.buildcircuit.net, Ebay and Etsy.

buildcircuit      etsy

Amarino Lamp- Assembly tutorial

Recommended app

If you come to this page randomly from a search engine, please check this page first, you will eventually come back to this page.

About Amarino Lamp

This post shows you how to assemble the Amarino lamp. The kit package includes the following components. Click on the links of the components the components below to see how the components have been assembled on the circuit board.

You will need basic soldering knowledge to assemble the kit. The assembly process is very straight forward, you can easily guess which components to solder where on the PCB. The silkscreen labels are very clear and directs you to assemble the board properly.

  1. 1 x Bare PCB with silkscreen indicators. (click on the links to see the assembly images)
  2. 2 x 22pF ceramic capacitors  (step 1)
  3. 1 x 0.1uF ceramic capacitor   (step 2)
  4. 1 x 16Mhz crystal oscillator   (step 3)
  5. 1 x 1N4001 diode                  (step 4)
  6. 1 x 3mm LED                         (step 5)
  7. 1 each x 10K and 1K resistors (step 6) 
  8. 1 x TSOP4838 infrared sensor (step 7)
  9. 1 x tactile reset switch             (step 7)
  10. 1 x 500mA PTC resettable fuse (step 8)
  11. 1 x 1P DIP switch  and 1 x SPDT switch (step 9)
  12. 1 x 4 pin female header            (step 10)
  13. 1 x 28 pin DIL socket                (step 11)
  14. 1 x 16 pin DIL socket                (step 12)
  15. 1 x 6 pin male header for FTDI basic breakout board (step 13)
  16. 2 x 10uF electrolytic capacitor (step 14)
  17. 1 x DC barrel                             (step 15)
  18. 1 x LM7805 with heat sink       (step 16)
  19. 1 x LED lamp                             (step 17)
  20. 1 x Bluetooth module               (step 18) (you need to stack this Bluetooth module while using the kit)
  21. 1 x ULN2003 and 1 x Atmega328P with Arduino Bootloader (Insert these chips in the respective DIL sockets)

Documents: 

Where can you buy ?

buildcircuit   etsy

Using phone features with Amarino lamp

In this post…

“Make the lamp respond to orientation sensor, light sensor and phone call”


Amarino lamp responding to Phone call


About Amarino Lamp

Amarino toolkit is a versatile Android application for experimenting Android-Arduino communication via Bluetooth. You can test some of the features of the Amarino toolkit application with Amarino lamp also. For example, you can make the light turn on/off/dim based on the light sensor, orientation sensor, compass, battery level data of your phone.

You can also make the lamp respond to your phone calls and SMS.

There is a list of events on Amarino application that you can test with the lamp.

amarino events (8)

 Step 1: Upload this sketch to your Amarino Lamp. Remember to turn off the Bluetooth switch(the red color 1P DIP switch)

Step 2: Stack the Bluetooth module over the 4 pin female header on the Amarino lamp circuit board. Turn on the Bluetooth switch. You will see a red LED blinking on the Bluetooth module.

Android-Arduino Lamp

Step 3: Turn on the Bluetooth of your phone.

Amarino Nano (2)

 Step 4: Install and open the Amarino main application. 

amarino events (1)

Step 5: Select Add BT Device. It will display the Bluetooth module you have stacked over the Amarino Lamp.

amarino events (2)

Step 6: Select the MAC ID of the Bluetooth module. It will prompt a box for entering the pairing code. Enter 1234 for the pairing code. This code has to be entered only once.

Amarino Nano (9)

Step 7: You will then see the Bluetooth module listed on the Amarino application interface.

amarino events (3)

Step 8: Press one the list for about 2-4 seconds, it will display “Show Events”. Press Show Events. 

amarino events (5)

 Step 9: Then, you reach this interface. Press Add Event, you will see a list of events available with the Amarino application.

amarino events (6)    amarino events (8)

Step 10: Select any Event you like. For example, I select Light Sensor. When you press save, you will reach an interface that displays the light sensor sensed by the Amarino application.

amarino events (9)   amarino events (10)

 You can see that the Light sensor data is shown under ID: ‘A’. So, you Android sketch should also have code that responds to ID: A. You can check the Arduino sketch, you will see a line:

meetAndroid.registerFunction(valuesensor, A);

So, you cannot add another event unless you edit the Arduino sketch.

Step 11: If the light sensor data is not displayed, press the display for about 2-4 seconds, you will get message box, where you have to select, Force Enable.

amarino events (11)

After you press Force Enable, you will see something like this:

amarino events (12)

 Step 12: Go back to the Amarino interface where you see the list of Bluetooth module and press Connect.  As soon as the application connects with the Bluetooth module, the red LED on the Bluetooth module stops blinking.

amarino events (14)

Step 13: When you block the light falling on the phone, the LED lamp dims the light intensity. The lamp responds to the light falling on your Smart phone.

Watch this video and see the whole process for light sensor. 

Step 14: Again press on the light sensor data and press Remove and again add another event, for example, orientation sensor or Phone State or Compass Sensor. You will notice that the lamp responds to all the events on the Amarino application.

Watch the video for orientation sensor. 

REMEMBER: If you are using ID: A on the Amarino app, the Arduino sketch should also have ID: A on this line: 

meetAndroid.registerFunction(valuesensor, A);

If you are using ID: B, then the Arduino sketch should also have value ‘B’

amarino events (11)

Watch the video below: The following videos show the complete process on how to make the lamp respond to light sensor and orientation sensor of the phone.

Amarino Lamp responding to phone call

Arduino sketch for this experiment


Documents: 

  1. About Amarino Lamp
  2. Assembly Tutorial
  3. Amarino Lamp- Light sensor
  4. Lamp test with different phone sensors
  5. How to program Amarino lamp

Where can you buy ?

buildcircuit   etsy

Amarino Lamp- responding to phone’s light sensor

In this post…

“Make the lamp respond to light sensor of your phone”

About Amarino Lamp (See this article to know about Amarino lamp)

This tutorial is related to my previous article. 

You can use Amarino toolkit application to make a simple dark/light sensor and make the lamp respond to the light present in your room.

For this experiment, we are not describing all the steps because we have described everything on this post. We strongly recommend you to see the main article to know how to use the Amarino application.


“Program Amarino Lamp to respond to phone calls, sms and orientation sensor”


 

(more…)

Assembly Tutorial- 3 Digits – Digital object counter DIY kit

We are now selling CD4026 and CD4029 up and down counter modules.

Step 15- Connect a 9V battery and your kit is readyThis page shows you how to assemble three digit digital object counter. If you are looking for 2 digit digital object counter please see this page.

If you are interested in knowing about this 3 digit counter, please check this page. 

The counter module kit package comes with all the components required to build your kit. Before you proceed, please check if you have all the required components:

  • 1 x TO-92 5V Voltage Regulator(78L05)
  • 3 x CD4026 Decade counter
  • 3 x 16-pin IC socket.
  • 3 x common cathode seven segment display-(Can be in red, yellow and blue colors)
  • 1 x TSOP4838 Infrared sensor
  • 1 x 100uF Capacitor- (Voltage rating can be between 16V to 50V- causes no problem in operation)
  • 2 x 0.1uF 50V ceramic Capacitor
  • 2 x 3mm LED- (can be any color)
  • 1 x BC547
  • 1 x BC557
  • 1 x SPDT Slide Switch
  • 1 x Tactile reset switch
  • 1 x Screw terminal- (can be in blue/green colors)
  • 4 x 1K Ohm Resistor 1/4W
  • 1 x 330R Resistor 1/4W
  • 1 x 10K Ohm Resistor 1/4W
  • 1 x Bare PCB with Silkscreen Indicators
  • 1 x 9V battery connector

Please follow the following steps:

Step 1: Solder 1K Ohm resistors. The color code of 1K ohm resistor is Brown-Black-Red

Click on the image to see the color code more clearly.

Step 1- Solder all the 1K Ohm resistors

Step 2: Solder 10K Ohm resistor and 330 Ohm resistors. The color code for 10K Ohm resistor is Brown- Black- Orange and color code of 330 Ohm resistor is Orange-Orange-Brown.

Step 2- Solder 330 Ohm and 10K ohm resistors

Step 3: Solder 2pcs 0.1uF (code- 104) capacitors.

Step 3- Solder 2pcs 0.1uF(104) code capacitor

Step 4: Solder 2pcs 3mm LED. If you do not know which pin is Anode and which is cathode, please see this. The longer pin is Anode and the shorter pin is Cathode.

Step 4- Solder 2pcs 3mm LED

Step 5: Solder tactile switch. The switch is for resetting the counter. You can see how it work on the video below.

Step 5- Solder tactile switch

Step 6: Solder BC557 PNP transistor.

Step 6- Solder BC547 transistor

Step 7: Solder BC547 NPN transistor

Step 7- Solder BC557 transistor

 Step 8: Solder 5V voltage regulator. The 5V regulator chip is marked as 78L05. It is in TO-92 package.

TO-92 5V regulator

Step 8- Solder 5V regulator

Step 9: Solder TSOP4838 infrared sensor.

Step 9- Solder TSOP4838 infrared sensor

Step 10: Solder SPDT switch. It is used for switching ON/OFF the counter module.

Step 10- Solder SPDT switch

Step 11: Solder 2 pin screw terminal. It is used for connecting a 9V battery to the counter module.

Step 11- Solder 2pin screw terminal

Step 12: Solder 3pcs of 16 pin DIL sockets. These are used for stacking CD4026 chips. Step 12- solder 3pcs 16 pin DIL sockets

Step 13: Solder three seven segment displays and 100uF Capacitor. Please notice the + and – terminal of the capacitor. Solder it correctly.

Step 13- Solder 3pcs common cathode seven segment display

Step 14: Put CD4026 chips over the DIL sockets.

Step 14- Solder 100uF capacitor and insert CD4026 chips

Step 15: Use a 9V battery to operate the kit. Your kit is now ready to use.

Step 15- Connect a 9V battery and your kit is ready
Other related tutorials:


BC-3014A

3 Digit Digital Objects Counter With Laser Module

£11.75£15.67
This is 3 digits digital object counter kit

Check out all the counters

COU-18

1.8" Photoresistor And Laser Operated Medium Digital Objects Counter

£19.60
This is an upgraded version of the previous
SCO-23

2.3" Common Anode Seven Segment Display Driver

£15.67
COU-902

2.3" common cathode seven segment display driver

£11.75£15.67
This is a CD4026 based up counter driver

CD4026- 1 Digit Up Counter Module

£3.89
  • It works as an UP counter. You can
Sold out
COU-23

Photoresistor And Laser Operated Large Digital Objects Counter With 2.3" Displays

£23.53
A laser light module illuminates the photoresistor continuously

CD4017 and NE555 timer experiments

Step 9- Put NE555 and CD4017 chips over the DIL socket

You can build simple LED chaser circuits using CD4017 and NE555 timer. There are hundreds of projects in the internet for making such simple LED chaser circuits.

(more…)

DC Boarduino- A DIY Arduino

18 Using FTDI breakout board in erect header

If you’ve ever struggled to use a solderless breadboard with an Arduino, you understand how frustrating it can be!

This DC boarduino clone acts just like an Arduino, and works with the latest Arduino software. For many projects it can even be preferable! The kit includes all parts necessary, the assembly is straightforward and well documented.

Since this design doesn’t include a USB chip, you’ll want an FTDI USB 232-TTL cable or FTDI friend. Since the cable plugs right into the Boarduino, you can use one cable for multiple Boarduinos.

Specifications:

  • Designed to plug into a breadboard for easy prototyping
  • Petite size, only 3″ x 0.8″ (75mm x 20mm)
  • All ‘standard’ pins are brought out – Digital 0 thru 13, Analog 0 thru 5, ARef, 5V, Ground, Vin and Reset
  • Chip comes preprogrammed with my “no-wait” Arduino bootloader (Read more here).
  • 2 LEDs, green power and red “pin 13” just like the Arduino!
  • Available as a low cost kit with standard parts, so its never out of stock
  • All through-hole parts are easy to solder
  • Reset button
  • Atmega328 chip has twice as much storage, runs at 16.00 MHz, just like the latest Arduino. Upload baud rate is 57600, use Arduino IDE v13+ (note that the product photo above hasn’t been updated)
  • 6-pin standard ICSP header
  • Standard 2.1mm DC jack (just like the original) with 5V regulator to run on 7V-17V power
  • 1N4001 diode protects against using incorrect wall adapter
  • 6-pin header at the end for a USB-TTL cable
  • Auto-reset capability when used with a USB-TTL cable

Does not include breadboard, pick up one of those in our shop!

Schematic:

boarduinosch

Documents: 

Assembly Images:

Disclaimer: This is DC boarduino designed by Adafruit. We have made this utilizing the open source hardware policy. The design files are available on this page.

 

 

 

 

 

 

About relay module for clap switch- operate 100-240V appliance

connecting a lamp

Description: This is a dependent DIY kit module that has to be used with a clap_switch available at buildcircuit.net. This kit DOES NOT work independently as a clap switch. It is useless without this_clap_switch_kit. So, you need to order that kit also.

You can read about the clap-switch at this link.

clap-switch-diy-kit

The relay module is operated by this clap switch

 Buy now button

The relay module comes as a pack of parts kit and is easily assembled if you can follow the silkscreen indicators (labels) and have beginning experience with a soldering iron. You will need to read the resistor bands or use a multimeter to determine the resistor sizes. Both the kits operate with 9V batteries.

Step 10- Solder 5V relay and your kit is ready for blog

Features:

  • A DIY kit module that works with this_clap_switch_kit. It is useless without the clap switch.
  • >Operates a 100-240V lamp with clap/loud sound.
  • Supply voltage: 6V-9V. The same power supply can be used for this_clap_switch_kit.
  • There are two supply input points: a DC barrel and a screw terminal. You can use one of the points to power up the kit.
  • Dimension: 48.26mm x 49.53mm.
  • Relay specification: Activation voltage: 5V DC. Controls appliances operating at 10A 250VAC, 10A 125VAC, 10A 30VDC, 10A 28VDC. Suitable for Europe, North America, Australia and New Zealand.

Schematic of relay module:

Click on the image to enlarge it.

schematic relay module for clap switch

The kit package contains the following components:

  1. 1 x Bare PCB with Silkscreen indicators
  2. 2 x 1K carbon film resistor
  3. 1 x 4.7K carbon film resistor
  4. 1 x 1N4001 diode
  5. 1 x LM7805
  6. 1 x BD139
  7. 1 x 0.1uF (code- 104)
  8. 2 x 10uF capacitor
  9. 1 x PC817 optocoupler
  10. 1 x SPDT switch
  11. 1 x 5V relay
  12. 1 x 3 pin screw terminal
  13. 1 x 2 pin screw terminal
  14. 1 x DC barrel
  15. 1 x 5mm LED
  16. 1 x 9V battery connector

Buy now button

Documents:

Video:

How to connect the relay module to the popular clap switch

 

connecting a lamp

This article strictly focuses on how to connect the relay-module to the popular clap-switch. If you have come to this page from a search engine, we recommend you to visit the following pages:

1. About Relay module for the popular clap_switch (Get description of this kit)

2. How to connect clap-switch to the relay module

3. How to use the relay-module and the clap-switch to operate electrical appliances

Please follow the shown steps:

Step 1: Connect the cathode point of clap-switch to the cathode of relay-module.

Step 1- connect the cathode pin of clap switch kit to the anode pin of relay module

Step 2: Connect the anode point to anode point.

Step 2- Connect the anode pin of clap switch kit to the anode pin of relay module

Step 3: Connect the JST connector of clap-switch module to the relay-module. The clap-switch module gets power from the relay-module.

Step 3- Connect the black(negative) wire of clap switch to -ve pin on the board and do the same for the red (positive) wire also

Step 4: Connect a 9V battery to power up the kits. The clap-switch module gets power from the relay-module.

The connection between the kits is ready

Step 5: This is how you connect the lamp to the combination of kits. 

connecting a lamp


This kit is available at our online store www.buildcircuit.net.

Step 10- Solder 5V relay and your kit is ready

Buy now button


Video:

Recommended documents:

Assembly tutorial- Relay module DIY kit for popular clap switch

connecting a lamp

In this article, we have described how you can assemble your relay module for the popular clap-switch. If you have come to this page from a search engine, we recommend you to visit the following pages:

Related articles:

1. About Relay module for the popular clap_switch (Get description of this kit)

2. How to connect clap-switch to the relay module

3. How to use the relay-module and the clap-switch to operate electrical appliances

You can see the following steps to make your relay module for the popular clap-switch.

PCB

Step 1: Solder 2pcs of 1K resistor and 4.7K resistor

Step 1- Solder 4.7K and 1K resistors

Step 2: Solder 1N4001 diode

Step 2- Solder 1N4001 diode

Step 3: Solder LM7805 voltage regulator and BD139 transistor

Step 3- Solder LM7805 and BD139

Step 4: Solder 0.1uF capacitor

Step 4- Solder 0.1uF capacitor

Step 5: Solder PC817 optocoupler

Step 5- Solder PC817 optocoupler

Step 6: Solder SPDT switch and 2 pin screw terminal

Step 6- solder SPDT switch and 2 pin screw terminal

Step 7: Solder 5mm LED. This works as power indicator

Step 7- Solder 5mm LED for power indicator

Step 8: Solder DC barrel for connecting power supply.

Step 8- Solder DC barrel and 2pcs 10uF capacitors

Step 9: Solder 3 pin screw terminal

Step 9- Solder 3 pin screw terminal

Step 10: Solder 5V relay

Step 10- Solder 5V relay and your kit is ready

Step 11: Connect the cathode point of clap switch module to the cathode point of relay module

Step 1- connect the cathode pin of clap switch kit to the anode pin of relay module

Step 12: Connect anode point of clap switch module to the anode point of relay module

Step 2- Connect the anode pin of clap switch kit to the anode pin of relay module

Step 13: Connect the JST connector of relay module to the + and – point on the clap switch module. The clap switch module gets power from the relay module.

Step 3- Connect the black(negative) wire of clap switch to -ve pin on the board and do the same for the red (positive) wire also 

Step 14: Connect a 6-9V battery to the kit and connect electrical lamp.

The connection between the kits is ready

NOTE: We are selling a slightly different PCB, this will make your job easier. This is better than the previous one. Available in BLUE color. See the image below to know how you can connect the relay module to the clap switch

CLICK HERE to see all the steps- How to connect a lamp to the relay module

Step 15: The following image shows how you can connect a lamp to the relay module

connecting a lamp

Buy now button

Documents:

Video:

How to connect a lamp to DIY relay module for the popular clap switch

The connection between the kits is ready

If you have come to this page from a search engine, we recommend you to visit the following pages:

1. About Relay module for the popular clap_switch (Get description of this kit)

2. How to connect clap-switch to the relay module

3. How to use the relay-module and the clap-switch to operate electrical appliances

In this article, we are going to describe how you can use the “clap_switch module+relay_module” to light up 100-240V appliances. When we say 100-240V appliance used with a clap switch, it is usually a bulb/lamp/CFL(Compact Fluorescent Lamp) tube. This article is for absolute beginners, so, we will try to explain all the small details. (more…)

MicroSD card breakout board for Arduino

This is yet another MicroSD card breakout board for Arduino. Previously, we had released a similar MicroSD breakout board on our website. This module is bit cheaper than the previous one, that’s the only difference.

As we all know most of the microcontrollers have  limited built-in storage. For example, Arduino UNO (Atmega328) has 1Kbytes of EEPROM storage and it might not be enough for all projects. If your project has any graphics, video, audio and data logging feature, you need a removal storage in it.

If you are working with some sort of data logging, graphics or audio, you will need at least a Megabyte of storage. In order to get that kind of storage, you need flash cards, or SD or microSD cards. These days, most of the micrSD cards come with minimum 2 gigabytes space in it. You can store data logging files on to your SD card and access the files using inbuilt SD card reader on your computer or using an external reader.

(more…)

How to use Micro USB 5V 1A Lithium Battery Charging Board/ Charger Module

Lithium battery charger (2)

Here is a simple and a low cost Lithium Battery charging breakout board. This article is about the charger breakout board based on TP4056.

It uses a Micro USB for connecting the breakout board to any computer or ‘USB wall adapter’. It works with linear charging method. It offers 1000mA charge current by default but it is adjustable from 50mA to 1000mA by soldering a resistor. The default resistor soldered in on the board is 1.2K Ohm. A resistance and current table has been shown below on this page. (more…)

Search for products

Back to Top
Product has been added to your cart