Posts Tagged ‘Technology’

Class : Technology

Software : Arduino IDE

Equipment : Arduino UNO Board, HC-05 Bluetooth Module, Breadboard, Jumper Wires, Fan

Challenges :
  • Making proper connections from Arduino to the components.
  • Understanding the Rx and Tx connections from Bluetooth Module to Arduino.
  • Programming the code.


Approach:

To advance with our projects here in Shukhov Lab, it was necessary for us to learn how to operate and program the Arduino boards and perform basic activities. In this project I was trying to work with an Arduino and bluetooth module setup for controlling a DC Motor (A fan in this case) using a smartphone.

  Process: First it is required to assemble all components together and make the connections.

 

I have initially connected the bluetooth module to the breadboard and made necessary connections to the arduino board using male-male jumper cables.

 

The connection for the bluetooth module are as follows:

BLUETOOTH    –           ARDUINO

Txd  –  Rx

Rxd  –  Tx

Gnd  –  Gnd

Vcc  –  3.3V

 

Next I connected the DC powered fan to the arduino and connected it with GND for the negative terminal and PIN-8 for the positive terminal.

I chose pin 8 here because I have activated it in the code using the statement (int ledpin = 8;)

The connections to the arduino board are shown on the image below:



Finally we upload the developed code to the arduino board.

*NOTE:
  • It is very important to disconnect the Rx and Tx cables from the bluetooth module before uploading the code or it might display an error.
  • Always disconnect the arduino power source before making any wiring changes to avoid short circuit.
  The code which I used can be found below:

char val;

int ledpin = 8;

void setup() {

pinMode(ledpin, OUTPUT);

Serial.begin(9600);

}

void loop() {

if( Serial.available() )

{

val = Serial.read();

}

if( val == ‘H’ )

{

digitalWrite(ledpin, HIGH);

} else {

digitalWrite(ledpin, LOW);

}

delay(100);

}



  I have also downloaded an application on my phone, from which I can send signal to the Bluetooth module.

It is necessary to download this app or a similar app. You can download one from the link below:

https://apkpure.com/arduino-bluetooth-controller/com.giumig.apps.bluetoothserialmonitor/download?from=details  

After uploading the code, I disconnected the power from arduino board connected back the Rx and Tx cables and plugged back the power source into the arduino (it can be from your notebook’s USB or via 5V power adaptor)

Next I opened my bluetooth settings in my phone and paired the device with bluetooth module HC-05.

*NOTE: 
  •  In case of password prompt, use – 1234
  •  Typing H on the bluetooth app activates signal and typing anything else switches it off.


Then open the app (arduino bluetooth controller) and select the device (HC-05) from the list of paired devices and connect with the switch or terminal modes as shown below. In my case I have used the Switch mode and set the parameters for ON button as “H” and OFF button as “X”. Otherwise you can manually use the Terminal mode.



The fan rotates on sending the signal “H” (ON) and switches off on sending signal “X” (OFF) successfully.

It is demonstrated in the video below:

   
Class: Technology, Arduino
Software: Arduino 1.8.5
Materials:
  • 1 Arduino Uno card
  • 1 solderless breadboard
  • 1 bipolar transistor
  • 1 LED scale
  • 1 1 kΩ resistor
  • 4 resistors with a rating of 220 Ohm
  • 8 wires “Male-male”

SCHEMATIC DIAGRAM

VIDEO OF PROCESS

SCETCH OF CODE

#define CONTROL_PIN  9
int brightness = 0;
void setup()
{  pinMode(CONTROL_PIN, OUTPUT);
}
void loop()
{  brightness = (brightness + 1) % 256;
  analogWrite(CONTROL_PIN, brightness);
  delay(10);
}
 

FINAL RESULT

Class: Technology, 3d printing Software: Autocad 2018, 3ds max, Ultimaker Cura Materials: pla 3mm Challenges:
  • project model for laser 3d printing
  • learn how to work with 3d printer and software for it
  • create part for fixing main model for city project class

IDEA

I needed main axis of rotation for model at city project class. This axis had to be very small size, less then inner diametr of bearing, insight which I put my axis – 5 mm. 3D printer was the only appropriate machine for such task.

Design project

First of all 3d model in 3ds max was created. Then I put this model into Ultimaker Cura and set preferences for printing.  There is option in Ultimaker Cura  to use support or not to use ( but you can’t tune support) and to set the print density.

PROCESS OF PRINTING

FINAL MODEL

ARDUINO/

Class: 

Technology, Arduino

Software:

  • Arduino IDE
  • web browser

Hardware:

  • Arduino Uno R3
  • Breadboard, Diode
  • Resistor 220om
  • Wires
  • Push-button

Task:

To create input/output device based on Arduino. 

Realization: 

To complete the task, I used the base schema and code from the site www.instructables.com. This is easy enough if you follow the steps of the link. First, I assembled the schema manually from the components, then copied the code and uploaded it into the board. If everything is assembled correctly and there are no errors, everything will work. Now that my code is working, I can program the crab as I need it. Important to disconnect arduino and your laptop during you remove whatever on the broad)))  

address: 20 Myasnitskaya ulitsa
(metro stations ‘Lubyanka’ and ‘Kitay-Gorod’)
Moscow 101000 Russia

phone: +7(495)772-95-90 *15026

email: city@hse.ru