FreeFi-232 v2

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
User avatar
danielj
Posts: 6733
Joined: Thu Oct 02, 2008 4:51 pm
Location: Manchester
Contact:

Re: FreeFi-232 v2

Post by danielj » Wed Oct 10, 2018 2:18 pm

Weird. NodeMCU is a strange thing to be on there - I wonder if your supplier was removing them from NodeMCU boards? Or they were destined for them?

d.

User avatar
Elminster
Posts: 3145
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: FreeFi-232 v2

Post by Elminster » Wed Oct 10, 2018 2:31 pm

No idea. Some random supplied from China on ebay.

You would get gibberish if you went to a serial console unless you set it to 9600 then you would get the message

Code: Select all

NodeMCU 0.9.6 build 20150406  powered by Lua 5.1.4
> 

And not a human error as Arduino IDE was still setup from programming the last ESP board, so it opened with correct code and settings (although I double checked all that after it failed). And I soldered a header onto RTS yesterday and that was connected, and I never touched the code or the cable between it not working and working. All I tried messing with was changing the reset method, after a few times of not working, but I am not sure that made any difference. All a bit weird but recorded here incase any one else hits issues, I have no intention of making any more :)

User avatar
Elminster
Posts: 3145
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: FreeFi-232 v2

Post by Elminster » Wed Oct 10, 2018 8:23 pm

USB connectors swapped. I now never have to touch it again :evil:
Attachments
IMG_4507.jpg

User avatar
trixster
Posts: 717
Joined: Wed May 06, 2015 11:45 am
Location: York
Contact:

Re: FreeFi-232 v2

Post by trixster » Wed Oct 10, 2018 8:56 pm

They look absolutely fab!
A3020 | A3000 | A420/1 | BBC B 128K RAM/ROM 20K Shadow Pi0 VideoNuLA
Master Turbo DC BeebSID | Atom | A4000 060 | A3000 060 | A1200 060 | A500
Atari Falcon 060 | Saturn | PS1 | SNES | CPC6128 | C64 | 3DO | MD | Jaguar | X68000

User avatar
Elminster
Posts: 3145
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: FreeFi-232 v2

Post by Elminster » Thu Oct 11, 2018 1:59 pm

Wish I had realised this a while ago. There is a bug in arduino ide 1.8.5 which means that every time you upload the sketch it invalidates the cache and compiles from scratch. The result being that it took ages to flash the esp board. Now on 1.8.7 is is really fast.

Trap for young players.

Edit: And another trap, if you test using the DB25 and leave the programmer plugged you can get gibberish coming out when you typed. Thought I has screw the code.
Last edited by Elminster on Thu Oct 11, 2018 2:01 pm, edited 1 time in total.

User avatar
Elminster
Posts: 3145
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: FreeFi-232 v2

Post by Elminster » Thu Oct 11, 2018 3:56 pm

I did a fork and had a play, new bits in bold.

FreeFi232 Firmware v0.2 (WiFiManager Edition)
=============================================

Based on ESP8266 Virtual Modem (C) 2016 Jussi Salin
Additions (C) 2018 Daniel Jameson and Stardot Contributors
Connect to WIFI: ATWIFI<ssid>,<key>
Scan for Available Networks: ATSCAN
Change terminal baud rate: AT<baud>
Connect by TCP: ATDT<host>:<port>
See my IP address: ATIP
See my Network: ATNET
Disable telnet command handling: ATNET0
HTTP GET: ATGET<URL>
MAC:84:F3:EB:73:DA:C8
Hardware Flow control: ON

Listening to connections at port 23, which result in RING and you can answer with ATA.

OK
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Using last saved values, should be faster
*WM: Connection result:
*WM: 0
Entered config mode
192.168.4.1
APFreeFi232
*WM:
*WM: Configuring access point...
*WM: APFreeFi232
*WM: AP IP address:
*WM: 192.168.4.1
*WM: HTTP server started
*WM: Request redirected to captive portal
*WM: Handle root
*WM: Request redirected to captive portal
*WM: Handle root
*WM: Request redirected to captive portal
*WM: Handle root
*WM: Scan done
*WM: Sent config page
*WM: Request redirected to captive portal
*WM: Handle root
*WM: WiFi save
*WM: Sent wifi save page
*WM: Connecting to new AP
*WM: Connecting as wifi client...
*WM: Connection result:
*WM: 3
connected to network ...
*WM: freeing allocated params!

User avatar
Elminster
Posts: 3145
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: FreeFi-232 v2

Post by Elminster » Thu Oct 11, 2018 4:00 pm

Screen shot on smart phone
Attachments
IMG_4508.jpg

User avatar
Elminster
Posts: 3145
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: FreeFi-232 v2

Post by Elminster » Fri Oct 12, 2018 12:36 pm

Tried my hacked up firmware and still seems to work in original lolin board, not actually tested on a beeb. So I guess I should probably post anything interesting I come up with in the original viewtopic.php?f=3&t=15076 thread. So this one stays specifically about freefi232 hardware.

Post Reply