Search found 24 matches

by scudderfish
Sat Jan 30, 2016 3:47 pm
Forum: WiPy and CC3200 boards
Topic: Quicker reading from multiple DS18X20 sensors
Replies: 2
Views: 3505

Re: Quicker reading from multiple DS18X20 sensors

I've finally got my wipy installed in my car and on the first run of this code today I was logging 5 sensors to an SD card at about 3 sets of readings per second. I'm very pleased with that!

Regards,
David
by scudderfish
Wed Jan 06, 2016 11:54 am
Forum: WiPy and CC3200 boards
Topic: Battery backed RTC on I2C bus
Replies: 8
Views: 9793

Re: Battery backed RTC on I2C bus

pythoncoder wrote:@scudderfish I've taken the liberty of adapting this for the Pyboard. I also added a mechanism for calibrating the Pyboard's RTC from the DS3231. https://github.com/peterhinch/micropython-samples.git
Excellent :)
by scudderfish
Thu Dec 17, 2015 6:35 pm
Forum: WiPy and CC3200 boards
Topic: Battery backed RTC on I2C bus
Replies: 8
Views: 9793

Re: Battery backed RTC on I2C bus

The onboard one is not battery backed and my wipy is ultimately going in my car where power and net connectivity will be intermittent. If it proves useful for someone else then that's quite fine.

Regards,
David
by scudderfish
Wed Dec 09, 2015 7:46 pm
Forum: WiPy and CC3200 boards
Topic: Powering the Wipy
Replies: 1
Views: 2859

Powering the Wipy

If I put 5V into VIN, is it safe to connect to a computer via USB?

Regards,
David
by scudderfish
Sun Nov 15, 2015 5:19 pm
Forum: WiPy and CC3200 boards
Topic: ADC Conversion
Replies: 15
Views: 13525

Re: ADC Conversion

As Dave said (but in other words) uour two calls to lipo() will be returning different values. Call it once and assign it to a variable.
a=lipo()
a,a%4095

Regards,
David
by scudderfish
Sat Nov 14, 2015 12:33 pm
Forum: WiPy and CC3200 boards
Topic: Scripting testing with pexpect
Replies: 2
Views: 11057

Scripting testing with pexpect

I'm editing code on my Mac, and pushing the edits to the Wipy using sitecopy. It was getting a little tedious reloading my new code and testing it via the REPL so I scripted it using pexpect (https://github.com/pexpect/pexpect) The only tricky bit was figuring out I needed to append '\r' to all comm...
by scudderfish
Mon Nov 09, 2015 6:23 am
Forum: WiPy and CC3200 boards
Topic: No USB port on OS X
Replies: 3
Views: 5073

Re: No USB port on OS X

Assuming it's an FTDI chip on the Wipy, try the driver from this page http://www.ftdichip.com/Drivers/VCP.htm

Regards,
David
by scudderfish
Sun Nov 08, 2015 7:22 pm
Forum: WiPy and CC3200 boards
Topic: Quicker reading from multiple DS18X20 sensors
Replies: 2
Views: 3505

Re: Quicker reading from multiple DS18X20 sensors

Now in it's own repo so it doesn't get mixed up with my master project

https://github.com/scudderfish/FDS18X20
by scudderfish
Sun Nov 08, 2015 5:38 pm
Forum: WiPy and CC3200 boards
Topic: Quicker reading from multiple DS18X20 sensors
Replies: 2
Views: 3505

Quicker reading from multiple DS18X20 sensors

I've hacked about on the previous 18X20 driver so that it works quicker if you have more than one sensor. If you only have one, this will be no better. Basically, instead of enumerating over each sensor telling it to read, and waiting for an answer, I tell all sensors to start a conversion, wait for...
by scudderfish
Sun Nov 08, 2015 1:39 pm
Forum: WiPy and CC3200 boards
Topic: Using sitecopy during Wipy dev
Replies: 3
Views: 3817

Re: Using sitecopy during Wipy dev

I tried with a node.js package (https://www.npmjs.com/package/ftpsync) in case compiling C code was too scary but it seems to disagree over file listing. I've uploaded a packet capture here https://www.dropbox.com/s/4z0mk1asfsc83c7/wipy-nodeftpsync.pcap.gz?dl=0. As far as I can see, the ftp client i...