Posts

PBL - Problem based learning - Baby steps

Image
 Reflection,  This is my last course our job is to research Problem Based Learning style. This process is pretty interesting. You set a problem and let the students find a viable solution by inquiry-based method.  Today I decided to give it a try, a very robust and raw try. This was a hybrid between Problem and Project. I did include some limitations and guidelines for them to work with and would jump in here and there depending on how I felt things where developing.  The problem was "how can we mix design and education to create something"  The solution, where the project based part entered the room was that we all "agreed" that an educational ornament would be best suited to solve our problem. The theme was going to be easter and the audience 1st and 2nd graders.  Most of the projects focused on math and a few were focused on the topic of easter.  Here are the results. Time for work was 2 hours.  During the working time they had to come up with ...

week 7 in retrospective

 What was the build that you are most proud of and why? Dice machine, it helped me visualize patterns that can transmit messages. Great thing! I really enjoyed just working with patterns and how simple it is to use the digitalwrite.  ·         Go back to your first week and read each week's submission with an eye for personal growth. Where were you when you started and where did you end up? for me the growth was as a teacher of new concepts. I was too overwhelmed with explaining myself instead of doing it and working backwards trimming the message and get motivated by deconstructing then constructing.  ·         What did you learn that you didn't know before? How to explain this type of concepts and visualize code as a moving element. Everything is a loop if you really want to think about it that way. I was aware of them but arduino helped me see different ways how that can work. Also the float function and converting form...

Arduino Challenge Week 6

Image
 For my challenge I decided to work with a motor and a thermometer. This way I could build a fan that can turn on whenever it hits a certain temperature.  1. thermometer read and spits out temperature on the screen 2. motor read temperature and either turns on or off 3. found great amount of trouble but the "If, and Else If" statements  saved the date!  const int temperaturePin = 0; const int motorPin = 9;  void setup() {       Serial.begin(9600);   pinMode(motorPin, OUTPUT);    } void loop() {   float voltage, degreesC, degreesF;   voltage = getVoltage(temperaturePin);   degreesC = (voltage - 0.5) * 100.0;   degreesF = degreesC * (9.0/5.0) + 32.0;   //printout   Serial.print("voltage: ");   Serial.print(voltage);   Serial.print("  deg C: ");   Serial.print(degreesC);   Serial.print("  deg F: ");   Serial.println(degreesF);   if (degreesF > 77){     d...

Week 5 Adventure Creations .. temperatures and leds .. goooooo!!

Image
For my solo project I decided to use the thermometer and the led to produce a thermostat light coded.  Here are the codes that I used and THE "IF" argument helped a lot.  1. problem that I found. When you run the thermometer on the same ground you will mess with the reading.  Here is the video explaining that what I saw.  Pulling the ground fixed the problem.  USING THE IF STATEMENT solved the issue:  I found out that you can use an if statement and and else statement once on a float but then you must repeat it.    Conclusion:  the if statement is pretty useful if you know its limitations. It is also very repetitive and you can use it to create statements that can cancel and then start another statement. In my project I chose to turn a light on and off by a reading from the thermometer. That was neat. I can see how you can have simple green, yellow and blue light indicators on thermometers and other types of readings.  Even on voltage wh...

Week 4 arduino challenge (dice machine)

Image
 This week we had to create a dice machine with our Arduino. The purpose of the code and layout was that by pressing a button you will get random numbers from 1 to 6 out.  For this you needed to write out and give each pin an led. There was also a button involved.  This is the code that I wrote for it.  Video explanation of project:  Reflection: This project was a combination of the previous projects we have done. I didn't want to risk it with a map but I learned that you could map out the lights and shorten your code.  Another learning moment was the understanding of the button function and how you can make a circuit or there are two circuits in there and can be split on both sides of the bread.  Extension : Just for a game you can easily make a dice machine for the sole purpose of the game. This can add a digital component to a board game. This can also work for your christmas lights to keep a random flow coming and the lights vivid, to replicate nat...

Arduino Challenge extension of #3

Image
What I did here was combined the codes for the photoresistor and levels of the lights.  What the code does.  1. It dims the lights and turns them off a different brightness 2. It turns them all off when the presence of brightness is there.  3. When it turns them back on it does it in a sequence and goes to full brightness.  Code Video of Code explanation Video of Final Product

Arduino Challenge #3 analog to digital write

Image
 Let me begin to explain what I did at the beginning.  This is the code: beginning 2 pins are used the 0 goes to an analog and the 9 to digital ledpin .  In this exercise we got the information from the analog pin to come from a sensorPin, this sensor was a light sensor. The parameters ranged from 9600 to 0. 0 to 800 we set it up to be darkness, then the signal told the sensor to send a signal to the led and turn it on. Anything above 800 was light therefore the light was off. The problem here was the resistors since in order to get the signal to that level we have to use a 10k ohm resistor in both the light and the sensor. 20k so we can get the level of data coming through. Now this is a video with 20 10k ohm resistors.  You will see that the light had to be really bright outside in order for it to work. I had to use the phone lamp to make it work.  On this next step I added the MAP command, which maps out the numbers that the digital led read to tell the light...