Tensegrity Lamp Running ColorChord on Android with USB in C

  Рет қаралды 17,090

CNLohr

CNLohr

Күн бұрын

Пікірлер: 125
@ncot_tech
@ncot_tech 4 жыл бұрын
"Day 68 of isolation. I have managed to live in VR for a week now" ;)
@DVDplayerz
@DVDplayerz 4 жыл бұрын
1 day short huh?
@BHBalast
@BHBalast 4 жыл бұрын
It's hilarious how you just casually weal VR googles like it's normal. ;D
@vagatronics
@vagatronics 4 жыл бұрын
bruh what? it is normal what are you talking about
@vagatronics
@vagatronics 4 жыл бұрын
it is normal bruh tf
@TheTinyCreeperGaming
@TheTinyCreeperGaming 4 жыл бұрын
How is it not normal?
@PranavSharma2504
@PranavSharma2504 4 жыл бұрын
Amazing! This opens up so many interesting possibilities!
@CNLohr
@CNLohr 4 жыл бұрын
Dream. Design. Execute. Publish.
@BOLL7708
@BOLL7708 4 жыл бұрын
I love that you're wearing the Index for the microphones 🤣 I was just told my Index sounds better than my €550 podcasting audio chain... 🙄 In any case, this is interesting and crazy, I'm an app developer for Java and Kotlin specifically, so close to what I do but also far away 😅
@CNLohr
@CNLohr 4 жыл бұрын
C, man... Then you can mix it with OpenVR with cnovr, too... or run your code on microcontrollers.
@JoinUsInVR
@JoinUsInVR 4 жыл бұрын
@@CNLohr Did you manage to hack the Index cameras to make close objects easier to interact!?!?!? Or just good at typing and grabbing your phone without depth perception? Or are you a hammerhead shark in secret, with an IPD matching that of the Index cameras :P Please share the truth with the world! :D
@CNLohr
@CNLohr 4 жыл бұрын
@@JoinUsInVR No comment. At least not yet.
@JoinUsInVR
@JoinUsInVR 4 жыл бұрын
​@@CNLohr Hmmm... is that "not yet" in reference to not commenting yet, or not hacking yet? I'll keep watching what you come up with, either way :)
@nikolausluhrs
@nikolausluhrs 4 жыл бұрын
I use my vive for my mic on a daily basis
@highkey_michael
@highkey_michael 4 жыл бұрын
I'm interested in seeing what making a hello world app looks like! (I love watching live coding videos from conferences) I've looked at your rawdrawandroid github repo, and the test.c seems to have a LOT of boilerplate/setup code for configuring the IMUs and buttons and I think a line-by-line breakdown of a simple project with it would be cool and enlightening.
@rick_er2481
@rick_er2481 2 жыл бұрын
agree
@hene6539
@hene6539 4 жыл бұрын
Very cool! Two weeks ago I was digging and found my old Samsung S4 and thought that would be nice to reuse it for some kind of project.
@walle1976
@walle1976 4 жыл бұрын
Nice! Cool that you show how to use the java android Intent methods from within c in RequestPermissionOrGetConnectionFD. Keep up the great work, this is opening a door to use older or cheap androids in various usb based hardware projects. It makes total sense you get a nice touchscreen, gyro sensors, sound+video capabilities for cheap from an android device and bring them to the microcontroller world via usb so you can control not only leds but just as easily relais, mosfets, stepper motors etc. It's all totally doable now as long as android sdk/ndk keeps that usb access door open indeed ;)
@asmotaku
@asmotaku 4 жыл бұрын
Excellent ! Your channel is a little gem ! 🤩
@meksaldi
@meksaldi 4 жыл бұрын
I've just used ColorChord Test App on Android to listen to a song and is amazing the fact that the colors are changing so beautifully in the melody of the song. Maybe this can be used in combination with a Karaoke system to indicate whether a song is sang correctly or not.
@avejst
@avejst 4 жыл бұрын
Wow, impressive design/app Haven't seen the colourchord video before now Thanks for sharing👍😀
@paulhendrix8599
@paulhendrix8599 4 жыл бұрын
Amazing! I'd watch all of the videos you make about it!
@ianbryant3258
@ianbryant3258 Жыл бұрын
Legendary!
@CNLohr
@CNLohr Жыл бұрын
Clearly, that people are still watching it and using the repo!
@DerSolinski
@DerSolinski 4 жыл бұрын
Is that a VR HMD on your nose? It is happening denial of reality 🤣
@vagatronics
@vagatronics 4 жыл бұрын
wut
@aserta
@aserta 4 жыл бұрын
Very interesting from...all sorts of reasons. You push the limits all the time. :)
@axlecrusher
@axlecrusher 4 жыл бұрын
I like how you are just in VR now.
@vagatronics
@vagatronics 4 жыл бұрын
ok
@fabriciochamorro2985
@fabriciochamorro2985 3 жыл бұрын
Subscribed
@briankang7019
@briankang7019 4 жыл бұрын
Anyone from the Non-Euclidian video?
@rainespiano
@rainespiano 4 жыл бұрын
Aye
@IspiraGaming
@IspiraGaming 4 жыл бұрын
Just discovered your channel, looks great! New sub and definitely going to follow.
@CNLohr
@CNLohr 3 жыл бұрын
Thanks - glad to have you even if I am 8 months late noticing.
@Wander4P
@Wander4P 4 жыл бұрын
rgb is one heck of a drug
@alpagutsencer
@alpagutsencer 4 жыл бұрын
Great stuff as always Charles. Can you make a video about your pcb design process ? You are using Kicad i presume.
@CNLohr
@CNLohr 4 жыл бұрын
I am. A long time ago I made a video about my design process. kzbin.info/www/bejne/eZ-sfKmfrJimsK8
@Zildawolf
@Zildawolf 4 жыл бұрын
Got sent here from your noneuclidian minecraft video from 9 years ago
@ihaveasticknmyi
@ihaveasticknmyi 4 жыл бұрын
I understand a small fraction of the things on this channel, but what I can understand is always pretty amazing. Let the record show that was here before you got famous or thrown in jail. Which ever comes first.
@shankar4510
@shankar4510 3 жыл бұрын
is this illegal
@guatagel2454
@guatagel2454 4 жыл бұрын
Thank you!
@martingergov6562
@martingergov6562 4 жыл бұрын
Just wait until our corporate overlords learn about this!
@Dragonmastur24
@Dragonmastur24 4 жыл бұрын
Is the instant apk upload something like those instant apps that you "dont have to download"? Cool as ever Charles!!
@reeldeal8385
@reeldeal8385 4 жыл бұрын
I need this!!!
@Bravefsj
@Bravefsj 4 жыл бұрын
thank you for sharing.
@shinevisionsv
@shinevisionsv 4 жыл бұрын
BOOP! BOOP! BOOP!
@inversephase
@inversephase 4 жыл бұрын
Nice Voronoi you got there
@chetana9802
@chetana9802 4 жыл бұрын
more OooooOOOOooooOOO like projects
@LeBlafy
@LeBlafy 4 жыл бұрын
kzbin.info/www/bejne/aaWlopeBfM6kpKs
@diredesire
@diredesire 4 жыл бұрын
Could you do this as a frunk accessory for the index, or use the usb pipe plumbed back to the PC? That'd be a cool effect for VR streamers...
@kasdaqweqeasdasqweqwe
@kasdaqweqeasdasqweqwe 4 жыл бұрын
noice
@CNLohr
@CNLohr 4 жыл бұрын
For those who can't find the description: Patreon: www.patreon.com/cnlohr Android Play Link: play.google.com/store/apps/details?id=org.cnlohr.colorchord Join the discord! discord.com/invite/ZUWdwXk github.com/cnlohr/rawdrawandroid github.com/cnlohr/androidusbtest github.com/cnlohr/colorchord github.com/cnlohr/tensigral_lamp
@misaalanshori
@misaalanshori 4 жыл бұрын
This would mean that theoretically any usb device would work, right? Assuming that a driver for it has been made?
@CNLohr
@CNLohr 4 жыл бұрын
Theoretically. Another interesting thing would be that you could write a user-space driver once and use it everywhere. Windows, Android, Linux
@JoeTao
@JoeTao 4 жыл бұрын
What are the VR goggles for? See from camera view?
@JoinUsInVR
@JoinUsInVR 4 жыл бұрын
Is that a Valve Index on your head? Did you modify the cameras to make things look clear when up close!?!?!
@majorgnu
@majorgnu 4 жыл бұрын
7:30
@JoinUsInVR
@JoinUsInVR 4 жыл бұрын
@@majorgnu it has a great mic but the 2 camera ipd is like a hammerhead shark, which makes seeing things that are close difficult. I'm wondering if he found a way to hack that too!
@majorgnu
@majorgnu 4 жыл бұрын
@@JoinUsInVR You could use one of the cameras for both eyes and lose depth perception, temporarily close/ignore one eye while dealing with stuff up close or have the camera views displayed on VR windows alongside the desktop. Or you could just get used to being a hammerhead, I guess? 👁 👃 👁 👄
@JoinUsInVR
@JoinUsInVR 4 жыл бұрын
@@majorgnu I've done the eye and wrist camera trick too. (PS, love your little hammerhead art!) It does help do non VR things in VR. But when I do I am NEVER able to interact as easily and with the precision he does at 3:28 and other places. So I thought if ANYONE would have hacked the cameras....
@procactus9109
@procactus9109 4 жыл бұрын
Is there a tutorial for getting everything ready to compile and upload to an android device ?
@CNLohr
@CNLohr 4 жыл бұрын
The how-to is on the rawdrawandroid github page.
@procactus9109
@procactus9109 4 жыл бұрын
@@CNLohr ok cool. I'll check it out. It would be nice to have more power than an esp8266 lol
@SinanAkkoyun
@SinanAkkoyun 4 жыл бұрын
Well, could you build an UART ESP32 flasher?
@SinanAkkoyun
@SinanAkkoyun 4 жыл бұрын
Or like a bridge between termux and a uart serial device
@nvademarvel9344
@nvademarvel9344 4 жыл бұрын
I came from ur minecraft vid 😎
@berksteraydo9517
@berksteraydo9517 4 жыл бұрын
USBs yes!!!
@jonshouse1
@jonshouse1 4 жыл бұрын
Any luck driving the Android (or Linux) networking from C ? Is it possible to drive Linux sockets ? If sockets is not available to the runtime then file I/O via /dev/udp (and maybe /proc/net) might get some work done, I am not sure how android arranges things.
@zoon81tub
@zoon81tub 4 жыл бұрын
We would love seeing a shared project on PCBWay.com. What do you think, it is possible? PCBWay can donate you after every order by 10%, not too much but more than nothing :)
@Wander4P
@Wander4P 4 жыл бұрын
Just tried building on Ubuntu 20.04. I seem to be missing header files? Throws errors for not finding files os_generic.h and CNFG.h Scrolled through commit history and I didn't try all of them, but the most recent commit I could get to build is: 3fd52c4aba746a902cb0d422d0564032374a1b85
@CNLohr
@CNLohr 4 жыл бұрын
did you check out recursively? This project uses submodules.
@ac130kz
@ac130kz 4 жыл бұрын
Well, you made Flutter-like environment without a new language, GC, VM, just the official Makefiles, lol
@shankar4510
@shankar4510 Жыл бұрын
HI there . I decided to move on from my animation field to android game development. I am taking java classes and what other reading topics do you recommend me to understand rawdraw fully and implement in my projects? Yes its long journey but I want to pursue it .
@CNLohr
@CNLohr Жыл бұрын
I would recommend joining my Discord server. There's a lot of people there who can help you along the way. You can get the invite link in the "About" section of my youtube channel.
@MrEtronic
@MrEtronic 4 жыл бұрын
please a video on the esp32
@joe0932
@joe0932 4 жыл бұрын
Sorry if I missed it, but how did you route the tracks on the lamp PCB? Looks like TopoR or something similar? 😄
@CNLohr
@CNLohr 4 жыл бұрын
I just manually route that way, now.
@beni5154
@beni5154 4 жыл бұрын
OpenCV and this would be awesome!
@rygyd
@rygyd 4 жыл бұрын
What is non eucludian?
@forsenE
@forsenE 4 жыл бұрын
wow! an old youtube channel that’s this up. came from the mc raytracing :)
@ninjafishbowl7689
@ninjafishbowl7689 4 жыл бұрын
I would really like to make a rgb phone case, i have a ws2812b ring but I don't know how to connect everything, could you make a video about this or atleast help me?
@CNLohr
@CNLohr 3 жыл бұрын
It would be a lot of work, but that is certainly something you could do with the sort of tech in this video.
@mame1166
@mame1166 4 жыл бұрын
Nice ray tracer
@Maxjoker98
@Maxjoker98 4 жыл бұрын
Port CNOVR to android, Cardboard-VR-style! :P
@lynix48
@lynix48 4 жыл бұрын
Which Linux distro and Laptop is that? It looks pretty cool.
@coronelfalk
@coronelfalk 4 жыл бұрын
almost 2 months ago...
@jaidyncrosslindesign9391
@jaidyncrosslindesign9391 9 ай бұрын
Hey bro, I was wondering if I could pay you to develop an application for me that is very similar to colorchord!
@CNLohr
@CNLohr 5 ай бұрын
I am not open to commissions at the moment but maybe some folks in my Discord are? You can ping me for an invite at `cnlohr`
@TheRainHarvester
@TheRainHarvester 4 жыл бұрын
What is the vr headset doing on your head? Did the pcb company charge you extra for each pop out part? Or did they consider it as 1 pcb?
@CNLohr
@CNLohr 4 жыл бұрын
The boards would have cost more, but because they were also doing the PCA they calculated it into the price... so it wasn't really any more.
@majorgnu
@majorgnu 4 жыл бұрын
7:30
@TheRainHarvester
@TheRainHarvester 4 жыл бұрын
@@majorgnu , thanks I had to rewind a bunch to hear that. So just for the microphone - right? I was hoping he was using vr monitor screens and viewing himself too while recording.
@CNLohr
@CNLohr 4 жыл бұрын
@@TheRainHarvester I was - I had both the camera view and desktop view up in VR.
@sh_a_nkar4135
@sh_a_nkar4135 Жыл бұрын
can you help with the make file please? you talked about doing video
@CNLohr
@CNLohr Жыл бұрын
I am not sure what you mean? There are a lot of guides online showing how to make Makefiles.
@sh_a_nkar4135
@sh_a_nkar4135 Жыл бұрын
@@CNLohr can we make apps that supports ad's with this as well ?
@TheRainHarvester
@TheRainHarvester 4 жыл бұрын
Would using Bluetooth be more "legal/acceptable" than usb? I'd like to see you get a c app onto the play store. (I want to write code, and ship hw that is controlled by c code).
@CNLohr
@CNLohr 4 жыл бұрын
I don't know, it would probably be OK too.
@mavamaarten
@mavamaarten 4 жыл бұрын
C code is perfectly acceptable in the Play Store. Plenty of games are made this way, and many apps use a shared native library to share code between Android and iOS.
@CNLohr
@CNLohr 4 жыл бұрын
@@mavamaarten You'd just think they'd get suspicious when you have no .class files at all :-p
@electroGoal
@electroGoal 4 жыл бұрын
Make a video on how decode ir signal using computer sound Card.
@alejandrobobadilla7655
@alejandrobobadilla7655 4 жыл бұрын
Hi, what Linux version you use?
@CNLohr
@CNLohr 4 жыл бұрын
Mint mate but it works with any
@RobertSzasz
@RobertSzasz 4 жыл бұрын
Didn't the sdr folks do something similar? And the wallabot folks?
@CNLohr
@CNLohr 4 жыл бұрын
Do you have any links?
@RobertSzasz
@RobertSzasz 4 жыл бұрын
@@CNLohr looking but walabot (I misspelled the name before) is a commercial product, and I have to look for an open source rtl-sdr Android app. Both do access USB and are full store apps. (And I'm pretty sure the rtl-sdr apps aren't running Java under the hood)
@CNLohr
@CNLohr 4 жыл бұрын
@@RobertSzasz Most of these apps still use Java as a lot of glue code and to do a lot of complicated SDK interactions. I think the big thing that I've been very happy with with this project is finding that *everything* can be done with the JNI, and my focus is with enabling others to do the same rather than any specific project. A SDK app would be a SPECTACULAR use for this sort of thing, some sort of front end for RTL-SDR. It looks like there's a port for GnuRadio, www.rtl-sdr.com/tag/android/ ... I'm not sure why these projects don't have more common consciousness. I was totally unaware of it until you mentioned something.
@annguyenhoangphu451
@annguyenhoangphu451 4 жыл бұрын
How he can run debug wireless to his phone, sorry i'm just a new guys
@rodricbr
@rodricbr 4 жыл бұрын
6:07
@rainespiano
@rainespiano 4 жыл бұрын
ooooOooooOOOOooooOo
@shankar4510
@shankar4510 3 жыл бұрын
so no arduino reuired anymore
@CNLohr
@CNLohr 3 жыл бұрын
Correct.
@daniihh
@daniihh 4 жыл бұрын
but what about Rust?
@CNLohr
@CNLohr 3 жыл бұрын
No.
@L1Q
@L1Q 4 жыл бұрын
wait what? are you seriously wearing hmd at all times now?
@alexstone691
@alexstone691 4 жыл бұрын
Is that cinnamon or mate desktop?
@CNLohr
@CNLohr 4 жыл бұрын
Mint Mate
@Really2950
@Really2950 4 жыл бұрын
Ubuntu deepin .... better
@MrSuvidh
@MrSuvidh 3 жыл бұрын
you should make a complete detailed tutorial rather than a demo.
@CNLohr
@CNLohr 3 жыл бұрын
What is the difference?
@shankar4510
@shankar4510 3 жыл бұрын
@@CNLohr is it easy to add advertisements in our c program ?
@CNLohr
@CNLohr 3 жыл бұрын
@@shankar4510 I actually have no idea how to do that - though - I'd imagine it shouldn't be too hard?
@kippie80
@kippie80 4 жыл бұрын
Ok, so, all that java containerization stuff is a waste of space? Android is such garbage but a cool toy for sure! Totally unsecure is what I'm saying.
@PixlRainbow
@PixlRainbow 4 жыл бұрын
the C based apps still get containerized, notice that he said you still have to go through JNI (Java-Native Interface) in order to request permissions to access USB and files and stuff.
@tetraquark2402
@tetraquark2402 4 жыл бұрын
Never liked Java
What is CNOVR (Intro #1)
13:13
CNLohr
Рет қаралды 16 М.
"No! Euclid!" GPU Ray Tracer gets an upgrade!
10:03
CNLohr
Рет қаралды 318 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 101 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 7 МЛН
Dad gives best memory keeper
01:00
Justin Flom
Рет қаралды 20 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 72 МЛН
Aggressively Low Power with the ESP8266
10:18
CNLohr
Рет қаралды 78 М.
Trolling My Mom With an E-Paper Picture
11:05
CNLohr
Рет қаралды 752 М.
Are Linux Smartphones about to KILL Android?
11:19
Mrwhosetheboss
Рет қаралды 8 МЛН
Game Made for VR on a $1 Processor?
16:48
CNLohr
Рет қаралды 21 М.
Writing a Really Tiny RISC-V Emulator
19:59
CNLohr
Рет қаралды 60 М.
We Turned This Old Phone into a Gaming Beast !!!
16:53
Geekerwan
Рет қаралды 4,7 МЛН
ESP32 WiFi Range Testing - 10km using Directional Antenna
5:42
Broadcasting  COLOR Channel 3 on an ESP
14:29
CNLohr
Рет қаралды 85 М.
Fun with the ESP8266's BBPLL
3:56
CNLohr
Рет қаралды 34 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 101 МЛН