Do you life activities include diagnosing bad capacitors on circuit boards? Take the time to build an in-circuit capacitor tester and stop needlessly replacing caps that are fine! It takes just seconds to go thru a board and identify all the bad caps!
'U' is a handy character because its hex code is 0x55, which is 01010101 in binary.
This makes it really easy to test baud rates for serial cause the electrons go:
_-_-_-_-
I expect everyone following me already knows this (if you didn't, you can just lie)
ITS 1AM.
I GOT SERIAL PROGRAMMING WORKING ON THE 1 BIT COMPUTER!!!!!!
THIS IS __AWESOME__!!!!!
(ugh, so much fight)
now I can *just* upload programs to it!!!
Its running off an SRAM chip!!!
ok, the test shows that I am finding this WAY too entertaining!
This is a tiny13 and A4988 motor driver. The input is analog 0-5V from a potentiometer.
Who wants a copy of the code!?
*may still have bugs.
The next step is Hobby PWM control.
YES!!!! I can just assemble a program for the 1 bit computer and upload it thru a serial port!!! Here are the two assembled units side by side, being loaded with a program after powerup. I have 64k SRAM chips installed in these. The 555 clock module is adjustable.
This is both super cool and totally unimpressive.
This 1 bit computer samples an input and sends the value as an ASCII character at 9600 baud using a carefully trimmed 555 RC oscillator. This is the source code I posted earlier this week!
OMG. Its happened, its actually happened. An error in a PCB design, due to a weakpoint in PCB cad software (kicad!!!) has actually lead to the creation of a new hardware component....
(image credit )
HARDWARE STATE MACHINES
I was so frustrated when I was first starting with this stuff because I had NOBODY I could talk to who understood any of it. (till about 3 years ago) I will try to tell the story of my work in order.
This is the basic configuration:
In this strange game, its the toys challenge to not touch you!
This worked nicely, sorry I didn't make a proper thread for it, if you search back thru my twitter mess you can find the other bits of it :]
attiny13, 2x IR sensors and LEDs, motor driver (and a sticky slider)
Lets play a game...
For 256 likes, I'll pull out the little one (portable II) and do a video of starting it up..
For 512 likes, I'll pull out the HUGE old luggable and try booting IT up.
I'm not worried as I anticipate 8 likes here.
😜
RueNahcMohr - NOT RETRO COMPUTING GUY, OK?
1-bit computer programming thread.
Cause, why not?
The 1-bit computer programs via an assembler-like language. My plan here is to make a loooooooong boring thread about programming it!
:]
I HAVE DONE IT!
I HAVE DONE THE THING EVERYONE KNEW I COULD DO!
Its an operational interactive 74ls138 svg
Give it a try!
hint: red is high, green is low. pins G2* need to be low for it to be enabled. A,B,C select the active output pin.
"OMFG, IT WORKS"
This is so crazy cool!
This is audio encoded as a corrupt 1 bit stream that you can regenerate with an RC lowpass.
This video is the recording setup, but 1 wire was moved to test play (and it works)
Whole audio here:
@LOOKMUMNOCMPUTR
HeLLo
A programming hardware
B CPU core
C input chip
D output chip
E clock (555 or crystal)
F 7 user LEDs
G 7 user switches
H Floppy drive power connector
I Serial port for programming and output
Jumpers allow LEDs and switches to be disconnected. :]
The other 74HC14 is glue logic ;]
How about a thread of wonderful new tech from 2023...
(yea, I hit the rate limit on mastadon while posting my 2023 summary...)
1) EGMK. Educated guess motor kicking, for stepping DC servos. WORKS GREAT! (if your motor doesn't blow up)
Hey, stop doom scrolling for a sec.
Do you want to build one of those 1-bit computers?
Tell me what details aren't in the github repo that you feel you need and I'll try to add the info!
:]
Are you tired of hearing about the 1 bit computer yet?
There is more!
I built a 9.6kHz 555 module, here is the 1 bit doing serial data!
Its reporting the state of the switch in ASCII. Look, its fast enough to have caught the switch bounce!
I could have been a computer programmer that nobody has ever heard of, but no, here I am, on twitter, with aluminum chaff in my *everywhere*
I could be working on FPGA stuff right now...
What is Rue doing at 2am? Reading books of schematics...
I came across this circuit that sparked an idea for an old project...
I have an "on-demand" hot water heater. It can take a while for the hot water to get to the bathroom tap. I wanted to add a warm water indicator.
@AwwwwCats
My cat routinely goes up and down this ladder to my shop roof, always catches visitors off guard. I can coax him down, can't prompt him to go up on queue.
I have updated the github repo with the source code and schematics for the encoder. I'm sorry I'm not going to tune this circuit. Please play with it yourself if you like.
serial->audio using an RC :]
I will update github diagrams and software for the 1 bit computer, the ALU will require a major modification to the assembler.
Its super cool to be able to just assemble and upload software to this thing, I love this!!!
1 bit computer with 9600 baud serial programming interface.
This schematic is on the border of too complex to be fit on a page of paper :/
I skipped most of the pin numbers because its going to get silly.
The 28C64 can be substituted for a 64k SRAM.
I dont think I made any errors
I am trying to continue the 1 bit computer work, and nothing is adding up. I think I'v found the corrected values for the encoding, but the wire-wrapped build is completely missing one of the 74595...
Here is one to help blow your mind
@ag88_
There is no sensor on this, the microcontroller is tracking the position by the backEMF of the motor.
I did not do as good a job as the Japanese person who inspired me to try (sorry I don't remember who you were!)
Hi, My name is Rue Mohr, I so all sorts of electronics and mechanical projects.
This Feb I will be trying to focus on a servo control method I call Educated Guess Motor Kicking (EGMK).
Its specifically aimed at high speed, low latency stepped control of positioning systems.
@nixcraft
Why. What is the point to this change. And systemd sucks, makes machines take 10x longer to boot with less then 1/4 the reliability (systemd fails for simple issues that should not stop the boot process)
@ComputerHistory
A punch card holds 80 characters, one per column. The holes in each column represent the character. Cards can be punched manually with a typewriter-like keypunch. Or the computer can punch cards at high speed through an attached reader/punch. 2/9
ok, I cant find the last device I put a DIP smt carrier, in, so, I'll make another one...
Spoiler alert, the image below is the result. don't look if you don't want to see how it turned out.
(just don't look down)
(at the image just under this text)
(try harder...)
You walk into the workshop of a remote office. Your co-worker at this site asks if you would like "this old thing" he points to a plain looking beige metal box on a cart.
Do you accept the box?
Serial programming of the 1 bit computer is working!!!!!
But, only at 9600 baud...
Here I have a 64k ram chip that I upload 2 different programs to!
I will post schematics and software a bit later!
So, the error in my software uart RX caused the character 'b' to receive as 'F'
The code for 'b' is 0x62
The code for 'F' is 0x46
0x62 is 01100010
0x46 is 01000110
Can you see the error? :]
I keep these. I dont know why. I would NEVER allow myself to design or build anything inefficient enough to need them.
Its a circle, and its hurting me.
🤣 its 3am. I won.
Dead bug BGA CPLD.
heh, too much fun!
Clock is 33MHz, counter is 26 bits.
There is a whole lot more I/O I can play with.
Programmed with ISE and xc3sprog on Linux.
As its related, here is a project from Jan 2022.
Credits for this project idea go to
@sudamin
!
This is a 3V DC motor with no sensors. BackEMF is used to try to track position.
Breadboard has op-amp and motor driver. Uno board is used for a controller.
OMG you just open photoshop and before you know it, its freaking 4am!
This is a diagram of the 1 bit computer, its not really all that accurate, but its accurate enough.
I will now take questions (expect why it looks like a 8051 datasheet from like 1980) *COUGH*
Mail delivery! Another 5 times I can try to stop myself from trying to cut that wire thats a *little* too large for the lead trimming cutters....
*snap*! ... awe.....