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

  • 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. – Juraj May 26 at 6:27
  • Yeah getting I2C for LCD, but I don' think the gyro comes with one. Here's the link to it: gyro – SQLinjector May 26 at 8:49
  • The gyro is I2C too – chrisl May 26 at 9:25
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.