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

13.8018.42
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

23.04
This is an upgraded version of the previous
SCO-23

2.3" Common Anode Seven Segment Display Driver

18.42
COU-902

2.3" common cathode seven segment display driver

13.8018.42
This is a CD4026 based up counter driver

CD4026- 1 Digit Up Counter Module

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

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

27.65
A laser light module illuminates the photoresistor continuously

2 X 100W Class D Bluetooth Audio Amplifier Board – TSA7510B(TWS/Apt-X)

TSA7510B is a 2x100W audio amplifier board with a new AudioB plus Bluetooth module that supports Apt-X. It has perfect class-D architecture(Based on TPA3221) and each channel has 100W power output. Both of channels are capable of outputting nominal power simultaneously and continuously. This board can be powered by any DC12V-30V power supply. It can be used to drive any 2Ω,4Ω or 8Ω passive speakers. TSA7510 can also be connected with our TSA1000,TSA1010 or TSA1020 external audio volume control board. People can adjust the audio volume by rotating the real knob.

The highlight point is Apt-X and TWS supported. Therefore, Users can stream audio to 2 pair amplifier boards at the same time wirelessly. It’s perfect for your Hi-Fi application. You may wish to pair with a mobile phone or a computer (etc). Power the amplifier board. Use your phone or PC (etc) to search for a new Bluetooth device. The module will appear as “TSA7510B”. You don’t need a PIN, pair it and then you can play music.

  • TSA7510 can auto detect the Aux in/Line in Audio input. Bluetooth Audio source has higher priority. When Bluetooth audio is paused or bluetooth is disconnected. The amplifier will output the Aux in/Line in audio. If you want to manually select the Aux in/Line in and bluetooth audio source, please choose TSA7498B or TSA7499B
  • There have an extra LINE OUT audio output jack. It can also be connected with a subwoofer amplifier board.
  • BVC Port: BVC port can be connected with our Audio volume controller to control the Bluetooth audio volume.

TSA7510B can auto detect the Aux in/Line in Audio input. Bluetooth Audio source has higher priority. When Bluetooth audio is paused or bluetooth is disconnected. The Amplifier will output the Aux in/Line in audio.

TSA7510B + TSA1000, Both Aux in and Bluetooth audio volume can be controlled via BVC port

2 boards work in TWS mode

*User must remove the slave board Aux in Enable jumper before pairing 2 boards

  • S1 – Long press 3s into pairing mode. Long press 6s clear the pairing info.
  • S1+S2 – Long press 1s into TWS slave mode.
  • S1+S3 – Long press 1s into TWS master mode.
  • S2+S3 – Long press 1s disconnect TWS connection.

Specification:

Specifications typical @ +25℃, Powered by 24V DC, unless otherwise noted. Specifications subject to change without notice.

Parameter Condition Min Typ Max

Supply Voltage (VDC)

10 24 26
Power output per channel RL= 3Ω, 10% THD+N 112W
RL= 4Ω, 10% THD+N 105W
RL= 3Ω, 1% THD+N 100W
RL= 4Ω, 1% THD+N 88W
THD+N 1W 0.02%
SNR A-weighted,Gain= 18 dB 108dB
DNR A-weighted,Gain= 18 dB 109dB
Minimum Load Impedance
Gain 18dB 24dB 34dB
Efficiency 100W @ 4Ohm 90%
Input Impedance 18dB 48KΩ
24dB 24KΩ
30dB 12KΩ
34dB 7.7KΩ

Features:

  • Dimensions: 122mm x 80mm x 18.6mm
  • aptX, aptX Low Latency, SBC and AAC
  • Bluetooth 4.2
  • Bluetooth audio volume control port(BVC)
  • Aux in/LIne in autodetect
  • Subwoofer output port
  • Working voltage: DC 12V-30V
  • Over/under voltage protection
  • Overcurrent protection
  • Over temperature protection

Applications:

  • Personal computer
  • Background music system
  • Musical instrument amplifiers
  • Home DIY
  • Car audio

This product can be purchased from here:

3513706545252-2-x-100w-class-d-bluetooth-audio-amplifier-board-tsa7510btws-apt-x

2 x 100W Class D Bluetooth Audio Amplifier Board - TSA7510B(TWS/Apt-X)

46.1247.04

2 x 100W Class D Bluetooth Audio Amplifier Board – TSA7499B(Apt-X)

TSA7499B is designed for audio amplifier manufacturing factories or DIY electronics makers/users.

Bluetooth/LINE IN select switch and audio input ports are designed with JST connectors. That allows users to install this amplifier board in a box and connect an external switch and RCA/3.5mm audio jack plug to make their own audio amplifier. (more…)

2 x 100W + 200W 3 Channels Audio Amplifier Board – TSA7600

This amplifier does not have Bluetooth.

This is TSA7600 2x100W + 220W audio amplifier board. It has perfect class-D architecture (based on TPA3221) and 2 channels have 100W power output and another one channel has 200W power output. All the channels are capable of outputting nominal power simultaneously and continuously. This board can be powered by any DC 12V-30V power supply. It can be used to drive any 4Ω or 8Ω passive speakers. (more…)

Search for products

Back to Top
Product has been added to your cart