Search found 12 matches

by greentree
Thu Aug 13, 2020 4:21 pm
Forum: MicroPython pyboard
Topic: Accessing pyBoard from Android via USB-OTG
Replies: 3
Views: 1247

Re: Accessing pyBoard from Android via USB-OTG

Has anyone made progress on this issue? I'm working on an Adafruit STM32F405 Feather Express, with the firmware Adafruit provides at https://cdn-learn.adafruit.com/assets/assets/000/083/671/original/micropython_1.9.4_Feather_STM32F405.zip?1573009976 I'm able to access the filesystem (and, simultaneo...
by greentree
Thu Jan 05, 2017 3:58 am
Forum: ESP8266 boards
Topic: mpfshell or similar on OS X
Replies: 2
Views: 1566

mpfshell or similar on OS X

I've been using mpfshell on my ubuntu machines for serial communications with ESP8266 HUZZAH Breakout boards, which has been working very well (many thanks, @wendlers!). I'm now trying to help some students who use OS X machines. mpfshell installs via setup.py and appears to launch without errors th...
by greentree
Mon Nov 14, 2016 12:30 am
Forum: ESP8266 boards
Topic: Module for Ultrasonic sensor (HC-SR04)
Replies: 37
Views: 21917

Re: Module for Ultrasonic sensor (HC-SR04)

Thanks for these suggestions! I have an analog IR distance sensor -- I can work out the the power issues temporarily while I wait for one of the I2C sensors. I'll give it a try. I'm still interested in the acoustic sensor, if it is workable. Using sound as a sensing mechanism has some intrinsic valu...
by greentree
Mon Nov 14, 2016 12:23 am
Forum: ESP8266 boards
Topic: The state of the community
Replies: 11
Views: 4648

Re: The state of the community

Hello all, I've been using teensies and the like for teaching a mixture of technology and environmental science at the University level and also in middle and high school classes. My goals are to entrain the many students for whom hands on learning works better than listening to lectures. This inclu...
by greentree
Sun Nov 13, 2016 6:47 pm
Forum: ESP8266 boards
Topic: Module for Ultrasonic sensor (HC-SR04)
Replies: 37
Views: 21917

Re: Module for Ultrasonic sensor (HC-SR04)

Hi! I'm very interested in the potential of using inexpensive acoustic sensors for tide and wave measurements. Thanks for posting your work in progress. Are there any updates on your results and advice?
by greentree
Wed Oct 26, 2016 4:43 pm
Forum: ESP8266 boards
Topic: DS18B20 error
Replies: 8
Views: 5854

Re: DS18B20 error

Some more specifics for an array of six DS18B20 sensors. With DS18X20 from frozen bytecode: from machine import Pin from onewire import OneWire from time import sleep_ms from ds18x20 import DS18X20 p12 = Pin(12, Pin.OUT) p12.high() p14 = Pin(14, Pin.OUT) p14.low() ow = OneWire(Pin(13)) print(ow.scan...
by greentree
Wed Oct 26, 2016 4:35 pm
Forum: ESP8266 boards
Topic: DS18B20 error
Replies: 8
Views: 5854

DS18B20 error

As far as I can tell there is an issue reading DS18B20 sensors with recent firmware, where the normal usage fails during the DS18X20.scan() call. That seems to be because the filter for DS18X20 types onewire devices rejects ROMs that it should accept (or else the ROMs are being read incorrectly). Re...
by greentree
Thu May 05, 2016 4:12 pm
Forum: ESP8266 boards
Topic: time server for ESP8266
Replies: 5
Views: 4556

Re: time server for ESP8266

Thanks to all three of you for your helpful comments. I'm glad this worked out so well for all of us, especially that I was able to contribute even with limited skills. Micropython is a great project and a great community of contributors. I'm working on code that will store data with an estimated ti...
by greentree
Mon Apr 25, 2016 4:14 pm
Forum: ESP8266 boards
Topic: time server for ESP8266
Replies: 5
Views: 4556

time server for ESP8266

I'm trying to set up a temperature sensor with an ESP8266 that repeatedly samples some DS18B20's, uploads data to a server, and puts itself to sleep for an interval. The deepsleep state seems to reset the RTC, so I'm trying to create a minimalist way to get time from a server until other sleep state...
by greentree
Wed Dec 23, 2015 4:14 pm
Forum: Programs, Libraries and Tools
Topic: missing network objects
Replies: 1
Views: 4384

missing network objects

A beginner's question: I'm trying to connect an adafruit cc3000 wifi to a pyboard. I'm running a new pyboard v1.1, straight out of the box. I get an error when I try to create an object (any object, as far as I can tell) from the network module. From a minicom session: >>> import pyb >>> import netw...