Now that fall semester is over and winter break has begun, I’m gonna start making more stuff! Building on to the color-crossfading ping pong ball, I decided to use the 38kHz infrared receiver module and keychain remote I bought awhile ago to make it remote-controlled. Each button on the remote corresponds to a color, except the power button which turns it off.
So rather than studying for the exams I have next week, I decided to mess around with LEDs. I used this code with a diffused RGB LED (put a ping pong ball on top of it for more diffusion and it also looks cooler).
Edit: Found this online today, turns out someone else had the exact same idea of using a ping pong ball as a diffuser! There’s a more detailed write-up, with pretty diagrams and stuff, if anyone is interested in learning more.
I also tried doing this with an RGB LED but it just resulted in possibly seizure-inducing effects. It probably works better with three individual LEDs.
Here’s a follow-up to the previous room mapping post. The scanning process is more efficient now, with less wasted movements (and thus faster scanning). Rather than going all the way back to the beginning of a column (for lack of a better term) and scanning down every time the end is reached, it just starts scanning from the bottom up.
The program has been improved too. Aside from the pretty menus (made using ControlP5) and graphical options such as color changing, I’ve added a function that checks the ratio between every side of every quadrilateral. If the ratio between any two sides exceeds a certain threshold (chosen by the user), the quadrilateral isn’t drawn. This makes it so that you don’t have a bunch of really long quadrilaterals connecting points that aren’t actually even connected in reality (see the old video for an example).
Touchscreens arrived from DealExtreme!
- 2 Sony Ericsson X1 Replacement Touch Screen/Digitizer Module
- 1 Replacement Touch Screen/Digitizer for NDSi/DSi
I ordered one of these as well, but that one got split up into a different shipment. I only got so many because I wasn’t sure which ones would be a good size, or that I’d end up breaking them somehow.
Shipment from DealExtreme arrived today (finally). These were the things I got:
Of course, I’ve only shown one of each in the photo. They were a lot smaller than I had expected; I put a penny in the image to give a sense of the size of these things. The solar powered car doesn’t really seem to work, but I guess it might just be the lack of adequate sunlight in my room. Gonna start trying to make something with the lasers and servos some other time.
I’ve also ordered some other stuff from DealExtreme about a week ago, and those should arrive some time in the future.
June 2017 S M T W T F S « Jun 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30