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.
This CSR USB-SPI programmer is the best suited kit for programming CSR series Bluetooth chips. It has much faster download speed than any other Parallel port programmer.
c. BlueSMiRF Gold – The most expensive adapter available on sparkfun.com.
– Whichever Bluetooth adaptor you are using, the baud rate of Bluetooth adapter should match with the Serial Monitor’s baud rate. For example, if your Arduino source code has
Serial.begin(57600);
then, the baud rate of Bluetooth adapter should also be 57600. The default baud rate of BlueSMiRF module and general adapter is 9600. The shield works excellent with 9600. However, if you want to change the baud rate of BlueSMiRF module, here’s a tutorial.
We don’t know if we can change the baud rate of general Bluetooth adapters with the process mentioned on this tutorial. You can try it.
– This project has been tested with BlueSMiRF module as well as general Bluetooth adapter module and it works well.
8. Solder 2pcs 15 pin female header to stack the Arduino Nano
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.
[mpc_vc_quote quote=”Amarino Nano 1.0 kit facilitates communication between Arduino Nano and Android applications via Bluetooth. “]
Amarino Nano Output
Amarino Nano is a very simple kit for experimenting with Amarino toolkit– a quick prototyping application based on Android. However, you don’t essentially need Amarino toolkit to experiment with this kit.
It works with many other apps made for Android-Arduino communication via Bluetooth. You can also use this as a simple shield for Arduino Nano.
Amarino Nano is based on:
Arduino Nano– You need an Arduino Nano for Amarino experiments.
Amarino toolkit application: Amarino toolkit is an Android application. Read more…
3. Bluetooth communication medium: You will need a Bluetooth adapter module to make communication between Arduino Nano and Amarino toolkit.
What can Amarino Nano do:
Like any other Amarino kits (Amarino DIY shield, Amarino evaluation shield), Amarino Nano 1.0 basically facilitates interaction between Arduino and Android via Bluetooth communication medium.
Features:
Control RGB LED: You can control an RGB LED from your Amarino application. In this experiment, you transmit control signals from Android to Arduino. Watch this video. See all the steps.
Display LDR sensor data on Sensor Graph: You can see light sensor data and a simple graph on your Android phone interface. The sensor data is transmitted from Amarino Nano 1.0 kit to the phone. In this experiment, you transmit sensor signals to your Arduino and vice versa. Watch this video
Display temperature sensor data on phone: You can see temperature sensor data (from LM35) on your Amarino application interface. In this experiment too, you transmit temperature sensor signals to your Arduino and vice versa. Watch this video.
Control 5mm LED : You can control a 5mm white LED present on the kit. You can simultaneously control the LED and see sensor data. In this experiment, you transmit and receive signals from Android to Arduino and vice versa simultaneously. You can see in the experiment no.3.
Use as Arduino Nano Shield: You can use this kit to experiment with Arduino Nano. You don’t need any Android app for that 🙂 .
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.
Download Amarino Library for Arduino 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 link does not work, you can download the library from this link.
If you need the source code, download it from here. The source code is optional and useful only for Android programmers. If the link does not work, download it from here.
b. Sensor graph application: This application is for getting LDR sensor signals from Arduino board. Source code for this application can be downloaded from here.
3. Temperature sensor data on your phone: In this experiment, you can fetch the Lm35 temperature sensor data on your Amarino application interface. The Arduino sends sensor data to your phone and your phone can control the 5mm LED present on the Amarino Nano kit.
If you have come to this page from a search engine, please read this pagefirst, 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:
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.
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.
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 Bluetooth module.
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.
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.
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. 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.
“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.
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.
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:
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.
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:
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.
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.
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.
REMEMBER: Switch ON the 1P DIP RED color switch also. This switch:. Turning it on makes connection between the Bluetooth module and the microcontroller. But, this switch should be turned off while uploading a sketch.
On the Amarino main application interface, press Add BT Device. That will display the Bluetooth module close to your Android phone.
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.
Enter the pairing code: 1234
After entering the pairing code, you will see the Bluetooth module listed on the Amarino application.
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 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.
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.
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 ?
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 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.
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.
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.
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.
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.
Step 5: Select Add BT Device. It will display the Bluetooth module you have stacked over the Amarino Lamp.
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.
Step 7: You will then see the Bluetooth module listed on the Amarino application interface.
Step 8: Press one the list for about 2-4 seconds, it will display “Show Events”. Press Show Events.
Step 9: Then, you reach this interface. Press Add Event, you will see a list of events available with the Amarino application.
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.
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.
After you press Force Enable, you will see something like this:
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.
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.
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.
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’
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.
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.
This is one of the most interesting experiments that uses Amarino shield and Amarino toolkit application. If you have never heard of Amarino toolkit and the shield, we recommend you to go the following pages:
b. Download Amarino Library for Arduino 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 🙂 .
POINT 1: In Amarino 3.0 DIY shield, you have to use the IC1 switch (1 P DIP switch) to switch off CD4094 while doing Amarino related experiments. If it is switched on, the CD4094 chip might affect your experiment.
POINT 2: The Arduino Sketch has its default baud rate set to 9600 bits/s. Therefore, your Bluetooth adapter should also have the same baud rate. Generally, the default baud rate of BlueSMiRF and general Bluetooth adapters is 9600 bps. However, if you want to change baud rate of BlueSMiRF module, follow this link. We have tested this experiment at 57600 bps and 9600 bps and it works perfectly well. You cannot change the baud rate of general Bluetooth adapters 🙁 .
e. Stack the Amarino shield over your Arduino and your Bluetooth adapter over the correct female header on the shield. The shield supports 3 types of Bluetooth adapters. Please check here to know which adapters are supported.
Test if Amarino application connects to the Bluetooth adapter: After installing the adapter on the shield, 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.
A low cost general Bluetooth adapter is enough for this shield. You can purchase one at buildcircuit.net.
If you have never done any experiment related to Bluetooth adapter, we recommend you to try this one… CLICK HERE.
f. Keep the Bluetooth function of your phone alive, pair it up with the Bluetooth adapter using the pairing code:1234 and note down the MAC ID of your Bluetooth adapter and type it on the text box of your Temperature sensor (with LED controller) application.
g. Connect to the Bluetooth adapter with your application and use the Temperature sensor (with LED controller) application to operate the 5mm white LED with PWM signals and see the temperature data on the application interface.
You can purchase this versatile Amarino shield at buildcircuit.net and Etsy. The store is owned and operated by the team which operates buildcircuit.com.
This is one of the most interesting experiments that uses Amarino shield and Amarino toolkit application. If you have never heard of Amarino toolkit and the shield, we recommend you to go the following pages:
b. Download Amarino Library for Arduino 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 🙂 .
POINT 1: In Amarino 3.0 DIY shield, you have to use the IC1 switch (1 P DIP switch) to switch off CD4094 while doing Amarino related experiments. If it is switched on, the CD4094 chip might affect your experiment.
POINT 2: The Arduino Sketch has its default baud rate set to 9600 bits/s. Therefore, your Bluetooth adapter should also have the same baud rate. Generally, the default baud rate of BlueSMiRF and general Bluetooth adapters is 9600 bps. However, if you want to change baud rate of BlueSMiRF module, follow this link. We have tested this experiment at 57600 bps and 9600 bps and it works perfectly well. You cannot change the baud rate of general Bluetooth adapters 🙁 .
e. Stack the Amarino shield over your Arduino and your Bluetooth adapter over the correct female header on the shield. The shield supports 3 types of Bluetooth adapters. Please check here to know which adapters are supported.
Test if Amarino application connects to the Bluetooth adapter: After installing the adapter on the shield, 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.
A low cost general Bluetooth adapter is enough for this shield. You can purchase one at buildcircuit.net.
If you have never done any experiment related to Bluetooth adapter, we recommend you to try this one… CLICK HERE.
f. Keep the Bluetooth function of your phone alive, pair it up with the Bluetooth adapter using the pairing code:1234 and note down the MAC ID of your Bluetooth adapter and type it on the text box of your Sensor Graph (with LED controller) application.
g. Connect to the Bluetooth adapter with your application and use the Sensor Graph (with LED controller) application to operate the 5mm white LED with PWM signals and see the graph on the application interface.
The LED and LDR have been kept together so that LED light falls properly on the LDR and you can see the light sensor response clearly on the graph. If your room is highly illuminated, you can put a piece of paper for better results. The paper will block ambient light falling on the LDR.
Check out the following video and see how the sensor graph experiment looks
You can purchase this versatile Amarino shield at buildcircuit.net and Etsy. The store is owned and operated by the team which operates buildcircuit.com.
This is one of the most interesting experiments that uses Amarino shield and Amarino toolkit application. If you have never heard of Amarino toolkit and the shield, we recommend you to go the following pages:
b. Download Amarino Library for Arduino 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 🙂 .
POINT 1: In Amarino 3.0 DIY shield, you have to use the IC1 switch (1 P DIP switch) to switch off CD4094 while doing Amarino related experiments. If it is switched on, the CD4094 chip might affect your experiment.
POINT 2: The Arduino Sketch has its default baud rate set to 9600 bits/s. Therefore, your Bluetooth adapter should also have the same baud rate. Generally, the default baud rate of BlueSMiRF and general Bluetooth adapters is 9600 bps. However, if you want to change baud rate of BlueSMiRF module, follow this link. We have tested this experiment at 57600 bps and 9600 bps and it works perfectly well. You cannot change the baud rate of general Bluetooth adapters 🙁 .
e. Stack the Amarino shield over your Arduino and your Bluetooth adapter over the correct female header on the shield. The shield supports 3 types of Bluetooth adapters. Please check here to find out which adapters are supported.
Test if Amarino application connects to the Bluetooth adapter: After installing the adapter on the shield, 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.
A low cost general Bluetooth adapter is enough for this shield. You can purchase one at buildcircuit.net.
If you have never done any experiment related to Bluetooth adapter, we recommend you to try this one… CLICK HERE.
f. Keep the Bluetooth function of your phone alive, pair it up with the Bluetooth adapter using the pairing code: 1234 and note down the MAC ID of your Bluetooth adapter and type it on the text box of your RGB Lamp application.
g. Connect to the Bluetooth adapter with your application and operate the RGB LED using the installed Multicolor RGB Lamp application.
Check out the following video and see how the multicolor lamp experiment looks
You can purchase this versatile Amarino shield at buildcircuit.net and Etsy. The store is owned and operated by the team which operates buildcircuit.com.
This is the second experiment for Amarino shield. If you do not know anything about Amarino toolkit or this shield please click on the following links:
You can get a list of other experiments at the end of this post. Before you try this experiment, we recommend you to try experiment no. 1. In the experiment no.1, you will see how you can control the CD4094 and its corresponding LEDs without using Android phone.
In this experiment, you will see how we can convert a decimal number to its binary form using an Android serial emulator and Amarino shield. On the Amarino shield, you can see that there are 8 pcs of 3mm LEDs which represent the 8 bits. In your experiment, for example, when you press 255?, you will see that all the LEDs are switched on representing 11111111 that results in actual decimal to binary conversion. Likewise, when you press 1?, you will see LEDs switched on in this pattern: 00000001, i.e. one LED is switched on and other are switched off.
Step 3: Stack the Amarino shield over your Arduino and connect a Bluetooth Adapter.
Please note that the Amarino shield supports 3 different types of Bluetooth Adapters, you can use any one of them. Check out the adapters supported by the shield.
For this experiment, we are using General Bluetooth adapter, the cheapest and the best one.
The cheapest Bluetooth adapter is available at www.buildcircuit.net. BUY NOW. Step 4: Connect your phone to Bluetooth adapter using Android Serial Emulator. If you are using the general Bluetooth adapter, the pairing code is 1234. For other adapters also, the pairing code should be 1234.
Step 5: Switch ON the IC1 -1 P DIP switch. If the switch is off, the 10pcs of LEDs connected to CD4094 will not work.
Step 6: Press a number from 0 to 255, and press ? , you will see LEDs responding as binary form of that number.
For example, press 1? glows one LED, i.e. the decimal to 8 bit binary conversion makes… 1= 00000001
or 255? glows all the LEDs, i.e. 255 = 11111111
or 3? glows only two LEDs, i.e. 3 = 00000011
Watch the video below and it will be more clear to you:
You can purchase this versatile Amarino shield at buildcircuit.net and Etsy. The store is owned and operated by the team which operates buildcircuit.com.
This example makes the use of an LED Driver in order to control an almost endless amount of LEDs with only 4 Arduino pins. In this experiment, we use the CD4094 chip. Here, you can get the original version of this experiment: http://www.arduino.cc/en/Tutorial/LEDDriver . The Arduino team has used HEF4794.
An LED Driver has a shift register embedded that will take data in serial format and transfer it to parallel. It is possible to daisy chain this chip increasing the total amount of LEDs by 8 each time. You need to refer to datasheet for connecting more CD4094.
The code example you see here is taking a value stored in the variable dato and showing it as a decoded binary number. E.g. if dato is 1, only the first LED will light up; if dato is 255 all the LEDs will light up.
NOTE: Switch ON the IC1 -1 P DIP switch. If the switch is off, the 10pcs of LEDs connected to CD4094 will not work.
You can purchase this versatile Amarino shield at buildcircuit.net and Etsy. The store is owned and operated by the team which operates buildcircuit.com.
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.