Timer example not working

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Timer example not working

Post by deshipu » Mon Jan 04, 2016 2:27 pm

I wonder if it would be possible to flash the espruino firmware to the wipy board to actually make it useful.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Timer example not working

Post by dhylands » Mon Jan 04, 2016 2:45 pm

No.

The pyboard uses an STM32F405
The Espruino Pico uses an STM32F401
The WiPy uses a TI3200

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Timer example not working

Post by Roberthh » Mon Jan 04, 2016 2:47 pm

Most likely it's much less work for fix the time module of WiPy or to learn, how to use it.

v923z
Posts: 168
Joined: Mon Dec 28, 2015 6:19 pm

Re: Timer example not working

Post by v923z » Mon Jan 04, 2016 7:46 pm

Roberthh wrote:Besides the micropython.org download site for binaries, the whole source code including the versions for WiPy can be found here: https://github.com/micropython/micropython. The WiPy version is the one in folder cc3200.
Call me blockhead, but I would have assumed that the wipy-related stuff resides under https://github.com/wipy/wipy. There is nothing in the documentation that indicates that the source is under https://github.com/micropython/micropython. In fact, https://github.com/wipy/wipy seems to be somewhat active, at least, something was committed a bit more than a month ago.

As pythoncoder pointed out, the problem is not that that the code is broken, the problem is that the references are outdated, and thus, it is rather hard to figure out which code is in need of fixing...

Zoltán

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Timer example not working

Post by deshipu » Tue Jan 05, 2016 9:03 pm

dhylands wrote:No.

The pyboard uses an STM32F405
The Espruino Pico uses an STM32F401
The WiPy uses a TI3200
Well, there is a binary for CC3000... http://www.espruino.com/binaries/

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Timer example not working

Post by dhylands » Tue Jan 05, 2016 10:26 pm

I think that's a binary for the espruino pico with an attached cc3000 (for WiFi supoport), much like there is one for micropython from the http://micropython.org/download/ in the section "Suitable for hand-made PYBv3 boards, with network drivers for CC3000 and WIZ820io included"

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Timer example not working

Post by deshipu » Thu Jan 07, 2016 4:20 pm

I see, thanks for the explanation.

rodrigob
Posts: 15
Joined: Sun Aug 30, 2015 7:41 am

Re: Timer example not working

Post by rodrigob » Sun Feb 07, 2016 3:45 pm

I am trying to decide if I should buy a Wipy or not.
Is the Timer feature usable (by looking at source code instead of documentation), or totally broken ?
(rendering the card indeed somewhat useless)

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Timer example not working

Post by deshipu » Fri Feb 12, 2016 8:22 am

I wasn't able to make it generate a 50Hz PWM signal, which is what the servos need. It seems that you can generate higher frequency signal, which is fine for controlling motors and LEDs.

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: Timer example not working

Post by danicampora » Tue Feb 23, 2016 8:45 pm

Hi,

The issues have been fixed now, check here: http://forum.micropython.org/viewtopic. ... 8680#p8680

Cheers,
Daniel

Post Reply