# Electronics prototype circuit and code don't work - it's confusing

**URL:** <https://forum.arduino.cc/t/electronics-prototype-circuit-and-code-dont-work-its-confusing/1114758>\
**Category:** General Guidance\
**Created:** [April 13, 2023, 2:43pm UTC](https://forum.arduino.cc/t/electronics-prototype-circuit-and-code-dont-work-its-confusing/1114758 "2023-04-13T14:43:30Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![johnerrington](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/johnerrington/32/340106_2.png) [@johnerrington](https://forum.arduino.cc/u/johnerrington)\
**Post date:** [April 13, 2023, 4:34pm UTC](https://forum.arduino.cc/t/electronics-prototype-circuit-and-code-dont-work-its-confusing/1114758/7 "2023-04-13T16:34:50Z")

</div>

You are trying to achieve too much in one go.

> [@sgt\_sky](#):
>
> The circuit consists of an LED, buzzer, hall effect sensor, a two buttons, an i2c LCD display, and a DC motor.

SO to start get the buttons to control the LED. My page here will show you how to connect them.  
[Driving LEDs with an Arduino microcontroller](https://skillbank.co.uk/arduino/led.htm) (Fig 1)  
[Digital inputs on an Arduino microcontroller](https://skillbank.co.uk/arduino/switches.htm) (Fig 1 - switch to ground and input configured as pull up.

getting an LCD to work may not be so easy.

You will need to draw a schematic - to help US and also you.

> [@How to make a schematic you can post.](https://forum.arduino.cc/t/how-to-make-a-schematic-you-can-post/675103):
>
> When you submit a question on the forum you will usually need to add a schematic (circuit diagram). The tutorial that follows will explain some ways to create a useful image; however lets start by explaining how to add the image to your post. Its easy. Having created the image all you need to do is : Save the image somewhere convenient - maybe your desktop Start your post, and place the cursor (insertion point) where you want the image to be shown; [upload image to forum] 3: click th…

---

_[View the full topic](https://forum.arduino.cc/t/electronics-prototype-circuit-and-code-dont-work-its-confusing/1114758)._
