cnlohr Profile Banner
cnlohr Profile
cnlohr

@cnlohr

4,825
Followers
417
Following
683
Media
4,668
Statuses

Shaders, ♥ & Jesus

Bellevue, WA
Joined January 2010
Don't wanna be here? Send us removal request.
@cnlohr
cnlohr
1 year
I route my circuit boards like I live my life.
Tweet media one
119
235
3K
@cnlohr
cnlohr
1 year
Someone just posted this to my Discord. I can't find the original source.
Tweet media one
71
329
2K
@cnlohr
cnlohr
11 months
These new lcds from ronboe are neat.
20
59
552
@cnlohr
cnlohr
1 year
I am starting to understand how some people dedicate their lives to these works of art. It's so beautiful to see the bit of the UV haze around the digits.
Tweet media one
7
46
500
@cnlohr
cnlohr
2 years
I can't believe it only took 3 days to hack this technique together. I'm working on a new technique to do raycasted realtime illumination (performantly!) in #VRChat
25
81
433
@cnlohr
cnlohr
2 years
This #vrchat world is awesome. Great work by Killerbomb.
9
67
417
@cnlohr
cnlohr
2 months
Such a massive undertaking for surprisingly little code I'm so thankful for all the help of my friends who really helped make this happen. Watch til the end to see just how insanely far you can send messages without a radio.
20
71
345
@cnlohr
cnlohr
1 year
Something about this makes me feel like it shouldn't work. Like why do they even make flyback transformers that are 3.2mm x 2.5mm??? I also can't believe I didn't blow anything up.
Tweet media one
11
38
328
@cnlohr
cnlohr
1 year
You guys at #JLCPCB are a bunch of mad lads.
Tweet media one
12
8
299
@cnlohr
cnlohr
3 months
Tweet media one
27
44
291
@cnlohr
cnlohr
2 months
PCB Routing is a reflection of one's inner self.
Tweet media one
23
26
289
@cnlohr
cnlohr
3 months
Tweet media one
26
36
291
@cnlohr
cnlohr
1 year
I got USB for the #CH32V003 down to 1920 bytes. It doesn't do *anything* yet. But, I am within shooting distance of turning this thing into a 10¢ truly stand-alone Arduino.
Tweet media one
12
17
273
@cnlohr
cnlohr
3 months
It's not.
@ea4eoz
Miguel A. Vallejo (EA4EOZ)
3 months
The amount of Bluetooth signals in 2.4 GHz today is simply incredible. I don't know how WiFi is still working.
Tweet media one
10
40
252
3
25
265
@cnlohr
cnlohr
2 years
I lost interest in ESP's because the IDF environment took 20-30 seconds to test a 1-line change Today, I fixed it. 250ms from "save" to code running on my ESP32-S2 (with logging over the built-in USB). I can finally start getting work done.
5
21
239
@cnlohr
cnlohr
2 years
I've spent the last year in VRChat with every waking, non-work moment of my life. I adventure into the lives of the people who call this new digital universe their home. Join me for this journey!
10
72
239
@cnlohr
cnlohr
1 year
Does anyone know how to get China to pump out your dev boards and dump them onto aliexpress, etc? I have some gerbers for CH32V003+USB, I just don't know who to send them to to get this in the hands of more people!
Tweet media one
33
23
232
@cnlohr
cnlohr
3 years
They're almost to 1M subs. I hereby request that when @summoningsalt reaches that 1M they release a summoningsalt-style video about the path to 1M subs.
Tweet media one
2
0
228
@cnlohr
cnlohr
6 months
Turns out taking the gaussian out of #GaussianSplatting is pretty wild. And it's even better in #VRChat with #AudioLink . World link in github page.
12
35
226
@cnlohr
cnlohr
7 days
I think I know what my summer project is going to be this year. At :09, you can see it calculating all the orbits on the GPU.
6
26
221
@cnlohr
cnlohr
1 year
Wow! A single chip solution for Li-Ion/LiPo charging, management, and power path to a load on-board for $0.30 in a ok quantity. It even supports sleep mode and waking! And all within 1.54x1.54mm. Let's see if I can get @jlcpcb to let me use them..
Tweet media one
8
10
211
@cnlohr
cnlohr
1 year
IT ENUMERATES! Still need lots of work to make a self-hosting arduino on this 10¢ #riscv , the #ch32v003 with the bit banged stack! Thank you so much to the whole team that came together to make this a reality.
Tweet media one
4
23
202
@cnlohr
cnlohr
8 months
Holy cow. Everything you ever needed to learn about Makefiles, in one place.
8
36
187
@cnlohr
cnlohr
10 months
This is, in its entirety my #ch32v003 #riscv chip bring-up, bit-banged USB protocol PHY+stack, and bootloader. Right now at 1,892 bytes. I know a few more bytes can be taken out, but at this point, I just don't care enough.
Tweet media one
4
19
183
@cnlohr
cnlohr
11 months
I love getting to know the #ch32v003 inside and out. Thanks @solderingmax / /
Tweet media one
Tweet media two
Tweet media three
Tweet media four
5
31
180
@cnlohr
cnlohr
4 months
I am 99.9% sure running OLED displays in vector mode this hard voids any and all warranties, implied or otherwise.
7
14
179
@cnlohr
cnlohr
1 year
90 IQ: "Engineers can figure out how to get TX/RX correct. 900 IQ: "Just add a bit so people can flip it in software." Impressive stuff on this #ch32v003
Tweet media one
2
15
179
@cnlohr
cnlohr
1 year
Yes! With these new tweaks, my 26kB #RISCV emulator boots #linux in 144ms. (This video is real time)
3
17
174
@cnlohr
cnlohr
1 year
The best and most comprehensive webpage describing NTSC and PAL timing, levels and generating the signals has gone offline. Thankfully, I kept a copy around and have re-published it on my channel 3 project.
Tweet media one
3
30
150
@cnlohr
cnlohr
3 years
Que?
Tweet media one
8
8
150
@cnlohr
cnlohr
1 year
Another Find! 30¢ 3-axis accelerometer in a 2x2mm package. It's the updated version of what we use on the #magfest #swadges . 14-bits, 2g to 32g range, powerful I2C commands. Even has wake-on-motion features. Available and in-stock at @jlcpcb !
Tweet media one
4
12
146
@cnlohr
cnlohr
7 months
After working on 30+ firmware projects with I2C interfaces, this is what I've found
Tweet media one
10
11
143
@cnlohr
cnlohr
1 year
#ch32v003fun now supports build, printf, debug, etc. in VS Code over the single-wire debug interface (no UART!) Big shout out to @tanjent and their - a RPI Pico programmer Note: Demo is with the ESP32-S2 programmer. LinkE Support hopefully coming soon?
2
23
138
@cnlohr
cnlohr
9 months
The IO front-end and ADC hardware in the #CH32V003 make for an shockingly good, extremely high-speed capacitive touch sensing solution. It's so good, I can detect finger presence several mm away, if I over-sample some.
3
21
131
@cnlohr
cnlohr
7 years
Favorite quote from @SwiftOnSecurity is still "Git is like if the creator of Linux made a revision control system."
1
38
130
@cnlohr
cnlohr
20 days
Tweet media one
10
7
128
@cnlohr
cnlohr
1 month
Tweet media one
22
14
128
@cnlohr
cnlohr
1 year
If creators in your metaverse don't make worlds that look like this, you're doing your platform wrong.
@mawntee
Mawntee
1 year
I'm so hyped to finally see this all come together and actually be put to use! This is that LCD screen shader I've been working on for the last little bit, along with a modified fog system that samples the colour/brightness from the video texture.
57
97
896
3
15
125
@cnlohr
cnlohr
2 years
Making lots of progress, but the week is upon us. Figured you guys would want another teaser.
1
15
103
@cnlohr
cnlohr
6 years
@BenKrasnow I have some good test pieces for you if you're interested.
Tweet media one
7
20
99
@cnlohr
cnlohr
2 months
That was fast!
@jhiller
Joey Hiller 🎈
2 months
Not saying you should, but you could. Esp8266 sending data over Helium.
8
12
102
2
8
102
@cnlohr
cnlohr
1 year
It's not #esp32 - but for 10¢ on the #ch32v003 , I will take a stable parallel DMA output capable of controlling 8 GPIOs 100% interrupt driven in software, at 4MBytes/s. This is a huge boon for complicated LED controllers, motor controllers, and systems that need weird protocols.
Tweet media one
8
11
99
@cnlohr
cnlohr
1 year
@Bit111111 I only use 2-layer boards. But the trick is people can't reverse engineer it if you give anyone who tries an aneurysm.
2
1
98
@cnlohr
cnlohr
8 years
#esp8285 dev board running #espusb on an @oshpark board. Rev - tested + works. Rev A (Smaller, yet!) soon!
Tweet media one
8
38
96
@cnlohr
cnlohr
1 year
What happens when you emulate an emulator emulating #linux on a #riscv CPU? [sound on]
2
17
94
@cnlohr
cnlohr
6 years
Doubled resolution + improved quality. ~144 bytes/frame. I think I'm reaching the limit to what my mind can do on this problem. It might be time to port it to the embedded device, now that the video is <1MB, huffman tables and all. Thanks again @inversephase
8
10
95
@cnlohr
cnlohr
1 year
#ch32v003fun now works, in windows, on vscode, with the WCH Link-E! That $10 after shipping devkit. Debugging programming AND printf over debug interface! Special thanks to karlp and for their reverse engineering work and cw2 for identifying the important bits.
4
11
92
@cnlohr
cnlohr
5 years
Just came across this video on Ali Express... and I was wondering how the WS2812's were so cheap.
2
9
91
@cnlohr
cnlohr
5 years
So, this just happened. A modern i5 running chromium visiting jslinux, emulating an i686 running windows 2k, opening firefox running an older version of jslinux emulating an i586, running hello world in Linux 2.6. IDK why they let me touch computers.
Tweet media one
6
30
88
@cnlohr
cnlohr
1 year
Contact, between my #esp32s2 and my #ch32v003 over the single-wire-debug interface. And the ESP didn't skip a USB heartbeat!
Tweet media one
4
5
87
@cnlohr
cnlohr
1 year
Destructive testing on my 52¢ 180V flyback went well. I had to turn off both safeties to drive it up to 400V. And even then it was surprisingly not that eventful.
5
8
84
@cnlohr
cnlohr
2 years
With the inclusion of OSC, #vrchat is going to go off the hook in the coming weeks. Prepare yourselves for some absolutely memetastical tomfoolery.
4
6
82
@cnlohr
cnlohr
2 years
The #vrchat portal is up at #MAGFest2022 !
Tweet media one
2
19
85
@cnlohr
cnlohr
11 months
Someone, PLEASE turn this into a 2 channel analog + 16 channel digital logic analyzer. The chips are $5 ea. There are great 40 MHz flash ADCs for $3. Like please. I'm just so busyyyy right now.
10
9
83
@cnlohr
cnlohr
3 years
Request for comment: A planned webpage-based, self-contained IDE for the ESP32-C3. Imagine Arduino, but with no software to install, just a webpage served up by the dev board giving you a full IDE. Comments welcome! Anyone who can help out, even more so!
11
12
79
@cnlohr
cnlohr
11 months
"We don't expect software to work anymore." - Jonathan Blow
0
8
78
@cnlohr
cnlohr
1 year
Tweet media one
6
2
79
@cnlohr
cnlohr
1 year
Interesting part of the day. GD25LE64ELIGR, a 64Mbit flash available in this wacky itty bitty WLCSP. There are also more WLCSP flashes coming out recently, if you want to save some room. And they are mostly JLCPCB compatible. Sadly most are *NOT* 3.3v.
Tweet media one
Tweet media two
2
5
77
@cnlohr
cnlohr
4 years
OK! I am mega digging @kicad_pcb 's Spice implementation. This is soooo much better than the online part sims. KiCad Spice = Joy.
Tweet media one
2
17
78
@cnlohr
cnlohr
1 year
Still chugging along with my #ch32v003 open source tool chain. Now I have printf working over the single-wire debug interface with an #esp32s2 . Hopefully more programmers and demos soon! Tiny. Fast. Simple. That's what I'm gunning for with this.
3
13
73
@cnlohr
cnlohr
4 months
This is my take on the "OLED Vector Scope" Driven from chrome, running a #webhid page to #rv003usb running on a 10 cent #ch32v003 #riscv driving with DMA. I have to find a way to to record this, since there's no real flicker exception with motion.
4
8
74
@cnlohr
cnlohr
4 years
Lesson is: Never trust anyone except yourself when it comes to i2c. Don't trust hardware i2c, don't trust other people's software i2c, and most of all, never ever trust the spec written by Philips.
5
10
71
@cnlohr
cnlohr
4 years
These color e-Paper displays from @waveshare00 are unreasonably good.
Tweet media one
5
3
64
@cnlohr
cnlohr
1 month
Wirth's law: software is getting slower more rapidly than hardware is getting faster. That was 1995
1
12
65
@cnlohr
cnlohr
2 years
It's unbelievable how compelling LTC's are in VR.
@JLChnToZ
Vistanz / ビスタンズ
2 years
Testing LTCGI by Pi, results on linearly transformed cosine algorithm looks very great, but it is kind of hard to setup with existing video players, scripting required here. #VRChat
4
25
100
1
2
65
@cnlohr
cnlohr
1 year
Do you know what's better than a deep and abiding understanding of operator precedence in your language of choice? Putting parentheses around things.
6
2
63
@cnlohr
cnlohr
11 days
Today in modern software is broken: Why can't my alarm clock use the MySQL server? Why does an alarm clock need a MySQL server?
Tweet media one
6
6
63
@cnlohr
cnlohr
1 year
The examples for (a minimal SDK) are growing as more engineers pile on to explore the wacky, wild, and cheap #ch32v003 by @WCH_TECH .
Tweet media one
2
3
62
@cnlohr
cnlohr
8 years
#esp8266 #espusb Software-only USB stack for the ESP supports self-flashing! No serial dongle!
Tweet media one
7
19
58
@cnlohr
cnlohr
1 year
Why yes. My USB device identifies as a frog.
Tweet media one
3
9
59
@cnlohr
cnlohr
9 months
A Huge thanks to @WCH_TECH for making some of their chips "unbrickable." Adding -u for "unbrick" to minichlink has got to be the best feature to anything I've added to-date.
Tweet media one
3
5
59
@cnlohr
cnlohr
4 years
I seriously don't get why they gave me permission to touch computers.
7
8
58
@cnlohr
cnlohr
3 years
Sometimes it's fun to use tools that won't be feasible for a few years to make effects in #vrchat just to see what the future will be like.
1
9
56
@cnlohr
cnlohr
3 months
This has got to be one of the smallest #ch32v003 projects for some time. Great job, Mitxela!
3
7
53
@cnlohr
cnlohr
1 year
Mark my words. We will prove P = NP before we solve the problem of finding a good way to write a GUI.
4
0
51
@cnlohr
cnlohr
4 months
The people who made C++ awful are leaving C++ to go to C, and doing exactly the same stuff that made C++ awful. Totally unaware that the adding of features du jour will pollute it all the same.
9
4
52
@cnlohr
cnlohr
4 years
I think I just had the first "mic drop" in my life as an engineer. Project has huge i2c problems. I come by, delete everything i2c, and drop in my C software driver. Everything works 100%.
3
3
50
@cnlohr
cnlohr
2 years
Some day this will be my home, not just my two-weeks-per-year.
Tweet media one
9
0
50
@cnlohr
cnlohr
4 months
Computer Engineering: Because if you can't rebuild all of a computer, OS and apps yourself in the event of a near extinction event from sand and copper ore, what is even the point?
3
9
50
@cnlohr
cnlohr
1 year
"All sensors are temperature sensors, some measure other things as well." - @logicalelegance
2
7
50
@cnlohr
cnlohr
2 months
"Using goto to jump to arbitrary points in the written control flow is bad practice. You should use RAII and exceptions to do that instead so people reading your source code can't tell it's happening and tell you off for it." - @atomalfie
8
3
50
@cnlohr
cnlohr
1 year
Ever been annoyed by how complicated the specific ins and outs of the version of #python you need to install to flash #esp32 microcontrollers? Look no further. CPQ has you covered. Flash your esps using this extremely simple C flasher util.
1
11
49
@cnlohr
cnlohr
6 years
Ok, seriously @TXInstruments ... This proliferation of pin 1 obfuscation in the parts industry and it's got to end... Your datasheet for your TPS22810DBVR has an indicator for where pin 1 is supposed to go, and this is by far the most cryptic I've ever seen. I miss the dot.
Tweet media one
8
3
50
@cnlohr
cnlohr
6 years
Absolutely floored by the ESP32's AES engine. 9 MB/s AES 256 CBC using the canned function straight from the IDF. Here's an example! #esp32
0
7
48
@cnlohr
cnlohr
3 years
I wonder if @bgolus really appreciates just how he has passed into memehood by him single-handedly making Unity usable through his forum posts.
Tweet media one
1
9
48
@cnlohr
cnlohr
3 months
POV: When your company's silicon errata is longer than the datasheet.
0
0
48
@cnlohr
cnlohr
3 years
My schedule is finally free. 𝕀𝕥 𝕚𝕤 𝕥𝕚𝕞𝕖 𝕗𝕠𝕣 𝕥𝕙𝕖 ℂ𝟛
Tweet media one
3
1
45
@cnlohr
cnlohr
7 years
Printed at home. 7mil/7mil, 0.4mm BSC Pitch. Zero touchup needed on the glorious #esp32 . <3 Printing at home.
Tweet media one
8
8
46
@cnlohr
cnlohr
1 year
I am plagued to be a creator. I think #VRChat is way more interesting than any of the electronics junk I do. But nooooo. My engagement numbers with electronics projects are way higher. It's not like either hobby is more expensive than the other in the long run.
9
0
47
@cnlohr
cnlohr
1 year
Tweet media one
3
1
48
@cnlohr
cnlohr
1 year
In VR, Do you prefer:
Snap Turn
622
Physically Turn Your Body
860
Smooth Turn
1138
49
7
46
@cnlohr
cnlohr
4 years
ESP82XX now runs in Windows Subsystem for Linux. I can compile my ESP8266 Minecraft server in Windows!
Tweet media one
3
4
46