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

    Open Source ATM

    Technical Development
    16
    176
    115904
    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

      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
                                • G
                                  gary last edited by

                                  There is another way, I have said in an earlier post just add NFC? The ATM will work great.
                                  Regards
                                  Gary

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

                                    Gary we might be able to add NFC in the future but for now we are just going to keep it simple :)

                                    I now have all the hardware with the exception of the coin taker, If I’m feeling up to it I might start putting things together later or tomorrow, But I have taken a beating at work today, that’s going to take a bit to get over.

                                    But I’m sure when I open all the little packets up again and look at the bits it will all come back to me :)

                                    UM

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

                                      Quick question. How can I test/view this Hex image? Anyone know of a viewer?

                                      Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                        And we are off…

                                        I’ve been doing stuff, 1st off MrWyrm, I have no idea how we test it other than sending it to me and I’ll see what it looks like on the printer when it’s up and running, but then next point is after I have been messing around with the QRCode generation it looks like a FTC logo has already been generated for us… doh, check things before people start work muddy!

                                        Everything is here with the exception of the coin taker, which is due tomorrow, but I’m not going to be here :( so it maybe Saturday before I get my hands on it, and I have a very busy weeekend again so it could be early next week before I get back onto the project.

                                        I’ve designed out the circuit board so we are not connecting directly to anything and we can maintain all of the original connections so hardware re-use is easy. Hopefully if I get time to run out a little later this will be complete tonight :)

                                        I have redesigned the casing a little to take into consideration that I’m planning on using a very low end PC PSU just because I have a spare here and they are cheep cheep cheep on eBay should we want to make any more, with the any more in mind… I have to make up a minimum order value with the laser cutters of £60 so I could end up with several of these casing up for grabs!

                                        I’ll keep you updated as things progress, but just wanted to let you all know we are still working on this and hope to have it at the next meet-up :)

                                        UM

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

                                          OK so how do I convert a .png to hex then… confused :-\

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

                                            Check the link I posted up. Start with a two colour TIFF, rename it to a .bin and use the bin to hex converter, then remove the TIFF header.

                                            Fire me your PNG and I’ll see what I can do.

                                            Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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