Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #44744 > unrolled thread

Has anyone forthified ESP8266?

Started byHannu Vuolasaho <vuokkosetae@gmail.com>
First post2016-01-10 23:54 +0200
Last post2016-04-30 06:52 -0700
Articles 12 — 6 participants

Back to article view | Back to comp.lang.forth


Contents

  Has anyone forthified ESP8266? Hannu Vuolasaho <vuokkosetae@gmail.com> - 2016-01-10 23:54 +0200
    Re: Has anyone forthified ESP8266? Paul Rubin <no.email@nospam.invalid> - 2016-01-10 14:42 -0800
      Re: Has anyone forthified ESP8266? rickman <gnuarm@gmail.com> - 2016-01-11 21:54 -0500
        Re: Has anyone forthified ESP8266? Paul Rubin <no.email@nospam.invalid> - 2016-01-11 19:11 -0800
        Re: Has anyone forthified ESP8266? rickman <gnuarm@gmail.com> - 2016-01-12 02:24 -0500
      Re: Has anyone forthified ESP8266? Hannu Vuolasaho <vuokkosetae@gmail.com> - 2016-01-12 10:42 +0200
    Re: Has anyone forthified ESP8266? Mikael Nordman <oh2aun@gmail.com> - 2016-01-10 21:51 -0800
      Re: Has anyone forthified ESP8266? Paul Rubin <no.email@nospam.invalid> - 2016-01-10 23:19 -0800
        Re: Has anyone forthified ESP8266? Mikael Nordman <oh2aun@gmail.com> - 2016-01-11 10:53 -0800
      Re: Has anyone forthified ESP8266? Hannu Vuolasaho <vuokkosetae@gmail.com> - 2016-01-12 10:55 +0200
    Re: Has anyone forthified ESP8266? visualforth@rocketmail.com - 2016-01-11 18:23 -0800
    Re: Has anyone forthified ESP8266? Gerard Sontag <gerardsontag@gmail.com> - 2016-04-30 06:52 -0700

#44744 — Has anyone forthified ESP8266?

FromHannu Vuolasaho <vuokkosetae@gmail.com>
Date2016-01-10 23:54 +0200
SubjectHas anyone forthified ESP8266?
Message-ID<n6ujpj$pq8$1@dont-email.me>
Hello!

I keep seeing nice hacks for this module. I haven't studied it enough to 
say anything useful about it but if I'm correct it is ARM with wifi.

To me it seems good starting platform for network connected Forth computer.

Has anyone done any investigation or any progress with it?

--
Hannu Vuolasaho

[toc] | [next] | [standalone]


#44749

FromPaul Rubin <no.email@nospam.invalid>
Date2016-01-10 14:42 -0800
Message-ID<8737u5vyym.fsf@nightsong.com>
In reply to#44744
Hannu Vuolasaho <vuokkosetae@gmail.com> writes:
> I keep seeing nice hacks for this module. I haven't studied it enough
> to say anything useful about it but if I'm correct it is ARM with
> wifi.

It's not ARM, it's a MIPS-descended instruction set from Espressif.

> To me it seems good starting platform for network connected Forth computer.
> Has anyone done any investigation or any progress with it?

I doubt it, but there's a GCC port for it, so you could probably get any
of the C-based portable Forths running on it without too much trouble.

There's a similar but newer chip that's ARM-based:

  http://hackaday.com/2015/07/13/new-part-day-the-esp8266-killer/

[toc] | [prev] | [next] | [standalone]


#44773

Fromrickman <gnuarm@gmail.com>
Date2016-01-11 21:54 -0500
Message-ID<n71poe$5ah$1@dont-email.me>
In reply to#44749
On 1/10/2016 5:42 PM, Paul Rubin wrote:
> Hannu Vuolasaho <vuokkosetae@gmail.com> writes:
>> I keep seeing nice hacks for this module. I haven't studied it enough
>> to say anything useful about it but if I'm correct it is ARM with
>> wifi.
>
> It's not ARM, it's a MIPS-descended instruction set from Espressif.
>
>> To me it seems good starting platform for network connected Forth computer.
>> Has anyone done any investigation or any progress with it?
>
> I doubt it, but there's a GCC port for it, so you could probably get any
> of the C-based portable Forths running on it without too much trouble.
>
> There's a similar but newer chip that's ARM-based:
>
>    http://hackaday.com/2015/07/13/new-part-day-the-esp8266-killer/

Interesting part, very low power.  Seems hard to get info on it though, 
you have to register to get to the preliminary data sheet.  I wonder how 
the plan to distribute the chips.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#44774

FromPaul Rubin <no.email@nospam.invalid>
Date2016-01-11 19:11 -0800
Message-ID<87pox7v6dc.fsf@nightsong.com>
In reply to#44773
rickman <gnuarm@gmail.com> writes:
> Interesting part, very low power.  Seems hard to get info on it
> though, you have to register to get to the preliminary data sheet.  I
> wonder how the plan to distribute the chips.

Seeed Studio has some boards with it:

http://www.seeedstudio.com/depot/EMW3165-CortexM4-based-WiFi-SoC-Module-p-2488.html
http://www.seeedstudio.com/depot/EMW3165CortexM4-based-WiFi-SoC-Module%E2%80%82External-IPEX-antenna-p-2497.html

[toc] | [prev] | [next] | [standalone]


#44777

Fromrickman <gnuarm@gmail.com>
Date2016-01-12 02:24 -0500
Message-ID<n729ij$cpc$1@dont-email.me>
In reply to#44773
On 1/11/2016 9:54 PM, rickman wrote:
> On 1/10/2016 5:42 PM, Paul Rubin wrote:
>> Hannu Vuolasaho <vuokkosetae@gmail.com> writes:
>>> I keep seeing nice hacks for this module. I haven't studied it enough
>>> to say anything useful about it but if I'm correct it is ARM with
>>> wifi.
>>
>> It's not ARM, it's a MIPS-descended instruction set from Espressif.
>>
>>> To me it seems good starting platform for network connected Forth
>>> computer.
>>> Has anyone done any investigation or any progress with it?
>>
>> I doubt it, but there's a GCC port for it, so you could probably get any
>> of the C-based portable Forths running on it without too much trouble.
>>
>> There's a similar but newer chip that's ARM-based:
>>
>>    http://hackaday.com/2015/07/13/new-part-day-the-esp8266-killer/
>
> Interesting part, very low power.  Seems hard to get info on it though,
> you have to register to get to the preliminary data sheet.  I wonder how
> the plan to distribute the chips.

I think I replied to the wrong thread.  I was looking at a data sheet 
for a very low power processor from Ambiq called the Apollo.  Maybe it 
was mentioned in one of the comments to the hackaday post, but I can't 
find the reference.  Must be a different thread, maybe a different 
group, lol.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#44778

FromHannu Vuolasaho <vuokkosetae@gmail.com>
Date2016-01-12 10:42 +0200
Message-ID<n72e5v$pvi$1@dont-email.me>
In reply to#44749
On 11.01.2016 00:42, Paul Rubin wrote:
> Hannu Vuolasaho <vuokkosetae@gmail.com> writes:
>> I keep seeing nice hacks for this module. I haven't studied it enough
>> to say anything useful about it but if I'm correct it is ARM with
>> wifi.
>
> It's not ARM, it's a MIPS-descended instruction set from Espressif.
>
>> To me it seems good starting platform for network connected Forth computer.
>> Has anyone done any investigation or any progress with it?
>
> I doubt it, but there's a GCC port for it, so you could probably get any
> of the C-based portable Forths running on it without too much trouble.
>
> There's a similar but newer chip that's ARM-based:
>
>    http://hackaday.com/2015/07/13/new-part-day-the-esp8266-killer/
>
Actually I had hackaday.com open and I had read that article before. 
That's why I thought ES8266 being also ARM device.

--
Hannu Vuolasaho

[toc] | [prev] | [next] | [standalone]


#44753

FromMikael Nordman <oh2aun@gmail.com>
Date2016-01-10 21:51 -0800
Message-ID<6a59292d-fbc2-4414-b03d-ed85b51d304e@googlegroups.com>
In reply to#44744
On Sunday, January 10, 2016 at 11:54:30 PM UTC+2, Hannu Vuolasaho wrote:
> Hello!
> 
> I keep seeing nice hacks for this module. I haven't studied it enough to 
> say anything useful about it but if I'm correct it is ARM with wifi.
> To me it seems good starting platform for network connected Forth computer.
> Has anyone done any investigation or any progress with it?
> --
> Hannu Vuolasaho

I was going to write a Forth for it, and have four modules sitting on my desk.

But I have sofar not had the time or motivation to start writing a Forth for it.

I have set up the module as a wireless serial link for some FlashForth projects.

The module (or the software on it ) seems a bit unstable. The Wifi connection just dies after a while (= a day or so ). It also seems sensitive to too much traffic.

The ESP is quite power hungry. Almost 0,5 - 1 Watt used all the time.
Compared to very reliable BlueTooth modules the ESP uses about 5-10 times more power, so I rather stick to BT.

The CPU on it is an Xtensa LX106 CPU from Tensilica. A GNU toolchain exists for it. The C compiler and bootloader combo works just fine.

-- Mikael

[toc] | [prev] | [next] | [standalone]


#44755

FromPaul Rubin <no.email@nospam.invalid>
Date2016-01-10 23:19 -0800
Message-ID<87twmkvb0s.fsf@nightsong.com>
In reply to#44753
Mikael Nordman <oh2aun@gmail.com> writes:
> The ESP is quite power hungry. Almost 0,5 - 1 Watt used all the time.

Any idea what is going on with that?  Crappy wifi implementation?  Bad
software?  Tons of mobile phones have wifi without using anywhere near
that much power with it on.  I linked in another post to a possible
alternative to the 8266, but I haven't tried either one yet.

[toc] | [prev] | [next] | [standalone]


#44762

FromMikael Nordman <oh2aun@gmail.com>
Date2016-01-11 10:53 -0800
Message-ID<ee2f3fff-ecde-4beb-a3c9-9cadc2d480c6@googlegroups.com>
In reply to#44755
On Monday, January 11, 2016 at 9:19:16 AM UTC+2, Paul Rubin wrote:
> Mikael Nordman <oh2aun@gmail.com> writes:
> > The ESP is quite power hungry. Almost 0,5 - 1 Watt used all the time.
> 
> Any idea what is going on with that?  Crappy wifi implementation?  Bad
> software?  Tons of mobile phones have wifi without using anywhere near
> that much power with it on.  I linked in another post to a possible
> alternative to the 8266, but I haven't tried either one yet.

I googled a bit and the ESP actually consumes max 0,5 W (170 mA@3V) when transmitting 802.11b at 17 dBm.
The 802.11n transmit consumes 120 mA.
Receive current is 50 mA.

Then there are some power-save modes that require appropriate software control.
These rely on periodically shutting down the RF tranceiver.

Mikael 

[toc] | [prev] | [next] | [standalone]


#44779

FromHannu Vuolasaho <vuokkosetae@gmail.com>
Date2016-01-12 10:55 +0200
Message-ID<n72etk$sbp$1@dont-email.me>
In reply to#44753
On 11.01.2016 07:51, Mikael Nordman wrote:
> I have set up the module as a wireless serial link for some FlashForth projects.
>

Nice to hear some work is done to it Flashforth (or at least thought) 
and the Graig Lindeys's forth was also rather interesting.
> The module (or the software on it ) seems a bit unstable. The Wifi connection just dies after a while (= a day or so ). It also seems sensitive to too much traffic.
>

You are lucky. I need to reset it every two hours with my AVR 
thermometer toy. My motivation to ask forth for it was hoping getting 
more stable software :)
> The ESP is quite power hungry. Almost 0,5 - 1 Watt used all the time.
> Compared to very reliable BlueTooth modules the ESP uses about 5-10 times more power, so I rather stick to BT.
>
I haven-t even thought about it. Sounds bit stupid to heat that much 
device with WLAN controller.

--
Hannu Vuolasaho

[toc] | [prev] | [next] | [standalone]


#44770

Fromvisualforth@rocketmail.com
Date2016-01-11 18:23 -0800
Message-ID<81e40aa2-fa81-434f-8e8c-cc90f3bec5a2@googlegroups.com>
In reply to#44744
On Sunday, January 10, 2016 at 4:54:30 PM UTC-5, Hannu Vuolasaho wrote:
> Hello!
> 
> I keep seeing nice hacks for this module. I haven't studied it enough to 
> say anything useful about it but if I'm correct it is ARM with wifi.
> 
> To me it seems good starting platform for network connected Forth computer.
> 
> Has anyone done any investigation or any progress with it?
> 
> --
> Hannu Vuolasaho

Look at:
http://craigandheather.net/
http://craigandheather.net/misc/ESP8266Forth.zip
http://espressif.com/en/products/esp8266/

More at source: http://www.forth-ev.de/article.php/20151210011706511 

[toc] | [prev] | [next] | [standalone]


#46847

FromGerard Sontag <gerardsontag@gmail.com>
Date2016-04-30 06:52 -0700
Message-ID<34133b23-843e-4bb4-bd1c-47f0608d5f88@googlegroups.com>
In reply to#44744
Le dimanche 10 janvier 2016 22:54:30 UTC+1, Hannu Vuolasaho a écrit :
> Hello!
> 
> I keep seeing nice hacks for this module. I haven't studied it enough to 
> say anything useful about it but if I'm correct it is ARM with wifi.
> 
> To me it seems good starting platform for network connected Forth computer.
> 
> Has anyone done any investigation or any progress with it?
> 
> --
> Hannu Vuolasaho

Hello,
In the hope that it will help you:
http://www.esp8266.com/viewtopic.php?f=152&t=8718
https://github.com/niclash/forthright (in case you miss the link!)
Gérard

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.forth


csiph-web