Pages:
Author

Topic: Arduino Library to interface with Bitcoin (Read 15891 times)

newbie
Activity: 79
Merit: 0
January 23, 2018, 02:07:51 AM
#25
That would be wonderful but it's a bit early for embedded system. And I had a similar idea and would be interesting in helping.
jr. member
Activity: 42
Merit: 2
January 18, 2018, 05:56:09 PM
#24
Hi Guys

Do we have any news on that? It is already almost 8 years since the subject created.
I would be interested in simple bitcoin library for Arduino. I just want to sign transactions so I can make my own hardware bitcoin wallet.

Thanks
P

hero member
Activity: 616
Merit: 500
August 30, 2015, 12:33:36 PM
#23
BUMP.

This would be incredibly useful in building redundant data collection and storage for IoT devices. An arduino based device would send a transaction containing sensor data, that would then be automatically stored in a p2p blockchain easily available for analysis.

Is arduino even technically capable of connecting to bitcoin network and sending transactions?
ne1
member
Activity: 84
Merit: 10
September 12, 2011, 04:41:02 PM
#22
Using a wifi shield the arduino could easily interface with a central server which does the "thinking".  This would cover situations where you want multiple tiny lightweight point of sale systems in a generally small area.


Exactly!!!!
ne1
member
Activity: 84
Merit: 10
September 12, 2011, 04:39:59 PM
#21
I'm not even thinking client at this point.  I think it is that, that has put people off of working on it as an interface for mechanical action.  What I mean is that I think people are over complicating what I think this project should be about.  We simply need bitcoind to verify payment and tell arduino to turn on motor/pump etc.

Think petrol pump........
legendary
Activity: 1666
Merit: 1057
Marketing manager - GO MP
September 12, 2011, 04:33:01 PM
#20
Count me in, I have an Arduino Ethernet which was lying around until now which I think would be the ideal Platform to attempt this. I hope it has enough resources to run a client we will see Smiley

There already is a Json lib for it here:

http://arduino.cc/blog/2010/11/15/ajson-the-arduino-json-library-is-released-in-v1-0/
ne1
member
Activity: 84
Merit: 10
September 12, 2011, 04:19:37 PM
#19
after doing a little digging.  I think the best way is to have python script listen to bitcoind for payment sent to specific address and then python script posts http to arduino via ethernet shield.

so for example - you have a soda fountain with open source pos attached and you send sprite .3 bitcoins.  Python script interperets and sends aproval for .3 btcs worth of sprite.

http://bildr.org/2011/06/arduino-ethernet-pin-control/
hero member
Activity: 742
Merit: 500
September 09, 2011, 02:58:32 PM
#18
http://www.raspberrypi.org/

I think that a raspberry pi is a better platform for a dedicated wallet device.  Add wifi, Dash7, NFC and (maybe) a 3/4G radio to the device; a touchscreen, and a secured wallet.dat.  Allow it to use Dash7 continuously to locate both wifi hotspots to automaticly use by turning on and off the wifi radio at it's own need as well as locate other such devices to either sync blockchains with or to perform wireless transactions with in meatspace.

Even without the ability to use Bitcoin, a Raspberry Pi in a portable format with a Dash7 radio and either wifi or 3/4G would be a wicked mobile pc.  I can think of a half dozen things that I would do with it right now.

+1

I'm glad to see that the Raspberry Pi might not be vaporware after all. Anyone know what the power consumption is like? Might be an awesome portable hack platform if it can run a good long time on a small LiPo cell...
sr. member
Activity: 518
Merit: 250
September 09, 2011, 02:21:46 PM
#17
Using a wifi shield the arduino could easily interface with a central server which does the "thinking".  This would cover situations where you want multiple tiny lightweight point of sale systems in a generally small area.
legendary
Activity: 1708
Merit: 1007
September 09, 2011, 02:16:14 PM
#16
http://www.raspberrypi.org/

I think that a raspberry pi is a better platform for a dedicated wallet device.  Add wifi, Dash7, NFC and (maybe) a 3/4G radio to the device; a touchscreen, and a secured wallet.dat.  Allow it to use Dash7 continuously to locate both wifi hotspots to automaticly use by turning on and off the wifi radio at it's own need as well as locate other such devices to either sync blockchains with or to perform wireless transactions with in meatspace.

Even without the ability to use Bitcoin, a Raspberry Pi in a portable format with a Dash7 radio and either wifi or 3/4G would be a wicked mobile pc.  I can think of a half dozen things that I would do with it right now.
ne1
member
Activity: 84
Merit: 10
September 09, 2011, 01:47:50 PM
#15
The idea of creating an embedded client is overkill and imo out of the question, however microcontroller integreation is undeniably important in the long run(as well as short run).  This maybe obvious to most and that's why no one has put any effort towards playing with it, but there are a lot of really cool things that could be done having an arduino rpc or serial to bitcoind to get info and then do....whatever.  I think the arduino platform is ideal because it has a large user base of open source manufacturers, hackers, tinkerers, makers etc.  with a lot of copy/paste code floating around.  A simple arduino to bitcoind or the open source bitcoin pos (https://github.com/javgh/greenaddress-pos-tools) demo could go a long way in getting some cool hardware projects going.  For starters, just to have arduino check bitcoind and look for payment and then "light up pin 13" (see video posted earlier in thread or the movie middle men  Wink ) or print "thank you for your payment 1DUW44" to 20x2 LED would be bad ass.  In fact I've got 5 btc on it to whoever can.
hero member
Activity: 686
Merit: 564
September 09, 2011, 01:23:17 PM
#14
Since the Arduino doesn't have the processor or memory requirements to run a thin client you'd just be connecting to a bitcoind server via SSL, which seems simple enough. If that's all you need you don't even need an Arduino, why not code around something crazy cheap like the TI-MSP430? $5 for a dev board and 50 cents for the chip itself opens Bitcoin up to even lower-cost applications than the Arduino would.
Don't think that'd even have enough RAM to speak TCP/IP, let alone be able to run SSL.
legendary
Activity: 1386
Merit: 1003
September 09, 2011, 01:18:03 PM
#13
I sell Arduino for bitcoin if anyone is interested.

hero member
Activity: 742
Merit: 500
September 09, 2011, 01:06:24 PM
#12
Since the Arduino doesn't have the processor or memory requirements to run a thin client you'd just be connecting to a bitcoind server via SSL, which seems simple enough. If that's all you need you don't even need an Arduino, why not code around something crazy cheap like the TI-MSP430? $5 for a dev board and 50 cents for the chip itself opens Bitcoin up to even lower-cost applications than the Arduino would.

Not that I'm discouraging development on Arduino, it's a great platform, I just think we need to encourage development on ALL of these platforms.
legendary
Activity: 1386
Merit: 1003
August 09, 2011, 11:29:12 PM
#11
I am selling the arduino's FOR bitcoins.  Smiley 
member
Activity: 84
Merit: 10
August 09, 2011, 10:01:05 PM
#10
Is anybody working on this? I had a similar idea and would be interesting in helping. What about using Processing to create an app that could run on a web server, and then pipe info back in forth to the Arduino.
might be quicker to use nodejs.
newbie
Activity: 20
Merit: 0
August 09, 2011, 06:16:13 PM
#9
Is anybody working on this? I had a similar idea and would be interesting in helping. What about using Processing to create an app that could run on a web server, and then pipe info back in forth to the Arduino.
WNS
newbie
Activity: 39
Merit: 0
I don't think it would be that difficult.  I'm not saying I can do it.  I don't quite have the skills, but I think it could be something like this.

http://infinityexists.com/videos/arduino-arp-cop/

Not to rain on the parade, but you realize that the arduino in this vid does essentially Zero processing right?

Even if you don't do the ECDSA (which even on bare AVR is probably not possible due to memory restrictions) you still need to securely connect to something that does, which means running at least SSL(also probably impossible), and having a net connection etc.

Android is a much better platform, and thanks to the economy of scale if the cell phone market, not prohibitively expensive in an embedded application. You can pick up an unlocked older model unit to root for < $200, and once you have a working prototype, you can have a cell enabled embedded bitcoin module built for the application.
newbie
Activity: 13
Merit: 0
I'm just getting into Ardruino, let me know if I can help.
legendary
Activity: 1330
Merit: 1000
I have some experience with embedded systems and Arduino, and I see the need for a physical Bitcoin wallet.  So I will be looking into this over the next couple of weeks.
Pages:
Jump to: