PCB clearly shows the pin and component names, so, it should help you to get idea of connections of components to Arduino. If you just follow the names of components on the PCB, it is possible to assemble the whole kit without reading the rest of this post. However, I have shown all the important steps.
Step 1: Always start with the smallest component. So, start with resistors. Fix resistors 220R.
Step 6: Fix RGB LED. It is common cathode type RGB LED.
Step 7: Solder all the female headers.
Step 8: Solder 10k variable resistor and 1 position DIP switch,
Step 9: Fix 16×2 LCD. While soldering the header the 16×2 LCD, the longer part of header should be on the upper side of PCB. Please see the picture below:
When you purchase the kit, you may get a slightly different LCD that needs to be fixed in the following way:
Step 10: Solder 4 pcs of male headers on the PCB to stack the shield over the Arduino.
First Experiment: Test if the LCD is working- source code Download source code Watch the video to know how to change the contrast level of LCD. Move the 10k variable resistor screw in the clockwise direction to increase the contrast level. After you confirm that the LCD is working, modify the source to test RGB LED, LDR, LM35DZ and 5mm LED. Check the schematic and circuit layout.
“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:
Cosmarino kit- Available in fully assembled and DIY versions
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.
Video on Youtube(control with remote control)- This video shows you how you can control relay with Smart phone app and remote control at the same time.
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.
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.
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.
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 while uploading sketch(if the Bluetooth module has been stacked over the 4 pin female header)
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:
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.
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.
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.
On the Amarino main application interface, touch Add BT Device. That will display the Bluetooth module close to your Android phone.
Select the linvorBluetooth 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 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Bluetooth profile is a wireless communication interface that connects Bluetooth devices. The profiles define requirements for implementing of Bluetooth for various applications, such as, file transfer, wireless headset usage, etc. The following figure depicts different Bluetooth profiles and their usage. (more…)
Tutorial for Amarino Beginners- Display your SMS on 16×2 LCD.
This tutorial shows you how to display SMS on 16×2 LCD. This tutorial is based on Amarino. It utilizes Receive SMS plugin of Amarino. This plugin sends the first 30 characters of a received SMS to Arduino. The message is sent as a string. The length of the string can be between 0 and 30.
After the success of BuildCircuit’s first Amarino Shield for Android-Arduino experiments, we are here with Amarino Evaluation Shield. I am grateful to all the customers and readers who purchased our first kit and gave us their wonderful comments.
About Amarino Evaluation Shield:
Amarino Evaluation Shield is for Amarino toolkit and most of the available Android VT-100 serial terminal emulators. With Amarino evaluation shield, you can test all the plugins of Amarino, practically speaking, you can do all the Amarino related experiments. Besides, you can try simple Android-Arduino experiments using Android VT-100 serial terminal emulators.
You can do several experiments with Amarino evaluation shield, for example, control RGB LED, visualize sensor graph on Android phone, display SMS on LCD, etc. Before we start the experiments, let’s check the circuit layout of the shield. The layout has been made using Fritzing (www.fritzing.org).
This post gives you the idea for assembling the Amarino shield. To get full details about this shield, CLICK HERE. When you buy the kit package, you will get the following PCB. The PCB clearly shows the pin and component names, so, it should help you to get idea of connections of components to Arduino. For example, LDR is connected to A1 and RGB LED is connected is to D3, D5 and D6 and you can see those pins labeled on the PCB. (more…)
We are now selling Amarino Nano 1.0 kit for Amarino experiments. It is fully assembled kit and includes Arduino Nano and Bluetooth module. You can easily test RGB LED and sensor graph features of Amarino toolkit app.
Amarino shield can be used for doing several experiments with Amarino and Android serial emulators. For example, you can operate a multicolor lamp, sensor graph, light sensor, etc.
On this post, you will see how Amarino shield can be used for Android- Arduino experiments. It shows some basic experiments with android serial emulator and Amarino toolkit. You can get the original Amarino source codes and installable files also. Just install the application on your Android phone and experiment with the kit.
This page basically gives examples for using Amarino 3.0, but you can also use the same source codes for Amarino shields 1.0 and 2.0.
If you have never worked with Amarino, I strongly recommend you to visit Amarino page and understand the basics of Amarino. In this experiment, the sensor signal from LDR is fed to A1. You can also see A1 clearly on PCB.
This project has been derived from this basic experiment. I recommend you to do the basic experiment before you go for this experiment. In this experiment, we use an Android smart phone to control the 3mm LEDs of the Amarino shield. (more…)
Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.
We do not use cookies of this type.
Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.
We do not use cookies of this type.
Analytics cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.
We do not use cookies of this type.
Preference cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in.
We do not use cookies of this type.
Unclassified cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.
We do not use cookies of this type.
Cookies are small text files that can be used by websites to make a user's experience more efficient. The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.