#What is Arduino
Explore tagged Tumblr posts
spark-hearts2 · 4 months ago
Text
I AM SO GOOD AT CIRCUIT BUILDING AND PROGRAMMING RAAAAA
C++ script under cut :3
int UpDown;       //value for the Y direction of controller
int LeftRight;    //value for the x direction of controller
int LR_neutral;   //value for the 0 position in the y direction of controller
int UD_neutral;   //value for the 0 position in the x direction of controller
int Bprev;        //value for button edge detection
int Bcurr;        //value for button edge detection
int R;
int Y;
int G;
int B;
void setup() {
  Serial.begin(9600);  //begin communication
  pinMode(A2,  INPUT); //button press detection
  pinMode(4, OUTPUT); //set pin 4 to power the Red LED
  pinMode(5, OUTPUT); //set pin 5 to power the Yellow LED
  pinMode(6, OUTPUT); //set pin 6 to power the Blue LED
  pinMode(7, OUTPUT); //set pin 7 to power the Green LED
  LR_neutral = analogRead(A1); //set zero position of controller
  UD_neutral = analogRead(A0); //set zero position of controller
  //WARNING!!! YOU CAN NOT TOUCH CONTROLER WHEN INITALIZATION HAPPENS!!!! WILL MESS CONTROLLER UP
}
void loop() {
LeftRight = analogRead(A0);  //read X position of controller
UpDown = analogRead(A1);     //read y position of controller
Bprev = Bcurr;               //set current button state to previous state
Bcurr = analogRead(A2);     //set current button state equal to actual button state
if ((Bprev == 0) && (Bcurr > 0)){
  //turns all LED on
  digitalWrite(4,HIGH);
  digitalWrite(5,HIGH);
  digitalWrite(6,HIGH);
  digitalWrite (7,HIGH);
  delay(100); //wait
  //turns all LED off
  digitalWrite (4,LOW);
  digitalWrite (5,LOW);
  digitalWrite (6,LOW);
  digitalWrite (7,LOW);
}
if (UpDown >= UD_neutral) {  // checks if controller is up
  B = 0; //if up turns blue LED off
  R = map(UpDown, UD_neutral,1023,0,255);  //if up turns red LED on
}
else {
  R = 0;  //if down turns red LED off
  B = map(UpDown, UD_neutral,0,0,255); //if down turns blue LED on
}
if (LeftRight >= LR_neutral) {  // checks if controller is right
  G = 0;  //if right turns green LED off
  Y = map(LeftRight, LR_neutral, 1023,0,255); //if right turns yellow LED on
}
else {
  Y = 0; //if left turns yellow off
  G = map(LeftRight, LR_neutral, 0,0,255); //if left turns green on
}
//writes values to LEDs
analogWrite(4,R);
analogWrite(5,Y);
analogWrite(6,B);
analogWrite (7,G);
}
5 notes · View notes
eeveeistired · 9 months ago
Text
Tumblr media
:3
7 notes · View notes
indihome-suck · 10 months ago
Text
Fisika kelas 12.... Kill me fisika kelas 12......
10 notes · View notes
krawdad · 5 months ago
Text
Thank you kevin defunctland pergurer a 2 hour video on the history of animatronics is exactly what I needed
2 notes · View notes
maretriarch · 2 months ago
Text
me after like .3 seconds of trying to do anything new
Tumblr media
1 note · View note
creativespot123 · 7 months ago
Text
Part 2 Update: Everything is coming up sunny
I thought I would ask how it is going from the cool ppl who are following me and give an update from the most recent project(Link to the poll vote: https://www.tumblr.com/creativespot123/767068429620543488/poll-vote-result-stepper-motor?source=share ).
So first: Hello, how are you? How have you been?
So an update:
As discussed before in the linked post concerning the robot idea, I had a bit of a realization that I am not going to spend like three hours trying to make cardboard sturdy enough to support moving the machine. I have built the initial arms so as to make him move, but when attempting to find a way to make the "Belt" (A rubber band) move the little man's axle.
Tumblr media Tumblr media
I figured why not just find some cheap gears online since amazon you can pretty much buy anything other than human body parts, finding these:
Tumblr media
This plastic piece will be used for its teeth, which will make it more easily move the machine.
To end this update off I leave you an MS paint image of me doing things on the computer machine:
Tumblr media
0 notes
vodka-bot · 11 months ago
Text
I am surrounded by resistors and shame
0 notes
illululusion · 2 years ago
Text
Why can't I be pissed like a normal person why is it just crying
1 note · View note
losttimesnail · 25 days ago
Text
Tumblr media
I forgot to post this here omg. I made this hair clip using this chip I found broken on the ground. I was assuming it was a super busted thumb drive , but a discord mutual suggested it might be part of an Arduino or similar device!! Lmk if you know what it is !! But yeah I'm enjoying making trinkets w repurposed tech, I also made some w key caps from a busted keyboard, pics of that later. Not a super original concept, but it's a fun idea to mess w! And reduces waste :))
196 notes · View notes
hallelujahmeatgod · 1 month ago
Text
Your Mechanical Engineering Classmate Sylus
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Best believe their classmates’ eyes are practically falling out of their sockets when Y/N skips—yes, skips—next to Sylus, and he just… lets her. No complaints, no eye-rolls, just vibes. And the final nail in the coffin? When they catch him personally inspecting her absolutely feral, bacon-scented disaster of a project, and instead of judging, he casually pulls out his own premium-grade materials and lets her dig through them like it's a Black Friday sale.
Never in a million years did anyone expect to see Sylus—Mr. Minimal Interaction, Mr. “Don’t talk to me unless you’re a professor or a spreadsheet”— personally helping someone. Out of his own will. The guy is known for doing his work, avoiding unnecessary human contact, and vanishing like a ghost the moment class ends. The only time he helps is when a professor forces his hand. So to see him not only helping someone—but doing it with patience, using his own premium materials, no less—is nothing short of a divine phenomenon.
And Y/N in the middle of all this? O B L I V I O U S. Just her usual sunshine self, happily digging through Sylus’ sacred stash of materials like it’s a buffet, yapping away about some Twitter gossip she randomly saw. Sylus? Barely blinks. Occasionally snatches something out of her hand when she grabs the wrong tool and silently replaces it with the right one—but never once interrupts her rambling. Not even when she starts theorizing about how their professor might be running a cursed Arduino black market on the side.
In his head: Why the hell did she take this major again?
Out loud: “Oh really? Then what happened—wrong resistors, here you go. So what was that about prof selling hexed kits?”
89 notes · View notes
kitto-paint · 1 month ago
Text
Tumblr media
Please Reblog, I'd like to design a cheap braille typewriter (prototyping by 3d printing, final design will be machined) I stumbled upon linked YouTube short and a thought: "designing 6/8 button typewriter is within my technical capabilities"
youtube
I have many design questions I wish I could test out
My roadblock is I don't know anyone who's visually impaired, and casually seeking random place to peddle my soon-to-be-invention is not something I'm capable of
Many design questions:
Paper type: what is minimal quality/density of paper for dots to be readable. Can thermal receipt paper be used for notes?
Embossed vs punched out: is that significant for the typewriter to not break paper? It's important for "undo", but that's pretty far in my building a typewriter plan
Typewriter size: My initial idea was something like a portable cash register with receipt paper spool and little tray for it to glide along (I quickly realized it's a bad design because it can't fit more than 7 characters, or I can make infinite scroll of a single line with questionable ergonomics). Ultimately is related to page size, so what would be best for it? A4 standard paper? Is being portable important?
Keyboard layout: Perkins Brallier have all it's buttons inline forming long row. Wouldn't single-hand keyboard in similar layout as braille dots be more convenient? (straight grid or mimicking angle of computer keyboard letters)
Typing feedback: should typed letter be instantly accessible and not obstructed by typewriter? Maybe typing with one hand and instantly proof-reading with another hand?
Typewriter or printer?: alternatively, I can make a little annoying-noise-making servo-powered printer that will punch out text. Arduino or Raspberry PI based (I have experience with both) It would be USB powered most benevolent printer, because it don't require ink to work
Thanks for reading! [I'm not transcribing my design scribble, because it's absolute dogshit, but it helped me formula requirements. I will add transcription to actually thought of designs]
Alternatively, if I'm tweaking right now and if that thing would be needed it would already exist, I'll go back to trying to get hired by random megacorp and that's the last time you hear of me talking about it 💀
65 notes · View notes
ayeforscotland · 1 year ago
Text
Ad | Some Humble Bundle Goodies
One for the audio engineers - The Audio Arcade bundle gives you a whole bunch of royalty-free music and SFX as well as plugins to insert in all the major game engines. Ambient tracks, environmental sounds, explosions, you name it.
Money raised goes towards Children's Miracle Network Hospitals.
For those who dabble in Virtual Reality, the Upload VR Showcase with Devolver Digital has a bunch of Serious Sam VR games as well as the Talos Principle, a really solid puzzle game.
Money raised goes to Special Effect which helps people with disabilities enjoy games via accessible controllers. I've seen the stuff they do and it's honestly great.
Want to get into programming but don't know where to start? The Learn to Program bundle has a tonne of resources covering everything from HTML and CSS through to Python, C# and Ruby.
Money raised goes towards Code.org which seeks to expand participation in computing science by helping women and students of colour.
The Future Tech Innovators Toolkit is a software bundle with courses on Robotics, Electronics and programming with Raspberry Pi and Arduino.
Money raised goes towards Alzheimers Research UK.
The Home How-To Guides bundle offers a complete set of books for home improvements and projects. Want to know more about plumbing, home repair, bathrooms, wiring or carpentry? This bundle has you covered.
Money raised goes to It Gets Better, a charity that supports LGBT Youth.
Want to pick up the latest Elden Ring DLC? It's also available on the Humble Store with the key being redeemable on Steam.
105 notes · View notes
gender-trash · 2 months ago
Note
What's the thing that's probably wrong with this very cheap robot arm? I know the good ones start at like $10k so presumably it's something. https://www.amazon.com/LewanSoul-Robotic-Arduino-Software-Tutorial/dp/B074T6DPKX?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=A1K1UK7O5KP6WQ&gQT=1
(clickable link) looks like your average cheap servo arm -- lots of pinch points and low weight capacity, but the real problem is the precision, or lack thereof. there's gonna be a lot of slop and backlash, which makes the already tricky project of manipulation basically impossible for anything more difficult than Brightly Colored Foam Cubes. fortunately the natural habitat of this type of arm is, like, "learn to robotics!" school projects where Brightly Colored Foam Cubes are the only kind of object in existence. (but keep in mind that i'm no big city mechanical engineer or anything.)
20 notes · View notes
froget-me-nots · 6 months ago
Text
notes on my edgar lineup (spoilers ahead + long post!)
OVEdgar and Base Edgar are wearing mikey's jacket <3
Tumblr media Tumblr media
OVEdgar is wearing black (the same color mikey wears when he sneaks into Tier 2) while Base Edgar wears red (easy to hide blood stains)
Base Edgar and Edman wear pastel nail polish; OVEdgar wears black (really, who is Mustardseed if not the emo iteration?)
the background is a blurred and flipped version of the IHBTTF cover
Edman's bracelet matches his and mdawgs eye colors (idea from @/savoureux on discord)
Edman loses most of his jewelry in OI, but he keeps one necklace—you can see it tucked into his waistband
i played stardew valley for the first time last saturday, which inspired me to make the inventory using pixel art
i have no clue what a bug looks like. i kept googling "bug surveillance" but photos of cameras on bugs kept appearing?? what i drew honestly just looks like an arduino circuit speaker. sorry Mustardseed
Tumblr media Tumblr media
i started this project the saturday before finals and finished the following monday. i did not shut my desktop off for this entire period of time.
originally, the edgars were going to rotate! i scrapped this idea because it added a lot of in between frames.
Tumblr media Tumblr media
BONUS FACT: the jacket you see in this post has the OVER logo on the sleeve, but i draw the 101 timeline jacket with the OVER logo on the front: an askew patch for an askew timeline.
35 notes · View notes
creativespot123 · 8 months ago
Text
I want to document a robot building but have no idea what to do
For tools I have:
Screwdrivers
scissors
wirestripper
tweezers
box cutter
Materials:
x8 HC-SR04 sonar sensors
x4 boxes worth of cardboard
x4 arduino unos microcontrollers (One an Arduino, three Egloos)
x3 arduino nanos a whole lot of jumper wires
x4 9 v batteries
x4 rolls electrical tape
x4 28BYJ-48 5v dc stepper motors with connectors to breadboards
x6 breadboards
An assembled arm, composed of metal and screws for the body, x6 MG 996R motors for moving joints, connected to a PCA 9685
I don't have any coding experience besides copy and pasting onto the nano and the uno, but I would like a project idea which involves at least the sonar sensors, if anyone has suggestions, please let me know. I don't want to disassemble the arm but if there is a good point made, I would be willing to oblige.
I will also post if I was able to make a sonar detector, I am only really having trouble with the coding, but I will try to get over that hump when I get to it.
EDIT: I PUT TO LONG FOR THE POLL AND I CANNOT SEE THE CURRENT VOTE, I AM PUTTING ONE DOWN FOR THE FIRST ONE SO I CAN SEE IT BECAUSE I AM IMPATIENT
1 note · View note
nitewrighter · 11 months ago
Text
I'm gonna admit like, for a long time I've been pretty skeptical of MakerSpaces because there is that question of "Okay but is this a library's job?" And because so many makerspaces kind of end up as dead zones because only one librarian will actually know how to work the equipment in there and they'll end up leaving without training backup or a replacement. Like, they're lovely in concept, but in terms of execution my experience with them has been pretty rough because it would always be like:
Patron: How do I use the 3D printer?
Me, a Library Assistant who is on the Tech Desk because I am a warm body who knows the Dewey Decimal System and can help patrons with very basic tech questions: You leave a USB drive here and then it's not my problem! [Disclaimer: Not my actual words but pretty much the protocol]
But god, today I got to help work a makerspace where I actually knew 60% of what I was doing and I got to walk patrons through it and god, the sensation of talking someone through the basic functions of a machine, and then watching them help another patron with it is fucking euphoric. I get it now. I'm converted. I still don't know what the fuck is going on with Arduino but I'm into it, man. I feel like an artificer's apprentice in some kind of fantasy world.
70 notes · View notes