Thursday, 18 April 2019

FIRST Robotics Champs Houston

Image from wikipedia
If anyone is interested the webcast for the Houston worlds can be found at https://www.thebluealliance.com/


Mandela's Team 7277 is in Turing division.

https://www.thebluealliance.com/team/7277

Friday Food for Thought - Reversing the Grid

As usual for Friday, here is your podcast for discussion on Monday.

99 Percent Invisible - Reversing the Grid



  • In the early days of the electrical grid, how did companies estimate how much electricity each customer was using?
  • What is "net metering"? Why was this not considered in the early days of the electrical grid?
  • What aspect of solar technology allowed net metering to become more prevalent?
  • What is time-of-use pricing and how does it help the electrical grid?

Wednesday, 17 April 2019

Mr. Corvino's Code.org link


You may use this link to join Mr. Corvino's Code.org class
https://studio.code.org/join/NKFRFY

Make sure you have logged into your Code.org account when you click this link to join the class.

Tuesday, 16 April 2019

Intermediate / Advanced Assignment - April 17th and 18th

image from wikipedia
Hello class, here is the assignment for Wednesday and Thursday.

Take your connected Bluetooth Device and reprogram it to do the following:

Turn on a few different combinations of leds.
Move a servo motor from side to side.

Draw up a flowchart for the programming processes used in each and post your code and flowcharts into your ePortfolio.

remember your timesheet and Thursday food for thought podcast.

Monday, 15 April 2019

Int/Adv - Bluetooth Read Code

int incomingByte = 0;   // for incoming serial data

void setup() {
        Serial.begin(9600);     // opens serial port, sets data rate to 9600 bps
}

void loop() {

        // send data only when you receive data:
        if (Serial.available() > 0) {
                // read the incoming byte:
                incomingByte = Serial.read();

                // say what you got:
                Serial.print("I received: ");
                Serial.println(incomingByte, DEC);
        }
}

Monday Morning Funny - English Lessons

Friday, 12 April 2019

Intermediate/Advanced - All About Bluetooth

Some questions you should be able to answer for Monday:

  • What is Bluetooth?
  • What frequency does it work on?
  • How does it exchange information?
  • What kinds of devices use Bluetooth communication and what do they do?

Friday Food For Thought - Who Owns the Words the Come Out of Your Mouth

This weekend we will start looking at copyright law through the lens of some famous speeches.

Freakonomics - Who Owns the Words that Come Out Of Your Mouth?

  • What is a fair use exception? How do they differ across territories?
  • Why do the founders of Google think that they could not have started Google in the UK?
  • What suggestion did the UK government get around enhancing copyright laws in the UK?
  • What do copyright laws in Europe need to change to allow a field like genomics to flourish?

Be ready to discuss these questions on Monday at the start of class.

Video Food for Thought - Lego CAD

Tuesday, 9 April 2019

Intermediate/Advanced - Arduino Code Task

/*
//6 led and two pushbutton setup
//pushing the button should activate a different set of leds
// Please improve code with at least one of the following: if...else, while, data strings, functions, for loops
// Also make sure that the leds can turn off after the button is released.
*/

int greenled = 13;
int yellowled = 12;
int orangeled = 11;
int blueled = 10;
int redled = 9;
int whiteled = 8;

int leftPushButton = 7;
int rightPushButton = 6;

void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  pinMode(rightPushButton, INPUT);
  pinMode(leftPushButton, INPUT);
  pinMode(greenled, OUTPUT);
  pinMode(yellowled, OUTPUT);
  pinMode(orangeled, OUTPUT);
  pinMode(blueled, OUTPUT);
  pinMode(redled, OUTPUT);
  pinMode(whiteled, OUTPUT);

}

void loop() {
  // put your main code here, to run repeatedly:
  int leftButtonState = digitalRead(leftPushButton);
  if (leftButtonState == 1){
    digitalWrite(yellowled, HIGH);
    digitalWrite(redled, HIGH);
    digitalWrite(greenled, HIGH);
  }

  int rightButtonState = digitalRead(rightPushButton);
  if (rightButtonState == 1){
    digitalWrite(whiteled, HIGH);
    digitalWrite(orangeled, HIGH);
    digitalWrite(blueled, HIGH);
  }

}