9DOF and Bluetooth…

July 26th, 2010

Arduino Mega 9DOF Bluetooth shield. Well all working. Used pins on the Arduino Mega: SCL and SCK for I2c (ADXL345 and HMC5843). Analog 0, 1 and 2 (LY530 and LPR530). TXD1/RXD1 for Bluetooth (BTM-112). HP, PD and ST are connected (Arduino 32, 33, 34) resp. Portc.5, Portc.4 and Portc.3 but not used in the KixRazor software. KixRazor Bascom-AVR is running, some minor changes. Thanks Natalius Kiedro. You did a great job. Thanks to the guys at www.sparkfun.com, checking their site every day….

P7060377.JPG

Roll, Pitch, Yaw working…

July 26th, 2010

It is working, the Arduino Mega 9DOF shield. And after adapting the KixRazor Bascom-AVR software a bit, we could run it with the Python program to display Pitch, Roll, Yaw.
The last step is to put a BTM-220 or BTM-112 bluetooth module on this board to have it communicate wireless. We know that is working from our previous board.
Getting the sensors on the board is a bit difficult but with the last sensor, the LY530 we knew how we could fix it. We did a test with solder paste and that went very well. More details later on.

http://www.youtube.com/watch?v=WuHRCnpcsDQ

P7060371.JPG

9DOF.jpg

Mega, bluetooth and LCD

July 24th, 2010

Arduino Mega combined with bluetooth and LCD shields. With a program that connects to a bluetooth GPS mouse and gets the time from the $GPGGA string.

mega_gps.JPG

BTM-112 working

July 24th, 2010

Arduino Mega shield with BTM-112 working. Have made contact with a wireless Bluetooth GPS mouse. Working like it should. On the top of the shield room for a BTM-112 class 2, on the bottom room for a BTM-220.

P7040326.JPG

Arduino Mega 9DOF Shield

July 23rd, 2010

This is a shield for the Arduino Mega. And on it we have to put these components: ADXL345 3-axis accelerometer, LY530ALH low power, single axis yaw gyro, LPR530AL dual axis gyro (pitch and roll), HMC5843 3 axis electronic compass, BTM220 bluetooth module class 1 or BTM112 bluetooth module class 2. To have it work without the Arduino Mega it is also possible to fit Atmega328 and FT232RL USB to UART bridge. As display we have choosen the 132 x 132 color Nokia display.

2.JPG

1.JPG

Arduino, SNMP and CHS-UGR humidity sensor

July 21st, 2010

On the Arduino added a TDK CHS-UGR humidity sensor. In the Bascom-AVR software added a second sensor in the SNMP-part. Now Cacti is giving this image.

MFG-CHS-UPR.jpg

wiznet_ht.JPG

Arduino, SNMP and LM75

July 15th, 2010

With some minor changes (16 Mhz instead of 8 Mhz), the Red Bokito SNMP firmware is running on a Arduino. SDA and SCL on Portc.4 and Portc.5 Also the W5100 gets reset by the Arduinos reset instead of a seperate line.

ard_snmp.JPG

SCP1000 on Arduino…

July 13th, 2010

Here a picture of Hyperterminal showing the temperature and pressure of a SCP1000 breakout-board from Sparkfun. Rename the DAT extentie to BAS and open it in Bascom-AVR.

temp_press.JPG

SCP1000.dat

SCP1000 and SD-adapter

July 12th, 2010

To test the software for the SCP1000 we made a adapter for the SPI-connection.

P6220259.JPG

P6220266.JPG

P6220268.JPG

SNMP hardware

July 5th, 2010

Here a picture of the SNMP hardware. The Red Bokito with Atmega168 and Wiz810MJ. As shown on ElektorLive november 2009. On the left the small PCB (size of an Euro) with I2c-temperature-sensor LM75. The Wiz810MJ is receiving an UDP-string on port 161 from Cacti. Waits for the OID 1.3.6.1.4.1.318.1.1.2.1.1.0 that is the (APC) MIB for degrees Celcius. And sends a UDP string with all information back. Still have to find a nice humidity sensor (I2c) on 3.3 volts.
And here the big trick… My receive buffer starts at &H6000. My transmit buffer starts at &H4000. Everytime I issue a Call Wiz5100_writevalue(W5100_s0_mr, Sn_mr_udp) the read and write pointers are put back on their begin so the SNMP string I receive can every time be found on exact the same location in the receive-buffer and I can reply with an UDP-string at exact the same spot in the transmit buffer. Will show that later on in the Wiz810MJ-tutorial. A feature I stumbled on while writing software for a TCP/IP-based security system. Great stuff those Wiznet modules….

TEMP_UFOx.jpg

RED_SNMP.JPG