View on GitHub

Quorten Blog 1

First blog for all Quorten's blog-like writings

Okay, how do you use the GPIO on the Raspberry Pi again? I’m wondering about the whole thing, what is “pull up” and “pull down”? Why is it conspicuously missing from the Raspberry Pi Quick Reaction Game tutorial? What is this “gpiozero” library? Okay, for the answers. So I searched for GPIO Zero, and I found the Raspberry Pi blog post on it. Basically, its name GPIO Zero is inspired by PyGame Zero, the “zero” being added to the name so that the library can be used with a minimum of boilerplate code. And if you read the blog post on it, in fact the creation routines like “Button” is deliberately designed to mask the user from needing to configure whether a GPIO input is “pull up” or “pull down,” instead assuming the common “pull up” by default. As the blog post says, although this is important to know about electronics, it is not necessary if all you want to do is create some simple interactive setup for a classroom activity. So there you go, that’s why mention of “pull up” and “pull down” is conspicuously missing from the Raspberry Pi GPIO quick reaction game. It probably got rewritten after the advent of GPIO Zero, but before that, there may have been an older version that introduced the pull up and pull down concepts.

  • Let me state the answer to the question more clearly here, though. “Pull up” means that a transition from 3.3V to 0V is a transition into the “on” state, “pull down” means that a transition from 0V to 3.3V is a transition into the “on” state.

Read on →

Okay, so now I got the idea that I could use a Digital Multimeter to disambiguate which contacts inside of the camera correspond to what pins on the servo motor control. Is it in fact safe to use a Digital Multimeter for continuity checks on integrated circuits? According to my findings, yet again on the very helpful Stack Exchange Electronics site, I find that it indeed is. So, use the diode test mode or the continuity test mode. I think we’d want to use the diode test mode, as that has ought to be safe for semiconductor electronics, right?

20170304/DuckDuckGo is it safe to use a multimeter to check for continuity on cmosis it safe to use a multimeter to check for continuity on cmos
20170304/http://electronics.stackexchange.com/questions/259345/can-a-dmm-continuity-probe-fry-an-ic

Failed search. More ambitious would be to find information on the Internet on how to disambiguate the pins on a servo motor. Alas, like I said, failed search, I was unable to turn up any useful results.

20170304/DuckDuckGo detect pin type on servo motor with digital multimeter

Wait, new Raspberry Pi Zero Wireless? $10 rather than $5.

20170301/https://arstechnica.com/information-technology/2017/02/new-10-raspberry-pi-zero-comes-with-wi-fi-and-bluetooth/
20170301/https://www.raspberrypi.org/products/pi-zero-wireless/

Okay, so are there any guides on setting up a Raspberry Pi with a 5 button chorded keyboard? Apparently not, but I’ve found some other interesting things along the way.

20170225/http://elinux.org/RPi_USB_Mouse_devices
20170225/https://learn.adafruit.com/pocket-pigrrl/buttons
20170225/https://learn.adafruit.com/pocket-pigrrl/perma-proto

Interesting. “Masking tape for 3D printing.” It’s just regular blue tape, isn’t it?

20170225/https://www.adafruit.com/product/2416

Wow. is that shield design 3D printed in color? No, but it is 3D printed in two pieces, which is interesting.

20170225/https://learn.adafruit.com/3d-print-links-hylian-shield
20170225/https://learn.adafruit.com/3d-print-links-hylian-shield/assembly

Oh yeah, and important warning. Spray paint in a well-ventilated place, and use a protective respirator mask to avoid breathing in “messy chemicals.”

Also, Adafruit is a good place to go to buy those buttons when you do put them on the Raspberry Pi.

Failed search.

20170225/DuckDuckGo raspberry pi gpio pins snap together lego

So, I’m not sure if there is an easy solution that I can purchase to have snap-on GPIO pin header mounts for the Raspberry Pi Zero. I could just as well have to make my own.

Okay, so now I’m wondering. How do I get simple, cheap sound output on the Raspberry Pi Zero? Oh, this is a great reference.

20170225/DuckDuckGo raspberry pi zero sound crystal 20170225/https://learn.adafruit.com/introducing-the-raspberry-pi-zero/audio-outputs

These are also some other interesting related references. Oh, shucks! I could have gotten the HDMI to VGA adapter that has the sound output jack on it if only I looked on Adafruit!

20170225/https://learn.adafruit.com/introducing-the-raspberry-pi-zero/video-outputs
20170225/https://www.adafruit.com/products/1151

Also, this is useful if I want to add composite video output to the Raspberry Pi Zero.

Read on →

“Do not feed the Brickster. The brick you save might be your own.”

Okay, where does that come from? Only one word was changed so web search engines are bound to be a great candidate for finding the whereabouts of this wording.

20170225/DuckDuckGo do not the you save might be your own
20170225/https://en.wikipedia.org/wiki/The_Life_You_Save_May_Be_Your_Own

Published 1955. Has it been 70 years? Nope, not long enough for the copyright to expire. Wow, gosh is our copyright system insane.

Distracting black lines? So what was that thing about “the concept is simple, black lines distract”? Oh, I think I may have found it.

20170222/DuckDuckGo the black lines distract
20170222/http://whitelines.se/function/

Aw, patented so they say. Yeah, sure, but I have my own criticisms against the mechanism. First of all, the existing design of using light blue pre-printed lines on paper is in fact designed for minimal visibility. Second, I think that although this may seem to be a good idea for young college students for writing, it may be a little bit more difficult for older people to use than the mainstream design. Reading the paper, though, sure that may be easier for everyone. So yeah, they got their marketing demographics right for their paper, sure.

Oh, what’s this? More interesting things. So, to add to Tour de Force, often times its important to be aware of the social conditions going on at historic times, not just the state-of-the-art of the technology, because that decides who and what kinds of people got the mass majority of historic access to the technology, which is often times only a restricted group, and because culture advances slower than technology, often times those arbitrary preferences and discriminations can continue on even in the present day. So, this is one of the historic discriminations that were going on in a technology-inspired named center, Radio City Music Hall.

Read on →

Docker notes. Interesting discussion about running a different command in a Docker container. It seems the simplest and easiest explain way to perform this task is through docker commit.

20170222/https://forums.docker.com/t/run-command-in-stopped-container/343

Also interesting to consider Docker Compose. Pephaps a way to run multiple commands inside of a Docker container beyond the initial command?

21070301/https://docs.docker.com/compose/overview/