I'm trying to make a small system where a light detector (photoresistor) sends data to an Arduino UNO that sends it to a Joystick board (I'll be using only the BlueTooth module) and sends the data via BlueTooth to the terminal. Is that possible? I mean, I think yes, and if so, is my layout correct? I can't take photos directly here, but I'll try to take one ASAP! And feel free to ask questions, no hesitation!
Sounds a bit unusual, but until we see a wiring diagram hard to say. I never heard of a joystick module doing anything with Bluetooth other than joystick stuff.
What layout?
I know mine has a bluetooth module.
still waiting on wiring diagram and code in code tags plus if there is an error log post it also in code tags.
Also I haven't powered it up yet in fear of damaging my components
You can only damage a board if you applu 5V to a 3.3V pn, or more than 5V to a 5V pin. (a bit of over simplification, but close enough) Wire the circuit up, draw it and post a picture of the drawing. Someone will tell you if it is ok or not.
I just drew it
Look at the diagram I made
Horrible drawing, just hand draw it. It doesn't look dangerous though. What is the top box. Also I am including an UNO pinout, do you see a problem? Details matter!
thank you
and dont feel bad I agree the drawing is terrible too
Here is a clue. Some pins are input, some output including power. Without experience, you need to read the datasheet especially the power tree section.
Thats ok, I have been messing with computers for over 60 years and I still can't make a drawing except by hand. Being autistic I can only learn certain (largely unknown) ways and have yet to find a drawing program I can figure out. I did find one many years ago but while I was dithering over the cost they took it off the market and replaced it with something way more complicated.
Try using this free, online app. You can find the Arduino you want on the left, scroll toward the bottom.
I see four boxes in your drawing and only three devices in your picture. Make another attempt at a drawing... try this way:
- Draw and label boxes atop each other, adding space if side-by-side:
+------------------------+ +------------------------+
| BOX 1 | | BOX 2 |
| | | |
| | | |
| | | |
| | | |
| | | |
| | +------------------------+
| |
| |
| |
| |
+------------------------+
+------------------------+
| BOX 3 |
| |
| |
| |
| |
+------------------------+
- Label pin numbers (I only know the Uno pins)
+---|EXT|--------|USB|---+
| PWR A5/SCL |
| A4/SDA |
| UNO AREF |
| GND |
| IOREF SCK/D13 |
| RST DI/D12 |
| 3V3 DO/D11~|
| +5V D10~|
| GND D9~|
| GND D8 |
| Vin D7 |
| D6~|
| A0 D5~|
| A1 D4 |
| A2 INT1/D3 |
| A3 INT0/D2~|
| A4/DA RS CK DI TX>D1 |
| A5/CL GD D0 5V RX<D0 |
+------------------------+
- Connect pins to pins ALWAYS using PARALLEL lines.
+----------| USB |--------+ +-----+
| D13/SCK MISO/D12 | |E.CAP|
| 3.3V MOSI/D11~| |1k uF|
| Vref SS/D10~| +-----+
| A0 D9~| -| |+ +--------------+
| A1 NANO D8 | +----|-----+-----| VCC |
| A2 D7 | | +--+-----------| GND |
| A3 D6~|--|-|--|470R Ohm|--| SIG WS2812B |
| A4/SDA D5~| | +--------------+
| A5/SCL D4 | | |
| A6 INT1/D3~| | | +--------+
| A7 INT0/D2 |--|-|---| BUTTON |
| 5V GND |--|-|---| |=|
| RST RST | | | +--------+
+----| GND 5V DO GND TX1 | | |
| +--| Vin DI SCK RST RX1 | | | +--------------+
| | +-------------------------+ | | | POWER SUPPLY |
| +-------------------------------+-|---| VCC |==||= MAINS
+-----------------------------------+---| GND |
+--------------+
First use pencil and paper to allow erasing and re-drawing lines. When all looks good, re-trace with dark pen.
Fin.
No offense, but... Are we here for a drawing lesson? Provably not. I'd like to get help, not a drawing lesson.
Also sorry if I offended you (really!)
Really... make a legible wiring diagram. Word problems can be solved, but circuit diagrams are preferred to show missing or misdirected connections. Keep the wires in the drawing parallel. Indicate where wires connect or "jump over" other wires. Label the connections. Label the boxes.