How to connect multiple peripheries on arduino


hi all,

i need , suggestions how solve problem , how design project. got task school make little smart house project arduino board.

requirements project needs fulfill are:

  • project need has display user can read status of system
  • need uses @ least 3 thermometers ds18b20 , measure temperatures of rooms
  • should has communication network , data should sent web server , establish controlling of arduino on network
  • has 4 relays control lights, air condition, heater

i new , don't have experience need little complete task, learn how make , diploma.

what confuses me have arduino nano 13 digital pins , multiple devices require multiple pins. can me overcome problem?

also have got ethernet module hr911105a, 16x2 lcd display , microsd card module. also, have 4 relays, 3 ds18b18 thermometers.


please me wiring , coding.

regards,
lazar :smiley-eek:

first off, need organize parts.  create simple hand sketch schematic , lay out pins need use specific things i2c connections.

your nano has 13 digital pins, , 8 analogue pins.  analogue 4 , 5 reserved i2c serial line.
analogue pins can used digital, or 1 pin can 'see' multiple switches save digital pin.

get serial connector lcd use on i2c.  2 wire.

your ethernet module uses spi, there 4 digital pins.  sd uses spi, add 1 more card on spi bus.

the temp sensors 1-wire devices. (4 pins)

you can use shift register 8 outputs, connect relays on that. if use shift register, can go on i2c bus. no additional pins or spi bus 1 additional pin.

not sure, think @ 9 or 10 pins, plus whatever ethernet card needs.

i guess, real question un-used pins, going want add else ?

this simple fact did not know scary. child's play part of project.


Arduino Forum > Using Arduino > Project Guidance > How to connect multiple peripheries on arduino


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'