The game is ripening nicely!
Up to now, I had been working on a way to display from 13 to 52 cards simultaneously. This now works, both in the card-creation screen (so that you know which cards already have a mnemonic device) and in the game part of the app. While this is a huge step forward, a greater challenge awaits: allowing two cards to be selected when choosing correct cards. Since the point of the app is to train a user to use mnemonic devices efficiently, this is what makes Memory Mason, well, Memory Mason. I expect this will be tricky to implement, but once a 2-card-difficulty has been implemented, it should be easy to modify into a 3-card-difficulty. With that, the most difficult parts of the app will come to an end. From there, I need to add attempts, a timer, and revise the color scheme/design of the app considerably.
I did more soldering last night. I fixed the soldering I did on Friday. My current task is to solder solid wire to spindle wire. The reason I am doing this is that the manufactures attached spindle wire to their parts and I need solid wire because it is very difficult to put spindle wire into a breadboard. Also their parts are not color coded when they talk about how they are color coded which makes it very difficult to solder things correctly. It makes me paranoid about soldering the wrong wires together. I have soldered three items last night and I need to solder five more.
Since only restaurants need accounts and not customers, I removed the "register" option from the navigation bar, since this option shouldn't be easily available for everyone. Should a restaurant want to register, they would have to contact us for a unique access code. This is to confirm that the restaurant exists.
When the restaurant logs in for the first time, I created a few pages to help the restaurant setup its account. First, the user enters basic restaurant information (name, address, phone number, etc.) and then show them how to modify the table layout to match the restaurant's.
Once setup, the restaurant will be redirected to a main panel. I've added a restriction where each account can only manage a single restaurant. The panel was created so that the restaurant owner wouldn't have to go to the main restaurants page and search through a long list of restaurants. Also, I removed the customer interaface from the restaurant interface, since the restaurant should only be focused on managing tables and customers.
On Friday I made a lot of progress on the build. I have attached all the esc to their mostly correct position and have soldered most of esc's to their motors. I made a mistake while soldering and soldered two wires the wrong way. I don't believe this is my fault because the company did not stick with industrial standard of coloring for electronics. One company colored all their cables black and in their manual only talked about the wires by color (such as red, blue, and black) and not by position. The second company has their colors in the following order: red, black, yellow. This makes me believe that yellow is the signal. If you thought that, you are wrong. Yellow is ground for that brand of motor. So I need to fix that.
Here is a link to the album: http://imgur.com/a/gIjNJ#0
The usage of a wooden clothespin (you can see it in the album) was needed to hold two wires together so they were close enough to solder together. The last picture of it in the car is the most accurate picture of it with the esc on the top side of the arms. They are like this now so the wires are tighter and will not cause problems later on.
During a break during the hackathon two days ago I went to the tech dumps and found a computer power supply. With a little help form my friends, we were able to power it up by 'hotwiring' it; the power supply has two pins on the plug head to the motherboard that need to be connected for it to start up correctly. This is used when you are pressing the power button of the computer. So I cut the wires and soldered them together because I planned on using the power supply as equipment for test voltages for my drone hardware.
I used the power supply to test my TxRx output voltage to make sure it would not fry my arduino. The arduino zero can only handle up to 3.3V . The receiver takes a voltage between 4v and 6.5v so I used the power supply to give it 5v. The 6 channels would output between .2V and .4V. That is a little disappointing because I hoped for a larger range of values to mess with for the drone but I think I can deal.
I am trying to figure out the placement of my arduino on the body of the drone. There does not seem to be enough room for it on the middle section of the drone and I don't want to place it on the top because it might get hit. So the bottom seems like a good place. The problem is that I do not have a way to attach it to it there. I might have to use some CAD software and ask one of my friends with a 3D printer to print it out for me. I'd then have the breadboard in the middle of it and then the Tx on the top of the drone.
Goals this week are more wiring, fixing the drone soldering, and modeling. I should get some more goodies this Monday and Tuesday.
Questions and comments? Email me at gardnm (at) rpi (dot) edu