Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Alex's Corner - Week 7 - Pytrack, GPS & more!

    Scheduled Pinned Locked Moved Events
    pytrackgpsaccelerometer
    18 Posts 6 Posters 6.2k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bucknall
      last edited by bucknall

      Hi Everyone,

      I will be running the next webinar at 2 pm (BST) Thursday the 8th of June, demonstrating the features of Pytrack and how to get up and running with the board itself! This live stream slightly breaks the usual schedule but we're aiming to tie this into the product release to best help you get up & running with the board!

      The format will be as following:

      • Introduction
      • Getting started with Pytrack
      • Demo

      Please do ask any questions (either here or in the livestream chat), I'll try to answer them on the go!

      Visit this link next week, on the 8th of June to join in!

      https://www.youtube.com/watch?v=I5Qsuz6fEAA

      Cheers,

      Alex

      Developer Evangelist - Pycom

      R F J 3 Replies Last reply Reply Quote 1
      • RobTuDelftR Offline
        RobTuDelft
        last edited by

        Cool!

        Maybe you also want to show the example I have prepared for the U-blox module in case you want to do without the Pytrack.

        Without data you're just another person with an opinion.
        Hackster | About me

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          bucknall @RobTuDelft
          last edited by

          @RobTuDelft Ah nice! I'll probably keep this stream to just the Pytrack because there's quite a lot to cover but would definitely be interested in sharing it!

          I'm still planning to host a community showcase if you'd be interested in showing it off on there? :)

          Developer Evangelist - Pycom

          RobTuDelftR 1 Reply Last reply Reply Quote 0
          • RobTuDelftR Offline
            RobTuDelft @bucknall
            last edited by

            @bucknall I see, another time is fine for me :)

            Without data you're just another person with an opinion.
            Hackster | About me

            1 Reply Last reply Reply Quote 1
            • R Offline
              robmarkcole @bucknall
              last edited by

              @bucknall Would be nice to see the pytrack out and about :-)

              1 Reply Last reply Reply Quote 0
              • PiAirP Offline
                PiAir
                last edited by

                It might be out of the scope of you demo, but I am currently looking at ways to send GPS coordinates of a LoPy to the TTN network.
                As you know, for TTN / LoRaWAN you want to encode the data you are sending as efficient as possible because of the limitations in data that you can transmit.

                I have found a discussion and code suggestions on the TTN forum to send them, I still have to convert the provided code to microPython before being able to use that on the LoPY though. Bitwise shifting is one of those lovely topics related to data transmission. :)

                Anyways, just thought that I'd mention it as something that people struggle with related to GPS>

                *p.s. I am not using the Pytrack, but the regular Expansion Board together with a 7 euro external GY-NEO6MV2 GPS receiver over UART, works like a charm.

                RobTuDelftR B 2 Replies Last reply Reply Quote 0
                • RobTuDelftR Offline
                  RobTuDelft @PiAir
                  last edited by

                  @PiAir Sounds like a nice topic for one of your blog posts? :)

                  Without data you're just another person with an opinion.
                  Hackster | About me

                  PiAirP 1 Reply Last reply Reply Quote 1
                  • PiAirP Offline
                    PiAir @RobTuDelft
                    last edited by

                    @RobTuDelft Once I've got it working, I'll of course blog about it, time is a bit limited though, life is requesting some attention also at the moment.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bucknall @PiAir
                      last edited by

                      @PiAir Absolutely! I know there are some clever means to reduce your payload size - so I'll discuss some of them in my video next week! I'm currently working on a library that compresses GPS values for LoRa/Sigfox/etc.

                      Developer Evangelist - Pycom

                      1 Reply Last reply Reply Quote 1
                      • PiAirP Offline
                        PiAir
                        last edited by

                        I wanted to combine the use of GPS with logging to the SD-card, but ran into problems setting the RTC. I didn't always get the needed date/time info from GPS (don't know if the Pytrack does that better :) ) and ran into problems setting the RTC using NTP (could be that it is fixed in the latest firmware version, will have to document my project first before I can test the upgrade).

                        But combining GPS-tracking with writing to SD card would be another nice use-case. :)

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          bucknall
                          last edited by

                          Quick Update - Looks like I'll have to delay this Alex's Corner until next week when the Pytrack/Pysense arrive (see - https://forum.pycom.io/topic/1208/pytrack-pysense-delivery-status-latest-info).

                          Instead, I'm planning to do a 'best practices for deployment' so looking at disabling radios when not in use, when to put the device to sleep (once the deep shields/pytrack/pysense arrive) as well as changing default passwords and using secured sockets for communication, amongst other techniques.

                          I'll squeeze another Alex's Corner in next week to align with the Pytrack & Pysense release dates!

                          Thanks!

                          P.S.

                          @PiAir, have noted your issue and am looking into it for you!

                          Developer Evangelist - Pycom

                          1 Reply Last reply Reply Quote 1
                          • F Offline
                            felirangelp @bucknall
                            last edited by

                            @bucknall Do you know what happened with this video? I can't see this video.

                            B 1 Reply Last reply Reply Quote 0
                            • B Offline
                              bucknall @felirangelp
                              last edited by

                              Hi @felirangelp, I've unfortunately been super busy with events and helping with the libraries (as well as a new documentation project!) I didn't manage to get around to uploading the video yet!

                              I'm finally back to normal schedule so Thursday I'll put it up then!

                              Thanks for your interest!

                              P.S. Did you want to see anything in particular, in a future video? :)

                              Developer Evangelist - Pycom

                              R 1 Reply Last reply Reply Quote 0
                              • R Offline
                                robmarkcole @bucknall
                                last edited by

                                @bucknall how about setting the Pysense up as a web/flask server?

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  Jiemde Pybytes Beta @bucknall
                                  last edited by

                                  @bucknall Waiting the video this afternoon!
                                  I have a question: what's the difference between the machine.deepsleep() and the pytrack setup_sleep() + go_to_sleep() ?
                                  Is the read_battery_voltage() is working, because I read already the same measure event in usb or Lipo powering ?

                                  B 1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    bucknall @Jiemde
                                    last edited by

                                    Hi @Jiemde,

                                    The difference between machine.deepsleep() and pytrack setup_sleep() + go_to_sleep() is that the first uses a Pycom device (i.e. LoPy) to control the sleeping procedure. This currently doesn't work on the existing batch of LoPy, WiPy 2.0 and SiPy development modules but does work on their OEM counterparts.

                                    The read_battery_voltage() does work, however you must update the firmware on your Pysense/Pytrack to the latest version (https://docs.pycom.io/chapter/pytrackpysense/installation/firmware.html) in order for this feature to be enabled!

                                    Thanks,

                                    Alex

                                    Developer Evangelist - Pycom

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      Jiemde Pybytes Beta @bucknall
                                      last edited by

                                      Hi @bucknall
                                      Read somewhere that the deepsleepshield is incorporate on the pytrack and pysense board ! am I right ?

                                      B 1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        bucknall @Jiemde
                                        last edited by

                                        @Jiemde This is correct! They use the same sleep method as the deep sleep shield to control the devices sleep. I.e. setup_sleep() + go_to_sleep().

                                        Developer Evangelist - Pycom

                                        1 Reply Last reply Reply Quote 0

                                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                        With your input, this post could be even better 💗

                                        Register Login
                                        • 1 / 1
                                        • First post
                                          Last post

                                        Pycom on Twitter

                                        Pycom