tag:blogger.com,1999:blog-3466508970473354894.post4480147685364531525..comments2024-03-05T23:38:39.420+01:00Comments on AReResearch - Andy Reischle: The all-you-can-possibly-want ESP8266 dev boardARehttp://www.blogger.com/profile/13473291183033725832noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-3466508970473354894.post-1631410932698603952022-02-28T16:26:24.048+01:002022-02-28T16:26:24.048+01:00Cheers Peter. It worked for me once I added anothe...Cheers Peter. It worked for me once I added another SDD1306 Library (I had the Adafruit one put that didn't work - don't really understand all this Library stuff)Grahamhttps://www.blogger.com/profile/08628320904652509393noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-12730058765563885302022-02-28T02:59:52.501+01:002022-02-28T02:59:52.501+01:00Hey!
Any luck getting battery information? Thus f...Hey!<br /><br />Any luck getting battery information? Thus far I have:<br /><br />```<br />#include <br />#include "SSD1306Wire.h"<br /><br />ADC_MODE(ADC_VCC); // read supply voltage<br /><br />// Initialize the OLED display using Wire library<br />SSD1306Wire display(0x3c, 5, 4);<br /><br />void setup() {<br /> Serial.begin(115200);<br /> Serial.println();<br /> Serial.println();<br /><br />// Initialising the UI will init the display too.<br /> display.init();<br /><br /> display.flipScreenVertically();<br /> display.setFont(ArialMT_Plain_10);<br />}<br /><br />void displayVoltage()<br />{<br /> display.setTextAlignment(TEXT_ALIGN_LEFT);<br /> display.setFont(ArialMT_Plain_10);<br /><br /> char str[10]; <br /> int rawValue = ESP.getVcc();<br /> float voltage = rawValue * 1.51 / 1023;<br /> float perc = map(voltage, 3.6, 4.2, 0, 100);<br /><br /> sprintf(str, "Supply voltage: %.1f volts", rawValue/1024.0);<br /> display.drawString(0, 0, str);<br /><br /> display.setFont(ArialMT_Plain_10);<br /> display.drawString(0, 20, "Voltage:");<br /> display.drawString(0, 30, String(voltage));<br /> display.drawString(0, 40, "Percentage:");<br /> display.drawString(0, 50, String(perc));<br />}<br /><br />void loop() {<br /> display.clear();<br /> displayVoltage();<br /> display.display();<br /><br /> delay(10);<br />}<br />```Gabriel Csapohttps://www.blogger.com/profile/05212011772391932766noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-82476148678423964252020-07-20T20:42:28.901+02:002020-07-20T20:42:28.901+02:00// Include the correct display library
// For a co...// Include the correct display library<br />// For a connection via I2C using Wire include<br />//#include // Only needed for Arduino 1.6.5 and earlier<br />#include "SSD1306.h" // alias for `#include "SSD1306Wire.h"`<br /><br />// Initialize the OLED display using Wire library<br />SSD1306 display(0x3c, 5, 4);<br /><br />#define DEMO_DURATION 3000<br />typedef void (*Demo)(void);<br /><br />int demoMode = 0;<br />int counter = 1;<br /><br />void setup() {<br /> Serial.begin(115200);<br /> Serial.println();<br /> Serial.println();<br /><br /><br /> // Initialising the UI will init the display too.<br /> display.init();<br /><br /> display.flipScreenVertically();<br /> display.setFont(ArialMT_Plain_10);<br /><br />}<br /><br /><br />void drawTextFlowDemo() {<br /> display.setFont(ArialMT_Plain_10);<br /> display.setTextAlignment(TEXT_ALIGN_LEFT);<br /> display.drawStringMaxWidth(0, 0, 128,<br /> "Peter got it working!" );<br />}<br /><br />void drawTextAlignmentDemo() {<br /> // Text alignment demo<br /> display.setFont(ArialMT_Plain_10);<br /><br /> // The coordinates define the left starting point of the text<br /> display.setTextAlignment(TEXT_ALIGN_LEFT);<br /> display.drawString(0, 10, "Left aligned (0,10)");<br /><br /> // The coordinates define the center of the text<br /> display.setTextAlignment(TEXT_ALIGN_CENTER);<br /> display.drawString(64, 22, "Center aligned (64,22)");<br /><br /> // The coordinates define the right end of the text<br /> display.setTextAlignment(TEXT_ALIGN_RIGHT);<br /> display.drawString(128, 33, "Right aligned (128,33)");<br />}<br /><br />void drawProgressBarDemo() {<br /> int progress = (counter / 5) % 100;<br /> // draw the progress bar<br /> display.drawProgressBar(0, 32, 120, 10, progress);<br /><br /> // draw the percentage as String<br /> display.setTextAlignment(TEXT_ALIGN_CENTER);<br /> display.drawString(64, 15, String(progress) + "%");<br />}<br /><br />Demo demos[] = {drawTextFlowDemo, drawTextAlignmentDemo, drawProgressBarDemo};<br />int demoLength = (sizeof(demos) / sizeof(Demo));<br />long timeSinceLastModeSwitch = 0;<br /><br />void loop() {<br /> // clear the display<br /> display.clear();<br /> // draw the current demo method<br /> demos[demoMode]();<br /><br /> display.setTextAlignment(TEXT_ALIGN_RIGHT);<br /> display.drawString(10, 128, String(millis()));<br /> // write the buffer to the display<br /> display.display();<br /><br /> if (millis() - timeSinceLastModeSwitch > DEMO_DURATION) {<br /> demoMode = (demoMode + 1) % demoLength;<br /> timeSinceLastModeSwitch = millis();<br /> }<br /> counter++;<br /> delay(10);<br />}PeterFhttps://www.blogger.com/profile/00698173508940089417noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-36197965071214244412020-05-15T13:12:47.370+02:002020-05-15T13:12:47.370+02:00I2C is a bus, you can have more than one sensors o...I2C is a bus, you can have more than one sensors on the bus.ARehttps://www.blogger.com/profile/13473291183033725832noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-76301704911366494392020-05-14T06:48:19.607+02:002020-05-14T06:48:19.607+02:00there is posible to connect anther i2c sensor to t...there is posible to connect anther i2c sensor to this?, becouse the GPIO D4 and D5 its used and I can't identified anoder PIN to connect a sensorEmiliohttps://www.blogger.com/profile/03268093981788485998noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-20503899427407143552019-03-12T11:40:52.210+01:002019-03-12T11:40:52.210+01:00Wow, interesting looking project. Do you have more...Wow, interesting looking project. Do you have more info about it online? Looking at the screen corruption, the first thing that comes to mind is missing pull-up resistors on the I2C bus. But that would be very poor board design and rather unlikely.ARehttps://www.blogger.com/profile/13473291183033725832noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-8002965041200498232019-03-02T15:04:35.020+01:002019-03-02T15:04:35.020+01:00Hey I don't have the exact same board as you d...Hey I don't have the exact same board as you do, Mine doesn't have a 5-way on it. Somehow my screen is corrupted? Pictured is a 8266 and a WROOM-02 which for me behaved the same, and a WROOM-32 which would not flash the same as the other 2. 18650+Wroom-02 displays blue, and powers all 3 ESP's. 8266 displays are white all 3 same I2C address. same board, pins, and resolution settings (only the blue one has an address jumper.. set to 0x78).<br /><br />https://www.dropbox.com/s/qs8xpbk9q6kix24/ESP8266%20Equal%20WROOM-02%20But%20not%2032.jpg?dl=0Anonymoushttps://www.blogger.com/profile/13004665769252803125noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-33736622535073083262018-11-12T00:28:39.470+01:002018-11-12T00:28:39.470+01:00Hello could you please link me to the download for...Hello could you please link me to the download for the files you flashed onto the module in the video.<br />Thanks!Jack O’ Brienhttps://www.blogger.com/profile/13875205713643420262noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-59361142672254582692018-11-04T08:39:46.497+01:002018-11-04T08:39:46.497+01:00Correct - this is the line you need to change for ...Correct - this is the line you need to change for it to work:<br /><br />SSD1306Wire display(0x3c, D1, D2); // address, sda, scl<br />Chris Drakehttps://www.blogger.com/profile/11378548000217150780noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-55479011129659808672018-03-06T23:51:22.330+01:002018-03-06T23:51:22.330+01:00I think it is this one:
https://github.com/ThingPu...I think it is this one:<br />https://github.com/ThingPulse/esp8266-oled-ssd1306<br />Haven't tried it, though. You may have to change the SDA/SCL pins.ARehttps://www.blogger.com/profile/13473291183033725832noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-67124306282678015282018-03-06T17:21:09.457+01:002018-03-06T17:21:09.457+01:00Yes, that is exactly what will be in the video.Yes, that is exactly what will be in the video.ARehttps://www.blogger.com/profile/13473291183033725832noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-76463248017782160502018-02-28T08:29:48.495+01:002018-02-28T08:29:48.495+01:00One question.. any luck locating the sample sketch...One question.. any luck locating the sample sketch that is running on the module (the little demo)? Would be great to see that code!Jeff Skinnerhttps://www.blogger.com/profile/11884224775876633573noreply@blogger.comtag:blogger.com,1999:blog-3466508970473354894.post-5632850095819788342018-02-28T08:19:14.087+01:002018-02-28T08:19:14.087+01:00Hi, just received mine in the post yesterday. I fi...Hi, just received mine in the post yesterday. I figured out they have a bit of a nefarious background as a "WiFi Deauther Board" and am guessing there must be a few re-purpose efforts online. Looking forward to your video.Jeff Skinnerhttps://www.blogger.com/profile/11884224775876633573noreply@blogger.com