Search found 7 matches

by JasonHildebrand
Fri Nov 13, 2015 3:30 am
Forum: WiPy and CC3200 boards
Topic: Can't set up the network
Replies: 10
Views: 15135

Re: Can't set up the network

during my initial reading i think i see some other 'bugs' in the documentation (cant find them at the moment) What is the right / prefered way to bring these suggestions to you/the team? AFAIK, the correct place is to post an issue at the github page: https://github.com/micropython/micropython Or b...
by JasonHildebrand
Tue Apr 07, 2015 2:47 pm
Forum: Drivers for External Components
Topic: 1wire devices
Replies: 16
Views: 21263

Re: 1wire devices

Looks like a bug - according to the docs your code should work.

Until this is fixed, try this instead:

Code: Select all

result = d.read_temp(d.roms[0])
This will read the temperature of the first sensor.
by JasonHildebrand
Sat Feb 28, 2015 3:23 am
Forum: Drivers for External Components
Topic: 1wire devices
Replies: 16
Views: 21263

Re: 1wire devices

Update - if you follow the link to github I posted earlier, there is now working onewire / ds18s20 driver.
by JasonHildebrand
Mon Feb 23, 2015 5:24 am
Forum: Hardware Projects
Topic: Timer for car heater
Replies: 4
Views: 6423

Re: Timer for car heater

I have DS18S20 working for the simple case of a single sensor. I have updated my github tree, you need these two modules: https://github.com/jdhildeb/micropython/blob/master/examples/ds18s20.py https://github.com/jdhildeb/micropython/blob/master/examples/onewire.py It doesn't yet support multiple de...
by JasonHildebrand
Sun Feb 22, 2015 11:11 pm
Forum: Hardware Projects
Topic: Timer for car heater
Replies: 4
Views: 6423

Re: Timer for car heater

I am planning a similar project. One idea a friend of mine suggested is instead of using a relay to control the heater (which requires working cleanly with 120V), instead to use an inexpensive remote control power plug which can be controlled with a 433 Mhz transmitter. This would allow you to keep ...
by JasonHildebrand
Fri Feb 13, 2015 4:22 am
Forum: Drivers for External Components
Topic: 1wire devices
Replies: 16
Views: 21263

Re: 1wire devices

I wonder how this is going? I just received some of the DS18B20s to play with... It's going well, though I've switched back to a pure-python approach. You can follow more closely here: https://github.com/micropython/micropython/pull/1095 I'm gone for the weekend but will hopefully post some working...
by JasonHildebrand
Thu Jan 29, 2015 4:11 am
Forum: Drivers for External Components
Topic: 1wire devices
Replies: 16
Views: 21263

Re: 1wire devices

BTW, the one-wire module you linked to above appears to be for raspberry pi. It assumes that several kernel modules are available which will not be the case in micropython (since there is no kernel). Over the holidays I spent a number of hours working on 1-wire support. I was not able to get it work...