Black Friday: 12 months of WIP for $99, until Sunday 11:59pm PT. Get the deal
Back
Hardware

Hardware

#hardware

experimenting Hardware stuff, ATmega, ESP32, STM32
hack VW beetle 2018 by activating engineering menu GEM using OBD and Car scanner app + installing Open source mib-std2-pq-zr-toolbox to activate carplay #hardware sort of
get audio pcb i designed and order from jlcpcb in 1 week #hardware
finish midi controller prototype for mixer #hardware
flash xiao nrf52840 with rust embassy code for some async blinking #hardware
run Rust embassy framework on STM32 using probe-rs and make blink on push button #hardware
soft-brick atmega168a by setting wrong fuse bit to external clock but i dont have external clock. need to reset it by simulating an external clock or something #hardware
blink LED on AVR with Rust bare metal #hardware
write text with library ssd1306 and adapt text based and button pressed and UPPERCASE with shift pressed #hardware
test screen with stm32 no library just a line to see if it works #hardware

Nice, I'm also tinkering with electronics. What are you building?

Reply

I have a #tinkering project on WIP.

Reply
Show 4 more replies
program STM32 first time with STM32CubeIDE and prototype navigation button + shift button #hardware
solder an AVR ISP board with a DIP socket run by arduino pro micro so I can plug in a an atmega168a and programming it easily #hardware
redesign 9 LED breakout board with basic part and 1 resistor per LED and order from JLCPCB #hardware
design breakout board PCB with easyEDA for encoder and LED multiplexing but i need to redo to use more common parts #hardware
prototype 9 LEDs matrix with multiplexing with CD74HC595 to control each of the 9 leds with only 3 digital pins. #hardware

Wow. 3 pins, each either on or off, means 3 to the power of 2 = 9 different combinations?

Reply

@marc not really but something like that. Its 3 pins of the microcontroller, but in reality, it's 6 pins that control 9 LEDs.

The 3 pins of the microcontroller are used to control a "8-bit shift register". One of the pin send a byte, each bit control an output of the shift register.

0b11110001 here means output 0 is HIGH, output 1, 2, 3 are LOW, then output 4, 5, 6, 7 are HIGH. In the prototype, i only use 6 output so we can ignore outputs 6 and 7.

Outputs 0, 1, 2 are used for anodes, outputs 3, 4, 5 for cathode.
0b11110001 means "anode" 1 is HIGH and "cathode" 4 is LOW, so led nº1 is lit. All other leds are off because all other combinations are either LOW/LOW, LOW/HIGH or HIGH/HIGH which doesnt lit a LED.

here i have 6 outputs total, the formula is (n/2)ˆ2. with n 6 > 3*3 LEDs can be controlled.
If i used all 8 outputs of the shift register: (8/2)^2 = 16 LEDs could be control with this setup

Reply
Show 1 more reply
prototype 4 pots with multiplexer to get all pots values with only 1 analog pin #hardware
receive first custom pcb for potentiometer and encoder prototyping from jlcpcb #hardware
managed to use arduino pro micro as programmer for atmega168a #hardware
teardown midi controller to reverse engineer and it uses a XMEGA128A4U #hardware

love this.

Would love to do a synth mod one day. Really inspired by this guy: www.lovehulten.com/

Reply

yeees his designs are amazing

Reply
solder pin headers to Arduino pro micro first time #hardware
connect OLED display to arduino uno and ESP32 #hardware
Home
Search
Messages
Notifications
More

Are you sure?