Тёмный

Microcontrollers for iOS Developers: Part 3 - CoreBluetooth - BLE 

Get Swifty
Подписаться 3,7 тыс.
Просмотров 6 тыс.
50% 1

Second video in a series of streams where we take a look at how you can use your apps to control bluetooth and wifi enabled devices.
Not just any device, but ones you have full control over. We'll take a look at writing firmware for these devices, connecting sensors, and streaming that information back to an app that we create.
This third video covers building a small app to read data from a connected piece of bluetooth hardware.
Working with hardware at this level is super easy. If you already have a programmers mindset, it's not that different from programming an iPhone.
After this series you should have enough experience to control other items in your home, or even create your own hardware products that have a paired app!
--------------------
iOS App
github.com/BeauNouvelle/Bluet...
Some ESP32 Boards
www.amazon.com/Seeed-Studio-X...
www.amazon.com/KeeYees-Develo...
Download Arduino IDE:
www.arduino.cc/en/software
Bluetooth Scanner App:
apps.apple.com/au/app/bluetoo...
---------------------
Want to chat, ask questions about Swift or make video suggestions?
Mastodon
iosdev.space/@beau
Discord
/ discord
Twitter
/ beaunouvelle
Github
github.com/beaunouvelle
Patreon - Get a free book!
/ beaunouvelle
---------------------
#iosdeveloper #electricalengineering #swiftuitutorial

Развлечения

Опубликовано:

 

12 фев 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
2 месяца назад
This is the best video I've ever seen; it truly captures how we, as programmers, typically work. I was searching for BLE on iOS, and this was the only video across RU-vid that explained how to handle it. Thank you for your channel, the content is pure gold.
@GetSwifty
@GetSwifty 2 месяца назад
Thank you so much for your comment! I’ve really got to get back to making content!
@ljunq
@ljunq 2 месяца назад
Great video. Would love to see a continuation with bi-directional communication with a device (locking, multiple packets, etc.)
@jonewc
@jonewc 8 месяцев назад
Thank you for sharing this!
@praveenrajput2738
@praveenrajput2738 Год назад
Loved it ❤, Real life development is not scripted.
@GetSwifty
@GetSwifty Год назад
So true. Thank you so much!
@ordosalutis7
@ordosalutis7 Год назад
I love this kind of videos. SUPER educational. I've been trying to work with BLE for medical devices on iOS, and it was quite fun to work with (albeit challenging). I wish to see some architectural design choices in the next part of the series!
@GetSwifty
@GetSwifty Год назад
Super glad you liked it! It's always challenging doing live streams like this. Without a script and editing backing me up, I'm always worried about not communicating well enough! Thanks for the comment!
@GetSwifty
@GetSwifty Год назад
Oh, and yes, in future we'll take a look at cleaning things up a bit. Make the code a little more "production" worthy!
@AnPham-zf6fg
@AnPham-zf6fg 9 месяцев назад
This is great tutorial. I follow this series and make own water system for plants using ESP32 for my wife, she is very surprise for that. Thanks you so much.
@GetSwifty
@GetSwifty 9 месяцев назад
I am so glad you were able to apply this info to a real world project. That’s so awesome!
@NIXO3D
@NIXO3D 9 месяцев назад
This video is GOLD. 🔥Thank you so much, I was looking for this for quite sometime. Thank you for sharing 🙌🏽
@GetSwifty
@GetSwifty 9 месяцев назад
Thank you so much! I also plan to continue adding more to this series.
@NIXO3D
@NIXO3D 9 месяцев назад
Awesome 🤩 Can you please show us next time how can we write with it also, for example how can we turn on the built in led and turn it off with Core Bluetooth and using BLE @@GetSwifty
@GetSwifty
@GetSwifty 9 месяцев назад
@@NIXO3D 100% I think that's the natural next step here and would set people up for doing just about anything!
@NIXO3D
@NIXO3D 9 месяцев назад
Exactly 👍 Thank you bro 🍻 Looking forward to it 💯 @@GetSwifty
@user-zc7rq9hr9r
@user-zc7rq9hr9r Год назад
Great videos!THx
@GetSwifty
@GetSwifty Год назад
Thanks for watching!
@archerknight3562
@archerknight3562 7 месяцев назад
Cool learned alot
@GetSwifty
@GetSwifty 7 месяцев назад
Glad I could help!
@marcdurbach7036
@marcdurbach7036 Год назад
Hi, I really like your streams related to embedded devices and IOS. Have you planned to continue the series ? I would really like to see one with an integration between an IOS app and the Raspberry PICO W (which supports bluetooth since a few weeks) with a micropyhton app running on the pico
@GetSwifty
@GetSwifty Год назад
Sure thing. Happy to mix it up a bit. I have a few PICOs around. Got any ideas on what I should do with it? Controlling lights? Thanks!
@marcdurbach7036
@marcdurbach7036 Год назад
@@GetSwifty I am working on a small robot, and i wanted to integrate a BLE function in order to control it with my iPhone. I could do it with wifi, but it will be used to make demos, so there will not always be a wifi network available. The basic app will have 3 sliders, one for moving forward ( with speed from 0 to 9 ) , backwards, and left right. I can share the pico code if you are interested. At the end it would be interesting to see If one can hook a camera on the robot and send a stream via BLE to the iPhone.
@GetSwifty
@GetSwifty Год назад
Sounds simple enough. I guess the main thing would be to just have an app that can send commands over. So we could do a light for demonstration, but no reason why this couldn’t be “move forward” instead. The camera feed is something I’m interested in too, but probably a whole session for that. I know there’s an esp32 module that has a camera, but not sure if it works over Bluetooth.
@marcdurbach7036
@marcdurbach7036 Год назад
@@GetSwifty Just have a look at this link ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qLee7ThjOp4.html I ordered an Arducam 5M Pixel with autofacus, and will test it on the Pico once it arrived
@andrewmuniz5283
@andrewmuniz5283 6 месяцев назад
Hey, are you ever going to make the project you mentioned where you turn on and off a LED from an app? I have a simple two-motor robot I created and a Swift app that acts as a controller to make it go forward, backward, left, and right. I just cant figure out how to connect them.
@GetSwifty
@GetSwifty 6 месяцев назад
YES! I'll make that the next stream I do!
@kadmani
@kadmani 11 месяцев назад
My app is just stuck on scanning: 0. Everything else works but you didn't show how you connected the esp with your phone. Did you use regular bluetooth or did you download the app on your iphone as well? I am using ipad, would that cause a difference?
@GetSwifty
@GetSwifty 11 месяцев назад
For the app, it knows the ID of the service/characteristic of the Bluetooth device and listens out for that. Once discovered, it forms a connection and can start receiving data. Are you in the discord? If not and you don’t have it, you can also chat to me on Twitter/x. I can help you out!
@SA-oj3bo
@SA-oj3bo Год назад
Hi I am looking for an IOS BLE RC App to control a car , any advice? Thx.
@GetSwifty
@GetSwifty Год назад
Control it in what way? Some manufacturers have their own apps for controlling things like climate, locks and windows. E.g Tesla, Audi. If you’re looking to add Bluetooth to a car that doesn’t have it, that’s a whole other thing
@user-zs9xx2jh7h
@user-zs9xx2jh7h 11 месяцев назад
Did you try Bluetooth auto pairing for this microcontroller to iPhone?
@GetSwifty
@GetSwifty 11 месяцев назад
The app “listens” for devices with a particular ID, and when found sets up a connection. The device itself is open to anyone, and will just broadcast data to anyone listening
@maclagat3865
@maclagat3865 6 месяцев назад
What is the program you are using to create the ios app?
@nickdalts
@nickdalts 6 месяцев назад
Xcode
Далее
Bluetooth Classic & BLE with ESP32
38:00
Просмотров 27 тыс.
Я НЕ ОЖИДАЛ ЭТОГО!!! #Shorts #Глент
00:19
skibidi toilet zombie universe 37 ( New Virus)
03:02
Просмотров 1,3 млн
Symmetrical face⁉️🤔 #beauty
00:15
Просмотров 1,9 млн
BLE with ESP32 tutorial part 1: the Server
25:23
Просмотров 82 тыс.
Particle Effects (Confetti) in SwiftUI
1:03:10
Просмотров 2,6 тыс.
il caldo fa brutti scherzi #dog #fight #punch
0:18
Просмотров 22 млн
ToRung short film: 🙏save water💦
0:24
Просмотров 77 млн