Thursday, March 28, 2019

PM-Jordan Fronko-Open Lab-Making the Jeopardy Protoboard

Today I had worked on building a copy of the jeopardy interface that would cooperate with the code that we made. I did finish wiring it up, but the problem was is that the bar that we used on the PI was backwards, so we had to get another board, flip the bar around, and i have to just move the wires to the breadboard again.

Alan Le-Hoang - PM - 60m - CHOKING (Asphyxia map haha funny joke)

Continuing work onto the mapping for stuff on SonicPi.

Vincent-PM-60-code

i tried using sonic pi to copy a song i like online so i'm about 11 seconds in and have around 70 lines of code currently and then my raspberry pi crashed.

Miguel-pm-30mins-3d maintnace

I kept on working on the other 3d printer but have not yet figured why it would not print. I will see the instructions and try to diagnose the problem tomorrow.

Jose Luis Vargas - PM - 60 min - Robot Club

Today I made an addition to the Saturn's Rings VEX Robot Booklet Log. The sketch consisted of the new back end wheel we added. I spent the rest of the time with Luis brainstorming how we could improve this new addition, (its position, size of wheel etc.)

james-pm-1hr-improved jeopardy code

I improved the structure of my jeopardy code further by defining some functions for the GPIO.
for example, a new concept that I learned were the GPIO event callbacks. These are events triggered when a change to a GPIO line is triggered. This triggers a function to act and make it do something.
Other possible GPIO constructs would be to precisely time which channnel was triggered first, as there are multiple functions with these channels.

Nicolas-AM-3/28/19-Jeopardy Code

Team: Tony Genchev
Project: Jeopardy code #2
Me and my partner had continued finding and deciphering a block code and a push button code.    Here is our module:

# Jeopardy Controller
# 3.3v = 1,17, 5.0v =2,4 GND = 6,9,14,20,25,30,34,39
# I/O = 3,5,7,8,10,11,12,13,15,16,18,19,21,22,23,24,
# More I/O =26,27,28,29,31,32,33,35,36,37,38,40

import RPi.GPIO as GPIO
from time import sleep

GPIO.setmode(GPIO.BOARD)
alexResetButton = 18
alexStartTimerButton = 22
readyLED = 5
player1LED = 7
player2LED = 8
player3LED = 10
player4LED = 11
player1Button = 12
player2Button = 13
player3Button = 15
player4Button = 16


GPIO.setup(readyLED, GPIO.OUT)
GPIO.setup(player1LED, GPIO.OUT)
GPIO.setup(player2LED, GPIO.OUT)
GPIO.setup(player3LED, GPIO.OUT)
GPIO.setup(player4LED, GPIO.OUT)
GPIO.setup(alexResetButton, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.setup(alexStartTimerButton, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.setup(player1Button, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.setup(player2Button, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.setup(player3Button, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.setup(player4Button, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)

# Your Code Here
 
while True:
    if player1Button True:
        print(hello)
        player2Button == False
        player3Button == False
        player4Button == False
    if player2Button True:
        print(hello)
        player1Button == False
        player3Button == False
        player4Button == False
    if player3Button True:
        print(hello)
        player1Button == False
        player2Button == False
        player4Button == False
    if player4Button True:
        player1Button == False
        player2Button == False
        player3Button == False