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

    Open Source ATM

    Technical Development
    16
    176
    115905
    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.
    • MrWyrm
      MrWyrm administrators last edited by

      I’m still getting my head round the logo bitmap, but I hope to have that sorted by the start of next week.

      That might be something I can help with. Is it documented?

      Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

      1 Reply Last reply Reply Quote 0
      • S
        spynappels last edited by

        Not very well, it is a whole string of hex bytes, I’ve been playing with it in Paint and a hex editor, but not got aywhere yet.

        In Github, the logo.oba file is a text file which contains the width and height attributes and the actual bytes, and the sketch sort of steps through how its printed but I’m still working out the details. In the sketch, the header length is declared, so I’m thinking that if I strip this number of bytes, I should get the actual bitmap bytes (the header length is 25 bytes) but when I manually tried to create a bitmap from some online guides using the bytes in the logo.oba file, it failed rather miserably.

        ignore the .oba extension, it is just a 3 letter contraction of OpenBitcoinATM, I’ve just changed that in the new sketch to .ofa

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

          Spynappels, once again many thnaks for your help on this little project. I had a quick look throught the code in the wee hours of the morning (sometimes I wish I could just sleep) and all though I would have no idea how to start from scratch, there are certain things in there that look abvious as to their purpose.

          I’ve never used a Arduino before, so I’ve done a bit of reading up on that as well and it seams simple enough to get my head around, adn I’m sure once it arives and I have it connected the gaps will instantly be filled in.

          Point taken about the RTC and re-loading the sketch before each demo/outing

          I’ll make sure things are mounted in the case when we get that far in such a way as you can gain easy access to the USB and SD slot of the Arduino, the case is going to need to be opened fairly easyily so that the cash can be removed from it, but I do take your point about physical security.

          I can design/build a case that can with stand a 30min beating with a basball bat if you want me to but your not going to like the cost or the weight of it >:D

          Yes this is a PoC to prove it can be done and also to take to a few places on my travels for a bit of fun, I would love to get it to the OB for next months meet-up and know the guys I meet down there last month will enjoy feeding it pound coins :)

          I was going to look at the QR generation and conversion process today, as I want as many bits of the puzzle finished before the hardware arrives so testing can begin as soon as.

          Thanks again guys for helping me make this happen, I liove the community spirit here and I’m proud to call this place home

          UM

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

            Don’t know if it’s going to be any help to you but here is a link to some documentation for the printer

            http://skpang.co.uk/catalog/thermal-printer-p-1160.html

            It’s not the site I used for the purchase, but they do seam to have all of the documents linked on this one.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User last edited by

              If you guys can actually pull this off, I’ll pay in whatever currency you like +more for labor and also shipping to get my hands on one…

              I would love to have one ahy… I could just chuck in all my spare change and buy my ftc that way :D

              EDIT

              OK… So I just thought about what I said… The ATM doesn’t magically send the coins to the seller… what am I missing here…

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

                LOL well done Calem, no this version won’t it needs to be populated with private keys 1st, and then coins sent to the public keys of those private keys. So there has to be an element of trust involved as I will have seen the private keys, and you have to trust that I have loaded the wallets with the coins.

                The idea is it goes open source, so everything you need will be avaialbe to you. Whilst hunting for hardware yesterday I came across quite a lot of bits on Oz eBay, I know you don’t like it but it is a valubale resouce when hackin things together. As far as the casing would go, all you need to find is a company local to you that can take a CAD drawing a laser cut you some steel, maybe a little bit of bending and welding and that should be you done. So you can have your very own machine over there without the cost of me building it or shipping ot to you, and you get that warm fuzzy feeling that you have made something :)

                The next version, still in my head will be a lot more advanced. I’ll try and get something written down for features at some point but I gotta work again today and then I’m going to the Oxford Blue for the meet up tomrrow.

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

                  Not very well, it is a whole string of hex bytes, I’ve been playing with it in Paint and a hex editor, but not got aywhere yet.

                  In Github, the logo.oba file is a text file which contains the width and height attributes and the actual bytes, and the sketch sort of steps through how its printed but I’m still working out the details. In the sketch, the header length is declared, so I’m thinking that if I strip this number of bytes, I should get the actual bitmap bytes (the header length is 25 bytes) but when I manually tried to create a bitmap from some online guides using the bytes in the logo.oba file, it failed rather miserably.

                  ignore the .oba extension, it is just a 3 letter contraction of OpenBitcoinATM, I’ve just changed that in the new sketch to .ofa

                  I’ve dealt with these sorts of things in my job. From what I remember last time we configured an old till printer, years ago, the Hex denotes if a pixel is ‘on’ or ‘off’, black or white. I’ll brush up on the subject.

                  Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                    Yeah, I can do this.

                    Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

                    1 Reply Last reply Reply Quote 0
                    • S
                      spynappels last edited by

                      That’s what I though, what worried me is that there was not just 0x00 and 0xff, there are other hex values too. Does this mean that each hex byte controls 8 pixels?

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

                        Ahh, I would have thought the same as you. Still reading up.

                        Have a look at…

                        http://www.ht-lab.com/freeutils/bin2hex/bin2hex.html

                        There are ways to convert two colour binary Tif into Intel Hex and it’s pretty well documented. I’m in work, so can’t give it my full attention.

                        Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                          And this…

                          http://tinyurl.com/nrw999v

                          Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                            I saw that the dogecoin guys made something like this using a brief case as the container. In theory this could save us some dosh if we used a security style brief case as it is already easy to open is secure and has a locking mechanism (combo locks?) obviously it would need to be cut into to fit the coin / note reader?

                            something like this?

                            http://www.ebay.co.uk/itm/17in-Aluminum-Attache-laptop-security-briefcase-case-office-travel-gift-for-him-/221376196545?pt=US_Laptop_Cases_Bags&hash=item338b0cafc1

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

                              Fudge me thats expensive. Kris I don’t expect the laser cut blank to be more than £10 to be honest looking at it on the screen here.

                              I lock and hinge from somewhere prob no more than another £10, little bit of bending and welding. Job done!

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

                                Is this the dimensions?

                                #define 0w90

                                #define 0hA0

                                144 x 160?

                                Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                  You working on the logo or the QR code?

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

                                    That’s from the logo file.

                                    Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                      Looks about right in pixels to me for the BTC logo I have seen on there site.

                                      Without printing something out that size, I can’t be 100% thou.

                                      UM

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

                                        Ah right yeah £50 is canny expensive but I don’t think I was expecting you to say it would only cost £20 to get the case made. Lol

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

                                          Bit of a cheat mate, I own an engineering company as well as my day job :)

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            spynappels last edited by

                                            Hi Mr Wyrm, that is the dimension of the logo according to the code, the sketch reads those two values and uses them to determine the size of the bitmap.

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