makeabilitylab / physcomp Goto Github PK
View Code? Open in Web Editor NEWPhysical Computing course website
Home Page: https://makeabilitylab.github.io/physcomp/
License: MIT License
Physical Computing course website
Home Page: https://makeabilitylab.github.io/physcomp/
License: MIT License
It would be good if there was detail on how to:
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
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.
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.
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.
Just the Docs is now on version 3.3.3 (though only last updated in Oct 2020 and has lots of awaiting PRs). Still, features from the new version look good and improves accessibiliey:
https://github.com/pmarsceill/just-the-docs
We might want to bump our "Just the Docs" version up given that we are currently stuck at v0.2.8 because we used incompatible customizations.
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.
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).
Looks like it's related to: just-the-docs/just-the-docs#365. I'm having the exact same problem.
just-the-docs.js:6 Uncaught TypeError: Cannot read property 'attachEvent' of null
at Object.jtd.addEvent (just-the-docs.js:6)
at initNav (just-the-docs.js:40)
at HTMLDocument.<anonymous> (just-the-docs.js:439)
have them as 220ohm right now. Incorrectly.
Just received an the following email:
But then I see that is None
is preferred?
https://stackoverflow.com/questions/3257919/what-is-the-difference-between-is-none-and-none
On this page: Lesson 1: Intro to the CPX, the first ¶ contains a few documentation errors:
Looks like this on Chrome on my Mac:
https://makeabilitylab.github.io/physcomp/arduino/led-fade.html#pulse-width-modulation-pwm
I was surprised I didn't have a flappy bird video embed here: https://makeabilitylab.github.io/physcomp/advancedio/oled.html
And I have an overview video here:
https://youtu.be/-dLtvL1bOn8
The last row of the Common SI Prefixes Table repeats nano; I believe this should be pico at 10^-12!
Need automatic table of contents on Jekyll-produced pages to make them more navigable:
https://tscanlin.github.io/tocbot/
I tried doing this in a branch but didn't get far because I'm still such a JavaScript/HTML no0b.
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.
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.
As captured by @EdigaHe. Need to fix for next iteration of class:
**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.
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:
Thanks @EdigaHe
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.
Have a "DIY FSR" lesson with graphite pencil. Could also do one with conductive thread, etc.
https://makeabilitylab.github.io/physcomp/arduino/force-sensitive-resistors.html
I was, perhaps, naive to rely on such an external app https://gist-it.appspot.com/
Moreever, since they serve via http
vs. https
, Chrome now blocks this embed. Notice how our code is not showing on this smoothing input page.
Related to this Stackoverflow post:
https://stackoverflow.com/questions/18860693/mathjax-multi-line-equation-rendering-issue
I'd like to nicely left-align around the equal sign so I don't have to repeat RTotal and so this is not rendered in middle of screen:
For many of the Intro to Arduino pages, we designed Tinkercad simulation but do not yet link to them. Consider doing so?
Good suggestion.
Arduino as a mouse/keyboard.
I've made lots of examples (originally for HCID521)
ITP NYU has a tutorial:
Jekyll is built in Ruby.
To build the docs with Jekyll,
> bundle
> bundle exec jekyll serve
(actually, use > bundle exec jekyll serve --baseurl ''
)https://127.0.0.1:4000
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!
Installation notes from @EdigaHe. Need to incorporate into website-install.md
Extracted from website-dev.md
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.