Search found 16 matches

by Saran
Thu May 31, 2018 3:29 pm
Forum: ESP8266 boards
Topic: Setting RTC From Internet?
Replies: 27
Views: 27577

Re: Setting RTC From Internet?

MicroPython v1.9.4 on 2018-05-11; WiPy with CC3200

Code: Select all

>>> import ntptime
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: module not found
Where can I get ntptime module?
by Saran
Tue Mar 07, 2017 9:07 am
Forum: WiPy and CC3200 boards
Topic: WiPy and Mu (editor)
Replies: 0
Views: 805

WiPy and Mu (editor)

Since WiPy hasn't a USB, controlling upload of source to the board (like for micro:bit) with the Mu editor is out of the question (I presume), but does Mu support or is it compatible with WiPy MicroPython version?

Anyone used Mu for writing code for WiPy?
by Saran
Sat Jan 02, 2016 9:27 pm
Forum: WiPy and CC3200 boards
Topic: MicroPython port of photocell reader
Replies: 3
Views: 3126

Re: MicroPython port of photocell reader

I've extended the setup with four more photo sensors and threw a Raspberry Pi into the mix. The result is this: https://github.com/VipSaran/Skalinada 20160101_210047.jpg 20160101_205941.jpg Please don't flame me for "dirty" cycling through 5 sensors. I postponed the project for months only to take i...
by Saran
Fri Nov 06, 2015 6:43 pm
Forum: WiPy and CC3200 boards
Topic: MicroPython port of photocell reader
Replies: 3
Views: 3126

MicroPython port of photocell reader

Hi, Based on the Adafruit guide I decided to make the photocell reading work on WiPy, all for a final goal of making this . More about the whole project once it's done, but now I just wanted to share the port of this Python code: #!/usr/bin/env python # Example for RC timing reading for Raspberry Pi...
by Saran
Wed Oct 28, 2015 9:57 am
Forum: WiPy and CC3200 boards
Topic: Onewire and DS18B20
Replies: 42
Views: 25955

Re: Onewire and DS18B20

This is the "test setup": 20151028_072821.jpg I've measured (with cheap IR temp meter) WiPy at 26.9 C, so I believe it can't that much influence the sensor. @Damien: I tried with hairdryer (up to ~30C). Same relative discrepancy. @dhylands: I don't have the problem with discrepancy of DS and analog ...
by Saran
Tue Oct 27, 2015 8:19 pm
Forum: WiPy and CC3200 boards
Topic: Onewire and DS18B20
Replies: 42
Views: 25955

Re: Onewire and DS18B20

Thanks Damien for the library, and for changing the output to fixed point :-). I am attaching the beta WiPy firmware that needs to be used in order to test the library. Works. Thanks for sorting this out :) Although, I think there is an issue with the reading... The WiPy reading: devices: [bytearra...
by Saran
Sat Oct 24, 2015 8:38 pm
Forum: WiPy and CC3200 boards
Topic: Onewire and DS18B20
Replies: 42
Views: 25955

Re: Onewire and DS18B20

Cany anyone give me pointers how to get to the bottom of this problem?
by Saran
Fri Oct 23, 2015 12:51 pm
Forum: WiPy and CC3200 boards
Topic: WLAN.STA not working after 1.1.0 [sorted]
Replies: 2
Views: 1348

Re: WLAN.STA not working after 1.1.0

Thanks.
by Saran
Fri Oct 23, 2015 11:58 am
Forum: WiPy and CC3200 boards
Topic: Change in wifi behavior after update to 1.1.0
Replies: 4
Views: 1927

Re: Change in wifi behavior after update to 1.1.0

mbirth wrote:
cswiger wrote:wifi = WLAN(WLAN.STA)
The new syntax would be:

Code: Select all

wifi = WLAN(mode=WLAN.STA)
It's also mentioned in the documentation.
That's all nice, but how do you explain behavior in this post: http://forum.micropython.org/viewtopic.php?f=11&t=1056?
by Saran
Thu Oct 22, 2015 6:43 pm
Forum: WiPy and CC3200 boards
Topic: WLAN.STA not working after 1.1.0 [sorted]
Replies: 2
Views: 1348

WLAN.STA not working after 1.1.0 [sorted]

I've this scropt working on 1.0.0: # boot.py -- run on boot-up # can run arbitrary Python, but best to keep it minimal from network import WLAN wifi = WLAN(mode=WLAN.STA) nets = wifi.scan() for net in nets: if net.ssid.lower() == 'ssid1': wifi.connect(net.ssid, auth=(net.auth, 'passwd')) break elif ...