Electronics


Prototype with arduino, display and sensors
Prototype with arduino, display and sensors

My first experiment is Arduino based. I’ve bought most of the hardware at dx.com. I know that there are cheaper alternatives, i.e aliexpress.com. Also, within dx.com there are stuff that are more or less identical, but with different prices. Do some searches. Some are also referred to in the Display section of this blog.

There is no reason why arduino is the best choice for my application. It just happened to be the one I started with. And it’s easy to use.

This version does not have internet connection nor forecast. Only sensore readout, clock, and moon phase. It was my introduction to Arduino, LCDs and sensors. But it works 😉

The prototype consists of:

Processor
The arduino is a quick way into programming microprocessors and external devices.The weather station prototype currently uses ATMEGA1280 based board.

IMG_8472

Note the wires coming out at the right hand side. These are power and I2C connected to the sensors. The green wire is SDA(pin 20), the white wire is CSL(pin 21). 5v is taken from one of the upper two digital pins and gnd taken from one of the lower digital pins show in the picture (note that in the prototype the corresponding pins on the LCD Mega shield had to be cut in order to make room for the wire. You may want to wire differently (or solder directly). The SDA/CSL goes to the corresponding pins on the sensors that are connected in parallel. The I2C address used by the sensors is hardcoded into the prototype software.

Its quite large. In the final weather station I hope to use something smaller based on my own design or maybe a Arduino Nano Pro.  The good thing about the 1280 is the large amount of flash. If I can rely on internet connection, I can remove a lot of the embedded software  and hopefully get away with something smaller with less memory footprint.

Display

To get a quick prototype up’n running I chose to buy a TFT LCD Mega Shield to bridge the gap between Arduino and the display. It fixes the pin layout and voltage differences between the LCD (3.3v) and the Arduino (5v). It also contains a SD card reader which I don’t use (could be useful for storing images that are currently occupying the arduino flash!)

IMG_8475

As seen below,  the prototype has 3 layers. A total of >30mm is way too thick . In addition, the sensors are of-board. I really want a slim device that fits nicely on a wall or something. Preferably all on one single board.

IMG_8486

Real time clock & Pressure sensor

The prototype has two of-board sensors as show on the picture.

IMG_8464

The RTC works perfectly with the Arduino Time library. I don’t need the extra memory, but it’s on the module. The BMP085 works with software from Adafruit (ref. #include in the prototype software).

Advertisements

6 thoughts on “Electronics

    1. Have never tested with 2560, but I thought they were pretty identical from a software point of view (except amount of memory). Also note that the software does not compile in the later revisions of the Arduino IDE (after they changed the compiler).

      Like

      1. so, since the software does not compile in the later revisions, the 2560 would be of no use for this project?, sorry for the inexperience, im just starting to learn about the arduino, im an electronics technician, and by the way, thank you for the help!

        Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s