0

Its my first project with an Arduino, so please bear with the dumb questions.

For this project of mine, I need an Ultrasonic Sensor, a Gyroscope, a Buzzer, three push buttons and an 16x2 LCD.

Can I connect all these components at once to an Arduino Uno? I mean will I run out of pins or not? Should I go for a Mega 2560 (will have to buy one though).

Edit: a GSM sim800 as well lol

asked May 26, 2019 at 5:32
3
  • 1
    ultrasonic s. 2 pins, buzzer 1 pin, buttons 3 pins, gyroscope i2c? 2 pins, LCD i2c? same two pins, not i2c LCD 6 pins. Uno has 13 pins. Commented May 26, 2019 at 6:27
  • Yeah getting I2C for LCD, but I don' think the gyro comes with one. Here's the link to it: gyro Commented May 26, 2019 at 8:49
  • The gyro is I2C too Commented May 26, 2019 at 9:25

1 Answer 1

1

I think you're fine depends on the gyroscope model and lcd. -For ultrasonic sensor thats 2 pins -the lcd needs at least 6pins but with an i2c adapter you only need 2 pins -3 push buttons 3 pins -one pin for the buzzer Plenty of room left on the uno

answered May 26, 2019 at 7:33
1
  • Thanks for replying. So if I get a i2c, I'll be good to go? Here are the links to the components: Gyro Ultrasonic I2C Buzzer Commented May 26, 2019 at 8:40

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.