That's good news. Don't worry about wiping all the code, its designed so the user can put it back. Try a few commands that are in the ESP8266.bas library, e.g. wflist() should list the access points near by.by jimeer - ByPic
Its not a problem you can load the server software yourself. The only thing is that the server software assumes there is an LED and temperature and humidity module present so the results returned will not be correct, but the server will still work. 1) Download the IDE, this is just a terminal emulator with an editor but the editor (PSPad) has some macros. http://www.bypic.co.uk/index.php/IDEby jimeer - ByPic
hello, 1) Option 3: shows the status of the ESP8266,it does not scan for the local Access Points 2) It will only remember a valid SSID and password, if they don't exist then it will not register them 3) The information on how to use the library is http://www.bypic.co.uk/index.php/ESP8266by jimeer - ByPic
Tim, this thread may also be useful to others so thank you. Jimby jimeer - ByPic
Strange, pageBuff$ is declared at the top of http://byvac.com/mBlib/flb/Library/wifi/http_server.bas?by jimeer - ByPic
The only thing I can think of that would cause this is the power supply. The ESP8266 consumes a hefty current but only for very short periods. If the voltage drops below a certain value then that will cause the ByPic to reset. That is the reason for the separate power supply and large 1000uF capacitor on the ESP8266. Check the wiring that it really is using the separate power supply and not bby jimeer - ByPic
Everything is working up to receiving a page and then it resets is that correct?by jimeer - ByPic
I see, from the menu: 4 - set as an access point 3 - check that the IP address is 192.168.4.1 9 - run the server On the android tablet, scan for wireless networks and select the name of the access point, something like ESP_984C26, connect to this access point, it is by default unsecured. Wait until the tablet acquires an IP address, this may have several unsuccessful attempts. My Archos tooby jimeer - ByPic
yes - it is now running in server mode, the 'no change' result means that it was in server mode already.by jimeer - ByPic
break out of the menu system (0) an type server(80), the response should be a '1', this puts the ESP8266 in server mode and sets MUX to 1. This will test if everything is okay If you now put 192.168.1.7 in a browser, press return and then go back to BvSerial and type see1(), you will see the contents of the HTTP head from the browser, the browser will time out of course because there was not rby jimeer - ByPic
Try the following 1) make sure everything is okay by selecting option 3 (info), you should get some information about the ESP8266 2) use option 5 to set the ESP8266 as a station 3) Use option 6 to join your wi-fi, you will need to provide the SSID and password of your wi-fi network 4) Use info again and you should get a different IP address from 192.168.4.1 - if it says ERROR where the IP addby jimeer - ByPic
See faq (http://www.bypic.co.uk/index.php/IDE). Start the editor by using .edit (dot edit) from BvSerial then F4 will work.by jimeer - ByPic
Okay, I will send it back fixed and let you know what it was. Jimby jimeer - ByPic
It will if everything is assembled okay. I suggest you double check everything. Send a picture of the back and front I will see if I can spot something obvious. Failing that you can send it to me to fix if you like. The address is here.by jimeer - ByPic
Sorry, Gary. I should have read your post more carefully, you did say BP2, forum created for BP2 and boards with the PIC32MX3nn processor created as requested.by jimeer - Projects
Yes get everything right and it will work and display the sign on screen. There are some good tips at the bottom of this page http://www.bypic.co.uk/index.php/Part_2_Serial_connection_and_constructionby jimeer - ByPic
Why you would not want to use the lovely ByPic is beyond me :). To use the BP1 with a PICKits is straight forward, you can use the prototype area an put a socket, or pins there. You will need a 10k resistor to go from pin 1 to pin 2 of the PICKit socket. ** You will also need to ground pin 2 (RA0) here is what I use: The PICKit socket is soldered to the prototype area PICKit-socket ICby jimeer - Projects
Yes they will be using counterfeit chips, all manufacturers will why? 1) FTDI is constantly out of stock and so the chips will have been resourced from many suppliers 2) All Chips are resourced form several supplies so as to protect the security of supply 3) Many manufacturers get some boards manufactured elsewhere and take delivery of the completed boards. Of course they are tested to the manby jimeer - ByPic
I appreciate you taking the time to write the entry, thank you for that. All of the ByPic source code is open source it is ByPic itself that is copyright to me. The actual cost of ByPic is very low, for example a PIC32MX150 at Farnell one off is £3.80 including VAT and I charge £4.60 for the same thing with ByPic loaded. In fact if you factor in the P&P Farnell is more expensive. From aby jimeer - ByPic
I don't think this is anything to do with the ByPic's: Google 'FDTI gate' and I think you will find your answer there. *** I am in the process of redesigning some of my products to get rid of the FTDI chip, it looks like its had its day ***by jimeer - ByPic
As you say it is definitely not like the outdated Arduino (write, compile program download and see the results). This is much easier and more up to date. The whole point of the ByPic is so that you can build a device that will run stand alone so there must be a way of saving to the flash - right? - there is. Not only that you can save a function with a special name and that function will run aby jimeer - ByPic
It has always amazed me how forgiving these processors are. They won't take 5V though I have definitely destroyed one by doing that by mistake. You should be using the new IDE which is much better than the older BV_COM - with the green screen. The new IDE is called BvSerial with PSPad combined; when up and running just type something into PSPad and press F4 and it is automatically transferredby jimeer - ByPic
Sounds like you have either got the 'transistor' -- which is a voltage regulator backwards or the IC backwards. There should be nothing getting hot. There is a dot on top of the IC (indented) and a notch, which way is this facing, upwards the prototype area or down towards the serial input?by jimeer - ByPic
Very frustrating if you cant get off first base. Which ByPic have you got?by jimeer - ByPic
Could it be that you have echo switched on? menu>Serial>echoby jimeer - ByPic
Hello, you are running out of stack space because the local variables, x and s$ are being created each time they go round the while loop. The solution is to move all of the 'dim' to the top of the function. Also, but this will still work in your version, it is a good idea to use () even if the function does not have any parameters so change set_uart1 to set_uart1() function check() dim y =by jimeer - BV500
If .loopbreak (dot loopbreak) from BvSerial doesn't work then its stuck there I am afraid. You can send it back to me for re-programming (no charge). The newer MX170 has a boot loader so this is not a problem with that device. It is available for the Mini-Max but not yet available in DIL form. Jimby jimeer - BV500
you will need to give me more details to help: The opening page where?by jimeer - ByPic
There are two ways of doing this: 1) in your program include the line #option only off This will tell BV_COM2 not to ignore duplicate functions but to replace them, in this case main() so it will overwrite the rookie main(). Unfortunately there is a bug in BvSerial that ignores the #option only so will only work in BV_COMM Method 2) Copy the last rookie part to a local directory and deletby jimeer - BV500