Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "arduino"
As a developer, sometimes you hammer away on some useless solo side project for a few weeks. Maybe a small game, a web interface for your home-built storage server, or an app to turn your living room lights on an off.
I often see these posts and graphs here about motivation, about a desire to conceive perfection. You want to create a self-hosted Spotify clone "but better", or you set out to make the best todo app for iOS ever written.
These rants and memes often highlight how you start with this incredible drive, how your code is perfectly clean when you begin. Then it all oscillates between states of panic and surprise, sweat, tears and euphoria, an end in a disillusioned stare at the tangled mess you created, to gather dust forever in some private repository.
Writing a physics engine from scratch was harder than you expected. You needed a lot of ugly code to get your admin panel working in Safari. Some other shiny idea came along, and you decided to bite, even though you feel a burning guilt about the ever growing pile of unfinished failures.
All I want to say is:
No time was lost.
This is how senior developers are born. You strengthen your brain, the calluses on your mind provide you with perseverance to solve problems. Even if (no, *especially* if) you gave up on your project.
Eventually, giving up is good, it's a sign of wisdom an flexibility to focus on the broader domain again.
One of the things I love about failures is how varied they tend to be, how they force you to start seeing overarching patterns.
You don't notice the things you take back from your failures, they slip back sticking to you, undetected.
You get intuitions for strengths and weaknesses in patterns. Whenever you're matching two sparse ordered indexed lists, there's this corner of your brain lighting up on how to do it efficiently. You realize it's not the ORMs which suck, it's the fundamental object-relational impedance mismatch existing in all languages which causes problems, and you feel your fingers tingling whenever you encounter its effects in the future, ready to dive in ever so slightly deeper.
You notice you can suddenly solve completely abstract data problems using the pathfinding logic from your failed game. You realize you can use vector calculations from your physics engine to compare similarities in psychological behavior. You never understood trigonometry in high school, but while building a a deficient robotic Arduino abomination it suddenly started making sense.
You're building intuitions, continuously. These intuitions are grooves which become deeper each time you encounter fundamental patterns. The more variation in environments and topics you expose yourself to, the more permanent these associations become.
Failure is inconsequential, failure even deserves respect, failure builds intuition about patterns. Every single epiphany about similarity in patterns is an incredible victory.
Please, for the love of code...
Start and fail as many projects as you can.31
I have made this RGB LED tie. One of my friends and me had the idea at 2 am and now it has come to reality :D
It runs on an Arduino nano, 8 rgb leds and is powered by a 9V battery.
I have prom tomorrow ('abschlussball' in german) I probably won't wear it during the official part but definitely at the party after prom.
The current animation is a bit too fast (I was listening to hardstyle while coding it) for the music they will play tomorrow at the party so I still have to make a slower one.
Tell me what you think about it :P32
This one guy REALLY WANTED to work on the hardware (aka arduino in this case) part.
After hours of trying (with 8 guys) of get it to work on windows which just didn't happen, he still refused to even live boot into a Ubuntu machine.
At the end of the day one of the members went to sit down with him to talk about it and the guy finally gave in.
Two seconds into Ubuntu and arduino was successfully up and running!
Then, every day whenever he didn't get something, he'd just do nothing for the entire day while claiming to be working. The team leader sat down with him and I did too, offering him to sit next to me for a day to see how backend stuff went (I was the backender).
Did it but it just went back to the same old bullshit.
I honestly don't mind it if you find it difficult to ask for help but if you, after numerous chances and conversations, still don't do shit, sorry but fuck off.
He was a nice guy and blamed his autism for it but that's just not how it works.14
Since I already got all the stuff working for the devrant client on Arduino, why not port it in other platforms ?
So here it is DevRant 3DS client19
We were in a group project with about 7 people.
One of the guys who ran windows needed to work with arduino and couldn't get it to work after hours of trying.
I suggested Ubuntu and they immediately started to bash me for being 'that linux nazi'.
"shut your cock sucking mouths. I'm not a fucking linux nazi, at least give it a fucking shot."
Well, it worked from the first second.
Fuck those cock suckers27
A little story that made me really happy. A friend and me was building stuff for fun with electronic in it.
A neighbor child (14) came over and wanted to join us and build also stuff for cosplaying. She is almost done with her stuff and waiting for the painting. My friend needed to program stuff for his arduino. She was watching him.
And now he's teaching her how to program. And she starts to understand that make me really happy to see a new little developper growing there ♡8
I once designed my own Arduino IDE compatible microcontroller, and even had the card manufactured.
Sadly I've yet to actually use it for anything, but hey, achievement unlocked, right?15
Just made a laser sentry tower for my cats. Next up is adding some tracking so it can play with them by itself while I'm at work and after that I'm adding a Wi-Fi module and camera so that i can also play with them while I'm at work... I couldn't resist using a mouse to top it off 😂12
1024 points of soldering !!
Wasn't expecting that when I began, but it's quite interesting and the result will look amazing ^^
I'm making a LED matrix from 0, controlled by an Arduino, it will look really good when it's finished, I plan to use it to display notifications, clock, sound spectrum etc...
What do you think of it ? 😇16
That personal Arduino project I made for my own use, is now going to the Paralympics in Rio with a potential medal winner.5
You know the story about Battlefront 2? How long it takes to farm points to unlock those cool characters like Darth Vader etc? Yeah, it takes some time. Time that I necessarily don’t want to spend on mindless playing. I thought I’d try to beat the system by building this thing that would play the game for me by moving and jumping every few seconds.
I already have the code ready and now I just need to build the physical thing that will actually interact with the controller.
I am using an Arduino Uno with two micro servos.
Honestly I just want to see if I could build it, I’m not sure I will actually use it (you barely get any points if you’re not killing people anyway).
I’ll keep you posted with the result!20
I fucking hate Internet of Things, I think that it's a ridiculous idea to connect things, that work perfectly fine, to the internet.
The 'convenience' you get is minimalistic and most of the time non existent.
It is also often insanely insecure and expensive. The burdans it brings with it most of the time just outweigh the positive sides of it.
Now today happened something that made me hate it even more. Today was the First Lego Lego (Lego competition with ev3 robots, etc.) and one part of the tournament is to find a solution for a given problem. This year the general topic was hydro-dynamics and so the problem was how you can reduce water usage and 'save' water.
Our idea was to make reusable coffee cups and give them to the local coffee shops. One time use paper cups use take around 400ml water when produced) Basically you buy a cup once for 5 bucks and you get your coffee served in it. After drinking the coffee you return the cup to a local cafe and get a chip as pawn. When you buy your next coffee, you give them your chip and get it served in another reusable cup. The are at the moment already around 1000 cups going around the city.
Now this was our idea and we got ranked third. I am not too mad about our rank but what really drives me fucking mad is the team who ranked first.
Their idea was to make a pump (using an arduino) and a humidity sensor which you stick into a plant and the pump pumps water when the plant is too dry.
However (you probably guessed it already) they went a step further and connected it to the internet. They also made a web 'interface' for it so you can control the pump with your smartphone / computer / smartwatch / tv / whatever the fuck is connected to the internet nowadays 'thanks' to the iot 'revolution'.
So it is a pump that waters your plant when it is too dry BUT it is also connected to the internet.
WHY THE FUCK DOES THIS HAVE TO BE CONNECTED TO THE INTERNET.
"Oh look it is connected to the internet, wow awesome, oh it is also 'smart'. oh cooool. Nice I don't have to water my plants anymore"
A funny thing is that one of my friends built basically the same thing without connecting it to the internet. He built a small box with a pump and a humidity sensor that measures if the dirt is too dry and then waters the plant. It checks every few hours and the also is a small 16x2 LCD and a knob that you can turn to control how much water it should give the plant each time it waters it. He built it and I programmed it for him. Works perfectly fine and I don't see any reason why there should be any need to connect something like this to the internet.
Anyway we got ranked third, they first. I guess we should connect our coffee cups to the internet in some way ...20
Want to finish my little friend for a long time now. He can dance Michael Jackson's moonwalk for now.
Idea was to use the sonar sensor to switch dancing styles but he is still blind :(13
Got some new toys today! A Raspberry Pi 3 and a Arduino starter pack. Any suggestions on what I should do with it?26
#define redLed 2
#define yellowLed 3
#define greenLed 4
void setup ()
pinMode(yellowLed, OUTPUT) ;
pinMode(greenLed, OUTPUT) ;
void setup ()
for (int i=2;i<5;i++)
pinMode (i, OUTPUT);
Proff - This code is wrong it won't work. Where have you specified red led, green led, yellow led?
Me - wtf! Code doesn't know which led is used in what pin it's just pin numbers!
Gave me less marks 😑
P. S. I wrote comments in my code specifying which pin will have what led connected 😑14
My first rant, so pls don't blame me?. 🙈. No just kidding, but now the Story. A friend told me that he want to start hacking. But I know that he can't prog or use a PC. But I asked: "Can u program?" He: Yeah, of course!?". *Me wondering as fuck* Me: Where do u learned that?" He: "Watched YouTube Videos!" Me: "OK?, and what language du u want to use, and IDE?" He answered: "Language Arduino, and IDE what is that?". *Me facepalming and asking myself what dafuq was he watching and why is he trying to do things like that*11
It's time for another teacher story. So grab a cup of tea and listen.
We were casually talking about Arduino programming because he told me he teaches this in another class.
Teacher: it's so sad that i can't use my java code on the Arduino. I mean the Arduino uses java so there shouldn't be a problem.
Me: *internal* HOLD THE FUCK ON
Me: you know that the Arduino uses c and not java, do you?
Teacher: but the Arduino can do java commands! How do you explain this!?
Me: because java uses the c-syntax and it's more of a coincidence that they're named the same way?
Teacher: huh. Ok. But C# doesn't use it, am i right?
How can someone this dumb be a programming teacher 🤦17
Alrighty then, so you can do this and it'll still work...
Like, I suppose technically speaking it makes sense....20
The concept of, "hacking" at my school is so disgustingly bloated, as it probably is everywhere else. Some kid the other day said that he had hacked cookie clicker. Friggin cookie clicker. After opening inspect element and changing some local data to get infinite cookies. And he was hacking.
I swear, if I EVER told any of these idiots about some hacking project I did with an Arduino, they would start asking me how much money I made off with in the heist.
There is one kid in particular that annoys me, his name is Matthew, and he is the most pompous little piece of crap you have ever met. Every time they talk about him, they use the word, "hack" casually in conversation. "Wow dude he's gonna HACK you now", and it really boils my gears. I mean, come on, our school password is a birthday and initials, if he got into your account, he certainly didn't do it by hacking anyone. It has gotten to the point that I can't even hear the word without wanting to lash out at them and tell them how stupid they are. Maybe I can just send them a link to this rant.21
(Disclaimer: I did not actually make a bomb)
So I had this amazing teacher in grade 7 (he gave me an Arduino for free) and he also let me and the annoying kid from one of my other rants use his storage room as a makeshift makerspace.. we had a raspberry pi cluster and more Arduino and that we could dream of having.. also cool stuff like leap motion controllers...
One day he was out sick and had this strict supply teacher in. The two of us went in to the storage room at lunch break and started working on a doorbell for the room.. I was doing some circuitry..
The bell rang and we left..
The next class, the supply teacher and the principal walk in and ask me to come out into the Hall.. I am like "fuck" ..
She and the principal start yelling at me about making a bomb and burning down the school and other outrageous things.. she started telling me about kids that got swatted at school for making bombs and that I was in big trouble..
The whole time I am like.... Wtf are these people talking about???
Then eventually they start asking me questions that I didn't understand.. and they ask if Dan (other kid) was doing it too.. I said yes because I was hoping that they would bring him out.. he might know what they are talking abt..
He then comes out into the hallway and they start yelling at him..
Then I realize..
I think that I left our makeshift battery pack on..
So I go and check.. sure enough, the battery had just shorted out and melted the plastic (which was giving off the smell that she was talking abt) so I unplugged everything (and electrocuted myself)
So ya.... I made a mistake and I got a unfairly harsh lecture about it..
Lesson learned.. don't let stupid people see you do anything computer or circuitry related....8
The school I went to...
*GTA and minecraft to let student familiarize with cheating command and console
*Student should find and read the damn documentation him/herself about items, mobs and quests in every game. Be self motivated!
*Contribute to community for myth hunting, map creation and glitch
*Solve personal networking, graphics problem and understanding hardware limitation.
*Solving game compability problem after Windows update
*Introduction to cracking and hacking
*Motivation to host a game server
*Custom server scripting => start To really code the first time, Perl, python, etc
*Introduction to Linux server and Debian
*From DDoS to server security
*Server maintenance and GitHub
*Game Server web development
*Motivation into non-gaming discipline by a random YouTube geek
*Set up mincraft with raspberry pi and Arduino
*Switch to Linux or Mac and just dual boot for gaming
Prepared for the real world.
Congratz for the graduation in the Pre-school of Developers (11-14 yrs old) :)5
My arduino mega just arrived. My home will become a slightly smarthome (All diy) so excited.
Best part it will not touch privacy13
A client asked me if I had some software to make an .exe file run on Android.
So I replied with:
Yes, you need to run the RNN through a HM05 then cross-compile the output with a MOSFET.
1. Fucking MySQL database clusters.
There's nothing fun about MySQL clusters. Sometimes they start producing deadlock errors for no apparent reason... well, there's probably a reason, but it's never a transparent easy to find reason.
What was even less fun is that those errors took down a Sentry server. When your error log server goes down through ddos from your database messages, it's time to rethink your setup.
2. Wiring up a large factory with $2 arduino clones, each with a $2 esp8266 wifi chip, with various sensors for measuring flow of chemical solutions (I wanted cheap real time monitoring as an early warning system next to periodic sampling).
The scaling issue was getting over 500 streaming wifi signals to work in a 55c moist slightly corrosive atmosphere with concrete and steel everywhere, and getting it all into a single InfluxDB instance for analysis.12
I was working on an Arduino counter (an inside joke) and I somehow sent 12V to an IC I was using.
it burned out.
I'll leave now3
Update - The 'devRant trans-oceanic 21st century message in a bottle' community project is progressing nicely.
There is terrific research being done by the team in a slack channel. It is a great fun learning experience.
We have taken the 2000 year old message in a bottle concept and are breaking new ground leveraging very cool technology. We are still in phase 1 but at a high level devRant's much coveted stress ball will cross the Atlantic Ocean in a bottle type encasing.
We will use satellite tracking and gps to track devie throughout the journey. We will use Arduino or a similar microprocessor. We may use sensors and gyros to monitor the surrounding environment for temperature and depth.
We are also studying ocean currents, shipping lanes, weather data and bottle materials to make the journey as smooth as possible.
This is an official devRant sponsored project. We encourage you and any dev friends to join the conversation. Below is a link to the original rant which has the Slack channel info.
The sun never sets on devRant and we love intriguing projects!
I have reached the point where my main project with my arduino collection is building a sex robot and i dont even feel the least bit ashamed about it.10
I was checking an Arduino sketch I wrote in a hurry 2 years ago. I want to cry for the number of shit I've found there 😓
Picture + I had put as int variables that should have been boolean. I needed them for 0 and 1. As well as with no comments and no explicative names.13
Last year in my circuits class we were given an Arduino and tons of sensors and shit, was told to just 'make something'. So I figured I'd make an potentiometer-controlled RGB LED because the potentiometer is analog and the LED is digital. But I didn't have access to a computer at the time so I wrote all the code on PAPER. When I got to school I copied it into the IDE and.....
Worked flawlessly. Proudest moment of my life.2
I've got an Arduino now and I was building lights the last weeks to understand the coding. But when it comes to use full stuff I could do my mind is empty. Do you have any suggestions for me?
I know there have to be FUCKs in a good rant. So I will miss use the tags...15
This is my desk right now, anyone else who really enjoys fiddling with arduino / rpi electronics stuff?
Like making a remote for the projectors in school or using an Ethernet switch and a raspberry pi to create a WiFi network :P36
Sitting in the hall, quietly listening to an Arduino tutorial and I bring up terminal cuz I didn’t have the IDE and unnamed teacher starts yelling at me for hacking?!? Fuck ignorant teachers.15
Step 1: I want to do some hardware hacking
Step 2: buy Arduino/actuators/cables/...
Step 3: realize you have no clue what to do
Step 4: hide everything in a drawer and forget about it
But I reeeeally want to do some hardware hacking!9
For my final project as a first year computer engineer, I have to implement a FAT32 file system using a bare metal c++ compiler that will need to work on arduino uno/due....
I've only been in the computer engineering space for 2 months.
Not sure I can do it, but I'm going to try my best!
Wish me luck10
I dabble in C++ (because Arduino is a thing) and I'm learning Python because I'm getting into Raspberry Pi.
I can't wait to get involved in this community and do a lot of ranting.
Have a great holiday season!8
There was a guy back at uni who, I'd have to say is just manipulative SOB,
I say this because of two situations:
We started uni, first week of programming homework, I helped him out, second week rolls around and this happens:
SOB: hey can you give me the answers to homework for this week?
Me: no but I can explain my idea process, which I then in painstaking detail, break down everything needed to do the homework, I thought maybe he'd understand the process and get the hang of it, he answers me with this
Me: so now that I explained everything did you understand what to do?
SOB: yeah yeah I do now could you give me the answers
But that ain't the only time, nope, at the same time for another class he was part of our team, where we decided to some ambitious project combining 3d printing + an Arduino to make a turret, needless to say my team mates knew nothing of Arduinos or 3d modelling, I did some 3d modelling in my spare time so I handled that other team mates made the Arduino rotate a motor :/ best they could do, SOB does nothing, assessment days rolls around and lecturer goes around the room we show him the turret, the Arduino and proceed to say SOB has done nothing, never contacted us through the last 6 weeks, despite us trying to do so, he begins to complain saying we lied, lecture takes him out of the room because we were starting to make a scene, and he starts crying! The lecturer gives him a B+!
I then hear him one day joking to this guy that he managed to pass Class A by doing nothing and managed to get a higher grade than the rest of his group, at the time he was copying homework from a person for the first programming class because he failed!
Later I hear in my final year he was hanging out with some first years, a friend of mine sees him and says hi, why you hanging with first years, the group of first years look at him and ask how he knows them, and proceeds to question why they were told he was a first year also...
Not only this but I heard despite failing so many papers (heard he was repeating first programming class 3-4 times) he somehow managed to graduate.... I just can't understand why, oh and he has a job too, managed to get one from a guy he knew working in IT he doesn't deserve his bachelor's degree at all!14
India never fails to deliver dank memes 😂 connecting 2 pins on each terminal to expand GPIO.. this guy needs to be accepted at MIT for this 1337 AF method 🤣24
Has anyone here ever used tinkercad.com? (for simulating Arduino setups, or other circuits)
Where can I find community content for circuits? They make it so easy for their 3D models.. But not for their circuits..
Also, can someone tutor me in the basics of circuits over telegram?
(for those of you whom have never heard of it, I attached an image ^~^)14
Went to see my brother today. Before I could say hi, I saw the following:
- Desktop, Windows playing video
- Thinkpad, Linux mint, Arduino IDE
- Arduino board with some sensors
- Complaining about light theme
I've only thought him a bit of C# and SQL. They grow up so fast :')
(Before today, I only knew he was gonna learn Python)3
Just had some gin and thought to myself "well it'd be really nice if I could write some scripts to schedule email.. ON THE MAIL SERVERS"
Then I suddenly realized that I should really not be doing anything on the servers while drunk, since I fucked up their PHP configs last time...
*closes all running SSH sessions to the servers*
Not today. The Arduino alcohol tester didn't arrive yet.10
I've spent three days trying to upload some code to my ESP8266 and it failed every time. Now I just plugged the Arduino at my Desktop and it works. Notebook USB port does not provide enough current I think.19
Ok, so teacher (which should be something like a professional dev or whatever) assigned us a homework for a Christmas (I dont care, I can complete his assignments in like 10 minutes max). We have to do some simple shit in C++, just some loops and input + output. Nothing hard. He challenged me to write it as short as possible, so I did. My classmates have codes around 60 to 70 lines long (after propper formating). I made it 20 lines long using some pointer magic and stuff like that. I tried my code, it ran fucking perfectly, so I sent that to him. He replied that the code does not work. I tried to recompile it and it ran perfectly. Again, it does not work. Afeter 13 fucking emails he fucking finally sent me the error message. Some fucntion was not found (missing some library but literally everywhere else it works without it...). Thats strange, because it run perfectly on my Fedora with CLion, so I switch to Windows and try to run same code in Visual Studio (which we are using in school btw). Works perfectly. So I start arguing with the teacher more and more. I tried around 10 online compilers. Works fuckng everywhere. Teacher is pissed, me too. So I rewrote my whole code, added comments and shit, reinvented wheel literally everywhere. Now I have C99 standardised code over 370 lines long that run even on a fucking arduino after changing input output methods so it can work with it. It (suprisingly runs) on his PC too.
After a bit more arguing, he said that he is using CodeBlocks from fucking 2015. Wow. Just fucking wow. Even our school has some old Visual Studio (2007 I guess) and it worked there.7
Soooo let me open the drawer where I put all the stuff I don't know where else to hide and forget...
- Personal website
- Android personal safety app
- Translation service/social
- Social media client
- A bunch of Arduino and/or Raspberry stuff
All projects started as "let's learn this new language/framework/technique/..." and mostly ended unfinished in pits of sadness and despair.5
It took me a week but I managed to build an Arduino that opens our office door when we use a command in Discord or Slack. Probably the best project I worked on during my internship.2
I am working on this project for school where I am building a simple 8-bit keyboard thing.
It works for about a day. Perfect.
I was about to put it all away and leave for the day. Then it starts playing random notes and doing random things on it's own.. I was like WTF!??!!
I just unplugged it and put is away (I was too lazy to fix it)
Now I am back at it again and have taken the entire thing apart and rebuild it 2 times.
Then I find the problem...
I forgot to ground a button.
So now I am just sitting here staring at a wall and have completely given up on it.
Btw.. you can check out my mess of undocumented code on GitHub
My resolution for this year:
- learn PHP
- be a pro with SQL and learn PostgreSQL
- build couple cool hardware projects with Raspberry Pi and Arduino based on C.7
God knows how many morons try to brag to me on how they know hardware programming because they own an Arduino, whenever I say I study Electrical Engineering.5
Just won a Raspberry Pi + touch screen in an Arduino robot competition. What can I do with this little beauty?10
i really love coding because in C# you write string, and in Arduino String( with a capital s). You mess this up and nothing works.
10/10 would rewrite the whole program again because of this.11
Here is my collection of microcomputers and stuff... I have quite a few and don't know what to do with them...
Arduino pro mini
2x Arduino pro micro
Raspberry pi B+
USB to serial interface
Some random Arduino interface
What should I do with them?11
Who wants to buy $77.44 worth of arduino parts (including an UNO, two Pro Micros and a Digispark)
For best offer + SH (Paypal)
Parts consist of two sepperate kits and a few individual parts purchased.
All parts are unused (besides the Digispark) but some have been opened.
Message me on Telegram @thecyaniteproject or Discord @Kianite#3935 for exact parts listing.
Backstory: (If this is even needed)
I spent a lot of money on parts for a project after everyone told me it was a bad idea. Spoiler: It was a bad idea.24
->buying fake arduino from ebay.
->have to install separate drivers, because the manufacturer uses a cheap usb to serial chip.
-> driver page is all in chineese, only the download button is in english
-> installed the driver(at this point there was no going back)
-> instand kereal panic
I'm did something stupid today...
A bit of background: As I'm the only IT/Programmer/Computer guy in my school, teachers always ask me for help (fxp. setup dosbox and what not).
Today she asked me to setup mBlock which is a Scratch program used for programming Makeblock's mBot (which is just a fancy Arduino platform).
As I was setting it up on the school PCs, I saw that the C drive was a complete mess of files and folders in one of the PCs. So as the student accounts were non-Admin I changed the permissions to none.
But here's where I messed up. I accidentally did that for everyone. And I locked myself out of the C drive. I could boot Windows and login without a problem. But when it comes to Admin privileges, it ain't workin'.
I can't access the C:\ in explorer. So I spent 2 hours just to undo the damage. And best part, I didn't succeed.
Lessons learned: Don't be fucking stupid.19
Short story for the one interessed in the image: when we change idea we change the whole idea. And it is likely to happen very often. Sometimes twice a day, every day, for a week.
I am hopeless:
I am an IT university student, i know how to program and how to search for a fucking manual, but i am dealing with eletronics and PCB...
I have to make the firmware for a board (atmel things) and it have to talk via spi with some other devices (it is slave of one, and master for all the others(i will use two spi channels)), this should be easy...
I am have no senior to ask to, all i have is google and i found problems in every thing i try to do, every - fucking - single - one!!!! I know that the solution is always of the "you have to plug it in" type, but
NEITHER GOOGLE IS BEING OF HELP!
Let me explain this morning pain:
i can't add libraries in atmel studio, something wrong with the asf wizard, i have only found a tutorial that says what buttons press to solve my problem... I DO NOT HAVE THIS BUTTONS!!!
And the library i wanted to add is the one to make the board talk with the computer on his COM port... (And have some debug message...)
And the wizard gives problem because i created the project using an online atmel tool...
YES, i tried to create a project with asf and then add the files given by the online tool.... THEY DO NOT COMPILE, I SHOULD HAVE TO MESS WITH A 400 LINES LONG MAKEFILE, that is anything but human readable...
I haven't even look for anything spi related this morning
I am even forced to use windows, because every question in the forums, or every noobbish tutorial is based on it...
And then i find the tutorial with the perfect title, holy shit this is the thing i truly need!!!!! It says how to open a file. And then stops. WHAT ABOUT THE THING YOU WERE TALKING ABOUT IN THE TITLE??????
This project is the upgrade of a glue-pump based on an atmega328 (arduino uno processor), that is currently being produced and sold by our "company" .... .... That is composed by me and the boss.
He is a very nice and and smart person, he tries to give me ideas for the solution, if i cannot find out how to do something we can even change a lot of specifics of the project (the image shows our idea-change) and every board has some weeks of mornings like the one described above (i work only in the morning).
I am learning a very lot of things...
But the fact that every thins i try fails is destroying me, what would you do in my place?
Ps. Lot lf love for the ones who made it until the end <36
Today I finished my robotics project. I had in my team a total idiot (the one who used the hidden divs, some might remember from another rant). I wanted to share with you the beginning of a ranting adventure.
Me: "you can begin with a simple task. I will send you the obstacle avoidance sensors values from Arduino, and you will send the data for the Arduino motors to dodge the obstacle".
The sensors give 1 if clear, 0 if obstacle is detected.
Below is his code (which I brutally rewrote in front of him).
Now, in the final version of the robot we have something like 9 sensors of the same time to work with.
Imagine what would have happened if we kept him coding. (Guess it: 2^9 statements! :D)
I was not that evil, I tried to give him some chances to prove himself willing to improve. None of them were used rightfully.
I'm so fucking glad we finished. I'm not gonna see him anymore, even if I'd like to be a technical interviewer for hiring just to demolish him.
I'm not always that evil, I promise (?)
Ps. He didn't even have any idea on what JSON is, even if we had already seen it during FIVE YEARS of computer engineering. (And should've known anyway if he had a bit of curiosity for the stuff he "studies")11
Awesome story. It all begins when i was 8(before i watch my dad to set up PC and playing) then my dad asked me if i want arduino i tell him yeah i was trying but was not interesting to watch led to blink so i started to look online for programming software (i was 8 years old here) and i found pascal i tried not very good so i tried VS basic not good and then i found lovely C i started to study it it was awesome my family looked at me like whats that only dad understood what i was talking about so he was happy I'm very good in it from this moment i wanted to be real programmer so i study study and study C and i was making a lot of projects. This took 6 years and still continuing but for the last 5 years i was very good in it already. Its already 8 years in programming but in 2014 i started to look for android development (i flashed my first ROM in 2012 or even before don't remember this) so i started to study Java and still continuing too i think I'm very good in programming so i go to high school in IT and the best feeling ever come when teacher says "you should go for school in capital city because you know very much and you will learn nothing from us because you already know that but its your decision" i choose to stay because its expensive in capital city and lot more things was not good.
So my programming journey started in 2006 (i was 6) when i watched my dad to build PC every day but real programming started in 2008 and still continuing now im 16 almost 17 and i hope it will never end so i can be even better in programming.
So that's my story i deleted some stuff what was not very interesting i hope you like it.
And remember Kill all that fucking bugs !!!!!2
there's this club at my school, called STEM, and another called "science olympiad." both are pretty cringey, bad, or boring. science olympiad was just for the college credit. during the intro to the club, they said there was a coding section. "game on!" is what they dubbed it as, where basically you're timed to make a game in scratch. i'm fucking tired of it. why is scratch considered programming? don't get me wrong, i'll write an OS in PHP before i say code.org is better than scratch, but fuck it. its a fucking interpreted language that's interpreted by another interpreted language. i don't understand why this shit is still used. scratch isn't good. please codecademy or w3schools or just write in binary directly, but not scratch. my hand hurts from dragging and dropping, my eyes hurt from the light theme, my imaginary cat committed suicide after learning about scratch's mascot. fuck it. now onto stem club, fuck it too. not for being bad (well, kinda), but for not being more recognized. it should be above science olympiad, and other clubs because you actually have to think instead of just memorize. but alas, we still were offered the choice of scratch to program the robot. sigh. arduino much? i guess not. challenging much? nope. was i elected "leader"? with three of my friends out of the eight there, i could have been, but no. effort in this would be depressing.1
3 weeks of search, but now, I have a miniUPS with solar and dc input for my raspberry pi Zero with cam.
I have developed a little ble4 iOS app to monitor all voltages and relay states.
All this shit from China, about 50$ except rpi and cam.
What you think?9
Doing Arduino in school, well normally i code in java/php.
But its better than the stuff, we usually do here😊4
It all started 9 years ago when my dad buyed me an arduino then it goes on and will go on for my entire life.
And yeah i was studying on my own no help at all no curses just try and error.
TL;DR don't fiddle around with batteries if you aren't ABSOLUTELY sure what you are doing
For my arduino project I need to use 18650 Li-Ion batteries. They are pretty awesome but at the same time pretty dangerous if you don't use them the right way. You need protection boards etc. or they can/will go BOOM.
So I am looking around Amazon to find some good quality ones and reading some reviews made me wanna cry.
People were REMOVING protection circuits from the batteries and even removing the foil around the batteries. NEVER EVER FUCKING DO THAT!
I also found out that these are the batteries used in E-Cigarettes and now I really don't wonder anymore why they explode so often. People fuck around with the batteries just so they fit into their vapes, or reduce the resistance of the coil (the thing to heat up the liquid) to an absolute minimum so they can get more watts. A side effect of this is that a lot of current gets drawn from the batteries (>20A or something) which makes them go BOOM if no protection/fuses are used in the circuit.4
I lost a usb receiver for a wireless mouse once. I thought I'd make a fun project out of it and decode it using an infrared receiver and an arduino. I didn't even read into how this mouse worked. Turns out, it didn't send in infrared but in radio waves. I received nothing on my receiver. I still didn't want to have bought this idfrared receiver for nothing, so I spent time decoding the arrow keys of my TV remote and ended up being able to use this remote as a mouse. Of course, it's insanely annoying to use. But it still was a fun project.
New Kickstarter project reward in the mail :)
The tau (yata), smaller than I expected! Excited to find a tiny project for this!7
So I made this simple lamp that shows what is current build status on Jenkins CI.
- Change color depending on Jenkins build status
- Automaticaly turn on/off if user is logged on Hipchat
- Beam effect if somebody makes coffee
- Unicorn effect if food is delivered
- Big red arcade button that can send random message to somebody on Hipchat
//I already write this but this is short version
When i was 8 i write my first "Hello world !"
In C and still continuing but i even learn Java thats all languages i need but lot of people ask me whats was the first moment when i say yes to programming ? It was my dad who did it by sentence "Do you want arduino its Programming board" now im 16 (8 years experience in programming) and im proud of me and my family too i choose IT school but i know already a lot from real life so im feeling bored in class.
Thats all i hope my programming journey will never end and Remember Kill all that fucking bugs !1
What's your ugliest line of code? Mine is
I have no idea how it worked, but it did4
when i was 8 years old dad order me an arduino and i started to look at the code ofcourse i tried pascal and that things before but this was my first real step into programming then after a mounth i decided i should try programm some app so i was learning C from english sites and then started to get a timer done without any library only the basics library for math and when i finished it i feel i want to do that for rest of my life but before my dad learn python so i said i want to learn a programming language Python but in this age it was hard so i taked pascal that was like wow when Hello world appears on screen and then when i was 10 years old i created 2 apps without bug what was woooow for me ofcourse small apps but woooooow and today
after 8 years of programming in lots of languages i choose d my 2 primary C and Java (i still need to learn a java) but mainly C and thats my story how i started orogramming and whats make me to think about programming and my dad to buy me an arduino so the moment when he started electronics looking on PC components and so on and that was the moment when its all started im happy from me that i dont fail
I wrote an application to demo at a convention coming up. Which feeds tcp data from arduino devices to real time d3 maps via websockets.
Demoing today, and the owner starts talking about a project he saw that which lit up some lights to a device in the room via the internet. In this same meeting he casually mentions he wish he had developers who could do that type of stuff.
The disconnect is massive and soul breaking.1
- Leave current shitho...job and join something exciting
- Draw at least 1 manga chapter, im fine if its a one shot or something, i just wanna do it
- Master ocaml
- Move to a big city
Will happen, just not necessarily in 100wks:
- Arduino up my car
- Start a company
- Have at least one open source project that is somewhat successful. Id be more than happy with like 20 stars on github. Currently working on a REST backend generator, that might be big.
- Get a cat.
I hope will happen at least sometime:
- Move to USA
- Finish a Volkswagen collection
- Have a career as an anonymous dubstep artist3
So I'm using a temperature sensor to detect the air temperature in a box. I'm getting readings of about 225°C. Thinking that's weird I check the algorithm converting the input to celceius. Seems legit. Okay must be hardware, let's try resetting the sensor into the board. Turns out the readings weren't lying... Long story short, if you reverse the polarity of a temperature sensor you get a very powerful heater...5
Arduino just Rick Roll'd me. Their buzzer example code plays the tune...so I hooked it up to a photosensor and threw it in a cabinet...next time my wife opens the cabinet, the light flooding in will trigger the song. I have a comfy couch 😂4
Just spend 35 € in two arduino uno, a generic kit and sensor kit. Now must wait a month...
Already thinking on shit to do...11
I'd never imagine that my interests would shift from webapps and servers to embedded devices and measuring 500volts with an arduino....2
When you find another student code..... it repeats the same code for the LCD in 340 lines of if ;-)2
My father works as a hardware developer in a medium-large company.
We(dad+me) also design and build test equipment to be used at said company.
Usually, these are Arduino controlled pieces of harware. I write the code for these projects.
One of these projects had a simple communication system over serial(human readable commands).
I wrote a simple WinForms application (which loads a config XML and has a GUI to send these commands), because appearantly it's too hard for SOFTWARE DEVELOPERS(who are writing code for the device, which the test equipment is for) to use hyperterm(or some other serial monitor) to control it, when given a step by step maunal.
I get complaints, that this application(img) is 'not working' or 'too hard to use'. I works perfectly.
All you have to do is:
1. select com port(to wich the device is connected)
2. press connect; wat until it says "connected" After that, the option to "load config file" unlocks.
3. now, select the file(press '...' for openFileDialog) and press load.
4. Now the deafult settings are send immediatly. You can then, select the options from the list on the left, and change them with the radio buttons. The changes are automatically sent.
All these morons seem to be able to do is:
1. check the "expert mode" checkbox(opens up more options(unnecessary for their use case))
2. mess it up
My father often complains, how bad the software devs(at that office) are.
They are (almost all, some exeptions) incompetent pieces of shit from India, who take age to do anything.
I had to look at some CVs and Resumés of them(both SW and HW). ( My father is the team leader and head HW dev and had to hire an HW dev They were full of bullshit and spelling errors, bad language and more.
Tl;Dr; Wrote software for use in my dad's company, software devs to stupid to use it.9
Soon I will be talking about a new communication protocol between Raspberry Pi and Arduino ... At the meeting ... IoT enthusiasts.
I am excited and slightly upset.9
I fucking HATE the Arduino environment right now.
First of all: you can't fucking put your project files in a sub folder to the main file. I can't write #include "src/motor.hpp" because it doesn't fucking know what that means.
Turns out you have to put all your header files in the fucking library folder common for all Arduino projects!
Secondly, you can't call your cpp headers hpp, they HAVE to be called h, or the Arduino environment throws a fit and begins whining about being unable to find the fucking files.
Not just that! You can't reference other Arduino libraries from within your library because the environment doesn't know what that means either.
To get around that you need to fucking include the library in your main file, AND THEN you can include it in the library file that uses it. After all, it should be the programmer's job to soon feed a so called IDE, right?
I'M SO FUCKING DONE WITH THIS SHIT! 😤
I'm ready to either program the Arduino directly with an AVR programmer or even port the entire project to the raspberry pi where I have a proper fucking Linux environment with a proper fucking directory structure so I can code proper fucking C++.
Hell I'm even fucking willing to spend all weekend porting all the code myself if necessary.
It's not reasonable that correct fucking C++ code is invalidated because I called the files something "wrong" and put them in the "wrong" directory.
"user friendly project board" my ass11
So I bought a smart watch to go with my Samsung Galaxy back when I was 12, and upon inspecting the watchface maker app I came across lua scripting files. This amazed me. Animations, complex math, hexadecimal color system, variables, sensors...
I spent about four months
learning/experimenting with lua until I discovered arduino and C++.
I am now 14 and have been fascinated with robotics and learned java and dos since.2
Evaluating some WiFi ESP8266 modules. 01, 12S, 14. Programming is very simple with Arduino IDE and esp8266 community.
This iot world really excite me.
ESP-01 about 1$, oled display about 2.5$...
Project is to create my own HomeKit modules. (Relay switch, temps, garage door, etc..)6
What would be the most awesome thing you've done with technology yourself ?
I mean, having Arduino to run your smart house is pretty cool, but is there a way you can top that ?9
I spent a whole day, finding out why I getting wrong, random data from keyboard, which I modding at the moment. I tought - there is nothing can be easier than interfacing AT keyboard with avr. but... after many hours of googling I got it. My fucking DINOSAUR have XT(IBM PC) keyboard protocol (I even didn't know that it was existing)1
Was helping my dad with his Arduino project when I realized something beautiful about being a programmer.
I have never worked with Arduinos and I'm clueless about hardware stuff but I was still able to debug, go through documentation, example code and fix the issues.
Programming is equally about the passion, dedication and ability + curiosity to solve a new problem as is writing some piece of quality code.
I might have taken a while to realize it but it sure is a wonderful feeling.1
That moment you ordered a "starter set" for arduino just for the cables, servo and sensors, buy an arduino uno because it wasn't listed in the set description and now you have two...
Never thought it would be so cheap (25€ for the set apparently including a arduino uno)9
Cause I had to step away from coding for a bit... and might as well do something else nerdy. #homemade #bigassengines #iot #arduino8
Code works yesterday with the hardware but but doesn't work today (ﾉꐦಠヮಠ)ﾉ, they only work when they want
Making my own metro style watches with 7 segment 4 digit display and well arduino and i have created my own time in it without delay function and damn i was thinking it would have lot of bugs as last version had like it was 1 second ahead of real time every time hour++ and now its fixed somehow.
Its pretty cool and will post photo of it once its done.
Also did you fucking now that analog pins can be used to digitalWrite ? I didnt. That makes a lot of fucking things easier.
Also yeah it also have that blue light when you are in some light.3
My project just went from "we can use one of those arduino boards, they are cheap and easy to use" to "we need a mass storage solution for that, maybe we can buy a shipping container and put it down on a nearby field as an on site storage". I love the things I would do if I had the resources for this kind of project!
Sort of follow up to: https://devrant.com/rants/1351833/...
Now I can turn on/off my PC over the Internet. A little hacky but it works like a charm.
I'm using an Arduino IDE compatible ESP-12E with on board WiFi and a homemade optocoupler (LED + photoresistor).
Hopefully more projects like these are coming 🤗4
My first C++ app for a client was leaking so much memory that Windows kept crashing too.
So I had to press Ctrl-Alt-Del every few runs.
But the laptop running the app was enclosed in a box, so the keyboard was inaccessible.
My hack was to set up an Arduino, a push button outside the box and a wire. Asked the steward to push the button every three people trying the system. So the Arduino sends Ctrl-Alt-Del and the app was running again.
The client was happy :)
Every time I'm organizing a beginner level programing workshop with a especific language, someone asks if we'll get to use Arduino with it.2
A few years ago I had a Minecraft server and wanted to create my own plugins for it. I failed, but never stopped trying.
Did an internship at a software development company and got an Arduino as a gift; I was hooked - controlling stuff and seeing that stuff happens because of my code? Count me in!
Took classes in school that teach me coding and databases. I also taught myself a bit of C#, Java, C++ and PHP.
5 years and 3 internships later, I'm finally starting my paid training for the job as a programmer next year at the company that gave me the Arduino.
Gaming is what got me into coding, and I couldn't be happier. :)
The feeling when your brothers think you are a magician cuz you play music by pressing lemons with arduino.
Then they tried and it didn't work ubless I was holding them.
When life gives you lemons, don't do a lemonade. Do an arduino program and play!1
Did anybody ever to use this arduino module (RC522) ? How to test that module is working or not? I've tried many example in the internet, but still not working4
I just finished running my first Arduino program, I am perfectly able to switch the led on and off.
Should I add it to the CV!!!
Or should I build the whole traffic light three leds first?!?
I am confused....2
Decided to try use the Arduino IDE for one of my ESP8266s. Guess I will have to learn from scratch as the end goal is to build an Android App to control this little boy, then move onto computer vision using a raspberry pi instead.
Anybody got good resources for Arduino IDE + ESP8266?18
So the gf just came home, threw this in my face (literally, but not intentionally) and said "they were giving these away, thought you might have fun".
I've only heard of raspberry pi, arduino and such, but never actually used one.
Anyone have any experience with this thing in particular? Can I actually do anything with it or is it mostly for learning?9
Most successful project at work: NodeJS utility for storing loads of measurements from an application running on various other systems and providing fast ways of getting at that data. No DB, just CSV files broken into time periods. Also has a search function written in C that can very quickly find all user sessions matching the criteria. It's not perfect, but it does the job pretty well and I can tweak the storage engine as much as needed for our use case since its all custom written.
Outside of work: Incomplete right now but I soldered some wires onto an old sound card and managed to get an Arduino to configure it and play some notes on its FM synthesis chip. Still quite a newbie to electronics so this was quite an achievement for me personally.
I wanted to build a smart home system with arduino or pi when I'd have my own place. But since that is a ways off, let's park that.
Just learn me some linux, python, node, typescript and some js frameworks, maybe handlebars, knockout and angular?
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
Seeing code control things in the real world is the most satisfying thing ever, I'm getting a robot car kit Soon and I'm so excited3
Here in Spain instead of calling it CS we use the term "Informática", which is closer to the broader IT. Which means that hyped me enrolled in all the "Informática" courses since high school, only to be shot in the face by yet another "Let's learn PowerPoint" course. I honestly hate that.
I've been giving small courses (one week long) to kids at age 12-16 about real programming, starting from scratch to real-world arduino or Java, because that is what I hoped I would have found at their age.
Why the fuck does python think that 50 <= 10 ????? This is so annoying!!!
Anyways.. I am working on a devrant client for the Arduino for matrix display..5
Hey guys, my gf and I want to do something with the Arduino we got. We are getting a CS degree, so programming is not a problem, but we have quite basic knowledge of electronics.
What could be a cool simple (but not too introductory) project we could do?
The arduino came with a bunch of sensors (ultrasonic distance sensor, humidity, ...) some input (joystick, RFID reader/writer, buttons) and some outputs (LCD display, 8x8 LED matrix, bunch of color and RGB leds).15
Because old hardware means learning the hard way sometimes, I've had to purchase more goodies.
On my last update, I installed the rs232 shield which may have inadvertently been wired backwards for Tx/Rx from what im used to. I assume it is backwards to most db9 serial ports because most Arduino or other projects you would do with a pi have serial "in" connections like old routers and devices that would be "controlled" rather than the other way around. Anyway, according to a video on youtube showing a guy turning an old machine into an IRC client via raspberry pi, this shield may be swapped. That means that instead of interfacing with the old machine via a null modem crossover cable, I need a straight cable with male db9 on both ends. I unfortunately tried using the null modem crossover cable which was reversing the reversed pins all over again. I hope these next few days are more fruitful now that I've bought a straight cable and db9/25 adapter.
The good thing is that I managed to get the pi to recognize its new serial port. I also dusted off my DOS skills and my serial card in the 5150 seems to work.
I literally banged my head after nothing worked. Im hoping that the tx/ Rx is solved soon.
Oh and that AT to PS/2 adapter will allow me to use by IBM original Model M Keyboarf rather than the fun model F.
Haha its fun reflashing memory on router via arduino as serial connector.
(Just installed OpenWRT)
Well im Linux guy. Sooo it was builded by somebody else sooo fuck that lets build my own image with YSB support and looooot more. This router will be a beast.
So I have to give a technical presentation in front of 50+ people in 6 days. I'm just about shitting my pants right now. And thinking what to talk about.
Any ideas? Mine are:
1. Arduino and Raspberry Pi--the future of automation.
2. Privacy and how personal information is now another way of profit.8
They said they make their coffee with ****** Arduino !! So I went back to check out the machine. Not what I expected....2
Anyone got any cool arduino/pi projects they want to share? I'm currently iteratively building a self-hydrating cactus that measures the soil moisture content and sunlight and logs it to my server, just because i can, then waters the cactus for me if it needs it.4
Throughout the years I slowly bought more Arduino boards and stuff. But then RadioShack closed shops in my country. So my inventory has remained relatively small.
But now I have been given a ton of stuff. Boards, sensors, wires. More than what I know what to do with.
Someone, please give me a cool project to make.8
I'm part of a robotics team in my highschool. We work on autonomous robots, which are driven with microcontrollers like the Arduino and "bare" Atmel chips.
Last year we were using a protocol called CAN. CAN is a bus which runs at 1Mbps and it is quite easy to connect devices together. (It's a bus ofc it is). BUT... it needs a terminator at the end, mostly 120 ohm.
Every year we are on a deadline and something broke on our current board and we needed to solder up a new one, but we couldn't find the 120 ohm terminator... ANYWHERE!
At end after searching for it in the workshop for 4h straight (12am- 4am) we finally found it, and soldered up the new board and guess what... it wasn't what we thought, the code was the problem.
After realizing the problem my teammate and I, in silence just stood up, packed our things and went home. Argh!2
Just set up my own IoT device for free thanks to the guys at Losant.
I met them at codestock a couple years ago. They were running a workshop with some Adafruit boards and at the time I had never seen anything like Arduinos before. I was fascinated. So I walked up and asked about it. They said they sold the chips just to demo their IoT stuff. I said I'd buy one. I then waited like 40 minutes for them to get their card reader working. They gave up and handed it to me, gratis. That started my dive into electronics from programming.
Few years later, I needed a remote temperature sensor to make sure a certain unattended appliance never got below freezing. I suddenly remembered that kit (now buried under my heaping stash of electronics), followed the tutorials, and had the exact thing I needed up and running in like a few hours, with all the bells and whistles I could want. And for free.
The icing on the cake here? I went on their website to look at a kit to replace it. I found one with even more goodies in it, and the entire kit cost less than the cost to go to adafruit and buy just the board alone.
Thanks Losant for being awesome. If you wanna do IoT anything, look em up.
Had Arduino for months, couldn't get MPU6050 working, because of a lack of time and other stuff. (Need it for long term college project, data logging blah blah)
Gave it to project teammate to figure it out, who hates even touching hardware, BTW.
He figures it out in an hour (adjusting baud rate for supply voltage)
I feel like a complete idiot.
Arduino project going off the budget and teacher asking for more functionality because "it can be made within 30 mins". We are working for 3 days and only things we are getting to know is new components that we need to add. That too in summer holidays... Fml2
Firebird V(arduino based bot) while charging made some sound and one of our teachers who teaches microprocessor came in and switched off the charging and when asked about she said she thought it was some kind of bomb.😑2
Does anyone know good resources to learn Arduino Programming?
I have a basic understanding of C, I am looking for a series (of articles preferably) that walks you through the available libraries and the electrical engineering side of things.7
My older brother introduced me to linux and android custom roms when I was like 11. So I flashed my old sony Ericson phone with custom roms from xda and tried Ubuntu live CDs on my mother's old 40gb hdd laptop.
But my introduction to programming was when I saw some videos about the raspberry pi on YouTube.
I was like 14 and programmed basic scripts for my raspberry pi in nano over putty or notepad++.
At first I didn't even knew to intendent but in the process of my first project (Python sunrise alarm clock with tts) I learned many valuable things about Python and Linux/Debian.
The years after that I learned more with my now multiple RaspberryPIs, Arduinos and other hardware.
So in conclusion RaspberryPIs, the diy/open source community and especially my brother introduced me to programming.
It's not my intention to start a web technology war so be nice do not do that 😁
Short Info: I'm "desktop programmer" (if that word exists) in either C # or Java 😎
question: I would like to create my own website, just simple to start with and maybe expand it later with eg. Arduino temperature meter
I have a look at 2 programming languages that I can build it in, Js or PHP. I just do not know which one to choose, I'm probably the most to Js, but what are the pros and cons of these 2 and / or is there a completely different programming language I have to take a look at?17
I want to start with Arduino stuff.
Some tips which board i should buy?
Or some tips for a Hello World or something like this?12
How about for once in your fucking life, before saying that my code is wrong because it is giving you errors, you fucking check to see if you have the semicolons in place
Fucking exam on Electronic Building Blocks... (aka Arduino). Program this thing ON GODFORGOTTEN PAPER! And then these retards put in that assignment line: max 5 lines of code, for a function that does nothing more than divide two shit eating numbers! And half of my apparently vegetative class fails this! When you were allowed to use your book and notes!
Oh and also, here's a seemingly pissed over image of an arduino with some peripherals, draw the wires. Draw! How the fuck do I keep 21 cocksuffocating wires on a page without overlaps or unclarity?
You guys prefer Arduino or Raspberry PI? I want something thst is beginner friendly but super intuitive. Leaning towards arduino5
A while ago I ranted about how the programming club in my school decided to start teaching programming with arduino and it was causing the students to drop out because they were finding it hard, well today I went to the club and got there 10 minutes late, yet when I arrived, thinking that they would have started without me, there was only 2 people other than the instructor and assisstant. And the funny thing is that although 90% of the class stopped going to the programming club because they were finding arduino hard, the instructor still doesn't want to teach anything else and is adamant on teaching them arduino.
What a fucktard3
So we were building this thing with a raspberry pi, a few sensors and a few motors but for some reason we could not interface a sensor with the pi (this is supposed to be trivial) so we interfaced it with an Arduino and had connected a pin on the Arduino to the Raspberry pi to alert the pi when the sensor reads something!
Not something we were proud of but we had time constraints and couldn't figure out how to make it work. Also, the thing we were building was just for a one time use so we thought it would be okay
Just bought an arduino starter pack, so excited to begin, but I can't start until after I've went to the gym and had dinner, soooo muuuuch tiiime. :D
Oh and I'm going to receive a cisco switch kater in the week to.program and hopefully a router to, next week is going to be awsome!
Jesus fucking christ.
I posted two rants today, both about trying to get my SD card reader to work on my arduino due...
After spending my whole day debugging, rewriting my code multiple times, cutting off anything that wasn't strictly necessary, writing my code procedurally, I finally decided to go and see what the library I HAVE to use is doing under the hood.
uint_fast8_t is NOT 8 bits wide on my due...
The bitshifts were "overflowing" (not really, just taking more space, which it had access to) meaning that my data was getting corrupt.
FUCK YOU FOR TAKING A DAY OFF MY LIFE3
*me discovering esp32*
Wow it's amazing!
i'll get one for my project.
*me working with esp32*
I ported my project to esp32, and.....
Wtf!?! after some time (unpredictable 1sec to N mins) i2c devices stops working. (i2c reset doesn't solve)
I lost several weeks trying to fix that
I felt so angry.
then I realized that it's not my fault
it is a bad implementation of i2c api by espressif.
at this point there is only one thing to do.
throw away the esp32!
(at least for some months waiting for espressif fix)
now i did a git revert and switched back to arduino.
now everything works and it's an awesome sensation!5
Well, I have only one:
When programming an Arduino, unplug the power cable. I nearly burned my Arduino Uno once...1
Just spent some hours trying to figure out why I was sending 65535 to my Arduino and it was recieving -1. Turns out an int has a size of 2 bytes, not 4...
Can you spot the difference?
So after getting the 37 sensor arduino module kit, i decided to label each of them. The 2 modules below are the last 2 in need of labeling...
One is a magnetic hall and the other is an analogue hall but I can't tell which is which. Googling just makes it worse since they are so similar the same image is often used for both modules. The only visible difference is one has a small resistor and what appears to be a tiny led.
Please help me identify them... asking for a friend.15
I started building a speed display for my bicycle. I calculation is processed by an Arduino Nano.
In order to sense the movement, a hall effect sensor is used.
- Unfortunately the displayed speed is incorrect... Can't find what's wrong :(6
Although some of you might say that arduino is a good introduction to programming, I believe you should teach a kid basic python or java before getting into arduino or raspi..etc11
Favorite affordable (<$200) beginner robotics kits?
Played around with Arduino a bit in the past, and Mindstorm, and a little vex.7
I want to do one project in which using arduino uno and RFID reader to take attendance but for this I have to need 100 reader card which is costly. So I thought using bar code so I can print barcode on paper and no need any card. So does anyone idea where I can get bar code module for arduino uno.4
Why the fuck does a freaking SD card reader for arduino needs a 3v and a 5v pin...... I have no space in my project and no experience at all to handle this.... and no fucking place for batteries....
Why is every of my project like this ..... cry15
My arduino based self flying plane..
Busy with it for more than a year now and progress is pretty slow because I want to develop a UI to control multiple planes and drones..2
Why can't I still figure this shit out?
This is supposed to be easy!
Its a freaking USB communication!
It IS easy.
So why am I stuck?
I got shit ton of stuff to figure out and this is where I'm stuck?
Trying to get my SPI SD card reader to work with hwlib...
I can't get the fucking library to do what I want...
(I have to use it, it's a requirement for the project)
There goes my fucking weekend...
Fucking pt100 sensors and fucking max31865 amplifiers! Waited a few months to arrive (working on an arduino bbq temp monitor and log server), ordered fucking everything, asembled fucking everything and this piece of fucking shit reads random values between -200 AND 980 DEGREE not even constant and sometimes gives under/over voltage. Tried a whole another max and different pt100s but every fucking time this random madness. WHY THE FUCK IT CANT JUST DISPLAY THE FUCKING TEMPERATURE???
Bought an Arduino and is finally able to learn how to make my software interact with custom hardware projects. Just wiring up a led and controlling it with software is amazing fun! Really looking forward to learning servos, motors etc.
Planning to make velocity sensitive midi drums with piezos in the future.4
I am slowly turning my home into an automated smart home, however. I have found a lot of responding devices (media players, sockets, etc..) but no trigger devices (buttons, sensors) I can work with.
Am I looking in the wrong place or do I really have to build something myself using arduino?
My setup is the following: I have a central server in my home that hosts a bunch of docker services that all server a certain purpose. All smart devices have static ips so that server can address them quickly. So it is capable of controlling many things. However, now I want to trigger certain actions through a hardware button. It seems I cannot find such a device....
Any other hads on here?6
I came from being a game developer, to doing VR/AR stuff, to mobile app/game development, to website development, to arduino, IoT and robotics.
... And now most of my time is spent on updating a portal site using a shitty cms with each page needing to be crafted manually using html and deadlines are always a few hours away, with revisions on the launch day itself.
I really wanna go back to the interesting stuff. :/2
How do you fuck around on a breadboard/arduino if you have sweaty hands? And don't say stop abusing Amphetamines.3
All of our products have a 16x2 lcd. Every April fool's we make all of them say some offensive/funny stuff. One year I made an Arduino controller for one of the other engineers units it took him a few hours trying to figure out how I was doing it 'cause he couldn't fix it.
The Arduino programming language (.ino) is so easy to understand and learn
But trying to make the equivalent in raspberry pi whether it's in c or python is just not as elegant as Arduino :(((6
So I bought a LattePanda off Kickstarter last year and only just put it in its new home. Struggling to think what to do with it. At the moment I only use it for streaming video. It's got an Arduino chip in it. What would you guys use it for?10
I'd like to get better at Java and get more into web development and Linux. Also, I'm thinking about learning Unreal Engine/Unity. And some other stuff with my Raspberry and Arduino.
It's gonna be a great year!😁
I had ".NET Developer" position. In reality, I was doing php, Android, unity, c on arduino, some desktop .NET and web too. Oh, I had to work with nodejs too. I was getting paid 6 times less than now...
What can I do with my spare Android devices/boards? Could I use the board with a custom OS for a Pi/Arduino analog?
I have 2 tablets that I have no use for. Googling suggestions are pretty simple and nothing that repurposes the hardware.7
The fucking nail to my coffin. This thing is so unreliable. I fixed on issue get the next one. Then get an error trying to make a http request, with little information on the web. Eventually switch to FTP which is working for a while. Then suddenly nothing is working properly. Even the serial communication has errors. This process took over 6 months. Constant debugging and headscraching involved. After hundreds of hours I give up. I'm going to switch to a Raspberry Pi Zero with an UMTS Stick attached. This is going to cost way more battery time but my project needs to be finished by july and I'm tired of this shitty little module.2
Think I'm gonna branch out from dev for a minute and try my hand mucking about with my arduino kit! Any cool ideas guys? Robot Arm seems to be my prevailing will so far4
I didn't see a post for it but a decent book bundle for Raspberry Pi and Arduino is on Humble Bundle at the moment.
HUMBLE BOOK BUNDLE:
DIY ELECTRONICS BY WILEY
Get Learning Python with Raspberry Pi, Electronics For Dummies, and more!
I have a friend that asked me to make an app to interface with Arduino when he realized that I develop Android apps.
The annoying thing apart from him nagging me to make it, is that he still doesn't know what he wants and how it will work...5
was making quine McCluskey calculator on Arduino, does 100% of work, didn't slept properly for 3 days, didn't bath for 5 days, investment ~90$.
group didn't paid their part of money.
The teacher just said keep the project on table and leave, I didn't even got to demonstrate it. FML.1
!Rant - birthday gift 🎂
3 days ago was my birthday and my girlfriend still has to buy me a gift, but she doesn't know what to buy. Now the problem is that I don't know either.
I'd like to start programming something related to IoT and maybe learn a bit more of C/C++ (I guess they could be useful to know), so I'm asking you, what should I (she) buy? Arduino or Raspberry PI 3? Is there a kit of sensors I can buy? I accept any suggestion!
Thank you 🙂13
I spent about an hour today working on getting an arduino board working before discovering that my IDE wasn't the latest version. In fact, it was outdated by several years.
Why are the apt caches so old? I keep my machine updated constantly but what's the point if it's locked at an old package forcing me to circumvent apt in the first place?1
So, I am getting bored with my personal projects right now. I'm thinking about dragging out my Arduino and Raspberry Pi's and tinker with them for a while.
I need some inspiration, though. Just wondering what my fellow tinkerers are (have been) working on.6
I was trying to test the ability of the Arduino Leonardo pro micro to emulate a keyboard. Loaded a example and modified it. But I made a dumb mistake and now the Arduino types as soon as you plug it in the same string over and over. So it can't be reprogrammed because the keyboard input of the Arduino is overwriting the mouse input (which is needed to select the port)...
Does somebody know how to fix this?4
i feel its a great time to be a developer we have so many toys to play with
machine learning, scientific python, nodejs, frontend js frameworks, nosql, NLP, elasticsearch, mongodb, open source .net, big data with java, arduino..., VR, 3d printing
what toys are you playing with?
The moment when your client gives you a Pi Zero and 4 IR transceivers, tells you it worked on Arduino now writes them a driver that bit-bangs them into 4 TTYs.4
I learnt C a while ago and didn’t use it for A semester. One day I needed to write some C code for a small Arduino project and I spent 20 min remembering how to declare an array.6
TL:DR I wanna scare the shit out of intruders, do you recommend Arduino or Raspberry Pi?
So, I live in a place kinda like a college, but everyone get their own room. There's staff 24/7, and obviously, I really dislike some of them. Otheres I just like to joke with.
Sometimes, I've thought of putting together a "system" which will probably make them shit a brick.
The way I would do this, is have an Arduino or Raspberry Pi connected to a sensor, which will trigger an airhorn somehow. Yes, and airhorn. They should shit bricks, remember?
That's the beginning tho. Later, if this ever becomes something, I plan on adding some system so it wont trigger when I open the door, along with flashing red lights when intruders opens the door.
I attached a picture. The smaller rectangle is my closet. First circle is the sensor, which I assume can just tell when the door moves, if I place it correctly.
The rectangle is the Arduino or Raspberry Pi, which should control it all as you probably already know.
The second circle is the airhorn. Not sure how I'm gonna trigger that yet.
So, does any of you have some advice or recommendations on how I can make this dream become true? Or even additional components to make it more efficient?
Last and most importantly, would Arduino or Raspberry Pi be best for this, is there a specific model thats better fit?10
Bleh, I fucking hate Arduino. I thought this Chad would teach me assembly for PCs, not Arduino. The boards don't fucking work half the time, I don't give a shit about blinking lights or motors, I don't want to do things with robotics, I just want to fucking code. Ffs, I'd rather write code that just makes a number increment and then quits, because then I wouldn't have to use that useless fucking Arduino "IDE".
Fuck you Arduino, fuck you so much.4
One day I decided I wanted to build robots.
And not kidding the reason I wanted to build them was because I wanted someone interesting to talk to and stil not kidding I even fantasized about a robot girlfriend... Lame I know I think I was a lonely little guy back then, though even after 7 years or so it doesn't feel as though it's that long ago. Maybe because things didn't change that much. Which is worrying but it's not the topic so I will pass on that future-past worries bullcrapper. After learning how robots worked and what made them function so things gradually led up to me being more interested in machine learning applications and software. I learned Arduino at first, I think I still have some messy circuits and old arduinos around. I only finished one robot though and it couldn't even support it's own weight. The servo motors were taking too many amps that heated up the little arduino even with a fan attached. Provably I should have made use of mechanics for robots books and calculated things first. But even though it couldn't walk properly I still felt success and I loved it like my own kid (me taking it apart was questionable but believe me). After that I focused more on writing code than using my hands to make things which was a pain in the ass if I might add.
After learning arduino and making that failed project of mine. I then picked up C++ wrote hello world program usual things a starter would do. It was the language I wrote my first game which I finished and this time it worked. But I never released it which was partly because I didn't want to spend a hundred bucks on a license for the engine and I also knew that it was a shit game. If I were to describe; lines in different colors come from the top you need to hit the lines with the same colored columns to break them. The columns changed their height and location on random. The lines sped up and gap between them decreased. Now that I think about it it wasn't half bad. But the code was written in game maker studio's version of C so I have no way to salvage it.
But I learned a lot of things from that project and that was the goal, so I would call it a win. I don't remember but after sometime I switched to python. And I'm glad I did, it's fun to code in which was the main reason I coded in the first place. Fun.
Life happens and time passes,
Now I'm waiting to enter college exams in a few months after hopefully passing them. My goal is to get into computer engineering which will be extremely challenging because it's the highest point department in the university I'm aiming at. But hey if the challenge is great the reward is greater right ? To be honest I'm still not sure about my career path. Too many choices. So I will just let my own road called <millions of similarly random events that are actually caused by deterministic reactions, to affect you and your surroundings leading up to a future which only the Laplace's demon can forsee> guide me. Wish me luck.1
Wish me luck. Starting today on building a modular CCTV camera and alarm system for my home.
Gonna try to integrate accelerometers on the windows to detect when the glass vibrates too much or for too long, as opposed to sonic glassbreak sensors, which also trigger upon my son crying.
In high school I had a digital media class, where we mostly learned Adobe design software and video editing and whatnot, but one project was to actually code using Programming (the software) and I loved it. Later that year I used a free project in the class to learn arduino per my teachers recommendation. Absolutely loved every second of that project, and have been coding ever since.
One of my best days as a dev has been watching an R2-D2 raising to life with the help of Arduino and Raspberry.
I've bought the little fella in december, and due to incompatibility within work and real life I had to postpone it until the future.
I've yet to write something T.T
I'm a complete disappointment to myself, I have no time for my hobby T.T
The only good thing is that I love my work, even though I have no time for real life 🙃
Excuse me for my bad english in advance. I am not a native speaker.
I wanted to ask if someone has experience with humanoid robots.
I am currently searching for a master thesis in IT and have stumbled upon one offer at which you are supposed to realize a humanoid robot. At the end the robot is supposed to be able to bring coffee to people. To come to the point. On the one hand I have always wanted to do something like that and I think it would be a lot of fun. On the other hand I fear that the project might be too difficult. In the offer it is said that you should assemble the robot yourself. I have a little bit experience with arduino but in general probably not very much electrical knowledge, only knowing the base principles. The time limit would be 6 months, which in my opinion might be very little time.
So my actual question is: Do you think that such a project is realizable with some help of the engineers within 6 months or something compareable? I fear that that the task itself would be a handful in this time span with a fully assembled robot.3
Have any devs found any interesting projects with a cars OBDII port. I've seen some arduino shields and libraries for it. Curious if anyone has any cool ideas.1
Trying to run a web page from arduino with some js in it to draw a graph. And it craps out with some error about start tag.
It works fine saved as an html file on my laptop.
that moment when you got just one night to prepare app for arduino based robot with pattern recognition. No hardware component with me and whole thing goes on asumption
Can't decide wether to get a arduino or a pi for a custom made fan controller or get a good cheap Chinesefan controller instead5
So last year we started off with an IOT smart home project combined with SAP HANA, everything went well with the hardware side of it. Wired up everything and functioning smooth as butter. When we try to connect to the HANA cloud db to store sensor data... we find out that Arduino isn't supported. A big FML!!2
anyone knows how can i find kontorland atari gamepad pin mapping? we are making an emulator for one of very old consoles but i couldnt find pin mapppings for these gamepads and probably we will switch to ps2 gamepad4
I am getting this Launch4j error(application unable to start ) in my energia software....can anyone help?1
So, I really need a laptop, because in is much more mobile, wastes less energy etc
But I'm quite low on budget since nobody will buy my 3 y.o pc for more than 600€. What laptop under like 650€ shall I get which will be good for Arduino and Unity coding?
My area of focus is getting paid doing shitty PHP, JS, CSS tweaking freelance gigs and save enough money so I can finally focus on learning electronics and make stuff with arduino, stm32 etc. Hardware interfacing is so interesting.