HELLO YOU HUMAN BEING. I hope that you are doing good, it’s been a crazy year. Here’s a little video on plants below. I talk about Lavender, Aloe Vera, and Rosemary!!! If you watch it, just know that I’m forever grateful. Stay safe and don’t forget to social distance and hydrate! Love you! ❤
Quote of today’s blog: “A boss has a title, a leader has the people.” – Simon Sinek
(just an FYI but there were just so many quotes that I had a tough time choosing, phooey)
This may be a tad bit long but rest assured that it’s definitely worth reading!
Joining the M.A.P Leadership Academy was honestly an AWESOME idea (which, btw, creds go to my mom who told me to go). Oh, and, in case you were wondering, M.A.P is A.K.A Monrovia Partnership Area. It is about a 7-week academy (but only on Wednesdays every week) where we learn so much about leadership, volunteering, helping in the community, and more. Today we’ll be talking about how the first day went by. It gets a little emotional at the end (so brace yourselves).
Okay, so the first Wednesday we met, we had introductions to everyone and some ice breakers. Did you know that the person who facilitated the academy made an inspirational speech to us? Did you know that that same person was there when they held their very first M.A.P Academy for adults? Yup, he was. Very cool, I know. His name is *ahem, drum roll, please* Ed Nicholls. He shared with us about leadership, and I will be telling you what I learned from him.
I’M VERY EXCITED I MIGHT PEE.
Okay, I’ll chill now. Soooo, let me start by saying you are a leader. Whether you are doing something good or not, your actions which people see is still leading them. When you step outside your door, when you are buying milk from your local milk shop (is this a thing? a milk shop? oh well..), and when you go on with your life as you do, you are leading. So, wouldn’t you want to increase your capacity of leadership and improve the skills which you already have? I’m taking that as a yes. Let’s do this.
What you need to start building in your life would be a team. Your team. This team will be there during those tough times and those happy times. This team will be there as you go through the struggles and rough times of life. This team works as your motivator. Those in your team are those you look up to, those who inspire you to GET BACK UP AGAIN. Some people to add to your team could be:
Martin Luther King
You might be saying right now: “wait, wait, hold up…”
Your team consists of anyone that inspires you. ANYONE. Feel like you don’t think you can get back up again? You feel like the odds are against you and everyone’s just out to get you? Think about your team. Those people you put together in your heart and mind. Let Hellen Keller’s will to strive despite the challenges and hardships in her life keep you going when the going gets tough and you prove to yourself that the tough (a.k.a you) can get going. Let Nick Vujicic motivate you to keep fighting, believing, and keep pushing forward when you start doubting what you’re capable of. As you face your next challenge in life, close your eyes, think about how that person (whether it be your mom, dad, sibling, best friend, cousin, etc.) or people you have in your life have shown such strength and kindness and use that to KEEP. MOVING. FORWARD. to LEAD. WITH. HEART. to GET. BACK. UP.
Feeling fired up? Yeah, we’re just getting started…
Here comes more of the good stuff. The 8 leadership qualities that will help you on your awesome journey to awesomeness:
You need to be living your life on purpose. Put your heart into giving back and helping others who need help.
I cannot (and I mean CANNOT) stress enough how important one’s attitude is. Your attitude is your weapon, it’s your greatest friend. YOU (and only you) choose the reaction you give to certain people and certain situations. Think of it like this:
Example: You walk into the kitchen humming your favorite song when you decide to open the fridge. Your eyes narrow down to the bottom shelf where you target the slice of cake you left the other day to eat. To your dismay, there’s a vacant spot which totally baffles you. You walk to the dining table, scratching your head with slight annoyance. Then there right on the table is YOUR SLICE OF CAKE. Your little sister has chocolate all over her face as she takes another bite into YOUR CAKE, despite having a fork in her hand.
So what would be your reaction?:
Start shouting and expressing all your boiled up anger which may have also built up from other things that may have happened during the day and dump that on your sister
Grab the plate, eat whatever is left, and walk away (in anger)
Laugh at how you would have done the same thing, sat beside your sister, ask if she would like to share the remaining, and talk about unicorns (or smthg, I mean idk about you but this is usually what I’d talk about to spark a convo)
I’ll be referring to situations when you feel the need get mad as -> CAKE situation
At times we tend to answer 1 or 2. We all sometimes overreact during situations then, later on, look back and regret it. It happens.
You might say “uhuh, yeah easy for you to say… it’s just cake…. my situation was different, I needed to get angry”.
LOOK I just used cake as my example but we know we’ve had some situations like this. And, no, you didn’t have to get angry that one time at that person. When you are faced with a CAKE situation, think of it as a fork in the road and you can choose either to take a deep breathe and act with kindness or do the opposite. Choose kindness. We react so quickly without thinking twice it becomes a habit that we don’t even realize because we convince ourself that that small outburst was just nothing and didn’t really mean much. If we keep a negative attitude during small CAKE situations, we will bring that same negative attitude to big CAKE situations. In other words, choose positivity, inspire others with your smile, be friendly. You might not think much about it but a smile is a powerful tool and can go a long way for many people. There are many dark places in our world, people who need repair, be that light, be kind 🙂
Ooooh, this is a good one. Build your character. This is your foundation. You need a solid foundation. When you do something, do your very best (every day). To strengthen your character you will need dedication. Have impeccable honestly. INTEGRITY! Our character goes down to what we do, not what we think, not what we say, but what we DO. And, honesty is what a person with character has as the cores of their foundation. Being a person with character also means to be kind, to be an encourager.
“an encourager?,” YES an encourager.
Don’t give up on others.
Believe in them and don’t ever quit.
Balance is important in keeping your life together. You need to prioritize and organize. Each area of your life you have to find a balance. Think about the 6 Fs:
Keep balance in your mind, body, and soul. Something that has really helped me would be keeping a journal. In my journal, I would design something that would be helpful to me to keep the balances in life as well as doodle and creatively express myself on paper every now and then. It’s good healing to just write down what you’re feeling at times.
It’s hard. I know. Sometimes you feel like someone has done you so wrong, like someone has disrespected you, like someone has just acted like a total DOUCH and all you want to do is punch them to the OTHER SIDE OF THE UNIVERSE AND THEN GIVE THEM ~THE~ STARE- I know, but we are all capable of forgiveness. It will make you feel so much better if you just forgive rather than hold in all that anger and carry that weight. People are generally good but it’s their environment that they’ve grown up in that may have them acting in a certain “mean” way. People have good intentions, the problem may be the way that they implement. So, when you just start building that tower of hatred or annoyance towards someone for some reason, think about how they just may be badly implementing their good intentions rather than jumping to conclusions and being mad. Forgiveness is a gift and people do struggle with it. But, great leaders make peace and not war, they forgive and work on what has caused the problem.
I’ll leave you with this on perseverance:
BE ALL IN- never quit.
Are you in a team? Are you? Yes, you are. In your family, you’re in a team. Doing a group project with some classmates? That’s a team. We are all in a team. We are all in this together whether we like to be or not. So, love what you do and love who you do it with. When you’re in a team, you help one another. When one of your team members is having trouble with something, you don’t just stare at them blankly with hints of disappointment, you run up to them, smile, and show them they’re not alone and that they’ve got this. When one of your team members struggle to shoot the ball in, give them the chance to keep doing it, keep practicing, believe in them to shoot in the ball (whether that be hypothetically or even physically if you are in a sport). You are in a team. And, when you’re in a team you make everyone around you better. Your home, your family, your friends, your team. Don’t leave anyone out and walk away just because you don’t like their attitude or something they’ve done. Remember, keep that team-spirit up.
This wraps up the 8 qualities of being a leader. Your legacy. This is your story. Start building it now. How? Oh, I’ll tell you how. Invest in others, encourage others, help people, KEEP caring. Don’t leave anyone out. Everyone is fighting their own battles, don’t judge and assume what and why someone does something. Remember what I said at the beginning? Live with a purpose, help others. Keep that in your heart and use it.
Being a leader is having a purpose, keeping a good attitude, holding your character firmly in place, keeping balance in life, having the ability to forgive, never quitting and persevering, letting everyone play the game and showing team-spirit, and building your legacy. Never give up on yourself, never give up on others, and above all stay kind and good and encouraging. Finally, I want to end with a short film which they showed us at the end of Day 1. This really moved me and inspires. Here you go:
Quote of AWESOMENESS: “Thinking is already a conversation” ~ Paul Pangaro
I know it’s been awhile but here I am with another Python project. Today, you will be learning the code for blackjack! Just put it out on your editor, study the code, and explore the game on your terminal. It was quite some challenge getting toward the end of finishing up the game. And, at some point, problems and bugs constantly came up that I didn’t that it would actually get done. BUT, nevertheless, it’s finally hereeee!!
*ahem, drum rollllllllll*
*Umm….. DRUMMM ROLLLL!!!……. please?*
*DRUM ROLLLLLLLLLL (in the background, finally)*
#import the random library from python
from random import *
rank_string = ("ace", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "jack", "queen","king")
suit_string = ("clubs", "diamonds", "hearts", "spades")
cards = 
for suit in range(4):
for rank in range(13):
card_string = rank_string[rank] + " of " + suit_string[suit]
for i in range(52):
vals = (11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10)
card_vals = 
for s in range(4):
for r in range(13):
name = define_cards(n)
val = card_value(n)
print (name + " : " + str(val))
for card in hand:
list = 
for card in hand:
if sum(list) > 21:
for i in range(len(list)):
if list[i] == 11:
list[i] = 1
drawn_hands = 0
player_wins = 0
dealer_win = 0
deck = 
player_hand = 
dealer_hand = 
playing = True
for i in range(2):
card = deal_cards(deck)
card2 = deal_cards(deck)
# put in a loop for player hand
print("Dealer shows: ")
while playing == True:
player_val = hand_val(player_hand)
print("* * * * * * * * * * *")
print("Your current hand is...")
print("* * * * * * * * * * *")
if player_val < 22:
response = input("Would you like another card?")
if response == "yes":
playing = False
playing = False
print("sorry you busted")
print("Thanks for playing")
# check if it is higher than 21, if yes then end program, dealer hand wins
playing = True
while playing == True:
if hand_val(dealer_hand) < 17:
playing = False
if hand_val(dealer_hand) > 21:
print("The dealer busted")
elif hand_val(dealer_hand) > hand_val(player_hand):
elif hand_val(player_hand) > hand_val(dealer_hand):
print("It's a draw")
Quote of AWESOMENESS: “The function of leadership is to produce more leaders, not more followers” ~ Ralph Leader
Functions are so useful and cool at the same time and right now I’m going to teach just how to make one!
But, before we go there, what exactly is a function? It’s somewhat like a pre-made command that you get to customize yourself. For example, you wanted to make five circles, imagine you would have to make each circle repeating how big you wanted it to be, the color, locations, and others. But, if you had a function, you would make it so much simpler in just adding the code and copy-pasting the function.
Here’s the code for a function:
[remember: WHITESPACE is very important in Python]
# This hastag is a comment and won't affect the code# We start making function by defining it with the word def# The thing written inside the parenthesis is called the argument# Remember to put the colon then the indentation will be proper, toodef list(alist):
# Here, I'm setting the variable a to number 0
a = 0
# This is a for-loop and the i just stands for index
for i in alist:
if i > 0:
a += 1
# Here is the actual function in action!
# Test section
mylist = [2,-4,5,-16,-20]
mylist2 = [2,6,8,-4]
mylist3 = [-5,-6,-7,-8,10]
This is just a simple example of what you can make of a function. Try it out!
Quote of AWESOMENESS: “Creativity is intelligence having fun” ~ Albert Einstein
Back again with another python program.
Now, this program is an “advanced” version of a guessing number game. So basically, the program gives the user three guesses and the numbers are ranging from 1-10. Through each time the user types in the answer and is wrong, the input would spit out either “too high” or “too low” indicating what the user’s next move should be.
Mix around with it and experiment like maybe adding a wider range of numbers to guess from or maybe adding riddles to guess the number. This code is somewhat the basis of what else can be built with it, so be creative and have fun!
Here’s the code:
range = random.randint(1, 10)
user_guess = 0
guess_counter = 0
print(“This is a guessing game and you will be given three tries to win! \nThe range will be between 1 and 10. \nGood luck!!”)
Quote of awesomeness:“Is not about creating an object. It is about creating a perspective.” ~ Albert Paley
Level of hardness: intermediate (You can do this!)
Heyyy!!!! Here’s another Arduino project for you!
For this project, you will need the following:
1x Arduino UNO Board
1x USB Cable Type A/B
1x RGB LED
3x 220-Ohm Resistor
3x 10k-Ohm Resistor
13x Jumper Wires
The first step is two connect your breadboard to your Arduino and it should look something like the photo above. Then, add your RGB LED to your breadboard.
Next, you need to grab another wire and connect the other positive lane of the breadboard to the negative lane on the other side of the breadboard.
In this step, we will be placing the three 220-Ohm Resistors to three of the legs of the RGB LED. You will only be placing the resistors on the R, G and B of the RGB LED, this will leave you with one leg unconnected.
For this step, you will be needing four wires. Remember I told you that you were left with one leg of the RGB LED which isn’t connected? Well, it’s time to connect it now! Place one end of the wire to the remaining leg of the RGB LED then place the other end to the negative lane of the board. In the photo, the wire which I used for this connection is white.
With the other three wires, connect it to each of the 220-ohm resistors. Then, connect the other end of the wires to the Arduino 9, 19, and 11.
Let’s place the photo-resistors on the breadboard so that they cross the center divide from one side to the other.
Now, connect the 10k-Ohm resistors to one side of the photo-resistors and the other side to the negative lane of the breadboard.
Taking three other wires, connect it between the photo-resistor and the 10k-Ohm resistor then connect the other end to the Analog In pins 0, 1, and 2 on the Arduino.
Going on the other side of the photo-resistor, connect each leg to the positive lane of the Arduino with three wires.
Your result should look something like this!
This is the final step! Connect your Arduino to your computer, fire up your Arduino and copy paste in the following code:
const int greenLEDPin = 9; const int redLEDPin = 11; const int blueLEDPin = 10;
const int redSensorPin = A0; const int greenSensorPin = A1; const int blueSensorPin = A2;
int redValue = 0; int greenValue = 0; int blueValue = 0;
int redSensorValue = 0; int greenSensorValue = 0; int blueSensorValue = 0;
HAPPY NEW YEARS YOU AWESOME PEOPLE EVERYWHERE! It’s actually 2018 guys, like, it’s surprising how time flies to fast. But here’s a new year and it’s time to let go of all those negative memories and energy that happened back in 2017 (which was literally just 8 days ago like, WHAAAT??! (I’m screaming this in an excited/surpised/good way)) and start this 2018 with positivity and awesomeness.
What is a vision board?
Have you ever heard of a vision board? If you haven’t, it’s comparable to a resolution with pictures which you stick all together on a board (or even paper) and display it in your room, bathroom, or wherever. This board would normally be filled with what you would want in life, such as, your dreams, the house you would want, your lifestyle, things you would like to achieve, how you want your relationships in your family and with your friends to be like, the things you’ve been wanting to have, the grades you’re needing to get, and so much more. But, I highly trust, that it is important to fill the board you want with the thoughts, the positive mindset you want and the how would like to feel; joy, gratefulness, purpose. In other words, you can also see it as a big list of your goals in life (but with a sprinkle of fairy dust 😉 ).
Where to place your vision board.
It’s important where you put your vision board, as it should be in a place where it is visible so that the idea and dream you’ve written down or placed on your board, will always be seen and you’ll remember what you’re working for and what you are building up to. But, the best places to bestow this board of awesomeness are places at your home where you would normally look at, such as your room, bathroom, living room or wherever you seem to find yourself at in your home.
My experience with vision boards.
I’ve done vision boards countless times over the past years. I usually start at the beginning of the year (but really you can begin anytime, even now) and I included in my vision boards what I would like to accomplish or have the next following year or even years (like my future car and house). And, to my amazement, there were plenty of things that I’ve fulfilled that were included on my vision board. A few things that I got went from: a Nerf gun, to building better relationships with my family, my dream camera and even this golden retriever I truly prayed for. Let’s start with a simple example, this camera I wanted was something I just pasted on my board because for a long time I’ve gotten really interested in photography and I thought “hey, why not”. It took me probably two years until I actually got it through saving and help from my dad (SHOUTOUT: Thanks so much dad hahaha you’re the best).
How does it work?
It won’t happen with a flick of your finger. And, it won’t magically just appear in front of your eyes. Even though I wish it worked as easy as this, it doesn’t. But, if you have the passion and you believe and you really earn and have that deep fire of “I CAN DO IT” and “I WILL GET THERE” inside of you, then you will get there even quicker. I dare say that vision boards work alongside the lawn of attraction and this belief has been existent for quite some time already. Your thoughts and what you visualize are very important. If you focus on seeing what you want and how you see this world positively, you’ll get positive outcomes; if you see the world and what you want in a more negative way, you’re outcomes will be negative. Another way you can see a vision board is as something which is there to mentally push you and while you’re brain and the attraction is at work you need to also get up and do something to reach that goal.
How to Create One:
– Your dreams, aspirations and your wants
– A board or Poster
– Some Markers (Optional)
– Glue or Tape
– Magazines or Newspapers or both
What you’ll do:
1. Cut out whatever it is that you want from the magazine like words, places you want to visit and whatever else
2. Then Paste your cut outs on your board how you would like it
3. TADA, your masterpiece is finish
Famous people who did vision board and visualizations:
Ellen DeGeneres, Katy Perry (started at nine years old), Beyonce, Jim Carrey, Oprah Winfrey, Arnold Schwarzenegger and way more (I would continue but it would fill much space, we’ll do it another time)
You can do it 🙂
At the beginning, I didn’t truly believe that this could work. I used to think that I’m too down the rabbit hole that there was no way I could rise and achieve these targets that I saw through all the rubble. But the thing is I was able to see through all the rubble. I was able to see through the things that were obstacles and walls and just ignore them and look at that goal that shined so bright it gave a spark of hope which is all you ever need to start a flame to get there. And, I know that there are plenty things that can tear us down and we find ourselves in these situations where we get blinded by all the negativity and hopelessness, in these rabbit holes. The Vision Board that you design is there as a flag, a flag of hope, a flag which shows what you are planning and going to achieve. I can assure you that you CAN once you try. If I was able to do it then everyone can.
Everyone is given the same amount of hours in a day but the difference is how we choose to use it and what we choose to believe and see. A great example of this is Alexander Hamilton. This man was born to parents who weren’t able to marry and the streets that they walked around in were filled with whispers of how Alexander Hamilton and his brother, who were only young boys, were disgraceful and other unpleasant names. His father left them early and their mother died when a plague came. He separated from his brother and also became an orphan. He barely had anyone he could call his family. But, do you know what happened? Alexander Hamilton became one of the most well-known and greatest men in history. He worked with George Washington and he was a genius, soldier, scholar, one of the founding fathers and much more. And, even if his father had abandoned them at a young age he yearned to be reunited again as a family and show his father his wife and children. He started out with nothing at such a young age but he turned this energy to something stronger and better and he achieved so much things in life as he set his goals (one of them being: creating a strong central government) and made them come true. We all can do it. You can do it.
We went back to the park to check out our traps and the mangroves. This time, we came at 8:00 am. The sun was shining through the trees and the birds were chirping beautifully. We arrived at our trap site.
Did we catch any?
From afar we could see the trap was touched by something. The trap was deactivated, but by what? We walked down the muddy stairs and to the traps. One was under a bridge and the other was near the oldest tree. We got both the traps and checked them. We were able to peek through a small hole which was created for inserting the paddle. We saw a claw and an antenna. It was possible that it was just a crab, but I guess we’ll find out soon.
We slowly lifted the opening for the creature to get out. On the other end of the trap, we put a container to catch it. We didn’t know exactly how the attitude of this animal was. We prepared to catch it as a mix of excitement and curiosity took over. We surrounded our trap and waited patiently. Silence filled the air. You could probably hear a leaf fall from a mile away.
But, fortunately for us, slowly it came out. It meaning the mud – lobster. We closed the lid of the cylindrical container. The mud – lobster pushed the cover and was trying to claw its way up. Very intelligent animals, indeed. It stopped moving when I ventured toward the container it was in. I put a small stick in front of its face to see what it would do. It didn’t move but after a few seconds, it loudly tried to clamp it with both its claws.
After capturing the mud – lobsters we went back to our second plot. We measured the starting of the plot and went further inland. We noticed there were a lot of Nypas on one of the mounds. We studied how the other mounds were surrounded by other kinds of plants. We were trying to measure the other mounds on the other side but it was covered with Acanthuses and Nypa Fruticans. After measuring all the mounds visible, we went back to the old tree.
Since we found some interesting things happening on this small piece of an island with the tree, we decided to make a plot there. The circumference of the whole island was 18 M 77. We wanted to look at the mud – lobster better so we decided to let it go for awhile. Scared it would run, we tied a small piece of string to its body creating a leash. It looked pretty funny, leashing a lobster. After realizing they are actually very, very slow we just unleashed them. We barricaded their surroundings with small logs and pieces of stick we found lying around, even an old boot. The biggest mud – lobster kept escaping and trying to get into one of the holes. They both stopped moving so we put them back into their containers.
We decided the best idea was to set up the traps in the same mound to check if more than one lobster lived in it. After setting up the traps, and nearly catching some mudskippers, we rested on top of one of the open bridges. This bridge wasn’t completely finished so the sides had no railings yet. We spotted a medium-sized jellyfish that got itself tangled up in the vines. It was beautiful and after few minutes untangled. The cool breeze was passing as I stared through the binoculars. I could barely make out the sweet songs of the birds anymore. The sun started to fall and the night was filled with partying crickets.
It’s been two hours since we left the trap and made a decision to check them out. We steadily made out our way with some flashlights. The ants started to appear everywhere, we could barely touch the railings for support. There was this one time when we found five ants all tearing up one ant. It was crazy. We did our nocturnal prospection for maybe 45 minutes. We went back and forth quietly trying to spot some mud – lobsters burrowing away. On our way out we closed all our lights and stared into the sky. All the stars were out, and the moon was like a shimmering diamond. We told each other stories and left back to go home.
We’ve finished freshening up and we were just laying around studying. We could see the flashes of lightning through our window. There was no after sound with the lightning in a long time. The silence in the air was occupied by the sound of the aircon. All of a sudden a loud boom came screaming through my ears. I jumped, accidentally pulling off my earphones with it. We all looked at each other, surprised. The ground shook for me, it felt so close by. It was past 9:00 pm so we decided to sleep already.
I know right such simpleness. -_- (That’s a real word)
Cut your fruits (7x bananas, 3x mangoes, and 8x strawberries) and put it in the freezer overnight. For the bananas, all you have to do is break it in half. For the mangoes, you should peel it and separate from the skin. For the strawberries, you could just cut it in three pieces each. Place the fruits you cut, peeled and sliced in a container and into the freezer.
Tip #1: You could leave some fruits to chop it and later on put it on top of your acai bowl as a topping.
Tip #2: Don’t forget to place the fruits in the freezer, not the refrigerator.
Get the frozen fruits from your freezer and blend them all!
Tip #1: You don’t have to put all the fruits at once. Especially if it won’t fit or you want to have an easier time blending.
Tip #2: Every now and then, you could push the fruits from the top to the bottom of the blender to help it to blend quicker. BUT MAKE SURE THE BLENDER IS OFF.
Once your fruits are done blending and have a good thick consistency and there aren’t any whole fruits anymore, transfer your mixture into your bowl or bowls.
Top everything off with some granola, freshly sliced bananas, and strawberries.
In case you don’t have any strawberries it’s fine! Your acai bowl will still taste amazing! Bananas and Mangoes alone are still a perfect combination. It’s a good breakfast food.
With this project, you will be able to control two servo motors with a joystick with Arduino!
For this project you will need to gather:
Wires | x13
Servo Motors | x2
To make this (really cool) project, you will need to:
Step 1: Battery
Connect your external battery to your breadboard.
Step 2: Wiring
Get a piece of wire and connect one end to GND on your Arduino Board and the other end to the negative channel on your breadboard.
Step 3: Servo Motors
Get your two servo motors and 6 wires. Connect the VCC and the GND of the two servos to the VCC and GND on the breadboards inputs. Then, connect your first Servo Signal Connect to the Arduino Digital PMW 3 on your Arduino Board.
In case you aren’t very familiar with the Arduino Digital PMW 3, it looks like the photo below as well as the Digital PMW 5 and the blue wire from the first servo…
Your second Servo Signal Connect should be connected to the Arduino Digital PMW 5.
Step 4: JoyStick
Connect the GND on your Joystick to the GND on the Arduino Board.
Then, connect the +5V on your joystick to the 5V on the Arduino Board.
Then, connect the VRx on your joystick to the A0 on the Arduino Board.
Then, connect the VRy on your joystick to the A1 on the Arduino Board.
The photo below shows where I connected what and where. Just look at the corresponding colors to which wire and the connection.
It also looks something like this….
Step 5: The Code
Open up your Arduino on your computer and copy the code below:
//add the servo library #include <Servo.h>
//define our servos Servo servo1; Servo servo2;
//define joystick pins (Analog) int joyX = 0; int joyY = 1;
//variable to read the values from the analog pins int joyVal;
Once you verify and save the code, you can connect your Arduino board to your computer and upload the code to your board. Tada!
Step 7: Have fun and Experiment
Yay! We’ve finally finished yet another Arduino Project. You guys are so awesome! Now, after playing around with this, you can try to experiment maybe add more things (an example, “lights, perhaps?”).
Wait, if you are having any problems uploading or your project isn’t functioning properly, you should double check your wiring and maybe check which Port your Arduino (on your computer) connected to in the tools. If there is anything else don’t be shy to comment down below!
You must be logged in to post a comment.