Search found 1353 matches

by deshipu
Sun Dec 20, 2015 11:08 am
Forum: WiPy and CC3200 boards
Topic: Controlling hobby servos
Replies: 21
Views: 12994

Controlling hobby servos

I bought my WiPy boards with one goal in mind -- to use them for controlling my robots. In order to do that, I need to generate a 50Hz PWM signal with duty between 600 and 2400µs. Sounds simple? After waiting for the promised Timer class overhaul (after which I would have to rewrite everything) I de...
by deshipu
Sun Dec 20, 2015 9:37 am
Forum: WiPy and CC3200 boards
Topic: Timer example not working
Replies: 32
Views: 18062

Re: Timer example not working

So, is there any timeline or plan on when the timers are going to work? Without timers the WiPy is pretty much useless to me, so it would be nice to know if I should consider the money lost and just go and buy some other, working board. I see the example in the documentation is still wrong, raising ...
by deshipu
Fri Oct 23, 2015 7:46 am
Forum: WiPy and CC3200 boards
Topic: Setting pin alternate function
Replies: 16
Views: 5399

Re: Setting pin alternate function

I concur. One common use for PWM is to control hobby servos -- you need to have a 20ms period, and 600-2400µs duty cycle. That means you need to control it from 3% to 12%. With the current way of setting the duty cycle, that's impossible.
by deshipu
Thu Oct 22, 2015 7:02 pm
Forum: WiPy and CC3200 boards
Topic: Timer example not working
Replies: 32
Views: 18062

Timer example not working

While exploring WiPy, I tried the example from the documentation on timers, at http://micropython.org/resources/docs/en/latest/wipy/library/machine.Timer.html#machine-timer from machine import Timer tim = Timer(4) # create a timer object using timer 4 tim.init(mode=Timer.PERIODIC) # initialize it in...
by deshipu
Thu Oct 22, 2015 6:28 pm
Forum: WiPy and CC3200 boards
Topic: Bricked?
Replies: 10
Views: 3849

Re: Bricked?

Maybe there is something wrong with how WiPy advertises its SSID? Could be, I'll investigate. After some tests I suspect that WiPy is completely fine, and the problem is in my system, which simply doesn't scan for WiFi networks anymore once you are connected to one. To make WiPy's SSID appear, I si...
by deshipu
Thu Oct 22, 2015 6:12 pm
Forum: WiPy and CC3200 boards
Topic: Unreliable Operation: FTP, Telnet, Power, ...
Replies: 27
Views: 9751

Re: Unreliable Operation: FTP, Telnet, Power, ...

I found out how to see what commands are being sent by lftp, and it looks like this: ---- Connecting to 192.168.0.17 (192.168.0.17) port 21 <--- 220 Micropython FTP Server ---> FEAT <--- 332 ---> AUTH TLS <--- 332 ---> USER micro At this pooint WiPy probably crashes, as it becomes unresponsive and t...
by deshipu
Thu Oct 22, 2015 5:56 pm
Forum: WiPy and CC3200 boards
Topic: Unreliable Operation: FTP, Telnet, Power, ...
Replies: 27
Views: 9751

Re: Unreliable Operation: FTP, Telnet, Power, ...

There does seem to be some tricky problems with the FTP server. While it does work with the default "ftp" Linux client, and with FileZilla, the WiPy will freeze each time I try to log in using, say lftp. I haven't looked into this in detail yet, but my guess is that some ftp clients try to use some ...
by deshipu
Wed Oct 14, 2015 9:15 am
Forum: WiPy and CC3200 boards
Topic: Bricked?
Replies: 10
Views: 3849

Re: Bricked?

Thank you for your help, and for the work on the docs, hopefully the level of confusion will fall with time. Hi, your laptops might have issues with devices changing ssid and then showing the same mac address (bssid). That might sound plausible, if not for the fact that I didn't try to connect to Wi...
by deshipu
Wed Oct 14, 2015 8:54 am
Forum: WiPy and CC3200 boards
Topic: Bricked?
Replies: 10
Views: 3849

Re: Bricked?

By the way, is there any way I can help with the documentation? I'm still shocked that you don't update the docs in the same commit as the code change, it would literally only take a minute or two more, as opposed to wading through all the changes and trying to guess what's the correct answer now. I...
by deshipu
Wed Oct 14, 2015 8:45 am
Forum: WiPy and CC3200 boards
Topic: Bricked?
Replies: 10
Views: 3849

[solved] Re: Bricked?

No, I didn't buy the expansion boards, because I assumed that I would be able to use any USB2TTL, and the projects that I plan to use WiPy in don't really have room for an expansion board in them. I did not save anything to boot.py or main.py, and I also assumed that just restarting the board would ...