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.
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.
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.
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.
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.
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.
The concept is for a device in which members can pay their dues without the need for direct human interaction.
Currently, in order to pay dues, members must meet face to face with one of the dues collecting officers (of which there are three). The officer needs to collect the money, then write a receipt if requested. Finally they need to update our accounting sheet in google docs.
I have big plans for this machine, but for now, it will be a humble device to take some of the load off.
Just a little note to let you know that my webshop is now live.
I finished up testing the payment system through paypal tonight, as well as verified that shipping calculations for Japan Post small packet services are (mostly) correct.
I am starting pretty small, with only in stock inventory. I will be adding new items as I find things from Japan that may appeal to engineers and hackerspaces.