This is awesome, thanks for sharing!! 3 problems I ran into following this sweet guide that turned a 10 min job into 3+ hours. 1. Check the usb cable you are using. If/when you plug the esp8266 in to a Win 10 box for the first time, it should recognize it even before you install the driver. I tried 3 diff cables before 1 of them did this and worked. 2. When you install the Arduino json library, make sure you select the version Brian uses in this tutorial. If you use the newer version, you will receive json errors compiling. 3. Use a baud rate higher than 9600. Even though my chip says to use 9600, it would fail. I also had to tweak a few other performance settings for the transfer/compiling to complete successfully. (Just increase the default settings until it works for you.)
Thank you for this project, I have been trying to get it to work, I'm having a error loading data pop up on my is2 display. Any ideas? Thank you for all your work!
for those who have error loading , first, if you use the same one in the video moduleV3 Nodemcu-CH340 board based ESP8266 ESP-12E then you have to select the correct board Tools->Board->esp8266 Board->nodemcu 1.0, Second, you have to change Arduino Json version to an older one from 6.X to 5.X as following Sketch->Include Library->Manage Libraries-> type "json" in the search bar and go to Arduino Json you will find the last version installed already , change it to older one 5.X from the drop down
Hi brian, I get "error loading data" on the screen. Ive double checked my wifi credentials. Is it possible there might be a newer API of the coinmarketcap since the video? Thanks.
Thanks Brian, great video and tutorial. I purchased the parts you listed from AliExpress. For the life of me I couldn't get the blink code to work. It appeared to upload fine but it never blinked. I read online that in newer models the led was moved to GPIO2. I decided to try to upload your code despite not getting blink to work and it worked great. Thanks!
Great to hear you got it working! The node MCU board had two built in LEDs (for some reason?) , maybe the main one is broken, to use the second one try using "D4" as your pin number.
+Tor Ivan Boine not necessarily! Sorry I'm in my mobile so I can't copy and paste it but I replied to another person (mike) with details on how you could connect up multiple screens. The arduino is actually doing nothing most of the time with this so really should be fine to run mutlipel screens once you get over the issues described in the other post
Hello. getting the following error concerning the D3 and D5 pins Arduino: 1.8.13 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200" cryptodisplay:50:17: error: 'D3' was not declared in this scope #define SDA_PIN D3 ^ C:\Users\Jim\Documents\Arduino\cryptodisplay\cryptodisplay.ino:73:22: note: in expansion of macro 'SDA_PIN' SH1106 display(0x3c, SDA_PIN, SCL_PIN); ^ cryptodisplay:49:17: error: 'D5' was not declared in this scope #define SCL_PIN D5 ^ C:\Users\Jim\Documents\Arduino\cryptodisplay\cryptodisplay.ino:73:31: note: in expansion of macro 'SCL_PIN' SH1106 display(0x3c, SDA_PIN, SCL_PIN); ^ exit status 1 'D3' was not declared in this scope
Super simple and it works great! Following your steps in both videos, and finally selecting the correct board and it works as smoothly as I could have hoped for! Great first project!
Hey! Thanks a lot! Which wallet did you send it to, I didn't get any notifications from coinbase about it. No I never did, I guess the screen library doesn't support it at the moment
Thanks a lot Paul. I watched your one a few months ago, I liked it a lot, it was a good simple project to do because that JSON file was very easy to integrate with! I spent a good bit of time working on the library for this one. It recently broke too because they shut of the HTTP endpoint (which I was using because it was faster than HTTPS) so i needed to update, thankfully I hadn't got around to making this video!
Is it possible to modify this sketch to work with Arduino Uno/Mega with Ethernet shield? Also it would be nice if it would be able to display total market cap witch is very useful too . Great project
+Artur Z coinmarket cap requires HTTPS which the Ethernet shield does not support so no. Total market cap was available from the api I think, but I think since I wrote the library that number has gotten too big!
+Artur Z I'm not sure exactly what the problem with it is, I just ran the example from the library recently and in place of where market cap should have been printed it printed "overflow" instead I'd imagine is possible to read the value in as a string if it's too big if a number, but to be honest it's not something I'm going to be able to get around to anytime soon
Hey Brain, fantastic work!! I was wondering. Is this also possible on a raspberry pi 4? I have a umbrell node running on it and thinking about adding a btc ticker but not sure how to do this. What do you think? Via the nodemcu board or should it also be possible via the raspberry?
First @Brian Lough thanks for such an easy and wonderful video. I have tried using multiple NODEMCU boards and two different 0.96 displays. nothing comes up in the display. Is it because of the API issue or am i doing something wrong. Code compiles good and i have the cables hooked up correctly. Any one pls help... I would love to have such a ticker running to watch the FAVs constantly
Just followed this to the letter and cooked my D1 mini - Its not even showing up in the Windows Device Manager after the upload. Is my board toast ? - Is there any way to revert changes ?
This is so cool, nice one! You know what would be good, is if you could put a red and green LED and if the currency is down, turn on the red LED and if it's up, turn on the green LED? Is there a bigger screen that could show 10 currencies at once for e.g? Then just refresh every 5 mins or so.
+Neo Matrix hey, thanks alot! Yeah that's a good idea, would be easy to do as well. Arduino screens tend to have a low enough resolution so I'm not sure if you'd find something that could fit 10. One thing you could maybe do is connect 10 of these screens up using something called i2c multiplexer. I've never tried one though!
If you're still interested, a chap called Michael Klements recently put together something like you've described. A PCB with the microcontroller, OLED and LEDs all mounted on an acrylic stand. A compact version could also be made using a microcontroller with build-in OLED, e.g. Heltec WiFi Kit 32.
Hey Craig, Nothing for the wemos anyways, but I guess you would need to find a library that works with that screen. You will also need to adjust what is displayed so it will fit
+PeterLustig hey, shouldn't be too hard, it already checks when it's time to change screen in the loop, if you just added an extra state to display that screen it should work
Hey Brian Lough I getting and error compiling for board Arduino/Genuino Uno and says No such file or Directory on ESP8266WiFi.h. Can you point out what's wrong???? Thanks in advance
after powering down it will only come back on by hitting reset. any change in code to get it to autostart? thanks . my first arduino project and i love the small cost of entry. thanks for the work you have done!!
+tom bradway your welcome! Delighted to hear that you liked it. Could you explain how your powering it down? If I just plug out the micro usb cable and then plug it back in it seems to work OK for me so just want to check if that's what you mean?
Brian Lough figured it out . It locks up after plunging in usb on computer . Wall plug works every time. Any chance you will write sketch for a stock ticker ? Can you add text on screen showing logging in to network i.e. connected to ... Thanks
+tom bradway hey, your comment got flagged as spam for some reason, only after seeing it now. Yeah very possible to add more info to the boot up, but I probably won't be revisiting this project for a while . You would add the changes into setup method. I'm sure its possible with the right api, it's not something I would be too interested in at the moment though. I'm absolutely swamped with projects!
It's not a trivial thing to do, but it is possible. Coding wise it wouldn't be a big deal, but these displays use a protocol called i2c, which operates on an address system. Devices of the same type will have the same address. There is a jumper on the back of the screen that you can solder closed to change the address which would give you 2 screens that have different addresses but more than two you will have to do something else Adafruit sell a i2c multiplexer that would allow you to connect up to 8 screens. www.adafruit.com/product/2717 I bought one but I still have not gotten around to using it yet so I can't really provide anymore info than that! Hope that helps
Hi guys, Wondering if somebody would be kind enough to help me. I've uploaded the sketch fine but my OLED doesn't work but trying it on a GPS sketch works fine. I cant see what driver it uses and it was a while ago when I bought it. Any ideas? Thanks
@@BrianLough First thanks for answering, it is greatly appreciated. Second, I tried his and it didn't work either unfortunately, I must be doing something wrong. And lastly, his code is only supposed to work for bitcoin and my main objective is Doge. To The Moon!
hey thanks for the reply. I figured out the port issue, so i deleted my comments about it (thats why you cant see them :) ) I am having a new issue though. I am getting an error when I try to compile the code :/ havnt figured out why
hey its me (BeeDee Dee), just on my wifes laptop and cant login into my youtube account because i dont know the password. anyways, this is the error I get when trying to compile: Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200" /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp: In member function 'CMCTickerResponse CoinMarketCapApi::GetTickerInfo(String, String)': /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:70:3: error: 'DynamicJsonBuffer' was not declared in this scope DynamicJsonBuffer jsonBuffer; ^ /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:70:3: note: suggested alternative: In file included from /Users/fengyuan/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/DynamicJsonDocument.hpp:10:0, from /Users/fengyuan/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:9, from /Users/fengyuan/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9, from /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.h:24, from /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:1: /Users/fengyuan/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/DynamicJsonBuffer.hpp:159:5: note: 'ArduinoJson::Internals::DynamicJsonBuffer' DynamicJsonBuffer; ^ /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:70:21: error: expected ';' before 'jsonBuffer' DynamicJsonBuffer jsonBuffer; ^ /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:71:20: error: 'jsonBuffer' was not declared in this scope JsonArray& root = jsonBuffer.parseArray(response); ^ exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module). This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Very nice!! I'm not really into arduino but would it be amazing to preconfigure various wifi and their passwords in the code (for example, home: 1234, university: 4321, library: 0420, etc..) and then adding a buttom to navigate throught the different wifi's so you can choose which wifi to use in case you have your device connected to a lipo and want to bring it with you.
+PRAWON that would be a good addition! You should also check out WiFiManager, it will create an adhoc network for you to connect to set a wifi password if it fails to connect to the last network. ua-cam.com/play/PLbd5_U5QzQgZ8Ni8F48G2gnMgCkN6saUT.html I think this sketch needs improved before it can be used though, I found it was unstable (I think it uses too much ram)
+Alex Benson of you are using the board from the video, make sure in the Arduino ide you have the correct board selected Tools->Board And select Nodemcu 1.0
when its compiling it says "WARNING: Spurious .github folder in 'ArduinoJson' library". The link for that library was not in the code so i took it from here github.com/bblanchon/ArduinoJson but maybe its not the right one?
hm, i‘was read now only the issue about the coinmarket cap api. i‘was try 2 hours to found out what i‘was do wrong ... some update of the code will be nice .....
@@introligator_ You should use the code in the link and copy the code for the WiFi connection from here as most of the other code doesn't work. Other than that you just assign the API key. Also make sure you download the library from the link instead of this one. IIRC they interfered with each other.
@@keviloworks5486 Sorry but I don't understand where I must write my API Key, can you tell me this, please? I create an account on Cryptocurrence.com and I create a valid key, and now How I must proceed? Thanks and ciao
+Talbot Simons sounds like its not connecting to the WiFi correctly, could you double check your WiFi name and password (make sure there are no unwanted spaces at the end etc)
Hey thanks for getting back so fast! I have tried my home network, my cell phone hotspot - with and without encryption enabled. I can't seem to get this board to connect! I ordered off one of your Amazon links but my board doesn't QUITE look the same... Slightly different color scheme.
I'm starting to feel like there may be a problem with this board. I have ordered 2 more and will attempt this again. my com output is just a bunch of "⸮⸮⸮⸮⸮⸮⸮⸮⸮"
Also - if this board is supposed to have a network activity LED, it has a VERY dim red LED. I'll report back once I get the 2 additional units. - in fact under close inspection I think the one I received is missing a resistor. =(
Brian Lough , I get two errors when I try to compile the code. 1) ‘jsonBuffer’ was not declared in this scope 2)’class ArduinoJson::JsonArray’ has no member name ‘success’ I’m not sure what went wrong.
I'm getting error while i'm trying to compile Arduino: 1.8.2 (Mac OS X), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, 115200, 4M (3M SPIFFS)" /Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp: In member function 'CMCTickerResponse CoinMarketCapApi::GetTickerInfo(String, String)': /Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:70:3: error: 'DynamicJsonBuffer' was not declared in this scope DynamicJsonBuffer jsonBuffer; ^
@@gerohoffmann2 Check : github.com/witnessmenow/simple-arduino-crypto-display ... "NOTE: Coinmarket cap have changed their API and this project currently does not work with it" :(( ..
@@gerohoffmann2 i just wrote a script to get price info from CMT API and failed(which is told to be free in their API document).need to use another exchange's API
I have figured out the problem regarding getting stuck on the HODL start screen. I ordered my boards from one of your links above. It appears THAT version of the dev board is not fully compatible - at least directly with your code. SO - after lots of wasted time I went ahead and ordered the EXACT board you use in the video - and it works immediately. Happy to report it's flawless now thank you - however - you may want to revise the links above and remove this link "amzn.to/2wobS83" as it's simply not working. - In fact I tried a couple links from amazon and none of them worked. The cheaper LoLin boards - which is what is used in this video work no problem. I found a link on Aliexpress for them. =) @Brian Lough - Thanks for your time troubleshooting. Hopefully my now solved issue helps someone else executing this project.
Congratulations !! It 's a good work. Is it possible to explain how to make the same thing with the Nokia 5110 display ? (seen at the end of the video) Edit : it is here github.com/witnessmenow/ArduinoCryptoCoinDisplay Could you send the 3d Printing Files of the Nokia 5110 case ?
Hi Brian, sorry to bother you again :-) I plan on making this for a good friend of mine and really like the WiFimanager software from tzapu github.com/tzapu/WiFiManager that will allow connection via a Access Point requesting his credentials easily before then running your sketch. I have both sketches compiled and running independently but am having trouble combining both sketches? Hoping this may give you an idea for a future video ;-) Keep up the great vids
C:\Users\avisr\Downloads\Crypto_Tracker_8589\Crypto_Tracker_8589.ino:29:10: fatal error: SH1106.h: No such file or directory 29 | #include "SH1106.h" | ^~~~~~~~~~ compilation terminated. exit status 1 Compilation error: SH1106.h: No such file or directory
This is awesome, thanks for sharing!! 3 problems I ran into following this sweet guide that turned a 10 min job into 3+ hours.
1. Check the usb cable you are using. If/when you plug the esp8266 in to a Win 10 box for the first time, it should recognize it even before you install the driver. I tried 3 diff cables before 1 of them did this and worked.
2. When you install the Arduino json library, make sure you select the version Brian uses in this tutorial. If you use the newer version, you will receive json errors compiling.
3. Use a baud rate higher than 9600. Even though my chip says to use 9600, it would fail. I also had to tweak a few other performance settings for the transfer/compiling to complete successfully. (Just increase the default settings until it works for you.)
Thanks for the tips. I couldnt get it to install until I saw this!
Thank you for this project, I have been trying to get it to work, I'm having a error loading data pop up on my is2 display. Any ideas? Thank you for all your work!
Not working anymore, do you know if there have been changes to the coinmarketcap API ?
for those who have error loading ,
first, if you use the same one in the video moduleV3 Nodemcu-CH340 board based ESP8266 ESP-12E then you have to select the correct board Tools->Board->esp8266 Board->nodemcu 1.0,
Second, you have to change Arduino Json version to an older one from 6.X to 5.X as following Sketch->Include Library->Manage Libraries-> type "json" in the search bar and go to Arduino Json you will find the last version installed already , change it to older one 5.X from the drop down
connected with wifi but the screen is empty
Bro I got this running but it just displays error loading data, has the api changed so the code needs updating?
Same here
@@OffroadMXbohemia Theres an updated code set somewhere online
Hi brian, I get "error loading data" on the screen. Ive double checked my wifi credentials. Is it possible there might be a newer API of the coinmarketcap since the video? Thanks.
We have received the same error, did you come up with a fix? We get his opening title and then the error message.
Same here. Any solution?
Thanks Brian, great video and tutorial. I purchased the parts you listed from AliExpress. For the life of me I couldn't get the blink code to work. It appeared to upload fine but it never blinked. I read online that in newer models the led was moved to GPIO2. I decided to try to upload your code despite not getting blink to work and it worked great. Thanks!
Great to hear you got it working!
The node MCU board had two built in LEDs (for some reason?) , maybe the main one is broken, to use the second one try using "D4" as your pin number.
cool :) what should I do to have several displays for several tickers? would I need one NodeMCU for each display?
+Tor Ivan Boine not necessarily! Sorry I'm in my mobile so I can't copy and paste it but I replied to another person (mike) with details on how you could connect up multiple screens.
The arduino is actually doing nothing most of the time with this so really should be fine to run mutlipel screens once you get over the issues described in the other post
Hello. getting the following error concerning the D3 and D5 pins Arduino: 1.8.13 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
cryptodisplay:50:17: error: 'D3' was not declared in this scope
#define SDA_PIN D3
^
C:\Users\Jim\Documents\Arduino\cryptodisplay\cryptodisplay.ino:73:22: note: in expansion of macro 'SDA_PIN'
SH1106 display(0x3c, SDA_PIN, SCL_PIN);
^
cryptodisplay:49:17: error: 'D5' was not declared in this scope
#define SCL_PIN D5
^
C:\Users\Jim\Documents\Arduino\cryptodisplay\cryptodisplay.ino:73:31: note: in expansion of macro 'SCL_PIN'
SH1106 display(0x3c, SDA_PIN, SCL_PIN);
^
exit status 1
'D3' was not declared in this scope
Code dosnt work. Ive tried everything i could to make it work and It doesn't
Super simple and it works great! Following your steps in both videos, and finally selecting the correct board and it works as smoothly as I could have hoped for! Great first project!
Hey just finished it and thought i would tip you :^). Btw did you found a way to display the "€" sign
Hey! Thanks a lot! Which wallet did you send it to, I didn't get any notifications from coinbase about it.
No I never did, I guess the screen library doesn't support it at the moment
Hi, do you have the updated code/any fix?
Also, if i would like to use a diffrent display how would i need to wire it up? Thanks in regards!
Hello,
Is there a code sample to display stock prices, like GME , instead of crypto?
I’ve bought a 1.3” Display OLED I2C SSH1106 Chip 128 x 64 Pixel I2C
I can't solve the problem.
Can you give me some suggestions? Thank you
This is awesome. It is hard to design something so simple and elegant. I will make one and design my own housing :)
+GrinningDemon thanks! Please share here what you come up with!
Hi Brian. Thank you for your work, I try it on wemos D1 everything work, have only problem with i2c 128x64 need edit text with and height
Thanks for your videos Brian. They are very interesting to watch.
Thanks Omar, it really does mean a lot!
Awesome! I saw a project that use the same components that you use, but it is a mining monitor, did you ever seen something like this? Regards
I’m stuck at the “HODL Display by Brian Lough” screen. It doesn’t change. Anyone have any idea what’s going on?
Very nice. I like it much better than the one I did a couple of months ago.
Thanks a lot Paul. I watched your one a few months ago, I liked it a lot, it was a good simple project to do because that JSON file was very easy to integrate with! I spent a good bit of time working on the library for this one. It recently broke too because they shut of the HTTP endpoint (which I was using because it was faster than HTTPS) so i needed to update, thankfully I hadn't got around to making this video!
Is it possible to modify this sketch to work with Arduino Uno/Mega with Ethernet shield? Also it would be nice if it would be able to display total market cap witch is very useful too . Great project
+Artur Z coinmarket cap requires HTTPS which the Ethernet shield does not support so no.
Total market cap was available from the api I think, but I think since I wrote the library that number has gotten too big!
Brian Lough no way to display let's say 550 B? First 3 digits would be enough. Thanx for your response!
+Artur Z I'm not sure exactly what the problem with it is, I just ran the example from the library recently and in place of where market cap should have been printed it printed "overflow" instead
I'd imagine is possible to read the value in as a string if it's too big if a number, but to be honest it's not something I'm going to be able to get around to anytime soon
Did all by ur guide, but in display i have message error loading data. What can it mean?
Hello, my D1 mini resets every 2 minutes because heap size down at each loop. Do you meet this problem ?
Hey Brain, fantastic work!! I was wondering. Is this also possible on a raspberry pi 4? I have a umbrell node running on it and thinking about adding a btc ticker but not sure how to do this. What do you think? Via the nodemcu board or should it also be possible via the raspberry?
Any chance you have an updated code? I have tried absolutely everything and cannot get this to work. Thanks
I can send you a github repo if you still need it
@@Nikussss Hey would appreciate it, was trying to get it run no luck.
@@cryptolanka3467 Video owner deletes my comments
@@cryptolanka3467 add me on discord skunaxfree#0323
@@Nikussss Hey thank you for reaching out! I actually figured it out. Thanks alot
Hello! I need your help, after the firmware, the logo appears and then "Error loadind dada" (((. help solve the problem please
First @Brian Lough thanks for such an easy and wonderful video. I have tried using multiple NODEMCU boards and two different 0.96 displays. nothing comes up in the display. Is it because of the API issue or am i doing something wrong. Code compiles good and i have the cables hooked up correctly. Any one pls help... I would love to have such a ticker running to watch the FAVs constantly
Just followed this to the letter and cooked my D1 mini - Its not even showing up in the Windows Device Manager after the upload. Is my board toast ? - Is there any way to revert changes ?
Hi, i have a problem .. ESP8266WiFi.h: No such file or directory
can you help me please.
Arduino gave me this error:
exit status 1
'D3' was not declared in this scope
You selected the wrong board.
You need change board model to NodeMCU 1.0
Brother how it will work for Indian market since api is not for it?
This is so cool, nice one! You know what would be good, is if you could put a red and green LED and if the currency is down, turn on the red LED and if it's up, turn on the green LED? Is there a bigger screen that could show 10 currencies at once for e.g? Then just refresh every 5 mins or so.
+Neo Matrix hey, thanks alot!
Yeah that's a good idea, would be easy to do as well.
Arduino screens tend to have a low enough resolution so I'm not sure if you'd find something that could fit 10. One thing you could maybe do is connect 10 of these screens up using something called i2c multiplexer. I've never tried one though!
If you're still interested, a chap called Michael Klements recently put together something like you've described. A PCB with the microcontroller, OLED and LEDs all mounted on an acrylic stand. A compact version could also be made using a microcontroller with build-in OLED, e.g. Heltec WiFi Kit 32.
Hi Brian, I have Wemos D1 Mini and the 64*48 OLED shield, what would i need to change to make this work correctly? advice would be much appreciated
Hey Craig,
Nothing for the wemos anyways, but I guess you would need to find a library that works with that screen.
You will also need to adjust what is displayed so it will fit
Brian Lough ok thank you for your time, I will purchase the display you used and hopefully that will work :-)
Any update on this to get it working with current API's?
I finally got it working with my components! Except it only says "Error loading data." But it's something :)
doge was at 0.0006 in this video look where it is now!
i want adapt your code for an mkr1000 arduino but it doesnt work with the coinmarketcapapi.h the is a fault inside. do you have an idea?
what is the error?
Can I have 2 oled displays whilst using 1 eps8266?
How easy / difficult would it be to add a new screen to the rotation displaying e.g. the uptime of the arduino?
+PeterLustig hey, shouldn't be too hard, it already checks when it's time to change screen in the loop, if you just added an extra state to display that screen it should work
does this work on a esp8266 mini?
Hey Brian Lough I getting and error compiling for board Arduino/Genuino Uno and says No such file or Directory on ESP8266WiFi.h. Can you point out what's wrong???? Thanks in advance
+Greg R Kirksey sorry, it doesn't work with an uno, it needs HTTPS which the uno doesn't support
I have the 1PCS Wireless module CH340 NodeMcu V3 Lua WIFI Internet of Things development board based ESP8266.
I see my error ...need to watch "How To Program An ESP8266 With the Arduino IDE"
i had to downgrade my esp8266 in the boards manager from most resent to 2.4.1 and it works yay took me a few days to figure it out
STILL WORKING?
This error is showing ..how to fix it
Can you share code which works with 5110 screen ? Thank you brooo
I always get eror loading data on oled. Ssid and pass is ok, dont know whats wrong
after powering down it will only come back on by hitting reset. any change in code to get it to autostart?
thanks . my first arduino project and i love the small cost of entry. thanks for the work you have done!!
+tom bradway your welcome! Delighted to hear that you liked it.
Could you explain how your powering it down? If I just plug out the micro usb cable and then plug it back in it seems to work OK for me so just want to check if that's what you mean?
Brian Lough figured it out . It locks up after plunging in usb on computer . Wall plug works every time. Any chance you will write sketch for a stock ticker ? Can you add text on screen showing logging in to network i.e. connected to ...
Thanks
+tom bradway hey, your comment got flagged as spam for some reason, only after seeing it now.
Yeah very possible to add more info to the boot up, but I probably won't be revisiting this project for a while . You would add the changes into setup method.
I'm sure its possible with the right api, it's not something I would be too interested in at the moment though. I'm absolutely swamped with projects!
How hard would it be to use 2 or more displays. Assuming same type.?
It's not a trivial thing to do, but it is possible.
Coding wise it wouldn't be a big deal, but these displays use a protocol called i2c, which operates on an address system. Devices of the same type will have the same address.
There is a jumper on the back of the screen that you can solder closed to change the address which would give you 2 screens that have different addresses but more than two you will have to do something else
Adafruit sell a i2c multiplexer that would allow you to connect up to 8 screens. www.adafruit.com/product/2717
I bought one but I still have not gotten around to using it yet so I can't really provide anymore info than that!
Hope that helps
Don't need to worry about U2C addresses if you want the displays to all show the same thing. But if you wanted one currency per board then you would.
question bete mais sa vas ou car je ne voie aucune adresse pour la pool et le wallet j'ai du mal à tous comprendre ?
Hi guys, Wondering if somebody would be kind enough to help me.
I've uploaded the sketch fine but my OLED doesn't work but trying it on a GPS sketch works fine.
I cant see what driver it uses and it was a while ago when I bought it.
Any ideas?
Thanks
+RustyNuts maybe check the pins? What type board are you using?
If you're all wondering why this doesn't work, it's because the API it relies on is shut down.
do you know any other solution?
@@taher4324 coindesk's API works.
@@TheResidentSkeptic do you have the code for it ?
TheResidentSkeptic This worked well for me. Thanks!
@@TheResidentSkeptic This worked for me too, thanks. Dont suppose you have a link for a XRP API do you?
Any update on this??
Gosh, 3D printing OMG.
Don't bother to recreate it, the connection to the CoinmarketCapApi seems to be out of date. No connection possible.
Hey man, code no longer works due to the api did you have any update for it? I am trying it now but to no avail any help will be appreciated
Check the pull requests, someone made an updated version for 2021
@@BrianLough
First thanks for answering, it is greatly appreciated.
Second, I tried his and it didn't work either unfortunately, I must be doing something wrong.
And lastly, his code is only supposed to work for bitcoin and my main objective is Doge.
To The Moon!
can this be done with the arduino uno board or do I NEED the nodemcu board?
It needs to be an esp8266 based board like a wemos d1 mini, nodemcu or an adafruit feather huzzah
ok, thank you
Your comments about no port showing up on my other video are not showing up in my UA-cam app. Which board do you have and what driver did you install?
hey thanks for the reply. I figured out the port issue, so i deleted my comments about it (thats why you cant see them :) ) I am having a new issue though. I am getting an error when I try to compile the code :/ havnt figured out why
hey its me (BeeDee Dee), just on my wifes laptop and cant login into my youtube account because i dont know the password. anyways, this is the error I get when trying to compile:
Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
/Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp: In member function 'CMCTickerResponse CoinMarketCapApi::GetTickerInfo(String, String)':
/Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:70:3: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer;
^
/Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:70:3: note: suggested alternative:
In file included from /Users/fengyuan/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/DynamicJsonDocument.hpp:10:0,
from /Users/fengyuan/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:9,
from /Users/fengyuan/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.h:24,
from /Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:1:
/Users/fengyuan/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Memory/DynamicJsonBuffer.hpp:159:5: note: 'ArduinoJson::Internals::DynamicJsonBuffer'
DynamicJsonBuffer;
^
/Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:70:21: error: expected ';' before 'jsonBuffer'
DynamicJsonBuffer jsonBuffer;
^
/Users/fengyuan/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:71:20: error: 'jsonBuffer' was not declared in this scope
JsonArray& root = jsonBuffer.parseArray(response);
^
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Unfortunately, this does not indicate at all, for the simple reason: The program code is faulty!
Very nice!! I'm not really into arduino but would it be amazing to preconfigure various wifi and their passwords in the code (for example, home: 1234, university: 4321, library: 0420, etc..) and then adding a buttom to navigate throught the different wifi's so you can choose which wifi to use in case you have your device connected to a lipo and want to bring it with you.
You know what, I'm gonna try to do it myself ahahaha, I will let you know if I succeed
+PRAWON that would be a good addition!
You should also check out WiFiManager, it will create an adhoc network for you to connect to set a wifi password if it fails to connect to the last network. ua-cam.com/play/PLbd5_U5QzQgZ8Ni8F48G2gnMgCkN6saUT.html
I think this sketch needs improved before it can be used though, I found it was unstable (I think it uses too much ram)
Brian Lough Thanks, I will check it out!
Right now I'm quite busy with university until ends of january but I will start it if I find a moment to
Getting an error ' 'D3' was not declared in this scope' can you help me troubleshoot?
+Alex Benson hi, what board are you using?
+Alex Benson of you are using the board from the video, make sure in the Arduino ide you have the correct board selected
Tools->Board
And select Nodemcu 1.0
That was the issue! I had selected Generic ESP8266
+Alex Benson awesome!
tysm!
thanks for the amazing vid. But unfortunately i will always get the error code D3 was not declared in this scope. Can someone pls help me out
You need change board model to NodeMCU 1.0
i'm getting an error: exit status 1
'getNextFreeHoldingIndex' was not declared in this scope
not sure what to do :/
Is there any other error? That method is definitely there.
when its compiling it says "WARNING: Spurious .github folder in 'ArduinoJson' library". The link for that library was not in the code so i took it from here github.com/bblanchon/ArduinoJson but maybe its not the right one?
+Jan Reuser yeah that's the right one.
Can you paste your sketch to pastebin or somewhere? Remove your ssid and password first :)
her u go pastebin.com/ZrxLjns4 Thanks for helping btw :)
This exact sketch compiles for me on both Arduino 1.84 and 1.85,
What version are you using and what OS?
hm, i‘was read now only the issue about the coinmarket cap api. i‘was try 2 hours to found out what i‘was do wrong ... some update of the code will be nice .....
Someone else actually updated it: github.com/lewisxhe/CoinMarketCapApi2
However you'll need to create an account for the API key for it to work.
@@keviloworks5486 Thanks a lot ! However I'm so bad on code that I don't know exactly how shoul the final one looks like. Can you help ?
@@introligator_ You should use the code in the link and copy the code for the WiFi connection from here as most of the other code doesn't work. Other than that you just assign the API key. Also make sure you download the library from the link instead of this one. IIRC they interfered with each other.
@@keviloworks5486 Sorry but I don't understand where I must write my API Key, can you tell me this, please? I create an account on Cryptocurrence.com and I create a valid key, and now How I must proceed? Thanks and ciao
@@keviloworks5486 where does the updated code go in the original code?
Is this still functioning?
I followed all directions and I am stuck on the HODL Display start screen.
I'm 90% certain I'm doing this right... help!
+Talbot Simons sounds like its not connecting to the WiFi correctly, could you double check your WiFi name and password (make sure there are no unwanted spaces at the end etc)
Hey thanks for getting back so fast!
I have tried my home network, my cell phone hotspot - with and without encryption enabled. I can't seem to get this board to connect!
I ordered off one of your Amazon links but my board doesn't QUITE look the same... Slightly different color scheme.
I'm starting to feel like there may be a problem with this board. I have ordered 2 more and will attempt this again.
my com output is just a bunch of "⸮⸮⸮⸮⸮⸮⸮⸮⸮"
Also - if this board is supposed to have a network activity LED, it has a VERY dim red LED. I'll report back once I get the 2 additional units. - in fact under close inspection I think the one I received is missing a resistor. =(
I'm not sure it does have a network activity light, I don't think so.
Yeah if neither WiFi network worked thats not a good start!
Cool project, I just sent you some ETH. Cheers!
+Daryl Adams thanks so much!
3 years later. how much would the eth u sent him be worth today?
@@Trx455 Let's just say he probably has his own island now ;)
@@daryladams2553 Lol, nice! And how much Eth do u have if you dont mind me asking?
it´s still not working =(
Can this work with the ESP32?
Yup it does, there is an example for the esp32 with the library.
Brian Lough I’ll check it out.
Brian Lough , I get two errors when I try to compile the code.
1) ‘jsonBuffer’ was not declared in this scope
2)’class ArduinoJson::JsonArray’ has no member name ‘success’
I’m not sure what went wrong.
Change Arduino Json version to 5.x, the 6.x versions have a breaking change
😁 it’s working!
Thank you!
I'm getting error while i'm trying to compile
Arduino: 1.8.2 (Mac OS X), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, 115200, 4M (3M SPIFFS)"
/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp: In member function 'CMCTickerResponse CoinMarketCapApi::GetTickerInfo(String, String)':
/Documents/Arduino/libraries/CoinMarketCapApi/src/CoinMarketCapApi.cpp:70:3: error: 'DynamicJsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer;
^
In your arduino library manager search for arduino json again and change the version to something older. The newest version of the library broke this!
Haha ok now it works great!
What should i do to work it on 0.96" oled screen :)
It should work straight away with a 0.96, just connect up the correct pins.
It's working but it is cutting on the right side a little bit . btw thanks for the project and the replies :)
"Error loading data." :(
Did you ever figure it out?
In my Display is ""Error loading data."" .. Have anyone an idea?
me too, maybe it's because of the CMC API
@@学徒-c2f Yes I believe that too. I have not a solution :(
mine too... no anwer :(
@@gerohoffmann2 Check : github.com/witnessmenow/simple-arduino-crypto-display ... "NOTE: Coinmarket cap have changed their API and this project currently does not work with it" :(( ..
@@gerohoffmann2 i just wrote a script to get price info from CMT API and failed(which is told to be free in their API document).need to use another exchange's API
Hello Brian please help us out
I don't think this api works anymore, so even if you got in compiling, I don't think it would work
3k bitcoin :(
I have figured out the problem regarding getting stuck on the HODL start screen.
I ordered my boards from one of your links above. It appears THAT version of the dev board is not fully compatible - at least directly with your code.
SO - after lots of wasted time I went ahead and ordered the EXACT board you use in the video - and it works immediately.
Happy to report it's flawless now thank you - however - you may want to revise the links above and remove this link "amzn.to/2wobS83" as it's simply not working. - In fact I tried a couple links from amazon and none of them worked.
The cheaper LoLin boards - which is what is used in this video work no problem. I found a link on Aliexpress for them. =)
@Brian Lough - Thanks for your time troubleshooting. Hopefully my now solved issue helps someone else executing this project.
Congratulations !! It 's a good work.
Is it possible to explain how to make the same thing with the Nokia 5110 display ? (seen at the end of the video)
Edit : it is here github.com/witnessmenow/ArduinoCryptoCoinDisplay
Could you send the 3d Printing Files of the Nokia 5110 case ?
Yeah that's the Repo,
This is the link for the STL
www.tinkercad.com/things/8wzWOhpOJXr
Thanks for the STL :-)
You are welcome! I remixed it from a cookie cutter I found on thingiverse if I remember right!
It seems to be here : www.thingiverse.com/thing:379756
I will see to close behind the rocket
Me looking when price is 10x more xd
Hi Brian, sorry to bother you again :-) I plan on making this for a good friend of mine and really like the WiFimanager software from tzapu github.com/tzapu/WiFiManager that will allow connection via a Access Point requesting his credentials easily before then running your sketch. I have both sketches compiled and running independently but am having trouble combining both sketches? Hoping this may give you an idea for a future video ;-) Keep up the great vids
C:\Users\avisr\Downloads\Crypto_Tracker_8589\Crypto_Tracker_8589.ino:29:10: fatal error: SH1106.h: No such file or directory
29 | #include "SH1106.h"
| ^~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: SH1106.h: No such file or directory