Giter VIP home page Giter VIP logo

physcomp's People

Contributors

jonfroehlich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

physcomp's Issues

I think its a typo error that frequency is in MHz instead of being in Hz

**The Freq should be in Hz i guess its a typo **
the Arduino Uno supplies a "490MHz" PWM waveform at 8 bits. And this is more than fast enough to smoothly fade between different LED brightness levels. So, you can always start there ("490MHz" freq, 8-bit resolution) and then play around.

Update LED lesson to include caveat about circuit simulation

From student W.Q:

At first I was a bit confused about why CircuitJS is not yielding the same number as my manual calculations, but I realized that the default LED model there doesn’t have the right spec as the one on the LED datasheets. So I had to make a simple model, specify the correct forward voltage and current, and then the numbers are consistent.

I should add this tidbit into the lesson itself!

Power Symbol Upside Down in LED Circuit 2

The battery symbol in the LED circuit 2 schematics should be flipped vertically?I guess it is supposed to show 5V rather than a battery here. This is confusing to me.

image

Same as the video below that figure.

Demonstrate other technique to debounce

In practice, it's common to debounce with a very slight delay after an initial input change is observed. While this doesn't protect against errant activations due to ESD, it works very well (at least has in my experience for last ~8 years). So, I could/should clarify this in the lesson.

Need to better emphasize *optional* content

From the onset of creating this website, I wanted to include some optional "info boxes" that allow extra curious or more advanced students to dive deeper into a concept or area but that is optional.

Currently, the optional content isn't nearly as obvious as it needs to be. Liang said this too.

I know this. I tried for an hour or two to address this but couldn't figure it out (I'm still learning Jekyll, Kramdown, and scss). One of the Jekyll templates I considered has great support for differently styled infoboxes, like this (but I just don't know how to get this to work with my template, which is called "Just the Docs"). Here's a screenshot of the minimal mistakes info boxes:

image

Fix LaTeX on Potentiomers page

On the Arduino and Leonardo, the ADC is 10 bits. So, it converts voltages between 0 and V c c ( 5 V ) t o a Vcc(5V)toa 2^{10}$$ range (0-1023). Thus, the resolution between readings is 5V / 1024 or 0.0049 volts (4.9 mV).

Static site generators

Static site generator options

Python

Rust

Jekyll

Jekyll is built in Ruby.

To build the docs with Jekyll,

  • Open iTerm in /physcomp/docs
  • > bundle
  • > bundle exec jekyll serve (actually, use > bundle exec jekyll serve --baseurl '')
  • Follow directions for web address, typically: https://127.0.0.1:4000

Was this page useful?

The Salae website has a very nice lil feedback widget on their webpage for "was this page useful" Not sure how we could collect such things without a backend server, however.

image

Fix on Brett's advanced tone library for chord on ATmegaA32U4 boards

In "Intro to Arduino L2", the code links on Brett Hagman's tone library are not valid anymore. I suggest using Brett's GitHub page instead: https://github.com/bhagman/Tone.

To compile the library on the ATmegaA32U4 boards such as the Leonardo board, we need to modify Tone.cpp. Below describes the steps to use the library.

  1. To use the advanced library, go to Brett's GitHub repository and download the files as a zip package.
  2. Upon downloaded, unzip the package in \Arduino\libraries\ and rename the folder with "Tone".
  3. Replace Tone.cpp with a revised version (thanks to Kwok Leong).
  4. Now the library is ready.

Mention that Leonardo and Uno are functionally the same

Student commented that our diagrams are all showing Uno but students have Leonardo boards. Should make it clear in initial lesson that it doesn't matter (and what these differences are). I covered this in lecture but should be re-iterated in lessons.

Some TODOs...

Extracted from website-dev.md

Website TODOs

How to create '.h' and '.cpp' files in Arduino (Arduino Output, Lesson 8)

It would be good if there was detail on how to:

  • create new .h or .cpp files from within the Arduino IDE?
  • make them appear in the editor

It sounds like doing this through the 'new tab' functionality works; I didn't know about this before asking about it in class, so it could be good for it to be included in the lesson instructions

minor documentation error

On this page: Lesson 1: Intro to the CPX, the first ¶ contains a few documentation errors:

  1. The name of the platform is "Circuit Playground Express", not "Circuit Express Playground".
  2. It is a collaboration between Adafruit and Microsoft (who developed the original base platform MakeCode), not code.org.

Google is reminding us to upgrade to Analytics 4 by July 1, 2023

When you visit Google Analytics, you receive a message:

Universal Analytics will no longer process new data in standard properties beginning July 1, 2023. Prepare now by setting up and switching over to a Google Analytics 4 property.

image

One thing that worries me is that the Google support website says:

After July 1, 2023, you'll be able to access your previously processed data in your Universal Analytics property for at least six months. We know your data is important to you, and we strongly encourage you to export your historical reports during this time

So, like, would we still be able to access all previous visit logs, etc.

Add in more clarity about Serial Plotter

From a student:

The serial plotter is also very cool, but initially it is not clear that I have to print out the RGB values. I looked at the documentation online and it seems like Arduino handles the plotting automatically when the output is structured in a specific format.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.