Portfolio

Here is everything I did in Programming class, roughly in the order I did them.

Python Programming:

During this class, I used Sublime text editor to create python code, and my standard windows terminal with Python3.9 to run the code.

CodeHS Units 3-6

These units were assigned weekly for the first part of the class.

Download file "codehs.JPG"

3- Basic Python and Console Interaction
In this section, I learned creating and running a python file, print functions, variables, and user input, all in the terminal. During this time, I made the Doubleprint project.

4- Conditionals
Here I learned booleans, if statements, comparison operators, logical operators, float numbers, and rounding. After this, I was able to create the Maybeprint project.

5- Looping
This unit covered both for and while loops, break and continue, and how to nest control structures.

6- Functions and Exceptions
After this unit, I had learned to create functions with parameters, use namespaces within them, and use exceptions. During and after this unit, I made the Mathtester project.

Projects

Doubleprint
Download file "doubleprint.py"
- Print a user input twice (from the terminal)
Maybeprint
Download file "maybeprint.py"
- Print an input only if it is less than the input number in letters (from the terminal)
Mathtester
Download file "mathtester3_rberry.py"
- Allow user to create math problems and answer them, checks the user's answers and corrects them, giving a score and pass/fail status if test mode has been selected (still from the terminal)

Arduino:

Modules 1-10 of Examples

1- Blink an LED at one-second intervals
2- Blink an LED, but with the rate controlled by a potentiometer
3- Make an RGB LED cycle through multiple colors
4- Light up 8 LEDs in programmed patterns
5- Use pushbuttons to light up an LED
6- Light an LED at different brightness as determined by a photoresistor (light sensor)
Download file "circ6.png"
7- Use the serial monitor, a stream of outputs, to read the temperature of a thermometer
Download file "circ7.png"
8- Make a servomotor sweep around 180 Degrees
Download file "20211012_091521.jpg"
9- Use a buzzer to play a tune
10- Spin a motor at varying speeds with a transistor

Raspberry Pi:

MAC/Linux web commands

For the first day of Raspberry Pi, learned to use the terminal, was well as some tools, to view some information about the network and remote access some other computers in the Elab.

Master Raspberry PI Manual

I was able to use VirtualBox to get a Virtual Machine of Raspberry Pi running on my laptop.
Download file "Screenshot (16).png"
Following the manual Master Raspberry Pi, I went through the 30 lessons, organized as 30 days. The first few days cover setting up and customizing a Raspberry Pi. As mine was virtual, many steps were unneeded or did not apply to me. I thus moved quickly to using the Raspberry Pi's command console to:
create and edit files,
Download file "20211102_094114.jpg"
install programs,
Download file "20211104_093636.jpg"
and change settings.

Logic Pro / Final Project

For the last part of the class, we did a scavenger hunt project in which everyone used some new skills to make puzzles for each other. Here, I ended up learning about the music DAW Logic Pro, and using it for my puzzle.
Download file "20211201_085207.jpg"
(In unsolved state)
The previous puzzle provided a written chord progression, which the scrambled chords and matching melody parts of my track could be rearranged to match, forming a 4-letter word in morse code with the melody.

0 comments

Final Log - 12/1/21

This semester and class began with learning Python. With a combination of CodeHS assignments and small weekly projects, I tested my coding abilities and created several simple programs, such as a mathematics tester.
After completing that final coding project, I moved on to Arduino, a simple computer that allowed me to make circuits with wires, resistors, LEDs, and the like, while applying code to these circuits to achieve desired effects-- a motor spinning, lights flickering in a pattern, etc. There were 10 modules in a manual, each showing an example circuit with example code of what could be done with a physical component or circuit-building principle.
Having completed this, with a better understanding now of how computer coding worked from Python and how it related to the physical device from Arduino, I continued forward to Raspberry Pi. Raspberry Pi, a small but complete computer running its own version of Linux/Debian, is great for learning to command a computer with code. The first thing I did was learn basic console commands and how to use Network tools on Mac computers, before digitally installing a virtual version of a Raspberry Pi computer on my laptop. This allowed me to do almost everything one could do with a physical Raspberry PI, but with everything on my own familiar device.
Following a manual Master Raspberry Pi, I began to read about all the possible uses and applications of Raspberry Pi and followed along with tutorials on how to perform these functions-- from changing the login password to hosting a web server.
As I kept going with this manual for several weeks, the class decided we would make our final project a sort of scavenger hunt / puzzle, wherein each of us would apply skills we learned (we split into several small groups that worked on different things after completing the Arduino examples) to create a fun challenge for our classmates to attempt. In the interest of keeping things fair for both of the 2 teams, we placed students into pairings based on what they learned and gave each team one student. As a result, I did not make my segment of the puzzle Raspberry PI based, but with a music DAW called Logic Pro.
I learned how to use Logic Pro to a basic extent, and then made my puzzle, incorporating some musical tone matching and identification, as well as some morse code.
After doing the scavenger hunt / puzzle, I am pleased that my team won. I myself made no significant contribution to solving most of the puzzles, except for perhaps the final music one. While I was able to make the scrambled audio almost sound like words, it was another team member that truly solved the final puzzle by rapidly clicking on the track until menus appeared and it fixed itself. The opposing team was unable to solve my puzzle; I explained it after we won. While it was never intended to be so challenging, I suppose the added difficulty was good for my team in the end. With this project done, the last thing I shall do in this class is make a portfolio of all I've accomplished in it.

0 comments

11/27/21

We had only one class this past week. During it, I coordinated with my team and completed my segment of our puzzle project. I think that I did a pretty good job considering my prior lack of experience with Logic Pro. When we all attempt each other's puzzles in a following class, I will be eager to see what everyone else did.

0 comments

11/19/21

This week, we started on our puzzle project. I am working with Logic Pro to create some kind of task for the end of my team's overall project. I was new to Logic Pro at the start of the week, but now think I have the knowledge to complete my objective. I have already started, and have been coordinating with my team, so I shall be completed soon.

0 comments

11/12/21

This week, I did days 14 and 15 of the Master Raspberry Pi manual. I had some issues downloading software, but everything worked out in the end. On Friday, I decided to work with PT on our puzzle project, and we brainstormed some good ideas on how to hide info in music. He also taught me a little about Logic Pro.

0 comments

11/5/21

I spent this week continuing with the Master Raspberry Pi manual. Making it to section 14, I learned how to implement security features, change settings, and make and change files, all through the terminal.
Download file "picture.JPG"

0 comments

10/29/21

During this week, after having gotten a virtual raspberry pi, I went through the Master Raspberry Pi guide, making it to day 11. This covered customization and changing the interface, as well as using the console to change settings. I could not follow some parts of the guide due to not having a physical Raspberry Pi, but those parts seemed simplistic and inconsequential. I look forward to continuing next week.
Download file "screenshot.JPG"

0 comments

start on raspberry pi

This week, I started with Raspberry Pi and Mac stuff. I began with looking at network functions on a Mac laptop, and today got a Virtual Machine with Raspberry Pi running. I should be more or less caught up after the following week.
Download file "Screenshot (16).png"

0 comments

10/8/21

I have just finished Arduino module 7. The hardest module was module 4, it had many parts and was generally complex. My plan for next week is to go to module 8, which includes motors.
Circuit 6:


Circuit 7:


0 comments

Test

Test

1 comment