Open Source ATM
-
I’m only presuming the image is two colour to be honest, because previous printers I’ve played with had that limit. I’ll have a read over the printer documentation to see if we can handle other greyscale shades.
-
I think I have something wrong here my output looks some thing like this
:2000000049492A00701300008000204FF814160D0784426150B864361D0F88439FF1388C68 :200020004003178AC6627048CC362E018EC8625148747E450F8DC9E552B9647A312D95CA53 :2000400066102934CE0F3299CD66D3B9E4F60D1C9F50685119C4C2753CA2CB68F4386526DF :20006000154B9B53A995395542A937924E65F3DA9556B757B05840140B1596A359A357E74A :2000800075D93D5AC56C835BA5B70B35D6696AB35D23B72965EA337CBB6064F64C161689A0 :2000A00068A55E2677E8AE02A97EC760F1186BB646998C88E5A43988B62B299F88612139FF :2000C000CD04973D0BD269A4123D156B570DD4E674F22D2647639DD7E96C1B787EDB272E37 :2000E000DCEA37F5EE0EB37569E2E878DC79666A07C3B6ECE0BBCD54A3A1CDE94776BD9BE3 :200100001F5E57CEE65F7BDC4EB6B619BEF3747934DF1F8781B4E5FBA45E0EA427D141FB7A :20012000CFBC1F1DC797F0EE3E4F13D2EC3D6AC406FB3B8FAA10FA3DB00C1102B60FE41CA3 :20014000D9420D1C1B0A3FCFD4130BAF70030F03C170DC40F5426A141485BF30C42502236A :2001600050E44A003F681C5707B0AC843CE7C4714BCF1BBBB11B1B1E27D1B42A844850CCF5 :200180005F0EC8716C7C82C630748A8AC9EC0CA28D46710C92CBBDB064731137B1E44EB89A :2001A000C80AE4B32F4C724CBEF749AE1496BBCAF23C7B2ECDB1C4E11ACCAF83613AB05213 :2001C0009C8D1DCCD3C43E9DCD2B3CB738CDEEACAB374F8B5C5D40BDD3D50F3050920CFDCD
not quite what I was expecting ::)
Hmm. How did you generate that?
-
bin2hex
I’m so confused right now :-\ I just don’t understand it at all
-
I had issues too, I called the file logo.ofa for Open Feathercoin ATM, had issues with converting between them and seeing what it looked like too. Might get some more time in the next few days to investigate further…
-
The problem with this bit is it needs to be a rinse and repeat process because it’s need for the private wallet qrcodes i.e. 1 for every ppurchase from the ATM
-
Yeah, I’m getting the same rubbish.
-
Bugger
-
try
{
0x00,0x00,0x1F,0x30,0x10,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x03,0x06,0xFA,0x02,0x0A,0x0A,0x0A,0x0A,
0xF2,0xFA,0x06,0x05,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x07,0x19,0x26,0x58,0xA0,0x40,0x80,0x04,0x00,0x00,0x00,0x00,0x02,0x00,0x00,
0x00,0x00,0x00,0x00,0x80,0x40,0x20,0x90,0x6C,0x1D,0x07,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x1F,0xCF,0xF0,0x00,0x00,0x00,0x0E,0x05,0x06,0x06,0x06,0x06,0x06,0x06,0x03,0x06,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xFF,0x3F,0x00,0x00,0x00,0x00,
0x00,0xFF,0x20,0x30,0x20,0xC0,0xC0,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xC0,0xC0,
0xE0,0x70,0x3D,0x07,0x00,0x00,0x00,0x00,0x00,0x03,0x0F,0x3C,0x50,0xA0,0xC0,0x80,
0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xC0,0x60,0x38,0x1F,0x07,0x00,0x00,0x00,0x00,
0x00,0xFF,0xE7,0x18,0x10,0x20,0x40,0xC0,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
0xC0,0xA0,0x5F,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x80,0xFE,0x79,0x06,0x01,0x00,0x00,0x80,0x40,0x40,0x20,0x20,0x40,0x80,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x1F,0xFC,0xE0,0x00,0x00,0x00,0x00,
0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x01,0xFF,0x7C,0x00,0x00,0x00,0x30,0xFF,0x87,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0xA0,0xE0,0x00,0x00,0x00,0x00,
0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x80,0x40,0xB0,0x58,0x0C,0x14,0x0A,0x06,0x05,0x06,0x02,0x02,0x02,0x02,
0x06,0x05,0x06,0x0A,0x0C,0x1C,0x38,0xF0,0x60,0x80,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xFF,0x28,0x28,0x18,0x0C,0x04,0x06,0x02,0x02,0x02,0x02,0x02,0x02,0x06,0x0A,
0x04,0x3C,0x78,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xD0,0x28,0x14,0x0A,0x06,
0x05,0x02,0x02,0x02,0x02,0x03,0x06,0x06,0x0C,0x1C,0x38,0x30,0x00,0x00,0x00,0x00,
0x00,0xFE,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xFE,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,
0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,
0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
}; -
Also the image is 248 x 135 which needs changing in the define on the first two lines.
-
whats that and how did you get it?
-
That should be the new logo’s code.
-
So at the moment I have no way of checking, but how did you get that and what did you start with?
I’m going to pop out in a bit and get some components to make up the circuit board, so hopefully a little later we can try some of these things out :)
-
Just trying to find the link. Gimme two.
-
Found. I’m in work, so had to close the window and my history is not set to save. DOH!
http://www.hobbytronics.co.uk/bmp-lcd-converter
Saved your png as a bpm and ran it through the converter listed. Is there enough there? Doesn’t seem like a lot?
-
Ahhh right cool, give me 2 and I will check it against the other one
-
Humm, theres a lot less in your code to that of the original file. Give me a couple of hours or so to go get some hardware and glue some bit’s together and we will see what happens
-
Yeah, it doesn’t seem like much. Thanks. Keep me posted.
-
I’m gonna pin this if that’s ok.
This is getting epic!
-
Sorry guys I got side tracked last night and made no more progress on this than picking up the rest of the components needed.
I’m taking a couple of days with Mrs Muddy for our 2 year anni, but will try and get back on this on Saturday, might even have a coin taker by then :)
Mental note to self save £1 coins for setting up the taker as it needs samples to work from
-
Hey that’s fine man. This is a nice solid project now.
Thank you Muddy, Wyrm and Spynapples for the work so far, and especialy Kevlar for the OP!