OpenRISC(1): First run OpenRISC on de0-nano board

Update: this post has been moved to a new home yu.xueming.org

The scope of the OpenRISC project is so extensive that it covers wild range of areas including processor architecture, implementation with register transfer language, simulation tool, synthesis tool, and tool-chain SDK. It is hard to believe the OpenRISC community behind this project has been able to put together the tremendous amount of efforts to successfully implement each single component, creating a valuable, well-performing, but free soft CPU for anyone to use.

Continue at yu.xueming.org

Notes on PHP: Restart apache won’t reset php session

 

To be honest, it is a little odd that PHP session won’t be destroyed after Apache server got restarted. In order to truly kill the PHP session, especially during development, I created a piece of following code, and ran it everything I wanted to have a clean start:


<?php

session_start();
unset($_SESSION['session_name']);
session_destroy();

?>

 

Drive computer vision camera (Point Grey) on single-board computer (Banana Pi)

Computer vision cameras come with extremely small size without too much compromise on image quality…. continue on yu.xueming.org

My blog has moved to yu.xueming.org

 

P1040148_1920
A stereo set of Point Grey Flea3 FL3-GE-50S5C connecting to Banana Pi BPi M1 + SSD storage

 

 

How to rework small surface mount LED

I talked about soldering small surface mount LED in my previous posts by using DIY reflow oven. Today I would like to show you how to rework similar LED, which is, to desolder this LED off the PCB and solder a new one on it… continue on yu.xueming.org

Update: my blog has moved! Check out: yu.xueming.org

LED_Rework_1
The one with yellow bulb was just reworked.

Teardown of Ricoh Theta 360 Degree Spherical Panorama Camera

The first impression of the Ricoh Theta 360 Degree Spherical Panorama Camera is its odd appearance — to me it feels like a bar of chocolate wafer. The dual lens reminds me of the bubble eye goldfish. For some reason I was given this 1st generation Ricoh Theta camera for free, but broken. So why not taking a peak at its inside? … continue on yu.xueming.org

Update: my blog has moved! Check out yu.xueming.org

Siding removed.
Siding removed.

DIY, how to build your own cantilever sliding gate (8) Mount the fencing board!

I’ve decided to decorate the sliding gate with fencing board from the very beginning. Now the posts were set, the gate was assembled, and the gate opener was installed and powered. Finally, it’s time to start mounting the fencing boards to finish this project! … continue on yu.xueming.org

Update: my blog has moved! Check out yu.xueming.org

 

Two fencing board mounting methods that won't work me: (Left) boards cut short and cantilever rollers exposed; (right) board mounted flush against the pipe frames.
Two fencing board mounting methods that won’t work me: (Left) boards cut short and cantilever rollers exposed; (right) boards mounted flush against the pipe frames.

DIY, how to build your own cantilever sliding gate (7) Install the gate opener

There is a wide selection of gate opener products available online or at local shop, The price would range from several hundred dollars to more than a grand. It is really hard to tell the difference by the appearance. After intensive research on reviews, I decided to purchase the ALEKO AR1450 sliding gate opener with gear rack… continue on yu.xueming.org

Update: my blog has moved! Check out yu.xueming.org

AR1450, courtesy of ALEKO product.
AR1450, courtesy of ALEKO product.

DIY, how to build your own cantilever sliding gate (6) Run the power cord through underground conduit

Gate frame is up, now it’s time to do the electrical work. First of all, I needed to have power on the site! After searching around the house, I decided to run the power cord from my garage. I already noticed that my garage is on a 25 Amp breaker in my plan. 25 AMP should allow enough juice to flow through for the gate opener… continue one yu.xueming.org

Update: my blog has moved! Check out yu.xueming.org

 

PVC pipe runs down from the pull box and across the yard.
PVC pipe runs down from the pull box and across the yard.

DIY, how to build your own cantilever sliding gate (5) Weld the galvanized pipes into a gate frame

Welding was the only worrisome part of this project when I decided to build this cantilever gate because I never welded before, nor do I own a welding machine…continue on yu.xueming.org

Updates: my blog has moved! Check out yu.xueming.org

Ugly welds I did on my gate...but they joints together pretty well. Maybe not too bad for a first time welder.
Ugly welds I did on my gate…but they joints together pretty well. Maybe not too bad for a first time welder?!