Search found 36 matches

by gojimmypi
Wed Mar 30, 2016 7:00 pm
Forum: ESP8266 boards
Topic: howto: Build MicroPython on Debian Linux or a Raspberry Pi for the ESP8266
Replies: 3
Views: 5614

howto: Build MicroPython on Debian Linux or a Raspberry Pi for the ESP8266

First: The this is *not* the official documentation on how to build esp-open-sdk and MicroPython, rather this is information that I found helpful for building on Debian and Raspberry Pi. See http://forum.micropython.org/viewtopic.php?f=16&t=1689 and http://forum.micropython.org/viewtopic.php?f=16&t=...
by gojimmypi
Sun Mar 27, 2016 3:51 pm
Forum: ESP8266 boards
Topic: i2c multi-byte read for ESP8266? (e.g. RTC1307)
Replies: 18
Views: 6479

Re: i2c multi-byte read for ESP8266? (e.g. RTC1307)

did you check with a logic analyser? I've been looking for a reason to try out my Rigol 1054Z decoding! The good news, is that the oscilloscope is really quite cool. The bad news is that the resultant data seems to have a problem (see attached picture). Note all the question marks between data elem...
by gojimmypi
Sun Mar 27, 2016 9:47 am
Forum: ESP8266 boards
Topic: i2c multi-byte read for ESP8266? (e.g. RTC1307)
Replies: 18
Views: 6479

Re: i2c multi-byte read for ESP8266? (e.g. RTC1307)

thanks for your reply. well, that sounded fairly promising, but does not seem to work on the V02 alpha that I have (shipped March 16 - is that the most recent?) >>> from machine import Pin, I2C >>> i2c = I2C(scl=Pin(5), sda=Pin(4), freq=100000) >>> print(i2c.mem_read(0x68,0,7)) Traceback (most recen...
by gojimmypi
Sun Mar 27, 2016 12:44 am
Forum: ESP8266 boards
Topic: i2c multi-byte read for ESP8266? (e.g. RTC1307)
Replies: 18
Views: 6479

i2c multi-byte read for ESP8266? (e.g. RTC1307)

edit: update subject with specific (e.g. RTC1307) I was wondering if anyone has some working sample code for multi-byte reads from the I2C bus? I'm using the mp-esp8266-firmware-v02.bin #4 ets_task(40100278, 3, 3fff4658, 4) MicroPython v1.6-336-g6f5af76-dirty on 2016-03-16; ESP module with ESP8266 T...
by gojimmypi
Thu Mar 24, 2016 8:44 pm
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 3934

Re: reboot after text paste?

fwiw - here's an example of the garbled text pasted into Putty in MicroPython "Ctrl-E" mode from Windows. There are 114 lines all exactly the same created in Notepad. Part way in, the text gets garbled. ...initial lines omitted... === print("hello world") === print("hello world") === print("hello wo...
by gojimmypi
Thu Mar 24, 2016 8:23 pm
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 3934

Re: reboot after text paste?

I use the china boards a lot my self (LoLin and Geekcreit). As far as I can tell, they work very well with Micropython (and they should come with the same ESP as the Huzzah). That's good to know! I'm curious if you've used your LoLin board in a Linux environment? My Amica board gets recognized with...
by gojimmypi
Wed Mar 23, 2016 8:30 pm
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 3934

Re: reboot after text paste?

Hi Stefan & thanks for your response :) Note that the print "Hello World" seems to do nothing: no error, no message Have you tried to make "pyboard" follow the output - e.g. like so: python pyboard.py --device COM10 --follow -c "print('hello world')" the "--follow" is interesting; it prints hello wo...
by gojimmypi
Wed Mar 23, 2016 6:01 pm
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 3934

Re: reboot after text paste?

thanks for that! yes, the "pyboard.py" works perfectly to upload! (well, from my Raspberry Pi). This forum has a good thread with tips & suggestions for the Linux option; I posted my comments here: http://forum.micropython.org/viewtopic.php?f=16&t=1546&start=10#p9623 I also have python 3.5 on my Win...
by gojimmypi
Wed Mar 23, 2016 5:29 pm
Forum: ESP8266 boards
Topic: Downloading, Building and Deploying the Firmware
Replies: 17
Views: 8437

Re: Downloading, Building and Deploying the Firmware

Once the firmware is uploaded following command will connect to micropython on the ESP board and give you the REPL prompt : sudo screen /dev/ttyUSB0 115200 To exit: CTRL-A CTRL-D this was really helpful, thanks! (I was leaving off the 115200 param, and wondering why it would not connect, D'oh). als...
by gojimmypi
Wed Mar 23, 2016 1:05 am
Forum: ESP8266 boards
Topic: reboot after text paste?
Replies: 10
Views: 3934

reboot after text paste?

I've been having problems with the "Ctrl-E" (right click to paste) and "Ctrl-D" to send a block of text to the ESP8266 via Putty. I would occasionally get error messages for code that otherwise looks ok. Sometimes it would appear some text got "lost" in transit. And now while pasting, I ended up wit...