John Gallaugher
John Gallaugher
  • 603
  • 731 257
CircUp: Easily Install or Upgrade CircuitPython Libraries
Every CircuitPython user should be using CircUp. It makes installing and upgrading files much easier than manually dragging libraries from a downloaded "lib" folder. CircUp can even look at your board's code.py and add all of the libraries that are needed - even if a library requires another library not mentioned on an "import" line. CircUp uses the command line in the terminal and it's not user-friendly to install, but it will be a great help. I'll be sharing this with all of the new coders in my university CircuitPython course.
For more lessons in the course, see: bit.ly/circuitpython-tutorials
Переглядів: 187

Відео

Use PyCharm with CircuitPython on Macs (takes setup, but it is glorious)
Переглядів 24014 днів тому
I'm switching from Mu to PyCharm for future lessons & requiring this for my undergrad Maker course. We'll upgrade Python on a Mac, install the free and powerful PyCharm coding tool, create a project, add CircuitPython stubs and learn how to add other CircuitPython libraries to the project, get our project to recognize the feature of our board so it can make better code completion suggestions (u...
Prof.G. Back from Sabbatical - More Lessons Coming Soon!
Переглядів 226Місяць тому
Current iOS full course playlist: bit.ly/prof-g-swiftui Current CircuitPython full course playlist bit.ly/circuitpython-tutorials V. 10 of Prof. G.'s Business / Tech Textbook (likely only interesting for faculty who'd like to adopt this in their classes, as it's a per-semester purchase): catalog.flatworldknowledge.com/catalog/editions/information-systems-a-managers-guide-to-harnessing-technolog...
9. Predict App Part 2
Переглядів 3485 місяців тому
We'll finish the Predict App (Magic 8 Ball Clone) by using a ZStack to layer Views and make our image seem like an animated Magic 8 Ball with messages fading in and out. We'll also learn to use offset, minimumScaleFactor, and we'll get a first look at the Xcode Simulator. Based on the free university course by Prof. John Gallaugher. For more info, see bit.ly/prof-g-swiftui
8. Setting Up the Predict App
Переглядів 4295 місяців тому
8. Setting Up the Predict App
SwiftUI for the Absolute Beginner Playlist Intro
Переглядів 5725 місяців тому
Want to learn to program in Swift and to build Apps in SwiftUI? Join me on this free playlist. Assumes no prior knowledge of programming. You'll be building your first app, a Magic 8 Ball clone, in no time. Let's code! Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
4. An Intro to Buttons in SwiftUI
Переглядів 4405 місяців тому
Add a Button View in SwiftUI and program it to respond to a user's press! We'll introduce the print command, the Xcode console, variables, and the SwiftUI concept of State. Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
7. Elvis Costello Challenge Peace Love and Understanding
Переглядів 2385 місяців тому
Apply what you've learned so far by completing the Elvis Costello Challenge, building the simple Peace, Love, and Understanding app. Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
6. The Frame Modifier and Xcode Tips for Typing Parameters
Переглядів 3055 місяців тому
We'll work with the Xcode asset catalog to add your own custom images to our app. We'll learn about Arrays in Swift, we'll use randomElement to get a random element of an array, we'll offer an initial introduction to dealing with methods that may return nil values, we'll show some basic animations to fade text in and out as it changes, we'll learn to align text and work with the multilineTextAl...
5. Formatting Buttons Stacks within Stacks and Spacers
Переглядів 2865 місяців тому
We'll learn to format buttons using ButtonStyle and work with Spacers in SwiftUI. Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
3. Iintro to Image and Text Views
Переглядів 3415 місяців тому
Start coding and building apps in SwiftUI! Learn about VStacks, HStacks, Image Views, systemName images, changing Image sizes, colors, working with Text Views, changing fonts, font weights, and more! Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
2. Using Xcode + Creating an iOS Project
Переглядів 5745 місяців тому
Create your first Xcode project while getting a quick tour of Xcode. We'll also cover gotchas and problems that often trip up new students, and we'll provide information on basic Xcode settings, and offer an Xcode reference for download. Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
1. Set Up Xcode & Your Free Apple Developer Account
Переглядів 2 тис.5 місяців тому
Learn to download Apple's free Xcode App Building software, create a free Apple Developer Account, and configure Xcode with your Apple Developer Account so that you can start building apps! Based on the free university course by Prof. John Gallaugher. For more info, see UA-cam.com/profgallaugher.
Physical Computing - Apple Distinguished Educator Showcase Dallas 2023 - Prof. John Gallaugher
Переглядів 46511 місяців тому
See how Physical Computing: Art, Robotics, and Tech for Good is tought at Boston College. The course is open to all. undergraduates in all colleges of the university, no pre-requisite are needed. Students complete several projects, including assistive technology projects for the Boston College Campus School. All flipped-class learning videos for CircuitPython can be found at bit.ly/circuitpytho...
Interactive @Query in SwiftData - Change Query Properties with a Picker (ToDo List App)
Переглядів 3,5 тис.Рік тому
How do you get a SwiftData Query to change its attributes / parameters interactively? In this lesson we'll show how you can use a Picker view in SwiftUI to send selections to a View, and have that View respond to the interaction by selectively initializing a Query with different .sort, ..order, and .filter / #Predicate parameters. We'll also learn to use _variableName to initialize a Swift Prop...
SwiftData! Updating a Simple ToDo List App (Ch. 5 BONUS)
Переглядів 3,5 тис.Рік тому
SwiftData! Updating a Simple ToDo List App (Ch. 5 BONUS)
Disco Button Part 2 MQTT Subscriber for NeoPixel animation, Song Play, and Relay Switch on off
Переглядів 825Рік тому
Disco Button Part 2 MQTT Subscriber for NeoPixel animation, Song Play, and Relay Switch on off
Disco Button Funk up any room with MQTT, CircuitPython, and a Raspberry Pi Pico W
Переглядів 2,4 тис.Рік тому
Disco Button Funk up any room with MQTT, CircuitPython, and a Raspberry Pi Pico W
Format WAV files to play in CircuitPython
Переглядів 835Рік тому
Format WAV files to play in CircuitPython
Assistive Tech Projects - Spring 2023 - Boston College Physical Computing with Prof Gallaugher
Переглядів 253Рік тому
Assistive Tech Projects - Spring 2023 - Boston College Physical Computing with Prof Gallaugher
Swift App Final Showcase - Spring 2023
Переглядів 645Рік тому
Swift App Final Showcase - Spring 2023
Build the Jokes App A SwiftUI Exam Challenge & Solution
Переглядів 538Рік тому
Build the Jokes App A SwiftUI Exam Challenge & Solution
InkSpot App: A SwiftUI Exam Challenge with Solution
Переглядів 330Рік тому
InkSpot App: A SwiftUI Exam Challenge with Solution
Build a Raspberry Pico W Web-Conontrolled Robot in CircuitPython (rolls + talks/plays sounds)
Переглядів 1 тис.Рік тому
Build a Raspberry Pico W Web-Conontrolled Robot in CircuitPython (rolls talks/plays sounds)
Star Wars Species App in SwiftUI using SWAPI dev API and JSON Parsing
Переглядів 1,5 тис.Рік тому
Star Wars Species App in SwiftUI using SWAPI dev API and JSON Parsing
PhysComp Exam Solution - Lost in Space
Переглядів 158Рік тому
PhysComp Exam Solution - Lost in Space
Make a Pico W Change NeoPixel Colors, Play Sounds, & Move a Servo from a Web Page in CircuitPython.
Переглядів 1,2 тис.Рік тому
Make a Pico W Change NeoPixel Colors, Play Sounds, & Move a Servo from a Web Page in CircuitPython.
SwiftUI Challenge & Solution: The Addition Tutor App
Переглядів 735Рік тому
SwiftUI Challenge & Solution: The Addition Tutor App
Challenge/Solution: Wu Tang Name Generator for Programmers
Переглядів 610Рік тому
Challenge/Solution: Wu Tang Name Generator for Programmers
FizzBuzz with Swift - Six Ways!
Переглядів 539Рік тому
FizzBuzz with Swift - Six Ways!

КОМЕНТАРІ

  • @TubeFleak
    @TubeFleak 3 години тому

    I love the good mood in the videos and your way of teaching and motivating. Thank you for that! It is so much more engaging to see what the code is able to do instead of learning hours and hours of terms and concepts before being able to do anything with them. I wonder why there are not way more views of your excellent videos. Again thanks!

    • @profgallaugher
      @profgallaugher 23 хвилини тому

      Thanks friend. Your comments keep me motivated. Feel free to to tell others about the channel. Would love to reach more people.

  • @sepehrnaseri7362
    @sepehrnaseri7362 День тому

    when i enter the first command it says connection refused what is the solve for it?

  • @patrickrobinson317
    @patrickrobinson317 2 дні тому

    Great Lesson !!! 😊 Thanks for making this video and the ENTIRE Series !!! Your work is greatly appreciated.

    • @profgallaugher
      @profgallaugher 2 дні тому

      Glad you like it! I’m going to be upgrading the series over the coming week using PyCharm and CircUp plus the latest releases. Stay tuned. And thanks for your motivating comments. Hack on!

  • @user-my8eh9qi6i
    @user-my8eh9qi6i 4 дні тому

    It was very helpful, thank you!

    • @profgallaugher
      @profgallaugher 4 дні тому

      So glad you liked it! Thanks for writing. There is a whole playlist of over 100 videos used in order for my SwiftUI university course. Expect updates for this Fall’s class. You might want to check those out, too.

  • @steveclark223
    @steveclark223 6 днів тому

    This overwhelmed me...

    • @profgallaugher
      @profgallaugher 5 днів тому

      Hang in there, homie. It’s one of the harder topics to understand.

  • @TheUnofficialMaker
    @TheUnofficialMaker 7 днів тому

    glad i found your channel

    • @profgallaugher
      @profgallaugher 7 днів тому

      Glad you like it. I’m going to be adding lots more content for my Fall course, soon. You’ll find new videos on PyCharm and CircUp in the list, which I’ll probably introduce early in class since they can make such a big difference improving the student experience. Hack on!

  • @jamesbrady9105
    @jamesbrady9105 11 днів тому

    I am getting this error message all of a sudden: D:\>circup list Missing file boot_out.txt on the device: wrong path or drive corrupted. ....

    • @profgallaugher
      @profgallaugher 10 днів тому

      Sounds like your board’s file system is corrupted. I’d try the board erase REPL method mentioned here. Make certain you then upgrade your board with the correct .uf2 file for CircuitPython. It’s easy to mixup the CircuitPlayground Express and B lkuefruit boarsd, or the Raspberry Pi Pico and pico W. These are absolutely different. If probs persist definitely see Adafruit Discord, but my guess is the fix mentioned above will work. Here’s a link: docs.circuitpython.org/en/latest/docs/troubleshooting.html

  • @otakuheavenbackup9116
    @otakuheavenbackup9116 12 днів тому

    My friend, you are a lifesaver. The documentation for setting up firebase auth was difficult to comprehend.

    • @profgallaugher
      @profgallaugher 12 днів тому

      Glad you liked it. Lots more SwiftUI content on the way. I keep it balanced with my other course in CircuitPython, but you’ll see both and there is a full SwiftUI playlist of >110 lessons on the channel. Cheers!

  • @AdminAlley
    @AdminAlley 15 днів тому

    Just for further clarification the modifier .foregroundColor still seems to work but will only modify the string within the button where .tint modifier fills the rounded rectangle.

  • @jamesbrady9105
    @jamesbrady9105 16 днів тому

    this is awesome and a VERY good video!! i wish i had known about this about six months ago, when i was working on my PI Pico LED project.

    • @profgallaugher
      @profgallaugher 16 днів тому

      Thanks, James. Glad you liked it. Definitely more on the way. Cheers!

  • @cursoderobotica
    @cursoderobotica 17 днів тому

    Great tutorial!!! Thank you!! 😁👍

    • @profgallaugher
      @profgallaugher 16 днів тому

      Happy to drop the knowledge, friend. I appreciate the comment. Hack on!

  • @johnedwards8795
    @johnedwards8795 18 днів тому

    Solid gold, as always! Lots of useful tips for PyCharm setup and optimization.

    • @profgallaugher
      @profgallaugher 17 днів тому

      So glad you liked it. More on the way!

  • @tommyecho
    @tommyecho 19 днів тому

    Hi! I'm using this tutorial in France. I'm using my phone with my US travel plan (ATT), so I'm thinking I don't need to change any settings for being here. You mentioned this could be an issue, and you have some instructions for how to modify the commands in the nano section. Could you share those, if so? I"m having some success using the hotspot, but it's a little bit unstable. Thanks so much for this great video

    • @profgallaugher
      @profgallaugher 19 днів тому

      So glad you liked the lesson. I’m in the midst of a bunch of projects but definitely check out Adafruit Discord. There are many EU folks there and the responses are super quick and very friendly/ helpful. Search online for Adafruit Discord and you’ll get address and connection info. Hope that helps. Good luck!

  • @EZAUTOLakeland
    @EZAUTOLakeland 19 днів тому

    Hey John! This is so cool! We are a used car dealership in Lakeland, FL We want to have an "emergency" button that when a customer buys a vehicle, they can push and the office will become a disco💃 for a few seconds. Is this something you can (or are willing) to make for us and ship it?

    • @profgallaugher
      @profgallaugher 19 днів тому

      What a wonderful thing for your dealership! I’ve actually got a very full load and custom builds doesn’t fit in with it, BUT the tutorials would definitely help even an intern who understood programming or microcontrollers to build something similar and cool. Perhaps you can reach out to a local high school or college and post an opportunity requesting the build and perhaps pointing to the tutorial as “something like this on a bigger scale”

    • @EZAUTOLakeland
      @EZAUTOLakeland 19 днів тому

      @@profgallaugher Thank you for the idea! We'll take a look at that!

  • @LebenWerden
    @LebenWerden 24 дні тому

    Hi, how I can use onMove modifier on Query toDos?

  • @esraagamal2598
    @esraagamal2598 25 днів тому

    how did u achieve the view to scroll up when the keyboard is triggered to always make the textfield visible

  • @TheZaxanoid
    @TheZaxanoid 26 днів тому

    Very nice.... great to see something at a sensible pace, as well as spot on for content!

  • @rickybeats1919
    @rickybeats1919 26 днів тому

    Whats an ideal way to keep it powered for a diy home security system making sure all doors are closed?

  • @infernape28
    @infernape28 28 днів тому

    I appreciate you using the politically correct description for MISO

  • @j3googs
    @j3googs 28 днів тому

    Views are getting more sparse as I go through this course. I'm determined to make it through.

  • @artofbarto
    @artofbarto 29 днів тому

    Awesome video, thank you so much!

    • @profgallaugher
      @profgallaugher 27 днів тому

      Glad you like it. Lots more where this came from. Hack on!

  • @rubensiman8749
    @rubensiman8749 Місяць тому

    We love u man!!

  • @adamcox2645
    @adamcox2645 Місяць тому

    Hot dog! Cant wait. Glad to have you back.

  • @songsan807
    @songsan807 Місяць тому

    Welcome back Professor. Watched, practiced, and learned a lot from your iOS videos. Going to start going through your Python videos to keep me occupied in the time being. Can't wait for your new iOS materials to come out.

  • @AtomLabX
    @AtomLabX Місяць тому

    Awesome, welcome back! I hope that at some point you would consider giving an online live class, that people can sign up for. Just for the sake of getting live feedback, so food for thought! And again, welcome back! I'm doing code in place, and after that I'm hoping to do the Swift course again, and I hope this time I do a better job than the lsat time, with some foundations this time that I got from Stanford's Code in Place.

    • @profgallaugher
      @profgallaugher 27 днів тому

      Good luck! Unsure I’d do a sign up class, but perhaps. My responsibilities at the University keep me pretty busy.

  • @johnedwards8795
    @johnedwards8795 Місяць тому

    Missed you! Sounds like you had a good walkabout.

  • @mattkojetin8198
    @mattkojetin8198 Місяць тому

    Excellent!

  • @arash2953
    @arash2953 Місяць тому

    First I want to thanks you for this channel your trainings are awesome... I was wondering if these projects are working on Raspberry zero as well ? For instance the audio output project ?

    • @profgallaugher
      @profgallaugher 27 днів тому

      Audio can be a bit tricky because there isn’t an audio out port on the zero, which is why I usually use a pi 2 in class. However I’ve switched to a Pico since it’s even easier to use. Feel free to check out the fully playlist at http:://bit.ly/circuitpython-tutorials

  • @code-72
    @code-72 Місяць тому

    Why do you use nsdataasset instead of bundle?

  • @James-pj6cg
    @James-pj6cg Місяць тому

    I have no clue where I went wrong but when I click on the restaurant I get the print statements but the app freezes. If I just click the add button it all works just fine (the review and photo both save to firebase). I just can't navigate to the detail view. "reviews.path = spots/JwUUDYouTtm6tO15HFW6/reviews photos.path = spots/JwUUDYouTtm6tO15HFW6/photos"

  • @user-pt8ni4ke2i
    @user-pt8ni4ke2i Місяць тому

    I wanna hug you

  • @j3googs
    @j3googs Місяць тому

    This was a tough one. Might need another watch or 2.

  • @ricardorizzato4719
    @ricardorizzato4719 Місяць тому

    Only get this: MPY: soft reboot Traceback (most recent call last): File "<stdin>", line 3, in <module> ImportError: no module named 'digitalio' I tried to install all libraries, but I'm missing something.

  • @danuff
    @danuff Місяць тому

    Thank you for this video. Ive been working with Xcode for years and never knew about this feature. Thank you.

  • @denilsonwashuma1987
    @denilsonwashuma1987 Місяць тому

  • @TimothyEdDoran
    @TimothyEdDoran Місяць тому

    Thanks for giving both easy to understand examples

  • @denilsonwashuma1987
    @denilsonwashuma1987 Місяць тому

    Great work

  • @j3googs
    @j3googs Місяць тому

    Looks like swiftUI doesn't have a view limit any longer in may 2024.

    • @profgallaugher
      @profgallaugher Місяць тому

      That’s correct. I’ll be updating the series after the next WWDC so I can incinerate even more new developments. I’ve been on sabbatical this past year so I didn’t do an update this past year. Stay tuned. Cheers!

  • @j3googs
    @j3googs Місяць тому

    Man these videos are great. I am going to work my way through this series. Thank you for posting.

    • @profgallaugher
      @profgallaugher Місяць тому

      Thanks for taking the time to right. Appreciate your kind encouragement. More to come after WWDC as I prep for my Fall course. Cheers!

  • @helenjenson3288
    @helenjenson3288 Місяць тому

    Thank you so much. I was struggling to do this on my own but this video makes it all make sense. There were a few differences with my version of xCode, such as the source control menu changing to the integrate menu. No biggie though - I still made it work.

    • @profgallaugher
      @profgallaugher Місяць тому

      Glad it was useful. I plan to update all of the videos after the next WWDC to get ready for the Fall course. Hope you find other content of interest. Hack on!

  • @backendesign
    @backendesign Місяць тому

    Thanks for this precious content 👍

  • @lanzecki
    @lanzecki Місяць тому

    Hi. Thanks for the tutorials. I note that the sound seems to play when the button is released. I'd like to have the action when it's initially pressed in my application. Any suggestions?

    • @profgallaugher
      @profgallaugher Місяць тому

      Check out the other button tutorials in bit.ly/circuitpython-tutorials. You’ll find ideas and techniques there. Hack on!

  • @Shadeaflame
    @Shadeaflame Місяць тому

    Amazing video, simple and easy to follow. If only more videos were like this.

  • @fredbarnes196
    @fredbarnes196 Місяць тому

    Is the Python/Mu approach required for Adafruit, or can you user the Arduino IDE to load up the circuit board?

    • @profgallaugher
      @profgallaugher Місяць тому

      You can drag any file with the right name (e.g. code.py) onto the board & it’ll execute when the board is started, but Mu has the advantage of integrating its output with the board, so you see error messages in the console & can use the REPL, plotter, etc. Arduino is usually used to edit with the C-based Arduino language. Mu is a good choice for b engineers. Many advanced users will configure PyCharm or other python editor for use. See Adafruit docs or ask ont heir Discord for more info.

  • @bennet7817
    @bennet7817 Місяць тому

    ImportError: Kein Modul mit dem Namen 'neopixel' -> No modul with the name 'neopixel' is found. But i have clearly a LED on my board thinking it is a Neopixel LED.🤷‍♂

    • @profgallaugher
      @profgallaugher Місяць тому

      If you are using a CircuitPlayground Bluefruit or Express these have built in neopixels. My guess is you are using a board that doesn’t have an rgb neopixel. If you look further down in the playlist you’ll see videos on installing circuit python on multiple boards. This and the next video or two will cover REPL commands you can use to see which features are available on your board.

    • @bennet7817
      @bennet7817 Місяць тому

      ​@@profgallaugher I checked with "import board dir(board) " I have the possibility to use 'NEOPIXEL' or 'IO8' that is also marked on my board as RGB@IO8 it is the ESP32-C6-DevKitC-1 from ESPRESSIF. So.🤷‍♂️

  • @Samandarbe
    @Samandarbe Місяць тому

    Thanks a lot I have learnt it Again thanks teacher All good things for you

  • @denilsonwashuma1987
    @denilsonwashuma1987 2 місяці тому

    You are awesome

  • @denilsonwashuma1987
    @denilsonwashuma1987 2 місяці тому

    great work

  • @molameagher7097
    @molameagher7097 2 місяці тому

    My question is how to get information/data between Raspberry Pi and my iPhone through Hot-spot. I'm working on an RC car project and need to remotely control my pi.

    • @molameagher7097
      @molameagher7097 2 місяці тому

      thanks though.

    • @profgallaugher
      @profgallaugher Місяць тому

      Lots of things you can do. Check out further videos in the playlist. I’ve been using the pico w in class rather than the Pis. Less complex solution. Good luck!

  • @UmarPatel-zp3vs
    @UmarPatel-zp3vs 2 місяці тому

    One of the best tutorials I've ever seen. Thank you!