HM-10 BLE Android App using HM10 & AI2 only. NO ARDUINO

  Переглядів 27,916

Tom Donnelly

Tom Donnelly

5 років тому

I show you how to use the HM10's onboard pins on the CC2541 for i/o from your Android or IoS App without the need for a second microcontoller such as an Arduino or ESP8266. Pins can support logic, ADC & PWM. Pin 2 can sustain 20mA. All others around 4mA
#HM10
#Android
#BLE
AIA Source download: crazytom.com/p/hm10
Huamao Firmware: jnhuamao.cn/index_en.asp?ID=1
Martyn Currey's site: www.martyncurrey.com/category/...
AI2's BLE Template Guide (PDF):
iot.appinventor.mit.edu/assets...

КОМЕНТАРІ: 65
@willlawson2304
@willlawson2304 2 роки тому
After searching for 3 hours I found a straight to the point video on using the HM10 MIT App inventor and Bluetooth LE. Thankyou Tom!!! I'm using it to control the servo motors on a 6Axis robot :)
@mirkoiattelbrum5959
@mirkoiattelbrum5959 3 роки тому
I got the same T-Shirt from Florida when I was working for Enron. Congrat for the video
@carlosperez-qo4do
@carlosperez-qo4do 3 роки тому
Great, my English is basic but I managed to understand what you did and it has helped me in my project. Thank you so much, you are a genius.
@koshchall
@koshchall 4 роки тому
thank you very much for these instructions.
@herbertattema9890
@herbertattema9890 2 роки тому
Amazing, Just what i was loopking for
@aminekouchta9616
@aminekouchta9616 4 роки тому
Thank you for sharing all these informtions Tom
@technomicah
@technomicah 4 роки тому
Youre awesome for figuring this out
@sikazwe2010
@sikazwe2010 4 роки тому
Wow! very informative, thanks for the share dude.
@omerfaruk7216
@omerfaruk7216 3 роки тому
thank you very much. it's very fine and great!
@KyleGP
@KyleGP 3 роки тому
Nice video. So you have the AT commands being sent from the AI2 app but any idea how you could get back the response from the HM10 if you sent a query like AT+NAME? for example, and then put that response in a textbox inside the AI2 app. I haven't been able to figure this out.
@MrBobWareham
@MrBobWareham 3 роки тому
Thanks for the video very good I was looking for the range of the module?and can it be extended
@partyhappenings
@partyhappenings 4 роки тому
man I haven't seen an Enron shirt in years!
@johnskii
@johnskii 3 роки тому
Hi Tom this was wonderfully insightful, thank you for your video. I'm curious to using such low current (20ma+4ma) from the HM10 pins, do you use optocouplers with a relay or are you using an specific relay? I'd like to make a project operating 5 relays using your method
@crazytom
@crazytom 3 роки тому
D4184! In fact I sell them.. www.ebay.co.uk/itm/254436645047
@johnskii
@johnskii 3 роки тому
@@crazytom thank you very much! My project is simply to bridge jumper connections with a Dupont connector on another piece of circuitry. I took your ideas for the MI2 app and - at first I was using an Arduino nano with HM10, but to find I can cut out the Arduino was a revelation. Tom, you have a great style of teaching and pack so much information in there - I'm grateful! That was also the fastest response I've ever had on UKposts 😁 all the best
@RSP13
@RSP13 2 роки тому
OMG. thank you!!!!
@stephenborntrager6542
@stephenborntrager6542 4 роки тому
So the pins on the chip are controllable via AT Commands? Interesting... but I'm not sure it's going to work for me. Which sucks, because I basically already need two micros... one for reading some tragically slow 1wire sensors, and another for constantly updating some shift registers. I doubt this method of interfacing would work for either function. What's actually stopping us from replacing the firmware? It looks to me like the chip supports ISCP. Is there a reason we couldn't use any old 8051 compiler and upload via ISCP? Or is it the software stack from TI that is the baring factor? (Documentation says the OS layer is in source form, but they may have that heavily restricted.)
@jacquesdebruyn7884
@jacquesdebruyn7884 Рік тому
Hi thanks for the info on the HM-10. Can I program it on the Arduino platform? Because of the small size I would like to use it to transmit data from 2 joysticks to a existing ESP32 receiver module
@xlordfifth
@xlordfifth 9 місяців тому
I get the error: need android.permission.BLUETOOTH_SCAN How to fix?
@u-bloxi-parry4042
@u-bloxi-parry4042 4 роки тому
Do you have any experience at all with using the HM10 ublox wifinina library specific ble module living itself on the marvellous MKR WIFI 1010 arduino boards, plz....?
@InterdimensionalWiz
@InterdimensionalWiz 3 роки тому
great thanks. :-)
@parthi761
@parthi761 3 роки тому
Thank you sir. This helped me a lot in my current project.
@edwardlong3312
@edwardlong3312 3 роки тому
I have an HC-08 and it has an 8051 processor in it. I want to use the A to D in this. Do you know how I can connect to the 8051 and configure it?
@cortezdos
@cortezdos 4 роки тому
Excellent work . I was testing this last night with the same purpose you have. I have a HM10 clone, i flashed it with v540 and GPIO works too. I wanted to use this to connect the ignition wire in a older scooter type ebike. The thing is the battery is a 15s, 63v. How do you plan to make the connection in your wiring? I am stiil searching for an app for ios tha allows me some configurable buttons to send just the AT command to gpio on or off. Are you making a video about that ebike modification?
@kumarshubham5
@kumarshubham5 3 роки тому
Hi, Have you figured this out, how to send commands to the gpio..
@parthi761
@parthi761 3 роки тому
Sir I am a new to this can you tell me if how do i create my own app and not use the AI2 App. Will it work?
@diyhub2986
@diyhub2986 2 роки тому
is it possible to add 0.96" OLED display without MCU? using only the bluetooth module?
@Pijuani
@Pijuani 4 роки тому
Can i use a hm-10 and IR led to control mí old TV with Bluetooth Android app ?
@guilherme_rolim
@guilherme_rolim 4 роки тому
Hi, I'm from brazil. It is difficult to understand, sorry. To summarize, if the HM-10 firmware is updated, as you show, then I can control the I/O by a bluetooth APP, simply by sending the command AT + PIOxx? Or I necessarily need an AI2 app?
@crazytom
@crazytom 4 роки тому
No AI2 not required. You can issue via tx/rx instead.
@pdreamer79
@pdreamer79 2 роки тому
I want to use this bluetooth module on my jetson ebike! To make it go faster. It has the same connections but know it will work using the app
@gamecutexxx
@gamecutexxx 2 роки тому
I am planning to use JDY-23 Bluetooth module to make a smartphone-controlled helicopter project but I have a question about the PIN PWMout control command to control the engine speed. can you guide me the command to control PIN PWMout of Bluetooth module with App. please help me.
@karolkarol1598
@karolkarol1598 3 роки тому
where to look for a problem if the hm10 module is not visible by the head unit android car radio? android phones sees everything fine.
@inferno6012
@inferno6012 3 роки тому
Can we setup a pairing pass with appinventer?
@shahzainali825
@shahzainali825 4 роки тому
Thats good, but how can i attach a button to hm 10, on pressing button it will emit beacon with timestamp for some seconds and will sleep after that. I have ccdebugger available. I am Android developer.
@chadshumway519
@chadshumway519 4 роки тому
Soldering a wire @ 4th position I can no longer connect to the device. Using DSD TECH HM-10. Looks very similar to your HM-10 module. I see the LED state change to solid red for a bit then nothing. Possible the pinnout is different?
@chadshumway519
@chadshumway519 4 роки тому
It is a CC2541 chip.
@crazytom
@crazytom 4 роки тому
Well possibly. But simply attaching a wire shouldn't nix the device. As it happens... I designed a board with full pin out and 4.5V to 70V power supply range. radenite.com/hm10/Breakout.jpg
@chadshumway519
@chadshumway519 4 роки тому
@@crazytom I was able to reset and rename the device hooked to an uno. Won't pair to my note8 or Samsung tablet but will to my Win10 PC. Fork me! :( Thanks for the tutorial!!!
@chadshumway519
@chadshumway519 4 роки тому
@@crazytom Are you making your own PCBs? Looks like a CNC job. 4.5 to 70? Useful for the automotive industry. Sweet!
@sv0205
@sv0205 4 роки тому
Can we use this hm-10 module to send midi msg To work Like a Bluetooth BLE Midi keyboard 🎹???? Or we Hv To Update the firmware ??? Plz rply 🙂
@crazytom
@crazytom 4 роки тому
Nope. Latency would kill MIDI which is pretty susceptible to delays in even short chains.
@rennanpaloschi9705
@rennanpaloschi9705 4 роки тому
Why the BLE option does not apear in my APP inventor2? just the ordinary version
@crazytom
@crazytom 4 роки тому
It's an extension. Easy to add.
@hyperrunner4589
@hyperrunner4589 3 роки тому
Can I use this to transmit audio to bt ear phone without arduino
@crazytom
@crazytom 3 роки тому
No.. bandwidth and latency are challenges.
@i_makes_stuff
@i_makes_stuff 4 роки тому
Could this also work to read input from those pins?
@crazytom
@crazytom 4 роки тому
Yes of course. Including ADC.
@i_makes_stuff
@i_makes_stuff 4 роки тому
@@crazytom Excellent! Where does the latency usually clock in at? I've seen some people getting stuck with over 500ms when chained with a second microcontroller
@crazytom
@crazytom 4 роки тому
@@i_makes_stuff Latency? You're using RF comms, 3 "operating systems", two applications and a layer of AT Command interpreter. I wouldn't use this approach for high speed signal switching. :) I
@kumarshubham5
@kumarshubham5 3 роки тому
​@@crazytom I am still not able to do it. Can you please tell that how to write the code in the firmware for the LED to blink.
@busterdafydd3096
@busterdafydd3096 3 роки тому
I was thinking of making a video about using an arduino is stupid. Just really I know there is documentation out there using an arduino but doesn't mean you have to use one. Arduino is basically a breakout board for the atmega chips. Great chips to breakout but not needed, what you needed if you want any wireless is a breakout board for a wireless enabled chip and almost all wireless chips have integrated processors that are over powered for there application, and even if you are reaching the limits of the wireless module, still make your own code so you can get every ounce of performance out of any processor you are using
@nzpham3389
@nzpham3389 4 роки тому
Hello, Thank you for your video. I managed to update my AT-09 board from Aliexpress to version 705 using your guide. However, I cant get the Android app to activate the PIO2 pin. I can do it in terminal (android Serial Monitor) but when using the App it did not activate the pin as in your video. The command did show up on the terminal though. Can you help me getting the app to work? thank you.
@nzpham3389
@nzpham3389 4 роки тому
I found the answer to my problem. If anyone experience my problem - try entering (AT+MODE1) in terminal to put the AT-09 into command mode, then what ever you send it will be command rather than just passing through as text. Thanks for the guide again.
@crazytom
@crazytom 4 роки тому
Thanks for this. Very useful.
@nzpham3389
@nzpham3389 4 роки тому
@@crazytom thanks to you, I can now control my garden watering system from my phone on top of the automatic program. cost for $2.00 for the AT-09. Awesome video Tom!
@crazytom
@crazytom 4 роки тому
@@nzpham3389 Fantastic! Let's see a video or a Kickstarter!!
@srinivaskb209
@srinivaskb209 4 роки тому
Hi, whether the mode setting has to be done every time ? If yes, can we do the mode setting without Arduino board.(UART interface)?@NZ pham
@oshinwane6902
@oshinwane6902 Рік тому
v6.03?
HM-10 bluetooth модуль 4.0
7:48
Александр Писанец
Переглядів 26 тис.
КАК ГЛОТАЮТ ШПАГУ?😳
00:33
Masomka
Переглядів 1,4 млн
😱СНЯЛ ФИКСИКОВ НА КАМЕРУ‼️
00:35
OMG DEN
Переглядів 661 тис.
Getting started with the HM-10: Easy Arduino Bluetooth integration for iOS and Android!
17:08
Bluetooth 2.0 VS Bluetooth 4.0 (BLE) || Is an Upgrade worth it?
7:54
GreatScott!
Переглядів 595 тис.
10 заповедей по пайке. Учимся паять
12:05
HM10 BLE BLUETOOTH Module Part 1 -AT Commands on Original HM10
12:43
Saravanan AL
Переглядів 28 тис.
Create a BLE app for your mobile phone! Control an ESP32 with BLE
47:04
How to program the HC-06 Bluetooth module
8:38
0033mer
Переглядів 200 тис.
Arduino Projects - 12 GREAT Ideas for you!!!
9:00
ToP Projects Compilation
Переглядів 326 тис.
HOW TO: Flash the HM-10 firmware on to CC41-A / CC2541 - Bluetooth 4.0
5:50
Bluetooth Proximity Detection | FireBeetle ESP32
5:20
Davy Wybiral
Переглядів 100 тис.
RTX 4070 Super слишком хороша. Меня это бесит
15:22
Рома, Просто Рома
Переглядів 56 тис.
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 342 тис.