Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "breadboard"
-
When my brother told me he was using a breadboard i tought he wanted to be a baker. Guess he ain't baking no bread, only circuits.6
-
It may not look like it, but the fact that these lights are on means that my breadboard computer will work, in theory10
-
Radio Shack store closed near my house. Had a huge fire sale. Electric circuit components were 90% off.
My wife thought I'd gone insane when I got home with two huge bags full of LEDs, resistors, switches, IR sensors, photocells, capacitors, bridge rectifiers, a spare breadboard, a pair of helping hands, etc.
My only regret is that I didn't catch the fire sale in time to grab all their Arduinos.3 -
Never trust a breadboard. Days spent trying to figure out why my I2C device was not recognised. SCL and SDA were FUCKING SHORTED INSIDE THE BREADBOARD.8
-
Just thought I'd share my current project: Taking an old ISA sound card I got off eBay and wiring it up to an Arduino to control its OPL3 synth from a MIDI keyboard. I have it mostly working now.
No intention to play audio samples, so I've not bothered with any of the DMA stuff - just MIDI (MPU-401 UART) and OPL3.
It has involved learning the pinout of the ISA bus connectors, figuring out which ones are actually used for this card, ignoring the standards a little (hello, amplifier chip that is wired up to the +12V line but which still happily works at +5V...)
Most of the wires going to it are for each bit of the 16-bit address and 8-bit data. Using a couple of shift registers for the address, and a universal shift register for the data. Wrote some fairly primitive ISA bus read/write code, but it was really slow. Eventually found out about SPI and re-wrote the code to use that and it became very fast. Had trouble with some timings, fixed those.
The card is an ISA Plug and Play card, meaning before I could use it I had to tell it what resources to use. Linux driver code and some reverse-engineering of the official Windows/DOS drivers got me past this stage.
Wired up IRQ 5 to an Arduino interrupt to deal with incoming MIDI data, with a routine that buffers it. Ran into trouble with the interrupt happening during I/O and needing to do some I/O inside the handler and had to set a flag to decide whether to disable/re-enable interrupts during I/O.
It looks like total chaos, but the various wires going across the breadboard are mainly to make it easier to deal with the 16-bit address and 8-bit data lines. The LEDs were initially used to check what addresses/data were being sent, but now only one of them is connected and indicates when the interrupt handler is executing.
There's still a lot to do after that though - MIDI and OPL3 are two completely different things so I had to write some code to manage the different "channels" of the OPL3 chip. I have it playing multiple notes at the same time but need to make it able to control the various settings over MIDI. Eventually I might add some physical controls to it and get a PCB made.
The fun part is, I only vaguely know what I'm doing with the electronics side of this. I didn't know what a "shift register" was before this project, nor anything about the workings of the ISA bus. I knew a bit about MIDI (both the protocol and generally how the MPU-401 UART works) along with the operation of a sound card from a driver/software perspective, but everything else is pretty new to me.
As a useful little extra, I made some "fake" components that I can build the software against on a PC, to run some tests before uploading it to the Arduino (mostly just prints out the addresses it is going to try and write to).46 -
Forgot to post a book yesterday, so maybe I’ll post two books today...
Anyway, this book, I found it recently never seen it before. But boy is it great.
It’s similar to the programming pearls book as far as what it’s about. Think of the refactoring book, clean code, programming pearls, and the mythical man month books, thrown in a blender, added some new spice and some new things, and filtered down into 100 or so page book, simple quick and enjoyable actually.
This book the references staple books by Sedgwick, knuth, Brooks, Myers, and so many others. It’s funny how things come full circle.
My favorite quote from the book. I’ve been essentially saying this for years, but to see it on a book, it’s lovely... more people need to realize it too.
“Understanding how things work at a low level becomes a base for making good decisions at the high level”
Followed up with if you’ve never built a computer from scratch your missing out... get yourself a breadboard and some TTL logic.. and build a 4 bit CPU, once you know how to program in assembly the next step is building your own computer ... if your university didn’t teach a class that did this they ripped you off....
Don’t bitch at me.. the book said that.. and I agree! 100% because it’s true, you can’t debate that.
Oh and btw this is another book written by a female developer.. kudos to her for nailing so many topics in such a short book!35 -
3 hours making this beautiful circuit to test stepper motors.
Arduino nano + L293D + pot
Fucking bitch has a short circuit somewhere and can't find it out...
Made the same project in a breadboard in 15 minutes and it's working.
Fuck hardware bugs.
Cutted in the middle of all connections, took out excess solder... Nothing.
Fuck it, moving to the next ideia20 -
Cafted by the top engineers. Made from Swiss. Sophisticated, colorful.
Breadboard...
The art of breadboard.
It is a... working.... timepiece.6 -
That feeling when you spend 2 hours debugging circuit + code, to find out that the arduino had gone loose in the breadboard...1
-
The worst type of debugging: Programming an MCU without a Serial Monitor.
Some Context: I've spendt today about 3h+ on getting an attiny 45 to read 3 digital values on 3 pins. So for every test I wanted to make, I needed to put the MCU inside a socket put this socket on a arduino and flash it. Then extract it from the socket and put it on a breadboard for testing.
After getting headaches for nothing making any goddamn sense, I ended up noticing that one input pin is a multiplexed reset pin with the reset having top priority and no way to change it. So whenever this pin should have read a low signal, it got held in reset! FML -
Presented my project at uni, teacher was pretty pleased and I'll get my grade some time next week, but for those that are interested, here's a small video of it in aciton:
https://youtu.be/LYV3bIC6QmU
Uses: Raspberry Pi 3B, Mifare RC522 RFID reader, a breadboard, ribbon cable, neopixel rgb led ring and a TowerPro sg90
For the ui I used PyQt5, almost got the threading completely working, there's only 1 blocking thing left, that's when the message for logging in doesn't disappear -
Got my RC522 RFID reader for a school project last night, got it to work, tried to plug it into my breadboard this morning and shorted it... Double checked on 2 different arduinos and 1RPi 3 B didn't work on either one of them.
Fuck my life.1 -
christmas wishlist????? dont give me some of those cute crap, what i really need:
- my other breadboard
- 2TB HDD!!! pls i need to degoogle my life
- wirerap cables
- a new laptop with gr8 specs, good for both programming and gaming pls
- a big whiteboard for my overflowing ideas
id rather have something useful than the usual stuff people give as gifts xd3 -
How do you fuck around on a breadboard/arduino if you have sweaty hands? And don't say stop abusing Amphetamines.3
-
Started when I was 11 or so. An intro to robotics course at my school, we learned to program BOEBots (ya know, those little robots with wheels and a breadboard) in BASIC. Man they were fun!
-
So apparently, this little old-ass Archer breadboard my grandpa owned when new, keeps being related to Tandy in the only fucking results I can find on it. Great little board, until the backing comes off and the paths underneath fall out, at least... https://ebay.com/itm/...
-
Arduino + breadboard power supply MB102.
Noob question I know, but how do I connect the power supply to the arduino? 5v to 5v and GND to GND? Or vin? Or the other first pin above res?
Help?
@Condor50