Tensegrity Lamp Running ColorChord on Android with USB in C

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024

Комментарии • 125

  • @ncot_tech
    @ncot_tech 4 года назад +96

    "Day 68 of isolation. I have managed to live in VR for a week now" ;)

  • @BHBalast
    @BHBalast 4 года назад +64

    It's hilarious how you just casually weal VR googles like it's normal. ;D

  • @PranavSharma2504
    @PranavSharma2504 4 года назад +18

    Amazing! This opens up so many interesting possibilities!

    • @CNLohr
      @CNLohr  4 года назад +10

      Dream. Design. Execute. Publish.

  • @BOLL7708
    @BOLL7708 4 года назад +30

    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 года назад +3

      C, man... Then you can mix it with OpenVR with cnovr, too... or run your code on microcontrollers.

    • @JoinUsInVR
      @JoinUsInVR 4 года назад +6

      @@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 года назад +5

      @@JoinUsInVR No comment. At least not yet.

    • @JoinUsInVR
      @JoinUsInVR 4 года назад +2

      ​@@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 года назад +33

    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.

  • @hene6539
    @hene6539 4 года назад +3

    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 года назад +1

    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 года назад +1

    Excellent ! Your channel is a little gem ! 🤩

  • @meksaldi
    @meksaldi 4 года назад +2

    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 года назад +1

    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 Год назад +1

    Legendary!

    • @CNLohr
      @CNLohr  Год назад

      Clearly, that people are still watching it and using the repo!

  • @DerSolinski
    @DerSolinski 4 года назад +15

    Is that a VR HMD on your nose?
    It is happening denial of reality 🤣

  • @aserta
    @aserta 4 года назад

    Very interesting from...all sorts of reasons. You push the limits all the time. :)

  • @axlecrusher
    @axlecrusher 4 года назад +1

    I like how you are just in VR now.

  • @fabriciochamorro2985
    @fabriciochamorro2985 3 года назад +1

    Subscribed

  • @briankang7019
    @briankang7019 4 года назад +3

    Anyone from the Non-Euclidian video?

  • @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 года назад +1

    rgb is one heck of a drug

  • @alpagutsencer
    @alpagutsencer 4 года назад +2

    Great stuff as always Charles. Can you make a video about your pcb design process ? You are using Kicad i presume.

    • @CNLohr
      @CNLohr  4 года назад +2

      I am. A long time ago I made a video about my design process. ruclips.net/video/CnIKviw3szM/видео.html

  • @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.

  • @guatagel2454
    @guatagel2454 4 года назад +1

    Thank you!

  • @martingergov6562
    @martingergov6562 4 года назад +1

    Just wait until our corporate overlords learn about this!

  • @Dragonmastur24
    @Dragonmastur24 4 года назад +1

    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 года назад +1

    BOOP! BOOP! BOOP!

  • @inversephase
    @inversephase 4 года назад

    Nice Voronoi you got there

  • @chetana9802
    @chetana9802 4 года назад +2

    more OooooOOOOooooOOO like projects

    • @LeBlafy
      @LeBlafy 4 года назад

      ruclips.net/video/3tBqdKGiqnI/видео.html

  • @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 года назад +1

    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 года назад +1

    This would mean that theoretically any usb device would work, right? Assuming that a driver for it has been made?

    • @CNLohr
      @CNLohr  4 года назад +2

      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 года назад +2

    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 года назад +1

      @@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 года назад +4

    Is there a tutorial for getting everything ready to compile and upload to an android device ?

    • @CNLohr
      @CNLohr  4 года назад +4

      The how-to is on the rawdrawandroid github page.

    • @procactus9109
      @procactus9109 4 года назад +2

      @@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 года назад +1

    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 года назад +1

      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 года назад +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 года назад +1

      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 года назад +1

      @@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 года назад +1

    Hi, what Linux version you use?

    • @CNLohr
      @CNLohr  4 года назад +1

      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 года назад +3

      @@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 года назад +1

    6:07

  • @shankar4510
    @shankar4510 3 года назад

    so no arduino reuired anymore

    • @CNLohr
      @CNLohr  3 года назад

      Correct.

  • @daniihh
    @daniihh 4 года назад

    but what about Rust?

  • @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 года назад +1

      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