Search found 45 matches

by pmulvey
Tue Oct 29, 2019 3:56 pm
Forum: ESP8266 boards
Topic: [SOLVED] OSError: [Errno 19] ENODEV
Replies: 0
Views: 3355

[SOLVED] OSError: [Errno 19] ENODEV

I had perfectly good code addressing an I2C device, then it start raising the "OSError: [Errno 19] ENODEV". After pulling this code asunder I eventually discovered that my I2C device wasn't responding or had come off the I2C bus. Reconnecting it solved the problem. I seems that this error is thrown ...
by pmulvey
Mon Oct 28, 2019 10:15 am
Forum: ESP8266 boards
Topic: UART and REPL Issue
Replies: 6
Views: 3640

Re: UART and REPL Issue

Just looking at the D1 Mini, it seems doable to cut the track from the CH340 to the 470 R resistor and insert a schottky diode.
by pmulvey
Mon Oct 28, 2019 9:37 am
Forum: ESP8266 boards
Topic: UART and REPL Issue
Replies: 6
Views: 3640

Re: UART and REPL Issue

Thanks for that. Given this serial port limitation on the ESP8266 and also the difficulty (I think) in getting IR Tx and RX working under Micropython I was thinking of building another board with Arduino acting as an I2C slave and carrying out these "difficult" functions.
by pmulvey
Sat Oct 26, 2019 8:13 pm
Forum: ESP8266 boards
Topic: UART and REPL Issue
Replies: 6
Views: 3640

UART and REPL Issue

I have a Grove MP3 V2 module that connects to the ESP8266 via a serial connection on the TX and RX pins. After a late night and pulling out the last few strands of my hair, the following morning I got to grips with why the ESP8266 was apparently being bricked and not responding to the REPL. The prog...
by pmulvey
Sat Oct 26, 2019 7:58 pm
Forum: General Discussion and Questions
Topic: My IDE configuration using Notepad++, ampy and Tera Term
Replies: 22
Views: 14573

Re: My IDE configuration using Notepad++, ampy and Tera Term

This works great on my home laptop (Win 8.1) but when I tried it on the students' Win 7 machines it doesn't work. Seems to be something different going on at the DOS level. Anyway I made a grand improvement that does work. My Project has a workspace folder with a globals folder in this so I have a p...
by pmulvey
Wed Oct 16, 2019 10:26 pm
Forum: General Discussion and Questions
Topic: My IDE configuration using Notepad++, ampy and Tera Term
Replies: 22
Views: 14573

My IDE configuration using Notepad++, ampy and Tera Term

I use Notepad++ for editing, ampy for downloading and Tera Term for serial terminal. In Notepad++ I use NPPExec to execute the following commands: NPP_SAVE ampy --port COM4 put $(FULL_CURRENT_PATH) reset.bat exit The file is first saved, then downloaded via COM4. The reset.bat file sends a Ctrl-D to...
by pmulvey
Sun Oct 13, 2019 12:09 pm
Forum: Programs, Libraries and Tools
Topic: Cannot get Vagrant Up
Replies: 4
Views: 2786

Re: Cannot get Vagrant Up

Thanks Peter, I actually started to do that on my Linux Mint machine but hit a few more hurdles. I'll google my way through those hopefully. I resolved the situation for now by removing one of the modules. The overall project is a demo of the board's facilities and I suppose in practice my students ...
by pmulvey
Fri Oct 11, 2019 4:13 pm
Forum: Programs, Libraries and Tools
Topic: Cannot get Vagrant Up
Replies: 4
Views: 2786

Cannot get Vagrant Up

I'm trying to get into frozen modules. It seems to be quite a task given that you need to use Virtual Box, GIT, and Vagrant. Is there any simpler way? I would be satisfied with .mpy files because I seem to be up against the blocks with my source code size and compiling on the esp8266. This the Vagra...
by pmulvey
Sat Oct 05, 2019 6:45 pm
Forum: General Discussion and Questions
Topic: Large Project Structure query
Replies: 2
Views: 2030

Large Project Structure query

My board is my own design development board using the Wemos Node D1 Mini. It has LCD, LEDS, Switches, RGB, Temperature Sensor, LDR, Speaker, Motor H-Bridge. I use it to teach microcontrollers. The demo software runs a menu system to demonstrate each of these sensors according to the users’ choice. T...
by pmulvey
Sun May 12, 2019 1:14 pm
Forum: ESP8266 boards
Topic: Variable read times for BME280
Replies: 0
Views: 2039

Variable read times for BME280

I am using the bme280_float library. The bme280.altitude property sometimes takes different times to complete and it seems random (8 - 80mS). Anyone notice this before? while True: a = ticks_ms() print ((accelerometer.get_values()['AcX']) / 4096) print (ticks_ms() - a) print (bme280.altitude) print ...