• BLE connects but connection is lost immediately

    ble wipy2.0 connectivity
    4
    1 Votes
    4 Posts
    1k Views
    A
    @salvoaerodev Sure, I hope this bug will be fixed soon as it could be nice to reupgrade firmware for already fixed bugs.
  • 0 Votes
    1 Posts
    759 Views
    No one has replied
  • WiPy HTTPS call

    ssl wipy2.0
    7
    0 Votes
    7 Posts
    3k Views
    I
    I have the same problem: https://forum.pycom.io/topic/1056/ssl-socket-communication-between-wipy-2-0 But if I try to connect with the wipy to a secure Server with ssl #client side import usocket as socket import ssl from network import WLAN import machine wlan = WLAN(mode=WLAN.STA) wlan.connect('TP-LINK_2.4GHz_E113DF', auth=(WLAN.WPA2,"***********")) while not wlan.isconnected(): machine.idle() s = socket.socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_TCP) # Require a certificate from the server. We used a self-signed certificate # so here ca_certs must be the server certificate itself. ssl_sock = ssl.wrap_socket(s,cert_reqs=ssl.CERT_REQUIRED,ca_certs='cert.pem') ssl_sock.connect(('192.168.1.125', 10023)) ssl_sock.write(b"boo!") data = ssl_sock.read() print(data) ssl_sock.close() It works without problems. Try to use: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_TCP) instead of s = socket.socket() But if I try to set a WiPy as a Server, I receive a Guru Meditation Error. More datails are in the topic linked early.
  • AES CTR Mode on WiPy 2.0

    aes wipy 2.0 ctr
    2
    0 Votes
    2 Posts
    902 Views
    L
    @Innocenzo said in AES CTR Mode on WiPy 2.0: cipher = AES(key, AES.MODE_CTR, counter) change it to: cipher = AES(key, AES.MODE_CTR, counter=counter)
  • Bluetooth deactivates after some time

    bluetooth ble advertising
    1
    0 Votes
    1 Posts
    879 Views
    No one has replied
  • WiPy 2.0 not working after firmware update.

    wipy 2.0 firmware update bug
    25
    0 Votes
    25 Posts
    9k Views
    B
    @robert-hh Unfortunately deep sleep hasn't been implemented in the latest version I can use (1.6.3). I will try to implement it myself later today though.
  • Wipy 1 with WEP secured WiFi?

    wipy 1 wifi network wlan
    1
    0 Votes
    1 Posts
    963 Views
    No one has replied
  • WiPy 2.0 + Expansion Board 2.0 SD Card and UART1

    2
    2 Votes
    2 Posts
    1k Views
    D
    Hi, I had the same problem. I resolve it using the next code: from machine import SD import os uart=UART(1,baudrate=115200,pins=('P12','P11')) ## it is important to create uart before sd #uart.init(115200, bits=8, parity=None, stop=1,pins=('P3','P4')) #uart.init(115200, bits=8, parity=None, stop=1,pins=('P10','P9')) #uart.init(115200, bits=8, parity=None, stop=1,pins=('P12','P11')) while(uart.any()==0): pass uart.readall() sd = SD() os.mount(sd, '/sd') check the content os.listdir('/sd') try some standard file operations f = open('/sd/test.txt', 'w') f.write('Testing SD card write operations + serial to HPoseidon') f.close() f = open('/sd/test.txt', 'r') f.readall() f.close() I hope it will be useful. Sorry for mi English. Regards
  • Make WiPy read EMBC Beacons?

    wipy support beacon location bluetooth
    1
    1
    0 Votes
    1 Posts
    904 Views
    No one has replied
  • WiPy 2.0 came flashed with incomplete firmware.

    wipy 2.0 micropython bug
    6
    0 Votes
    6 Posts
    1k Views
    B
    The upgrade worked in a sense, but bricked my WiPy. I have opened a new thread here: https://forum.pycom.io/topic/1053/wipy-2-0-bricked-after-firmware-update
  • Recommended Getting Started in a post-pymaker world

    wipy
    8
    0 Votes
    8 Posts
    2k Views
    RobTuDelftR
    @robmarkcole I use a lot of TL-WN722N adapters, especially because they are cheap and reliable (and support some other features such as monitor mode). What Alex suggested is also a good option, but unfortunately not always possible when you are not at home (e.g. I need special permission to use any device on the educational network).
  • Expansion board 1.0 layout

    wipy 1 expansionboard
    1
    0 Votes
    1 Posts
    880 Views
    No one has replied
  • Screen blank

    wipy 2
    14
    1
    0 Votes
    14 Posts
    3k Views
    R
    @robert-hh and @RobTuDelft thanks for your help, I am now up and programming! Perhaps a few of the issues I had could be better explained in the documentation, happy to provide some feedback if requested. Cheers!
  • GPIO16 and WiFi question

    wipy 2.0
    3
    0 Votes
    3 Posts
    882 Views
    M
    @RobTuDelft Many thanks - I missed that earlier.
  • WiFi question

    wipy wifi boot.py
    3
    0 Votes
    3 Posts
    1k Views
    M
    As you need to connect using wireless to modify 'boot.py' in the first place this makes disabling the wireless interface by default an 'interesting' challenge to a new user! Hopefully the wireless, bluetooth, etc are only started (if not already active) after 'boot.py' is executed.
  • Firmware Update Fails

    wipy 2.0 debian update failed
    41
    0 Votes
    41 Posts
    21k Views
    M
    @bucknall Thanks for your help the other evening - I'm up and running now, though I'm no closer to being able to update the firmware myself. For linux users I have a (useful?) bash script that beings up a console window and then waits up to 15s for me to plugin the device (that way I see any boot messages). I don't know if this will work on OSX as I don't have a Mac. I need to update my blog post as I've recently modified the script to allows me to select the which serial device to connect to and baud rate to use. Mike T.
  • 0 Votes
    13 Posts
    4k Views
    H
    solved. The problems i had has been level shifter dependend. I used another one and UART started to work. Another trap has been a misunderstanding in PIN numbering and PIN layout. When i just looked at WiPy pinout without paying attention to expansion board i noticed, that i used the wrong PINs. Now i count from left side, starting with 0 and figured out which PINs i do have to use. Now it works like a charm. Thanks for all your help !
  • MG996R + PWM 3V3 **SOLVED**

    wipi servo pwm
    5
    0 Votes
    5 Posts
    3k Views
    L
    @RobTuDelft 5V i use 2N7000 NMOSFET transistor for level shifting for testing for final i use smd BSS138
  • Socket connect address

    wipy wipy 1 wifi socket
    9
    0 Votes
    9 Posts
    4k Views
    robert-hhR
    @michalt38 OK. Then you'll need two steps: First, you have to connect the WiPy to the network. That's done with wlan.connect, as given in my sample scripts. Second: you have to write a little program for you WiPy and your PC that connects through sockets and sends the data. The IP adresses used are those of the WiPy and the PC, not the one of the router. You have to define which entity connects (socket.connect() ) and which entity accepts (socket.accept()). For initial testing, you can use for the PC side netcat (nc), which is a simple raw socket send/receive program. Examples for the WIPy side are here: https://docs.python.org/3/howto/sockets.html or here: https://www.tutorialspoint.com/python3/python_networking.htm
  • Wi Py 2.0 Internal Comparator?

    wi py 2.0 comparator
    6
    0 Votes
    6 Posts
    2k Views
    C
    @robert-hh said in Wi Py 2.0 Internal Comparator?: DS18B20 Hey Mate, Thank you very much for your reply. I will definitely will give it a go to the DS18B20, it looks way easier to use mate. I do agree that adding external components (resistor, comparator) adds extra burden to the limited power, and that is a killer for me. Cheers ColombiaAustralian

Pycom on Twitter