Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "arduino due"
-
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 -
First year at university, prepared to set up multiple electronics.
rPi, arduino Ethernet shield, laptop, and desktop.
Brand new netgear switch to satisfy my internet surfing needs....
After setting up my devices, I realized none of them have internet. Hm. The feed port on my switch wasn't blinking either. So I tell the front desk, and a short 7 days later the port is back on. Yay, problem solved.
One morning I arise to see the port dark and inactive. Furious I use my laptop to share an internet connection while my actual port is "broken".
Support ticket is reopened and this time I get an email saying the port was disabled due to a security issue.
Me: what's the issue?
IT: there was more than two devices connected to the port
(OnLy TwO dEvIcEs PeR port???)
Me: oh okay I will only connect two.
The next day the port is disabled, again.
Me: can you tell me why it was disabled?
IT: a switch was detected being used, security error.
Me: how do I connect more than one device to the port without a switch???
IT: ...
IT: Please only connect one device.
🤔10 -
Hey guys.
Well I've been down last months due to a burn out and medication.
Last ween I finally got my first arduino, then second and two kits...
Now I'm addicted...
Stopped Proscriating with games.
Started learning electronics and shit, specially , started cleaning... And just did my first project :p13 -
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... -
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.
APPARENTLY...
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 LIFE1 -
Avoided IoT(IoS - InternetOfShit) for a long time now, due to the security concerns with retail products.
Now I looked into 433 Transceiver + Arduino solutions.. to build something myself, just for the lolz.
Theory:
Smallest Arduino I found has 32 KByte of programmable memory, a tiny tiny crypto library could take around 4 KBytes...
Set a symetric crypto key for each homebrewn device / sensor / etc, send the info and commands (with time of day as salt for example) encrypted between Server <-> IoT gadget, ciphertext would have checksum appended, magic and ciphertext length prepended.
Result:
Be safe from possible drive-by attacks, still have a somewhat reliable communication?!
Ofc passionate hackers would be still able to crack it, no doubt.
Question: Am I thinking too simple? Am I describing just the standard here?14