Skip to main content

Electronic, Craft, 3-D Ganesha

Electronic, Craft, 3-D Ganesha


Material: 2-D design print of Ganesha, Water color ,  Glue, 3-D Printed foundation stand, Sketch pens.

Electronic material: Arduino kit, Jumper wire, PCB, Battery 5 V, Connector, Breadboard, RGB LEDs

Tools:

Soldering Gun, Scissor

Lesson plan:

1. Make a 2-D print of Ganapati on bond paper.

2. Cut the design using scissors.

3. Join the Ganapati body parts as shown in sequence.

4. Paint each part of the body using colors, sketch pen or water color, color should be simple and sober.

5. Attached chakra behind the Ganapati head..

6. Now placed the Ganpati on the foundation.

7. Write a code for Arduino with ultrasonic sensor.

8.  Connect ultrasonic sensor with Microcontroller and do numbers of practicals, write code in such way that you will get lights on when you will be come in between 30 cm range from the system.

10. Mount the RGB lights on the PCB and soldering it properly.

9. Now attached your electronic system with the Ganapati foundation and do multiple trial before make it fix.  


Code:

#define echoPin 2 // attach pin D2 Arduino to pin Echo of HC-SR04

#define trigPin 3 //attach pin D3 Arduino to pin Trig of HC-SR04 

#define red_pin 7

#define blue_pin 8

#define green_pin 9

long duration; 

int distance; 

int i;

void setup() {

  // put your setup code here, to run once:

  pinMode(red_pin , OUTPUT);

  pinMode(green_pin , OUTPUT);

  pinMode(blue_pin , OUTPUT);

  pinMode(trigPin , OUTPUT); 

  pinMode(echoPin , INPUT); 

  Serial.begin(9600);

}

void loop() {

  // put your main code here, to run repeatedly:

  int ran_red;

  int ran_green;

  int ran_blue;

  ran_red=random(100,255);

  ran_green=random(100,255);

  ran_blue=random(10,200);


  digitalWrite(trigPin , LOW);

  delayMicroseconds(2); 

  digitalWrite(trigPin , HIGH);

  delayMicroseconds(10);

  digitalWrite(trigPin , LOW);

  duration = pulseIn(echoPin , HIGH);

  distance = duration * 0.034 / 2; 

  Serial.print("Distance: ");

  Serial.print(distance);

  Serial.println(" cm");


  if (distance<30){

      for (i=1; i < 4; i ++){

  

  analogWrite(red_pin , ran_red);

  analogWrite(blue_pin , ran_blue);

  analogWrite(green_pin , ran_green);

  delay (100);

  analogWrite(red_pin , 0);

  analogWrite(blue_pin , 0);

  analogWrite(green_pin , 0);

  delay(100);                   

        }

  }else {

  analogWrite(red_pin , 0);

  analogWrite(blue_pin , 0);

  analogWrite(green_pin , 0);

  }

}


Working:

When we bring something in between ultrasonic sensor within 30 cm range then the RGB leds lights will turn on. The Ganpati is made of paper and pen. The small Ganpati and foundation of Ganpati is made up of 3-D Printer.








Result:

When anyone comes toward the Ganpati within 30 cm range, then the Ganpati foundation lights will be automatically on. 

Created & Written By:

Soham Abhyankar (5th std)

Harshal Shimpi (Electronics Engg.)


Comments

Popular posts from this blog

Structured Capacity Building of Teachers

To equip teachers with the knowledge and skills required to impart the new curriculum to their peers and students, we are actively engaged in building the capacity of teachers through a series of training and continuous support. In terms of academic intervention, we are actively involved in designing content that aligns with the curriculum. Simultaneously, the model emphasizes teacher capacity building through virtual and in-person training sessions, covering both content and the pedagogy of teaching computer science. The primary objectives of these sessions were threefold: to instigate a paradigm shift in teachers' perspectives regarding the significance of digital literacy for students, introduce and provide training on block-based coding tools like Scratch Jr, and impart effective pedagogical strategies for teaching computer science in classrooms. The initial virtual training took the form of a summer coding camp, engaging 40 teachers during the summer break. This four-week- lon...

Indian Space Research Organisation (ISRO)

Indian Space Research Organisation is the national space agency of  India.  Headquartered in Bangalore, established on 15 August 1969, under the chairman, Scientist Vikram Sarabhai.  It performs tasks related to space based applications, space exploration and development of related technologies. In 1972, the Government of India set up the Department of Space (DOS). This department directly reports to Indian Prime Minister.  ISRO works under the DOS. The Chairman of the ISRO is also the Secretary in the Department of Space.  The Indian space programme was driven by the vision of Vikram Sarabhai, considered the father of the Indian space programme. ISRO Structure  ISRO is managed by the Department of Space (DoS) of the Government of India.  Secretariat of DOS and ISRO Headquarters are located at Antariksh Bhavan in Bangalore. Space scientist K. Sivan is the current chairman of ISRO.  Important ISRO centres -  Satish  Dhawan  Space...

A simple multiplayer game using Scratch by MIT

A simple multiplayer game using Scratch by MIT Software: Scratch by MIT Code for each character: Working : The first player uses arrow keys to move the character, and the second player uses w and d keys. If the character touches the black color, then the character has to start again   from the start. If   he reaches the green portion, he wins!   Photos:   Videos:     Result:   A simple multiplayer game was made using Scratch software. Simple block coding was done by Soham and Shreyas. As of beginning, a single player game was created and then second character was added to make the game more interesting and competitive. Created By: Soham Abhyankar (5th) Link for pendrive:  https://amzn.to/3Dxc2sz    16 GB https://amzn.to/38mrUzJ   skiping https://amzn.to/3jyA12V  shoes https://www.amazon.in/Lakme-Expert-Ultra-Matte-Lotion/dp/B06WRQQXF5?th=1&linkCode=ll1&tag=sparkfun-21&linkId=7ef7ed5cb511d1c4d92f...