How would you connect a BBC wirelessly to the internet?

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
User avatar
PitfallJones
Posts: 431
Joined: Fri Feb 22, 2008 3:44 pm
Contact:

How would you connect a BBC wirelessly to the internet?

Postby PitfallJones » Sun Jan 15, 2017 10:17 pm

Hi there,

Has this been done already?

I'm thinking it would be really cool to be able to 'wget' info from websites and display it live.

I'm thinking a Raspberry Pi 3 could probably do this the most easily and cheaply as it has wifi built in already
- so it might be a variation on the co-pro setup
- only it would have to be running the co-pro emulation at the same time as accessing the web.

or is this just crazy talk?

PJ

User avatar
roland
Posts: 2855
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby roland » Sun Jan 15, 2017 10:39 pm

Try rhe ESP8266 serial to wifi modules. On the Atom we've played a bit with them as you can read in viewtopic.php?f=44&t=12105&start=30&hilit=Esp

It's not fully working but it is a start.
256K + 6502 Inside
MAN WOMAN :shock:

dominicbeesley
Posts: 512
Joined: Tue Apr 30, 2013 11:16 am
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby dominicbeesley » Mon Jan 16, 2017 11:49 am

I've not manage to properly restore my website after Demon shafted me last year. However here's a temporary link to a document I did years ago for connecting to a Linux box. You should be able to translate this fairly easily to the Pi.

I used this fairly regularly for browsing on the Master in my workshop when there used to be no WiFi or phone signal in there

http://authorityfile.net/software/bbc/index.html
(last item on page)

D

User avatar
PitfallJones
Posts: 431
Joined: Fri Feb 22, 2008 3:44 pm
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby PitfallJones » Tue Jan 17, 2017 11:49 am

Thanks for the help - of course ... use the serial port!

So just getting it working without wireless would be a good first step.

And I now see you can buy devices already made:
http://www.google.com/?gws_rd=ssl#q=rs232+wifi

PJ

User avatar
dhg2
Posts: 52
Joined: Tue Oct 25, 2016 7:37 pm
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby dhg2 » Sat Jan 21, 2017 4:50 pm

dominicbeesley wrote:I've not manage to properly restore my website after Demon shafted me last year. However here's a temporary link to a document I did years ago for connecting to a Linux box. You should be able to translate this fairly easily to the Pi.

I used this fairly regularly for browsing on the Master in my workshop when there used to be no WiFi or phone signal in there

http://authorityfile.net/software/bbc/index.html
(last item on page)

D


Thanks for posting this, using your guide I wired up a cable and I've been transferring files with it. Though at first I had trouble - I wasn't sure what was wrong, then thanks to this post viewtopic.php?t=6146#p58139 (coincidentally by PitfallJones who started this thread) I realised I had it around the wrong way, and did the same - rotated it until it worked.
Regards,
- Patrick

dominicbeesley
Posts: 512
Joined: Tue Apr 30, 2013 11:16 am
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby dominicbeesley » Sun Jan 22, 2017 5:36 pm

Glad it helped, I never understood the logic behind the reversible DIN plug, it would have made some sense if reversing it made a thru cable into a null modem but it doesn't

User avatar
kieranhj
Posts: 557
Joined: Sat Sep 19, 2015 10:11 pm
Location: Farnham, Surrey, UK
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby kieranhj » Mon Feb 27, 2017 7:24 pm

Apparently this has been done successfully for the Atari 8-bits: http://atariage.com/forums/topic/262518-sio-wifi-modem-with-esp8266/. Does anyone more hardware-minded fancy giving this another push for the Beeb? :)
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/

User avatar
paulv
Posts: 3607
Joined: Tue Jan 25, 2011 6:37 pm
Location: Leicestershire
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby paulv » Mon Feb 27, 2017 7:33 pm

I guess, technically, you'd have to write a terminal ROM that routed over UPURS but Martin had wireless serial going using BT a few years ago...

http://www.stardot.org.uk/forums/viewtopic.php?f=12&t=3114

Paul

User avatar
sydney
Posts: 2033
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby sydney » Mon Feb 27, 2017 7:45 pm

According to the wikipedia page the esp8266 can use SPI and a certain Mr Barr produced a ROM which allowed SPI on the beeb so this could be the best option.

EDIT:£2.77 + 99p postage on ebay! Might get a couple of these and have a go.

User avatar
sydney
Posts: 2033
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby sydney » Mon Feb 27, 2017 7:59 pm

DOH! It's IC2 by Martinb not SPI!

EDIT:
DOUBLE DOH! The esp8266 supports I2C too!

User avatar
sydney
Posts: 2033
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby sydney » Mon Feb 27, 2017 9:07 pm

If you search for esp8266 on facebook you'll see the following:
piccy.png


So it seems it will work.

User avatar
PitfallJones
Posts: 431
Joined: Fri Feb 22, 2008 3:44 pm
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby PitfallJones » Sat Mar 04, 2017 10:16 am

Hi,

Thanks for all the Replys.

I came to the conclusion that at ESP8266 with a ESP01 to convert 3.3v to 5v will do the job:

http://www.ebay.com/itm/ESP8266-Serial-Wi-Fi-Wireless-ESP-01-Adapter-Module-3-3V-5V-Compatible-Arduino-/201604719274?hash=item2ef093e2aa:g:jSQAAOSwvg9XYZtM
Although it's not exactly clear how to wire that up correctly to the 9 lines of a 9 pin dsub.

I have Sprows BBC serial cable:
bbcpclnk.gif

It's a real pity the BBC doesn't have a 5V line I could use for power.

Anyway eventually I found a RS232 to WIFI converter which cost a little more but had it all setup for me and a case so ultimately should be worth the extra cost:
http://www.ebay.com/itm/USR-WIFI232-602 ... Swt5hYgGSP

wifi.jpg


And to get data from the internet I just send it an AT GET command like "AT+CLIPSEND GET..."
http://electronut.in/an-iot-project-with-esp8266/

Easy!
This is really exciting - I'm thinking the BBC can sit there and display news or weather or at the very least a real time clock!
I'd let you know if the device actually works once I get it...

PJ

User avatar
sweh
Posts: 1891
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby sweh » Sat Mar 04, 2017 9:15 pm

PitfallJones wrote:It's a real pity the BBC doesn't have a 5V line I could use for power.

Typically you'd power larger external devices from the Aux power socket, underneath the Beeb (it's where floppies are typically powered from). Other potential places would be the user port and the analogue port.
Rgds
Stephen

User avatar
PitfallJones
Posts: 431
Joined: Fri Feb 22, 2008 3:44 pm
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby PitfallJones » Sun Mar 12, 2017 1:16 pm

Typically you'd power larger external devices from the Aux power socket, underneath the Beeb (it's where floppies are typically powered from). Other potential places would be the user port and the analogue port.

Thanks for the suggestion - I'll keep that in mind for the future.

In the meantime this thing as arrived and after many hours of messing around I finally managed to get it to perform a HTML GET command and return the bytes of a web page! (At 19200 baud)..

wifi232.jpg


PJ

User avatar
roland
Posts: 2855
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby roland » Sun Mar 12, 2017 6:57 pm

Good work =D>

PitfallJones wrote:And to get data from the internet I just send it an AT GET command like "AT+CLIPSEND GET..."
http://electronut.in/an-iot-project-with-esp8266/


I never noticed the AT+CLIPSEND command in my ESP8266 documentation, only an AT+CIPSEND (note that there is no L in the last command) which has a bit more complicated syntax.
256K + 6502 Inside
MAN WOMAN :shock:

User avatar
PitfallJones
Posts: 431
Joined: Fri Feb 22, 2008 3:44 pm
Contact:

Re: How would you connect a BBC wirelessly to the internet?

Postby PitfallJones » Sun Mar 19, 2017 10:02 pm

I never noticed the AT+CLIPSEND command in my ESP8266 documentation, only an AT+CIPSEND (note that there is no L in the last command) which has a bit more complicated syntax.

Sorry I meant CIPSEND.

Anyway The device I actually bought is not the ESP8266 and uses a different set of commands and now I've managed to get it to download pages from the internet to the BBC - Job Done!

bbc_teefax2..jpg


Who is online

Users browsing this forum: No registered users and 9 guests