![]() My smart home also employs the concepts of technology abstraction, meaning my smart home is also technology agnostic. This maximises reuse across my many smart home projects, making it very quick and easy to develop and test new smart home capabilities. These ' slave processors' can then do clever stuff like local control, self-monitoring of performance, local signal conditioning and rate limiting, send warnings and errors, or host some functions locally. Over my many years doing smart home (I started in 2004), I have developed my own library of code for Arduino processors and this includes functions to integrate it into my distributed Home Control System and connect numerous types of sensors. This seemed to work fine as well :-) Smart Home Integration The next test involved getting the networking working. My first tests involved setting the output of the dc-dc converter to 8.0V dc and checking I could power the Arduino via an external power source. Pins 38 to 45 exposed via a 10-Way DIL connector. ![]() Pins 30 to 37 exposed via a 10-Way DIL connector.Pins 22 to 29 exposed via eight 4-way Molex connectors.Analogue pins A0 to A5 exposed via 4-way Molex connector.Digital pins 2 to 9 exposed via a 10-Way DIL connector.The following summarise the pins exposed via connectors: This exposes 8 digital IO pins via 4-way Molex connector. The fourth board functionality to be replicated is that of the Smartisant 8-channel IO Board IO1. The other two 10-Way DIL connectors will remian though. The first of these 10-Way DIL connector will be replaced, to directly expose the Smartisant 8-channel IO Board IO1 functionality. This exposes 24 digital IO pins via three 10-Way DIL connector. The third board functionality to be replicated is that of the Smartisant Arduino header board. It also has space for a resistor to enable A0 to be used for Dallas 1-Wire and space for capacitors on the other analogue inputs. This provides the RC network for improved reset, exposes analogue inputs A0 to A5 and a 10-Way DIL connector for pins D2 to D9. The second board functionality that will be replicated is that of the Smartisant Arduino Shield SHLD1, which is described in a lot more detail here. The maximum output current that can be drawn from the on-board 5V supply is 800mA and on 3.3V supply is also 800mA. You can't use a 5.0V dc supply on the Vin pin because of the voltage drop across the regulators. An on-board voltage regulator typically accepts 7V to 9V dc but, will handle voltages as high as 18V dc. The board can be powered directly through the micro-USB connector, or via the Vin pin. These are covered in more detail on my Smartisant website. The board is compatible with Arduino Mega 2560. The Mega Pro Embed CH340G / ATmega2560 board is based on the ATmega2560 microcontroller and the USB-UART adapter CH340. The maximum output current from the 5V on-board supply is 800mA and the 3.3V supply is also 800mA. The voltage regulator operates in a range of 6 to 9V DC. The board can be powered directly through the Micro USB connector or via the V in pin. The board has a micro USB connector to allow you to connect the microcontroller to the computer and to use the Arduino IDE. The Arduino Mega Pro (Embed) CH340G / ATmega2560 board is based on the ATmega2560 microcontroller and the USB-UART adapter CH340 and is compatible with Arduino Mega 2560, with identical functionality. I2C support exposed via a 4-way Molex connector.24 digital IO connections exposed via 3 10-Way DIL connectors.8 digital IO pins exposed via 4-way Molex connector.6 analogue inputs exposed via 4-way Molex connector.The objective is to create a very small, powerful, cheap, single board slave processor with Ethernet connection and lots of IO capability. ![]() This is an 'embedded' version of the Mega 2560 and is much more compact. The focus of this project is to evaluate and integrate the Arduino Mega 2560 Pro into our contextual smart home, so that it becomes another one of our smart home building blocks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |