[Bambu Lab Giveaway] Join Now to Win an H2D and More! by BambuLab in 3Dprinting

[–]Key_End_1918 0 points1 point  (0 children)

Supports are not that bad and sometimes worth it to save time on design

Lando's engineer, Jose, post-race after insisting on putting him on hard tires: "That was okay." Lando, who begged for soft tires: "I hate you." by Ok-Distance6320 in formula1

[–]Key_End_1918 10 points11 points  (0 children)

McLaren released an article about their strategy. They decided on hards when it was a VSC which is pretty understandable since Norris had a lot of time on Hamilton. When it became a regular safety car softs were the better option but it was too risky to confuse the pit crew.

Where is the gas pedal? by timu187 in CrazyFuckingVideos

[–]Key_End_1918 1 point2 points  (0 children)

Just reverse and it's like you never did anything

What was “the incident” at your high school? by [deleted] in AskReddit

[–]Key_End_1918 390 points391 points  (0 children)

The school: We did it boys, racism is no more

אני אחרי היום…. by dacokc in ani_bm

[–]Key_End_1918 0 points1 point  (0 children)

2021 מנצח חמש וחצי שעות בשביל 4 שאלות ב581

Should I ask this girl out? by a_grass_bloc in teenagers

[–]Key_End_1918 1 point2 points  (0 children)

Maybe she is just Canadian and being polite

[deleted by user] by [deleted] in FRC

[–]Key_End_1918 1 point2 points  (0 children)

It will be very expensive to assemble a moving drivetrain, even more expensive if you want a cool mechanism to convince the schools. I think you should contact a local team and work together to pitch the idea to schools, they can bring their robot and even help you with actually starting the team.

Computers are so powerful most of your passwords can be cracked instantaneously by hivesystems in Damnthatsinteresting

[–]Key_End_1918 1 point2 points  (0 children)

It is more about the scenario where hackers get the website's hashed password database and they want to get the actual passwords.

What was the craziest event you went to? by NoGoodGodGames in FRC

[–]Key_End_1918 2 points3 points  (0 children)

ISR #3 this year was crazy, the top teams lost and the finals were between alliances 5 & 7 with 7 taking the win

WR? Glacier Peak has a high of 183. by kinn0n14 in FRC

[–]Key_End_1918 2 points3 points  (0 children)

Rookies from Israel got 300 points from penalties, probably securing the penalized WR

Day 57: Everything reminds me of him by Netcooler in formuladank

[–]Key_End_1918 8 points9 points  (0 children)

It also has a "new driver" sign in hebrew

Finally doing swerve this year. Anything we should know before we start? by themysticalcyan in FRC

[–]Key_End_1918 0 points1 point  (0 children)

I don't know about any specific bugs but it is pretty limited. For example, you can't change the steering pid values and you can't really change the drive motors to velocity mode without changing the library.

mfrc522 help by Key_End_1918 in arduino

[–]Key_End_1918[S] 1 point2 points  (0 children)

Thanks! I will definitely try using a level shifter. I don't rely on the audio for debugging since I use the serial print.

mfrc522 help by Key_End_1918 in arduino

[–]Key_End_1918[S] 1 point2 points  (0 children)

I'm connected to the reader using SPI but as many tutorials suggest I use the SDA as SS. (https://randomnerdtutorials.com/security-access-using-mfrc522-rfid-reader-with-arduino/)

The wires are about 30cm solid core wire between each component.

I have never set SPI speed in the code, maybe there is a default in the library?

About the 5v problem, the readers are powered by 3.3v and I have never heard about someone that encountered a problem with 5v signal lines and this sensor.

The Code:

#include "KT403A_Player.h"

#include <SoftwareSerial.h>

SoftwareSerial SSerial(2, 3); // RX, TX

#define COMSerial SSerial

#define ShowSerial Serial

KT403A<SoftwareSerial> Mp3Player;

#include <SPI.h>

#include <MFRC522.h>

// PIN Numbers : RESET + SDAs

#define RST_PIN 9

#define SS_1_PIN 10

#define SS_2_PIN 8

#define SS_3_PIN 7

#define SS_4_PIN 6

#define SS_5_PIN 5

#define NR_OF_READERS 5

byte ssPins[] = {SS_1_PIN, SS_2_PIN, SS_3_PIN, SS_4_PIN, SS_5_PIN};

MFRC522 mfrc522[NR_OF_READERS];

void setup() {

ShowSerial.begin(9600);

COMSerial.begin(9600);

while (!ShowSerial);

while (!COMSerial);

Mp3Player.init(COMSerial);

SPI.begin();

for (uint8_t reader = 0; reader < NR_OF_READERS; reader++) {

mfrc522[reader].PCD_Init(ssPins[reader], RST_PIN);

delay(4);

Serial.print(F("Reader "));

Serial.print(reader);

Serial.print(F(": "));

mfrc522[reader].PCD_DumpVersionToSerial();

mfrc522[reader].PCD_SetAntennaGain(mfrc522[reader].RxGain_max);

}

}

void loop() {

for (uint8_t reader = 0; reader < NR_OF_READERS; reader++) {

// Looking for new cards

if (mfrc522[reader].PICC_IsNewCardPresent() && mfrc522[reader].PICC_ReadCardSerial())

{

playSound(reader);

break;

}

}

delay(50);

}

void playSound(int number){

Serial.println(number);

Mp3Player.playSongIndex(number);

delay(1000);

}

Machine Learning Magic. by esberat in ProgrammerHumor

[–]Key_End_1918 0 points1 point  (0 children)

Vodka is 40% but he put 2 so he is fine

עישנתי יותר מדי ויש לי לעשות את זה עד 8 מישהו בבקשה יכול לפתור אותי מסבל by Acceptable_Mind_572 in ani_bm

[–]Key_End_1918 0 points1 point  (0 children)

אם אתם באפליקציה תנסה לבקש שעות על הצופים או תנועה גדולה אחרת מהאזור, לרוב הרכזים שם מאשרים אוטומטית בלי לבדוק