@Leo0I'm a bit confused now. I don't know how to make the stack advance, and then go back if it's reading. I need to figure out bi directional shift registers I think. This is what I have so far
@Leo0Now I have everything I need to start making the stack!
@karmanyaahm0it should be illegal to remap ctrl+f to something else (in this case flip layers) when find is actually a meaningful function here
@Aram0๐ข ANOTHER WEBSITE SHIP ๐ข
I shipped 3 new pages for my website! The first one is a photos page, it pulls automatically from my Flickr for the photos and uses static images as fallback. The second one is a blog, it uses markdown files and tailwind typography for rendering them nicely! The third one is super simple but its a stack page, It includes the tools I use. Hardware and software! The website is written in :nextjs:Next.js and :tailwind:Tailwind CSS.
It's all open source! โญ it on GitHub and live on aram.sh
@dav0Day 7 of #10-days-in-public
Implemented all the fixes I mentioned yesterday. Unlike yesterday, the game is actually stable, so I can jump around like a monkey. Spent around 30 minutes wondering, "why does my variable keep magically changing." "Ah! It must be UB or a memory violation" (unspoken words of a rust programmer). Long story short, it was because I set a variable as true when it should have been false:peefest:.Tomorrow there are two big features I've been putting off since day 1. Sound: trowel doesn't support sound, and although I gave it a crack on day 4, I made no progress. Optimization (which will be my next main focus): I can jump around smoothly, but not on hardware. This will involve trimming out floating point numbers (which aren't natively supported on RP2040), caching/reusing rendering data, and some screen drawing optimizations suggested on the trowel github. Another black magic option is to try out unlocking the second RP2040 core, but I have no clue how to do that.
EDIT:
You can completely disregard my last sentence. embassy.dev is a rust async executor for embedded systems (meaning easy multithreading) and it has a module for RP2040 :tw_smile:, so excited to try it out. Long live the crab language.
@AidenRheem-U04FRJE5L5Q0#10-days-in-public, Day 6!, Today I watched another episode of Fusion 360 tutorials and completed the 3D design for my monitor light bar! Currently, I am working on the Arduino code now to make the light switch colors based on a touch input on a sensor!
@dav0Day 5 of #10-days-in-public
A bit late tonight (shame), but got some good work done. First of all, I fixed the deterministic rng problem by having a seed screen that randomizes the seed using user inputs and time. I also implemented the obstacle rendering optimization I talked about on day 3. However, with all of this, there's one big problem! Text rendering and 3D rendering work separately. 3D rendering is done using a rasterizer that writes to a framebuffer. This framebuffer is then blit to the screen every frame. Text rendering is directly blitted to the screen directly using embedded_graphics . This causes major flickering when the framebuffer overlaps the text (only on hardware). The solution in my mind is to keep a small area of the screen for text and the rest for the framebuffer. In other words, I'm going to sweep this problem under the rug. Anyway, I'm very happy with how everything's turned out so far. Even with completely disregarding embedded performance, it runs just fine on hardware :tw_smile:
@Scott1700Day 3 of #10-days-in-public
I fully decided I will use an arduino nano after researching in the hopes of it being lightweight enough for servos to hold up. I started on the pcb design and it will most likely end up looking like this:
@NikosTsilas-U04N415FE4T0Day 3 #10-days-in-public
I chose some colors for my website and added a table for the Arduino lesson index. I didn't have the time to do many things, unfortunately, I had (and I have) to go somewhere. Tomorrow is the big day, I will start making some lessons (I hope to make them as interesting and useful as possible).
@V2050day 2 of #10-days-in-public
trying to understand low power module thingy
I lost some changes from yesterday ๐
Arduino thingy
@V2050day 1 of #10-days-in-public
learning about converting datatypes in C++(arduino), need to fix some bugs for printing things
trying to convert floats to char(I think) and get rid of Strings and use strings
@karmanyaahm0I got mad at Linux so doing a little hardware now. My first fully-from-scratch 3d model since I got my new printer, so pretty excited
@karmanyaahm0Spent like 4 hours debugging drivers, cuz apparently 2 of the drivers had some weird ground or capacitance issue where vref (for current limit) only worked when I had my finger (or multimeter probes :angry-dino: near it). So the motor didn't move unless I had my finger near the board.
Ended up fixing it by switching to a 3rd driver which was apparently just fine?????@Kieran2finished soldering and testing my half size led cube! now to wire it all up to a rpi or pico tomorrow!
@Micha0JLCPCB emailed me to say that the buttons on my E-Fidget PCBs have pins outside of the solder pads (red is good, yellow is bad), how's your day going?
(I YOLO'ed it, it'll be fiiiine. Right?)
@Kieran2r1x70 has arrived for my first major hardware project, "project amber waves"
@sam0Did some of the things I've procrastinating on for a long time!
I cleaned up my workspace and installed some fume ventilation!! :partyparrot:
Bought some of the small storage drawer things, they are so good for small components and can be fully pulled out for use.
Also got some small bins as catch-all storage when I'm building stuff, those fit in really nicely in the drawer I already had.
Also sorted some stuff into my SKADIS pegboard, it's amazing and I'm going to 3D print more stuff to go on there!
CAD-ed and 3D printed some parts using Fusion 360 to connect up some flexible plastic ducting from home depot. Also made a mount for my air purifier (it only filters PM2.5 so not too useful on its own) to connect it all together!
Originally, I had another duct for my Resin 3D printer's fumes, but a ribbon cable broke in there so I'm coping right now.
It works! No more solder fumes in my face!
@leom0Made a few minor but well past due updates to my solar website. Also upgraded some of the hardware so I can view the battery and solar panel stats on my phone! (not pictured)
@ShawnMalluwa-U04BBP8H9FA0procrastinating my sociology paper so hard that i finished my redesign of the blot pcb mount instead
@Averse0More progress on my Uno compatible board! Thinking about switching the MCU for a more powerful one(thanks to @V205 in #hardware for suggesting that I switch).
@Domsson0My OS running on real hardware. Now it has a functional PS/2 keyboard driver and a very basic (unfinished) shell.
@Averse0Unfinished wiring for USB-to-serial chip(ATmega16U2-MU) for my Arduino Uno compatible board I'm making!
@Tom0Made a full adder in my web digital logic simulator
@DarrenLau0Just finished experimenting with point to point networking
@Tom0After some debugging i got my os to work in real hardware and it worked better that i expected (i did find a bunch of bugs)
@muirrum0halfway done soldering my printers new stepper driver!
@ShubhamPatil0shopping list item: survive physics :duck-duck-dino-orpheus:
@IceChes0A different photo because scrappy didnโt want to work
@rivques0This is the TOTKey, a tool that generates time-based one-time passwords (TOTPs) for 2-factor authentication. I don't always have my phone when I want to log into an account, so I built this. It's an RP2040-based #onboard PCB with a 128x32 OLED screen, a real-time clock, and a few buttons. The board runs CircuitPython, but it's all managed via WebSerial and a web interface at rivques.dev/random-raw-files/totkey.html.@Evan0made a hack club in-n-out sticker as part of my 100 days shopping list! thanks for the feedback @sarahcha and @reesericci!
@karmanyaahm0Taking apart a fan to try to backdrive LEDs from its rotation step 1@Micha0Repainted my soldering iron today 'cause the paint was getting chipped ๐
@msw0Right now Iโm working on creating a pair of LED glasses from scratch for #onboard with a completely custom designed-PCB. Once I finish the design and get a working prototype in the mail, Iโll make a tutorial.
The way it will work is that each eye has a grid of LED lights on it, and you will be able to program it to flash pretty patterns while theyโre on your face. The glasses themselves are purely PCB boards, no extra components (so there is a front piece in the shape of sunglasses that go in front of your eyes, then 2 PCB pieces that go behind your ears and hold that front piece to your face.
Over the weekend I had a call with @ky200617 to help me figure out how to lay out the components because I had trouble fitting them all, so now Iโm spacing all the parts out to make it easier to route them. Iโve removed all the wires from the design, and will be starting the wiring from scratch. Also, youโll see the neopixels gone from the board- now Iโm going to wire up the rest of the board first before laying out the LEDs.
@msw0Iโm working on my LED glasses today & now Iโm placing the components. Had some issues with the size of the battery holders, so I found some smaller ones to hold 4 AAA batteries.
@sarahcha0trying out arduino nano BLE 33!! itโs really cool :)
@leom0Yay my third round of PCBs came! Time to solder my mini macropad together! (Thanks to OSH Park for the beautiful after-dark PCBs!)
@sam0Another day of :shad: Shad! Spent most of today at ๐จ๐ฆ Southern Alberta Institute of Technology aka SAIT! Took the Calgary C-Train ๐ there and back. Really nice campus and learned tons with pipe soldering and hydraulics! ๐ ๏ธ
@SamratBose0Any guesses? Hint- servo motor, Arduino Uno and TCS230
@m040Dear ImGui running on a teensy!! Just need to get the hardware write time down somehow, but even as is it's quite usable
@karmanyaahm0Day 99? of Winter Hardware Wonderland - Project Oreo Custom Rubber Ducky
I left a parting gift for my CS teacher. Next year 1st pd CS will find this beauty.