|
Post by mikethechap on Jun 30, 2018 2:48:05 GMT -8
I got my BC24 today and was quite excited about it. The time may show that I'm typing this at 3:45am here in Dallas.
I am frustrated. As seems so often the case with SwitchDoc products, they are technologically pretty cool. But, they also have non-tutorial, tutorials. They are nothing like the Adafruit tutorials: Nothing at all. And, for you to get your products in people's hands and keep current purchasers returning, they need to be made for newbies. Or, at lease motivated newbies.
How are people who are starting out in their journey supposed to know what provisioning refers to, make any sense of the BC24 connection tools "IOT_Espressif or another application ESP8266 SmartConfig"? Those apps make no sense whatsoever, feature no written instructions. The apps are crap.
The WPS setup option doesn't say anything about what buttons to push, when, and really nothing about the sequence to set this up. This is what I'm asking for: a step-by-step explanation of the details an inexperienced person can expect. Same for the AP method.
How do you get to that point? Right now, I have 5 red lights flashing. I have no idea what those three red lights mean. Indeed, aside from an explanation of the istory of connecting via WPS, and the amazing things this board really can do, there's no guidance.
I can't even tell how to upload the sketches with my computer using USB (given the failure of every one of the 3 really cool wireless methods). If you hadn't prepragrammed the BC24 with something, I would really be angry.
Here's the thing: I think you have really cool stuff. Perhaps there's enough business coming in to only support people who are smart enough and generous enough to make these products work without real tutorials. But, those less skilled can't succeed in the absence of screenshots, pictures of physical connections in various resolutions (not low-quality pictures linking to Pinterest), Step 1 do this, step 2 do that. I have no idea when to push the buttons or switches nor what they mean (except the Mode one does have some stuff that it deals with the Mode, though I'm still not clear on what that means).
So, all I have is a pretty cool display going round and round. At this point, I don't know how to use it, connect to it, or anything else other than how to plug it in. That's not enough anymore. Unless there's a serious effort to make tutorials similar to the Adafruit tutorials, I'm done, I think, buying or supporting SwitchDoc products or Kickstarters. I say I think because the products are always tantalizing. And, when there are glitches you are really, really good at helping out. But, as far as setting all this up, SwitchDoc doesn't. I will just have to try to remind myself that it will be too frustrating to mess with it. Please, please hire someone or pay for tutorials by the piece. Just slow down the train of products until you make usable tutorials appropriate to motivated newbies. As it stands, these products aren't even for them.If a newbie can't connect in two hours with the provided instructions, the instructions aren't adequate. Oh, and please don't confuse instructions with linking people to other tutorials, articles on SmartConfig, app source code, etc.
I really want SwitchDoc to succeed. But, I also want to enjoy these projects and feel like I can succeed in setup in an hour or so. It might be helpful when you do Kickstarters to say who your audience is and the expected skill level to be successful and find the project pleasant.
|
|
|
Post by SDL on Jun 30, 2018 19:06:06 GMT -8
Mike, Did you read the README.md on the BC24 DEMO version? It's not a tutorial, but it does talk about all the the lights. EXCEPT FOR THE 5 BLINKING LIGHTS! I didn't put that in there and I apologize. It will be up there shortly. 5 Blinking lights means that none of the three provisioning methods (provisioning means connecting to a WiFi access point and receiving an IP address). It comes up every time you switch to a mode that requires WiFi, it blinks 5 Red to let you know that it can't do that. Both of those things are now added to the README.md in the BC24 Demo and will be in a posting shortly. Your other comments are very well taken. We will be adding some additional documentation and examples on the BC24. It takes a lot of time. Regarding connecting and programming the ESP32, the combination of the specification, software and the referenced adafruit tutorial will get you going. How to set up your Arduino IDE: learn.adafruit.com/adafruit-huzzah32-esp32-feather/using-with-arduino-ideAnd more importantly: github.com/espressif/arduino-esp32#using-through-arduino-ideThere are instructions for Windows, Mac and Linux. The BC24 specification is here: www.switchdoc.com/wp-content/uploads/2018/06/BC24_061618-V1.1.pdfThis page lists the articles that have been written about various features of the BC24: shop.switchdoc.com/products/the-bc24-esp32-based-24-rgbw-pixels-with-grove-connectorsIt takes us a while to get everything in line for a new complex product like this. More examples and "tutorials" are on the way. I wish we had a bunch more people to get this out faster! Best regards, BP P.S. I have copied your posting to Laurie
|
|
|
Post by SDL on Jun 30, 2018 19:48:20 GMT -8
MiketheChap, I called John after responding to you and asked him about the Software Demo documentation. (5 lights and some examples of how to use the demo) and he said he had finished an article on the Demo yesterday morning and was going to ask Jen to release it on Monday. After a little talking (and bribing him with a beer), he agreed to release it now and have Jen do the publicity on Monday. So, here is a BUNCH more information about the demo, provisioning and some more about the IDE installation too. www.switchdoc.com/2018/06/esp32-bc24-demo-software-released/Going home now, so have a good night playing with the BC24! If you still have trouble, let me know. I'll check in tomorrow. Best regards, BP P.S. It might be a good question why I was still working late on a Saturday night. It was because one of our products, the Raspberry Pi IOT Lightning Detector, is being used in a movie and we needed to finish the build for them so we could ship it immediately on Monday! How fun that is! We will let everyone know what the movie is when we figure it out.
|
|
|
Post by MakerMarc on Jul 1, 2018 18:58:18 GMT -8
I so agree with mikethechap! Everything he says could have also come from me. My BC24 is a pretty product and I am happy to have supported this Kickstarter. However, I have read all of the readme, blog posts, instructions, links and whatever is provided AND have downloaded both the V006 and V007 of the code and I still get 5 RED LIGHTS! I appreciate that I received my BC24 in a reasonable timeframe and that it is pre-programmed with V005 of the code. I am an Arduino Maker Pro with experience with ESP and still can't get my BC24 to provision! What a shame! Out of the box, my BC24 can obtain an IP via SmartConfig, but will still show 5 Red LEDs instead of DOW or Time. Neither V006 or V007 of the code will compile as they both give the same error: sketch\Utility.h:17:21: fatal error: rom/rtc.h: No such file or directory #include <rom/rtc.h> and ![]() I followed every step by step instructions available, from KS to web to blog... Maybe, this is part of the reason that after 12 successful Kickstarter campaigns, SDL does not have a bigger following yet... PLEASE HELP!
|
|
|
Post by SDL on Jul 1, 2018 19:39:22 GMT -8
MakerMarc,
To help, I need more information. Since you are an experienced Arduino guy, connect up the Serial port on the Arduino IDE and look at why the Smart Config is failing. Put the messages in the posting. Does your Smart Config return the IP Number from the BC24?
What are you compiling the code on? Operating system? The code compiles on our mac and on windows 10 too (see raider).
Regarding the compile error, Check to see if you have a file /Users/development/Documents/Arduino/hardware/espressif/esp32/tools/sdk/include/esp32/rom/rtc.h in your Arduino directory (if you are in windows, it is something different, but the path from hardware on should be identical).
If it is not there, reinstall the latest version of Espressoif SDK. The problem is in there and not a missing library in our code. Something is installed wrong, or Espressif has a problem.
If it is not there, I can mod the code easily to get around that missing file, at the loss of a small amount of functionality.
BP
|
|
|
Post by Powderjockey on Jul 6, 2018 18:19:11 GMT -8
First package arrived today and so I started to unpackage theBC24. I followed the instructions on how to set up the esp32 on the Adafruit website and then started the Arduino IDE. I selected the Adaruit ESP32 Feather as suggested. Connected the BC24 to the laptop via the USB cable. See attached screen of the IDE. The sketch loaded was the smartconfig which I thought was suppose to be loaded, compiled and uploaded to the BC24 in order to use the App, IOT-Expressif. The gives the following error when I try to compile things.
Arduino: 1.8.5 (Mac OS X), Board: "Adafruit ESP32 Feather, 80MHz, 921600, None"
fork/exec /Users/dexter/Documents/Arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++: no such file or directory Error compiling for board Adafruit ESP32 Feather. Arduino Version: 1.8.5 ![]() I checked the directories and sure enough, there is no file or directory.
So, then I installed the App, IOT Epressif and fuddled around with the app, was able to try and register/add a device. It located a device which I thought was the BC24 (didn't say BC24, says ESP_8DE420), but what else might there be on the system? The BC24 never showed up in the wifi drop down. When i press "OK", nothing happens, the lights on the BC24 just blink 5 red LEDs. Not sure if anything is connected or not.
I tried 192.168.4.1 to connect to the BC24, but it wouldn't find anything. Tried pressing the reset button a number of times with the same results.
Not sure if I'm a way off and not really sure what to do next.
|
|
|
Post by SDL on Jul 8, 2018 14:53:53 GMT -8
Hold on. Did you manage to complete the new version from the Github or not?
We use the Mac and it is working perfectly. Clearly, the SDK is not installed properly. For some reason.
Which App did you use? Try the SmartConfig app if you are on the iPhone.
If you haven't installed the new version (V007), you only can use SmartConfig to connect to the default software. That was shipped on the BC24 units (V005 I believe).
BP
.
|
|
|
Post by Powderjockey on Jul 9, 2018 16:52:27 GMT -8
Hold on. Did you manage to complete the new version from the Github or not? We use the Mac and it is working perfectly. Clearly, the SDK is not installed properly. For some reason. Which App did you use? Try the SmartConfig app if you are on the iPhone. If you haven't installed the new version (V007), you only can use SmartConfig to connect to the default software. That was shipped on the BC24 units (V005 I believe). BP . This s weird, as this is not the 1st esp32 I've used and uploaded sketches using this MacBook. I tried using the "install Toolchain" from esp-idf.readthedocs.io/en/latest/get-started/macos-setup.html. I've tried using the esptool.pyfrom github and still no joy. Obviously these arn't the SDK you're talking about.
NO, I've never been able to update to V007.
|
|
|
Post by SDL on Jul 10, 2018 6:21:54 GMT -8
Here is what we have used to install the ESP32 on the Mac. learn.adafruit.com/adafruit-huzzah32-esp32-feather/using-with-arduino-ideSpecifically, these are the commands: Installation instructions for Mac OS
Install latest Arduino IDE from arduino.cc
Open Terminal and execute the following command (copy->paste and hit enter):
mkdir -p ~/Documents/Arduino/hardware/espressif && \ cd ~/Documents/Arduino/hardware/espressif && \ git clone https://github.com/espressif/arduino-esp32.git esp32 && \ cd esp32 && \ git submodule update --init --recursive && \ cd tools && \ python get.py
Where ~/Documents/Arduino represents your sketch book location as per "Arduino" > "Preferences" > "Sketchbook location" (in the IDE once started). Adjust the command above accordingly if necessary!
If you get the error below. Install the command line dev tools with xcode-select --install and try the command above again:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
xcode-select --install
Restart Arduino IDE
These instructions work for us. BP
|
|
|
Post by Powderjockey on Jul 10, 2018 15:58:30 GMT -8
I followed those instructions to a tee a week ago and I still have these problems. I can't rerun it now has it states the directories are already there and are not empty. I've even tried to reinstall the IDE and then ran those commands with no success.
|
|
|
Post by SDL on Jul 11, 2018 6:08:12 GMT -8
PowderJockey,
Delete the ESP32 directory and reinstall.
We will try a reinstall too and see if they have broken the install.
BP
|
|
|
Post by SDL on Jul 11, 2018 6:19:27 GMT -8
PowderJockey,
We deleted the ESP32 directory, then reinstalled from the posting above. Everything compiles and downloads to the BC24.
BP
|
|
|
Post by Powderjockey on Jul 11, 2018 7:35:54 GMT -8
PowderJockey, We deleted the ESP32 directory, then reinstalled from the posting above. Everything compiles and downloads to the BC24. BP When I do this, I'm back to square one with the ssl error
Traceback (most recent call last): File "get.py", line 148, in <module> get_tool(tool) File "get.py", line 103, in get_tool urlretrieve(url, local_path, report_progress) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 98, in urlretrieve return opener.retrieve(url, filename, reporthook, data) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 245, in retrieve fp = self.open(url, data) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 213, in open return getattr(self, name)(url) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 443, in open_https h.endheaders(data) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1038, in endheaders self._send_output(message_body) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 882, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 844, in send self.connect() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1263, in connect server_hostname=server_hostname) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 363, in wrap_socket _context=self) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 611, in __init__ self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 840, in do_handshake self._sslobj.do_handshake() IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
Do you get this error?
|
|
|
Post by Powderjockey on Jul 11, 2018 8:20:32 GMT -8
In order to get rid of the SSL Cert problem I followed these steps:
A workaround on mac/linux to JFDI:
Edit line 89 (or thereabouts to display there url instead of the archive_name):
print('Downloading ' + url)
Then, for each download that fails run get -P/dist [the url]`
e.g.:
wget -P ./dist https://github.com/igrr/mkspiffs/releases/download/0.2.3/mkspiffs-0.2.3-arduino-esp32-osx.tar.gz
Then the file
mkspiffs-0.2.3-arduino-esp32-osx.tar.gz is move the same directory as the
get.py file.
Restarting the IDE and trying to compile the sketch the error:
espressif/esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++: no such file or directory
And of course there is no directory or file.
|
|
|
Post by SDL on Jul 11, 2018 13:11:27 GMT -8
PowderJocky,
Reset the BC24 software by holding down the mode button while you hit reset. That clears the current mode and the WiFi. The only place we use an SSL Certificate is in the Dow Jones mode. I'm looking at our DowJones happily working away right here.
I think you need to delete the ESP32 directory and use our instructions and see what is what with that. Did you compile correctly?
One step at a time. I don't think your fix works above for SSL. It's not broken for use.
BP
|
|