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

    Open Source ATM

    Technical Development
    16
    176
    115889
    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.
    • U
      uncle_muddy administrators last edited by

      I’ve got the logo as per the attachment a bit further up, and the QR Code generator loaded on a Pi to give it somewhere to live, so hopefully all is left to do is to convert the QRcode back to hex for the printer…

      And just to keep your spirits up, look what I have just been given :)

      coin_taker_zps15628e62.png

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

        Agh, all the bits are together, and the coin acceptor seams to do as expected… but nothing is printed :(

        I’ve got about 10mins more before I need to deal with family stuff, but I might be back on it later

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

          Should there not be some values in this mess somewhere?

              if(pulseCount == 0)
               return;
          
          
              if((millis() - pulseTime) < PULSE_TIMEOUT) 
                return;
          
          
               if(pulseCount == DOLLAR_PULSE)
                 getNextBitcoin(); //dollar baby!
                 
               //----------------------------------------------------------
               // Add additional currency denomination logic here: $5, $10, $20      
               //----------------------------------------------------------
             
               pulseCount = 0; // reset pulse count
               pulseTime = 0;
            
          }
          
          
          /*****************************************************
          onPulse
          - read 50ms pulses from Apex Bill Acceptor.
          - 4 pulses indicates one dollar accepted
          
          
          ******************************************************/
          void onPulse(){
            
          int val = digitalRead(2);
          pulseTime = millis();
          
          
          if(val == HIGH)
            pulseCount++;
            
          }
          
          1 Reply Last reply Reply Quote 0
          • U
            uncle_muddy administrators last edited by

            ticket_zps8d2611e4.jpg

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

              Top work! Steals money.

              Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                Awesome sauce boss, was going to tell you to run the sketch with the USB cable in and the Arduino Serial Monitor open to see where it was crapping out on you, but it looks like you’ve got it licked.

                I’m travelling to Greece for work early on Monday so may have some time to sit and play and make some changes to the original sketch to increase functionality (possibly accept other coins) while waiting around airports, will let you know how I got on, but well done getting this working so far!

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

                  Do any of you guys know anything about process?

                  I’ve been doing some digging into the QRCode functions again and have come across OpenBitcoinQRConvert.pde It sounded like it might be the answer to my problems so after a little digging I discovered that I could just open it with a text editor…

                  The 1st couple of lines say the following

                  // Convert image to a C header file suitable for the Adafruit_Thermal library.
                  // This is NOT an Arduino sketch.  Runs in Processing IDE (www.processing.org)
                  

                  So it looks like it is the file I’m looking for, I have tried downloading from processing.org, and following the some what cryptic instructions to get this to work but I’m failing…

                  I have a web server sitting on a Pi that is dealing with the address to QR creation, can anyone point me in the right direction to get this running on the same web server so I can use it to generate the required hex for the private keys easily

                  UM

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

                    After a lot of digging I think I have the answer :)

                    #define 0wB0
                    #define 0hB0
                    
                    
                    static {
                      0xFF,0xFF,0xFF,0xFC,0x03,0xFE,0x01,0xFF,0xF0,0xFF,0x80,0x00,0x00,0x1F,0xFF,0x00,0xFF,0x80,0x7F,0xFF,0xFF,0xFF,
                      
                    other random lines that look like they might be right
                      0xFF,0xFF,0xFF,0xFC,0x03,0xFF,0xE0,0x0F,0x0F,0x07,0x80,0x3C,0x00,0x1E,0x1F,0xF0,0x07,0xFF,0x80,0x3C,0x00,0x00,
                      0xFF,0xFF,0xFF,0xFC,0x03,0xFF,0xE0,0x0F,0x0F,0x07,0x80,0x3C,0x00,0x1E,0x1F,0xF0,0x07,0xFF,0x80,0x3C,0x00,0x00
                    };
                    

                    Problem is I’m not going to be in front of the ATM to test it until tomorrow afternoon :(

                    But if I’m right we are all systems go, will be getting the drawing finished tomorrow night and then they will be off to the laser cutter later this week.

                    Now to cosmetics…

                    Does any one have a preference on the colour of the box? lol

                    UM

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

                      Feathercoin colours IMO. Perhaps even including the pcb style wiring decals.

                      Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

                      1 Reply Last reply Reply Quote 0
                      • D
                        Davereplicant Regular Member last edited by

                        This is great. I’m thinking how cool would it be to make a cash machine that works the other way round.
                        Send your FTC and you get Cash!

                        Considering the recent hassles with gox and the general inability for mere mortals to convert FTC to cash I think this machine would be a good partner for your invention.

                        Cash to FTC and FTC to cash. There’s a business there for someone!

                        It would certainly help your oxford blue landlord cash out in order to buy more barrels of beer or any other high street merchant for that matter.

                        I think there’s a need for this on the street, it’s one thing accepting feather coins but if you want to pay your supplier in FIAT it’s a different matter. A nice mod would be that the FIAT value is transferred to your account via BACS ( possibly by inserting a bank card?)
                        I’m sure you guys have thought of this already.

                        1 Reply Last reply Reply Quote 0
                        • D
                          Davereplicant Regular Member last edited by

                          On second thoughts
                          It’s one machine with the ability to do either!

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

                            OK, It looks like the QR issue is solved, but I have a couple of errors in the code…

                            The logo file gets deleted after the 1st print comes off

                            I don’t get a log file written to the SD card

                            Any help guys?

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

                              You want to know what it looks like in raw format??

                              atm_desk_zpsf5e35651.jpg

                              and printing…

                              http://s750.photobucket.com/user/toftrjuk/media/IMG_1400_zps658ab70c.mp4.html

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

                                OK, It looks like the QR issue is solved, but I have a couple of errors in the code…

                                The logo file gets deleted after the 1st print comes off

                                I don’t get a log file written to the SD card

                                Any help guys?

                                Any way to mark the logo read only?

                                Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                  Changed the code to resolve the logo issue now, just working on the log file bit.

                                  Might have a slight problem with what happenes when the SD card is empty of QR codes thou as the coin taker doesn’t have an enable pin. So might have to make up a small circuit to cut the power to the coin taker once the card is spent.

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

                                    Just use a single channel relay, cheap as chips.
                                    I can send one after the weekend when I’m home from Greece if that helps.

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

                                      I’ve got a couple here, but thanks for the offer :)

                                      I’m not seeing anything in the code to drop pin3 to ground thou but I may be missing it.

                                      I have the log file sorted now that I have added a statement to call it that was missing. Just need to look at the RTC as the date is rubbish!!

                                      I also need to work out how to get the modified code onto Github as I have no idea about that, if nothing else comes of this I can say I have learnt a fair bit :D

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

                                        I suspect that the RTC is the problem with the logfile, as it’s logging data just not what I was expecting from reading the code

                                        This is the output

                                        Feathercoin Transaction 1265845585,2165/165/165 165:165:85
                                        Feathercoin Transaction 1265845585,2165/165/165 165:165:85
                                        Feathercoin Transaction 1265845585,2165/165/165 165:165:85
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User last edited by

                                          This is so sweet guys… Truly epic… If we can have a working prototype to show the world during the 1 year anniversary, it could get a lot of attention.

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

                                            @Calem I’m hoping for more than one by then :)

                                            This should be good to go before the next meet up just need to find some one to do the sticker printing as I only have access to powered coaters so its going to look very boring

                                            UM

                                            EDIT *** 500 posts :) ***

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