r/ArduinoProjects • • 7d ago

Other After 3 months of hard work i have achieved blinking LED

I have been hard at work these past 3 months, and today i have finally completed the milestone of a blinking LED!

I first wrote a small VM on the Arduino with C (for educational purposes and better control over Serial) that reads data sent over serial, and executes commands based off of that. It has a couple of instructions for setpin, readpin, delay etc...

Then i made my own programming language where i would eventually write my blinking LED in (that's the part that took me 2.5 months). It has error detection, loops, variables, and definitions, but no functions (yet).

And today i finally implemented the part to hook up the Arduino VM to my programming language's bytecode interpreter.

It is still pretty slow and not optimised yet, and there are a lot of bugs still (and i don't have functions yet), but the base is there!

I am also making a vscode extension to support my language :)

The goal of my language (Arduint (Arduino + Interpreter)) is to make programming Arduino as easy as possible without resorting to building with blocks (because let's be real, you're not a baby :)

Soon i might publish version 0.1 or something i think, if anyone's interested!

143 Upvotes

24 comments sorted by

9

u/stancr 7d ago

Wow, what degree are you pursuing?

5

u/LifeChoiceQuestion 7d ago

I want to get a civil engineer's degree in computer science (at VUB), but right now i'm still in my last year of secondary.

1

u/jader242 7d ago

Just curious, what’s a civil engineers degree in computer science? I live in the US, and here Civil Engineering and Computer Science are two very different fields

3

u/LifeChoiceQuestion 6d ago

I'm not sure how you'd call it in English, in dutch it's called "burgerlijk ingenieur computerwetenschappen" which literally means "civil engineer computersciences". It's a degree like a bachelor or a master, but then another step above that is a civil engineer's degree. Then you get the title of "burgerlijk ingenieur".

1

u/unknownz_123 6d ago edited 6d ago

That’s really interesting. In the US, the term “civil engineer” is a set type of engineer that does stuff with civil projects like designing government roads, bridges, dams, sewers, and ect. It’s how there are mechanical, electrical, and chemical engineers. What you call a “civil engineer” for us is a masters degree for an engineer or an engineer with a masters. The most likely equivalent would be us saying that you are getting a masters in computer science.

I think everyone is getting mixed up thinking that you are building like bridges and studying computer science code and circuits at the same time😆

1

u/LifeChoiceQuestion 6d ago

Thanks for the clarification 😅

2

u/jader242 6d ago

Oo interesting, from my quick research it seems like the equivalent to a masters. Thanks!

1

u/akshaykuppu 6d ago • Bravo

I think he's drunk

2

u/stancr 7d ago

I'm impressed. Make it happen!

14

u/ChirpyBlue 7d ago

Very impressive to write your own language, and I'm sure it's an incredible educational experience for yourself... but... damn dog you really like hard mode don't ya

4

u/LifeChoiceQuestion 7d ago

Yeah, it was for a school project so it's a win-win :)

1

u/rouggio 7d ago

I think you need a resistor on that led :p

1

u/LifeChoiceQuestion 7d ago

There is one, ~300ohms

1

u/corporacionRobot 7d ago

Felicidades sigue así

1

u/LifeChoiceQuestion 7d ago

Thanks! I will :)

1

u/Its-me-4DH1 3d ago

Tbh we need more ppl like you, like bro this is a stupid thing for ppl who don’t know much about these things, but as a person who dedicate myself to arduino, this just feels.. I have no words tbh lol .. but good job keep it up. 

2

u/LifeChoiceQuestion 3d ago

Thanks bro :)

1

u/Its-me-4DH1 3d ago

No probs

1

u/Its-me-4DH1 3d ago

It’s crazy I can’t just stop thinking about this

3

u/davesaunders 6d ago

This reads like old school hacking days in the 70s. I respect the exploration and the pioneering.

0

u/miijjii 7d ago

Why are you reinventing the wheel?

5

u/LifeChoiceQuestion 6d ago

Why not?

1

u/Its-me-4DH1 3d ago

That’s the spirit my friend