Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Raspbery Pi based Arcade Machine FTC Payment Proof of concept

    Feathercoin Discussion
    7
    40
    5723
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tmuir12 Regular Member last edited by

      Nice, look forward to your results.

      Omce I sat down and wrote the code I was amazed at how simple it was. I think in total I’ve got about 40 or 50 lines of codes and a lot of that is just notes in the code to remind me what each bit does.

      I’m assuming you are not going to wire the relay directly to the output, but have it driven by a transistor as I doubt a cct that was made to light up an LED will be able to drive a relay without damaging your router

      1 Reply Last reply Reply Quote 0
      • T
        tmuir12 Regular Member last edited by

        Code for stage one is now available on github

        https://github.com/tmuir12/FTC_Arcade_Pay/tree/master

        It will be a week or two before I have completed stage 2

        1 Reply Last reply Reply Quote 0
        • U
          uncle_muddy administrators last edited by

          This is great work :) I have way to much on right now or I would be following your lead and building something up. I can see a FTC powered pinball machine coming on our meetups in the near future ;)

          1 Reply Last reply Reply Quote 0
          • MrWyrm
            MrWyrm administrators last edited by

            I love all this. Who was the guy paying his children’s pocket money in FTC? would be a great way to regulate video game use haha.

            Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

            1 Reply Last reply Reply Quote 0
            • T
              tmuir12 Regular Member last edited by

              Its pay day on Tuesday so will order the parts then.

              I can see integrating the screen will be my biggest challenge, but there are a lot of great ‘howtos’ around on the web

              1 Reply Last reply Reply Quote 0
              • T
                tmuir12 Regular Member last edited by

                Another Raspberry PI, that can be dedicated to this project has been purchased along with the screen.

                I’m guessing I will now have a 1 to 2 week wait for them to arrive from the USA before I can continue my build.

                1 Reply Last reply Reply Quote 0
                • kris_davison
                  kris_davison last edited by

                  I think Raspberry PI’s are made in the UK now (Although the original runs were made in china I believe)

                  EDIT: yep Wales - http://www.raspberrypi.org/tag/made-in-the-uk/ :)

                  1 Reply Last reply Reply Quote 0
                  • T
                    tmuir12 Regular Member last edited by

                    Yes Raspberry Pis have been made in the UK for some time now, but the display I wanted I had to buy from Adafruit and I needed another Pi so bought it from them and a few other parts to spread the cost of the postage.

                    Tracking says I should get everything mid next week.

                    1 Reply Last reply Reply Quote 0
                    • U
                      uncle_muddy administrators last edited by

                      I think Raspberry PI’s are made in the UK now (Although the original runs were made in china I believe)

                      EDIT: yep Wales - http://www.raspberrypi.org/tag/made-in-the-uk/ :)

                      Yes they are, be very careful if you have one of the early ones that was made in china as they are nowhere near as reliable for some reason… I had loads of problems on one of my projects due to this and as soon as I switched it out for a UK built Pi everything started to work out again :-

                      This is also worth looking into http://www.bbc.co.uk/news/technology-28263659 depending on what interfaces you are after, a little less power consumption would be good for a couple of my devices as they run from batteries

                      1 Reply Last reply Reply Quote 0
                      • T
                        tmuir12 Regular Member last edited by

                        This is also worth looking into http://www.bbc.co.uk/news/technology-28263659 depending on what interfaces you are after, a little less power consumption would be good for a couple of my devices as they run from batteries

                        Thats just so typical.

                        Just a few hours before I ordered a new Pi, they released a new and improved model and I ordered the older model. >:(

                        Extra USB ports is definitely nice, makes it much easier to use wireless with a keyboard and mouse

                        1 Reply Last reply Reply Quote 0
                        • X
                          xalex last edited by

                          Yay! Got it working :)

                          I am going to use this at a job interview on Monday. It covers a lot of things they need me for:

                          http://balgehacked.wordpress.com/2014/07/18/10-cryptocurrency-pinball-mod/

                          All in all a $10 mod to the pinball machine.

                          @tmuir12, I am looking forward to your version. The LCD screen will be a must have i guess. If there is anything i can help you with, please drop me a line ;)

                          Happy hacking!

                          1 Reply Last reply Reply Quote 0
                          • kris_davison
                            kris_davison last edited by

                            Wow that’s great work well done. And what a great blog too. :)

                            1 Reply Last reply Reply Quote 0
                            • T
                              tmuir12 Regular Member last edited by

                              Cool!

                              I found it took about 1 minute 20 seconds for the credit to reach my Pi, so about the same time as yours.

                              Your solution is definitely cheaper than mine, well done!

                              I hope to have the screen and my new Pi some time next week, so by next weekend I might of made some more progress.

                              I have been thinking that being able to prepay for credits would also be useful ut I’m not sure whether this would be within my coding skill.

                              The idea they pay in advance and get a QR code that could be printed out, or displayed on a phone and using a Raspbery Pi camera in theory it should be able to scan it and then add the credits straight away, but that is just an idea at the moment, not completely sure how to implement it

                              1 Reply Last reply Reply Quote 0
                              • M
                                mirrax last edited by

                                Wow that’s great work well done. And what a great blog too. :)

                                +1

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tmuir12 Regular Member last edited by

                                  I receive my new Raspberry Pi and LCD screen today.

                                  Have just finished installing Raspbian on it, and now I’m about to put the display together and then will probably spend the next couple of hours following this tutorial from Adafruit to get the display going

                                  https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi/assembly

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mirrax last edited by

                                    Model B+ looks very good. Nice improvements indeed.

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tmuir12 Regular Member last edited by

                                      Yes shame I didn’t know it was available and just ordered the regular model B.

                                      I’ve got the display hooked up and everything on the Raspbery is going well, but I’ve hit a snag as teh feathercoin wallet app won’t read QR codes off my screen whilst my other QR reader app does

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tmuir12 Regular Member last edited by

                                        Display i installed and working.

                                        Have some basic code to display the QR code and a simple off line message when it can’t reach the API.

                                        Tomorrow night I will attempt to put all the coding together and by using my other QR scanner on my phone and pasting in the address into my wallet I can get around the issue of the scanner not working in my FTC wallet…

                                        Will hopefully get some photos and maybe a video up tomorrow.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tmuir12 Regular Member last edited by

                                          Very excited.

                                          I think I’ve got everything read to test stage 2 of the project, just need to load some ftc onto my phone and do the video, video may be up later tonight or tomorrow night.

                                          I’ve also added some extra code as I realised if the API was not contactable when the Pi first started after the API comes online it would put free credits on the machine.

                                          This problem is now fixed

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tmuir12 Regular Member last edited by

                                            Stage 2 tested, and the video on youtube.

                                            This time I sent enough for 2 credits to show you can pay for more than one credit at a time and it will just count then down and add them to the machine.

                                            Here is the link to the Video.

                                            http://youtu.be/DJdsMX-eeFM

                                            I’ll put the code up on GitHub tomorrow

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post