Welcome to DIY-SciB.org

Do It Yourself science and laboratory gear can save a lot of money, and provide plenty of opportunities for learning in the process! DIY-SciB.org specializes in Arduino sensors and science projects.

slideshow 1 slideshow 2 slideshow 3

First THS quad-copter build day

The first quad-copter build day was held at Tokyo HackerSpace on the 26th of January, 2014. Yves had been collecting parts for the build for some time, but was hesitant to get started. An aversion to power tools as well as realizing the absolute power the motors and blades he chose made him opt to wait till he had all the safety considerations in place before proceeding.
But finally he set a date, and invited all the members down to help/watch him start his adventure.

RTC8564

The RTC8564 is my favorite clock IC. What makes it particularly exceptional for wireless sensors is the highly configurable countdown timer (although the alarm unit is exceptional as well).
The datasheet may be found here.

My extensive Arduino library my be found on my GitHub.

Membership Box Code (Arduino sketch)

After performing a demonstration of the version 0.9 code and hardware to the hackerspace a few months back, I finally got around to finishing up the major features, dressing it and calling it done (for now).

I admit to some lazyness, but the winter holidays played some part in my delay.

Joule Thief Flashlight

This simple flashlight can suck every available bit of power remaining out of 'dead' batteries.

When your AA battery no longer has enough power to run your electric tooth-brush or power the tv remote, pop it into this flashlight to get some more use out of it before chucking it in the recycle bin.

The circuit is described in detail on this wikipedia article, and is a direct copy of the schematic shown.

The backstory

If you just want to build it, feel free to skip ahead.

DIY illuminated buttons

The THS membership box will have a two button interface for the user to operate the machine. One will select a membership payment, and the other will select a 1000 yen donation. I wanted to be sure that the user knew intuitively when a particular option was available. In addition to the UI, these buttons play a role in the administration menu as well.

Arduino shield completed

You may have followed my last blog post about how not to layout a pcb.

Well, I got around to finishing up the board. Fixing all my mistakes only took about an hour, and as soon as I did so, the board routing was incredibly fast. As you can see, its much more efficient and clean.

How NOT to layout a PCB!

You may remember in my last post about the bill acceptor project that I had made a preliminary pin count and started assigning functions to the various Arduino pins.

The next step was to input the schematic to Eagle and start laying out the pcb. Capturing the schematic was no problem, and went rather quickly, but I soon discovered that in my hast I had not considered a lot of layout issues that would only become apparent in the board layout.

THS Membership Box - Project planning

Today's task is to start planning out the project, how it should function and to get a rough idea of what the hardware will look like.

This will be a long blog (wall of text alert) so settle in with a drink and some tunes and take your time with it. I am sorry to say that I have not prepared any images to accompany this one, but may add some in later.

THS Membership Box - Arduino basic code

The purpose of this blog is to illustrate how to go about bringing up a project step by step.

In this step of the THS Membership Box, we wire up the bill acceptor to the Arduino and start some very simple Arduino code.

The bill acceptor output is a pulse, which starts high, then drops to a logic low for a short period of time before returning to high. I have already set the bill acceptor and tested it to output 1 pulse per 1000 yen. Thus, a 1000 yen bill outputs 1 pulse, a 5000 yen bill outputs 5 pulses and a 10000 yen bill outputs 10 pulses.

Membership Box - pulses

In the image above, you can see a few of the pulses output by the NV10USB bill acceptor.

While we do have the option of reading the bill validation data over USB, the pulse output is just so much simpler to work with. It should be a simple matter to hook the output to the interupt pin of an Arduino and simply count out pulses.

I set the NV10 to output 1 pulse for 1000 yen, 5 pulses for 5000 yen, and 10 pulses for 10000 yen bills.

Pages

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer