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

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...

Defence Research and Development Organisation (DRDO)

DRDO is an agency under the Ministry of Defence, Government of India which engages in our military’s research and development. DRDO was formed in 1958 . It is headquartered in New Delhi. It is India's largest research organisation with a network of 52 laboratories engaged in developing defence technologies and weapons for our country. It has been a very successful government agency and has developed many tanks, missiles, armoured vehicles, artillery systems etc for all the three wings of our military - army, navy and air force. DRDO Motto is "Strength's Origin is in Knowledge". Dr G Satheesh Reddy is the current Chairman of Defence Research and Development Organisation (DRDO). Integrated Test Range (ITR): It is an Indian defence lab of the DRDO. It provides testing and launching facilities for rockets, missiles etc made by DRDO. It is located in Balasore district of Odisha. It is composed of two complexes - Launch Complex IV located on Abdul Kalam Island (ear...

Reward & Recognition for teachers

To keep our teachers motivated and engaged and to appreciate their efforts we have initiated a weekly reward and recognition system in the state.  Each week, we recognize and reward the title of "Coder of the Week" to teachers who actively engage by creating and submitting the highest number of projects on Scratch Jr. Additionally, we acknowledge the dedication of teachers who conduct the maximum number of engaging classes in their schools with the "Champions of the Week" award. This approach not only encourages a spirit of healthy competition but also highlights and values the consistent efforts of educators in promoting digital literacy among students. Till now we have recognized more than 35 such teachers who have been rewarded with Coder of the Week and Champion Teachers of the Week awards. This recognition process, not only benefits the educators but also has a cascading effect on students, driving continuous growth and learning.