SafeDuino – Part 01: Down The Rabbit Hole

Arduino, an easily programmable microcontroller has been around the traps for several years now, but having been out of this “game” since high school I have not given it a second thought until recently when I have wanted to start doing a little home automation, or rather monitoring (for now at least) for my own purposes. Out of this has been born my first Arduino project, SafeDuino (cliché, sure but hey).

As the project name may have led you to believe, it is to keep things safe, but in this case I am not talking about physical security, I am talking about things that need to have temperature and humidity controlled, recorded and alerts sent when needed. Whilst there are commercial products that can do this, and probably by the end of it, will have been cheaper than building my own, the ability of the Arduino to do other things as well is where my interest lies.

Currently what I am planning on achieving with the setup is as follows;

  • Monitoring
    • Temperature
    • Humidity
    • Dewpoint (as its a calculation based on humidity and temperature
    • Magnetic Reed Switch (Door to the cabinet where it is house opening so I can track changes in humidity relative to the door opening)
    • 2 Buttons, used in conjunction with LCD Panel
  • Outputs
    • Turn on 12vdc LED Strip Lights upon the door opening (hey I might as well put the action of door opening to good use to use)
    • Turn on a 240VAC Dehumidifier (Ultimately)
  • Displays
    • RGB LED
    • RGB LCD panel

I am also determined to output the data to an web feed, either private or semi-public so I can log it and do long term analysis on the data., to this end I have determined to use the EtherMega from freetronics for the base Arduino board, as well as their humidity sensor, perhaps there RGB LED, their N Channel Transistor to drive the LED array, the reed switch is a Jaycar special, the LCD panel and a LCD shield will be coming from makershed.

Let the fun begin….

3COM Baseline Console Settings & Password Reset

Had an issue today that required me to connect via Console to a 3Com (Now HP) Baseline 2948 switch, however the “usual” settings didn’t work, they required an increased baud rate, otherwise the output was totally screwy the settings that work are below

Baud Rate: 38400
Data Bits: 8
Stop Bit: 1
Flow Control: None
Parity: None

For this work to be carried out I needed to reset the password through command mode similar to how you would a Cisco devices (ROMMON) to enter this mode you reboot the switch (after you have established a console connection) and press Control + C until the menu comes up

this prompt will show you the available commands, in my cases I needed to use the command passwd and then had to reset the system by using reset -sysreset at which the switch rebooted and I could log into the web and console interface of the device using the default username/password (admin/blank) combination

%d bloggers like this: