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.
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
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.
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.
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.
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.
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!
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!
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.
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..
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.
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.
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
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.
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
!
#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?
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.
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.
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.
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
#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.
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.
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.
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.
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!
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.
Now you guys get to see what all my sneak peeks were about! I now can drive nixie tubes with a totally software-defined flyback on a 10¢
#riscv
, the
#ch32v003
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.
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.
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.
Not reliable yet. But it looks like it's going to be a cakewalk to be able to use the 10 cent
#riscv
, the
#ch32v003
with just
#GCC
and
#Linux
without any proprietary compilers or flashing tools.
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
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.
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.
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%.
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?
"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
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.
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.
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.