RetroBSD

2.11BSD operating system for microcontrollers
It is currently Tue Oct 15, 2019 12:14 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sun Feb 22, 2015 10:04 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
For $5 you may get following module from ebay:

More hw/sw info on
https://nurdspace.nl/ESP8266
https://github.com/esp8266/esp8266-wiki/wiki
and other zillion sites and forums..
(ie. http://hackaday.com/2014/09/26/esp8266- ... e-testing/ - 366 meters with the PCB antenna and 4.28km with a dish)..
It takes 240 mA peak (70mA oper.) so be prepared..
Interesting to see many coils on the chip - see below :P

Quote:
ESP8266 is a highly integrated chip designed for the needs of a new connected world. It offers a complete and self-contained Wi-Fi networking solution, allowing it to either host the application or to offload all Wi-Fi networking functions from another application processor.

ESP8266 has powerful on-board processing and storage capabilities that allow it to be integrated with the sensors and other application specific devices through its GPIOs with minimal development up-front and minimal loading during runtime. Its high degree of on-chip integration allows for minimal external circuitry, and the entire solution, including front-end module, is designed to occupy minimal PCB area..

What is this ESP8266

It's a wireless SoC
It has GPIO, I2C, ADC, SPI, PWM and some more
It's running at 80MHz
32KBytes of instruction RAM
96KBytes of data RAM
64KBytes boot ROM
It has a Winbond W25Q40BVNIG SPI flash
It's a RISC architecture
The core is a 106micro Diamond Standard core (LX3) made by Tensilica
The ESP8266 chip is made by Espressif
Modules bearing this chip are made by various manufacturers

Features

802.11 b/g/n protocol
Wi-Fi 2.4 GHz, support WPA/WPA2
Super small module size (11.5mm x 11.5mm)
Integrated 10-bit ADC
Integrated TCP/IP protocol stack (ipv4 only at the moment)
Integrated TR switch, balun, LNA, power amplifier and matching network Integrated PLL, regulators, and power management units
+20dBm output power in 802.11b mode
Supports antenna diversity
Deep sleep power <10uA, Power down leakage current < 5uA
Integrated low power 32-bit MCU
SDIO 2.0, SPI, UART, I2C
STBC, 1x1 MIMO, 2x1 MIMO
A-MPDU & A-MSDU aggregation & 0.4μs guard interval
Wake up and transmit packets in < 2ms
Standby power consumption of < 1.0mW (DTIM3)
Operating temperature range -40C ~ 125C


Attachments:
chip2.JPG
chip2.JPG [ 219.8 KiB | Viewed 17340 times ]
EPS8266.JPG
EPS8266.JPG [ 42.68 KiB | Viewed 17361 times ]

_________________
Pukao Hats Cleaning Services Ltd.
Top
 Profile  
 
PostPosted: Mon Feb 23, 2015 12:04 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1081
Location: Sunnyvale, CA
Nice module. Should be easy to control at application level, via existing SPI driver. Quite similar to Wiznet, I guess.


Top
 Profile  
 
PostPosted: Mon Feb 23, 2015 8:40 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
The above module works via UART, there are several firmwares, I think 921kbaud is max, usually 115k.
There are modules with more options, moreover the chip itself can do a lot more, there is an SDK for it, you can write your own apps and put them on the chip.

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
PostPosted: Mon Feb 23, 2015 8:51 am 
Committer
User avatar

Joined: Wed Oct 10, 2012 11:01 pm
Posts: 1081
Location: Sunnyvale, CA
UART is even easier. Though 115k is too slow for many applications.


Top
 Profile  
 
PostPosted: Mon Feb 23, 2015 9:31 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
With one of the firmwares '0.95 firmware you can do
Code:
AT+CIOBAUD=115200
AT+CIOBAUD=230400
AT+CIOBAUD=460800
AT+CIOBAUD=921600

921k would satisfy most needs, not sure retrobsd or Lite can do that..
My biggest concern is the current it requires - a small portable cold fusion reactor would help :P

https://github.com/nekromant/esp8266-frankenstein
http://tech.scargill.net/new-lua-update-is-open-source/

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
PostPosted: Mon Feb 23, 2015 12:49 pm 
User avatar

Joined: Mon Nov 12, 2012 3:17 pm
Posts: 164
Location: Bratislava, Slovakia
I have a few of those modules at home, did a few tests, but still haven't found good application for it.
I like it - those modules are cheap, available and there is a lot of know-how on the interwebs. There are even different variations of ESP8266 modules - http://l0l.org.uk/2014/12/esp8266-modul ... ch-em-all/

115k2 wouldn't be real showstopper IMHO - there is a lot of applications where you need to spit out a few dozens of bytes once a minute. Better would be to use higher baudrates. 921k would be comfortably possible on PIC32 USARTs.

Regarding current consumption - unfortunately that's how it goes with wifi devices.

_________________
http://jaromir.xf.cz/
https://hackaday.io/jaromir/


Top
 Profile  
 
PostPosted: Mon Feb 23, 2015 2:14 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
There is ESP8266EX as well (or EX are all of them ??).. Datasheet http://www.mikrocontroller.net/attachme ... ons_v4.pdf

The 921k will work at uart level sure, but how it would work under retrobsd/Lite system? We have got problems to use rz/sz at 115k :?

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
PostPosted: Mon Mar 09, 2015 1:25 pm 
User avatar

Joined: Fri Mar 06, 2015 9:13 pm
Posts: 37
Location: Barcelona, SP
Hi Everybody,

Firs of all congrats for this nice projects Retro and Lite are awesome and Unix taste !!
I don't know where to place a little presentation of mine and then I place here... ;)

Using https://github.com/nodemcu/nodemcu-firmware can be easy loading simple wifi2uart lua code wrapper and linked to console uart, pretty easy to do that.... !!

Keep the good job,,, !! :roll:

Cheers,
Mike

_________________
Dennis MacAlistair Ritchie (Sep.09.1941 - Oct.12.2011)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission