Search found 9 matches

by RinusW
Thu Feb 18, 2016 7:31 pm
Forum: The WiPy and CC3200 boards
Topic: Controlling hobby servos
Replies: 21
Views: 8345

Re: Controlling hobby servos

Well, I own this one:https://www.lab-nation.com/
It combines a scope, logic analyser, and wave generator in a small form factor. And yes, even in scope mode it can recognise signals from I2C, SPI, RS232 etc.
I think it also depends where you are living, and what is locally available.
by RinusW
Thu Feb 18, 2016 12:58 pm
Forum: The WiPy and CC3200 boards
Topic: Controlling hobby servos
Replies: 21
Views: 8345

Re: Controlling hobby servos

from machine import Pin import time g = Pin('GP9', mode=Pin.OUT, drive=Pin.HIGH_POWER) pos = 1500 for x in range(0, 100): g(1) time.sleep_us(pos) g(0) time.sleep_us(5000-pos); time.sleep_ms(15) It doesn't work either. Any suggestion? This code works with my WiPy. See for yourself, what my scope sho...
by RinusW
Thu Feb 18, 2016 12:05 pm
Forum: The WiPy and CC3200 boards
Topic: Controlling hobby servos
Replies: 21
Views: 8345

Re: Controlling hobby servos

In my experience PWM works only with a freq > 1100 Hz. That would be for using PWM to control a regular DC motor using an H-Bridge. For hobby servos, the PWM frequency is typically in the 50-60 Hz range. The thing I wanted to say is that while experimenting with PWM output on the WiPy I only got go...
by RinusW
Thu Feb 18, 2016 11:52 am
Forum: Drivers for External Components
Topic: Interfacing the DHT11/DHT22 Humidity/Temperature sensor
Replies: 7
Views: 7711

Interfacing the DHT11/DHT22 Humidity/Temperature sensor

The DHT11/DHT22 are well known Humidity and Temperature sensors. But I couldn't find any example of using these devices with the WiPy. So I developed my own interface drivers. The communication protocol is a sort of one wire protocol, but unique to the DHT11/DHT22 devices. The site http://www.uugear...
by RinusW
Tue Feb 09, 2016 9:01 pm
Forum: The WiPy and CC3200 boards
Topic: Controlling hobby servos
Replies: 21
Views: 8345

Re: Controlling hobby servos

In my experience PWM works only with a freq > 1100 Hz.
by RinusW
Mon Oct 19, 2015 10:08 pm
Forum: The WiPy and CC3200 boards
Topic: HOWTO: simple webserver, very simple
Replies: 5
Views: 9233

Re: HOWTO: simple webserver, very simple

I wrote a simple webserver with some Ajax functionality. When accessing with a (modern) browser the server will send an html file to the browser, resulting in the next screen: https://github.com/RinusW/WiPy/blob/master/AiCWebserver/Ajax_in_Control_Webpage.jpg The 2 input elements communicate their v...
by RinusW
Mon Oct 19, 2015 6:37 pm
Forum: The WiPy and CC3200 boards
Topic: HOWTO: simple webserver, very simple
Replies: 5
Views: 9233

Re: HOWTO: simple webserver, very simple

As far as I can tell, setsockopt() is not completely implemented yet. But for your first experiments, you don't need this function. So, just leave it out.
His second reference https://github.com/cswiger/wipy/blob/ma ... -server.py don't use this function either.
by RinusW
Wed Oct 07, 2015 9:03 pm
Forum: The WiPy and CC3200 boards
Topic: Can't enter network settings in ifconfig
Replies: 3
Views: 1118

Re: Can't enter network settings in ifconfig

Hi Daniel, Thanks. I wasn't aware of the fact that the API had changed, which apparently means that the examples in the quick refs don't work anymore. So for all who want to connect the WiPy to there home network, use the #static or #dynamic ifconfig: wifi.ifconfig(config=('192.168.1.235', '255.255....
by RinusW
Wed Oct 07, 2015 11:47 am
Forum: The WiPy and CC3200 boards
Topic: Can't enter network settings in ifconfig
Replies: 3
Views: 1118

Can't enter network settings in ifconfig

Hi, I just received my WiPy. The first problem is that the IP address of the AP collide with my home network router. So, I used the expansion board and after duplication the term to the uart I am now able to communicate with the WiPy using the Minicom terminal program on my Linux PC. The next thing ...