Tag Archives: arduino

AVR-T32U4 Arduino Leonardo Analog Servo motor drive demo

Image

 

We stock now 6 types of Analog Servo drive motors https://www.olimex.com/Products/RobotParts/ServoMotors/

The motor parameters are encoded in their names:

MS-1.3-9 means – Servo-Motor with 1.3 kg.cm force and 9 gram weight.
MS-R-1.3-9 means Servo-Motor with 360 degree angle and 1.3 kg.cm force and 9 gram weight.

All servo motors came with various exchangable plastic arms:

ImageImage

 

Separately are available aluminum ARMs which can snap to the bigger 3.2 kg.cm and 6 kg.cm motors, these are so powerful than can open and close drawers.

Adruino have special library for servo drive just notice that the normal servos will accept angle between 0 and 120 degree only, while the R type will accept from 0 to 360 degree.

The demo code is on GitHub: https://github.com/OLIMEX/DUINO/tree/master/AVR/SERVO

You can see the code running on this video http://www.youtube.com/watch?v=OdH7dr4Aa30

 

Tagged , , , , ,

AVR-T32U4 Arduino demo code for TV remote control

Image

AVR-T32U4 is easiest way to breadboard your Arduino projects, with this demo we will show you how to connect MOD-IRDA and receive and send IR commands from TV remote control and to TV.

MOD-IRDA have IR receiver and IR LED, in the demo project we will use Jumper wires to connect to Breadboard.

Image

The demo code is at https://github.com/OLIMEX/DUINO/tree/master/AVR/IR-REMOTE

LED is connected to D13 and MOD-IRDA IR receiver is connected to D11.

On the video you can see how LED is switched ON and OFF with ’1′ and ’2′ buttons from the IR remote.

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

The same way you can control other stuff with Arduino, for instance connecting Servo motor to move your fences at home etc.

 

Tagged , , ,

AVR-T32U4 ARDUINO demo code for MOD-WII-NUNCHUCK interfacing

Image

 

Wii-Nunchuck is low cost combo of 3 axes accelerometer, 2 axes Joystick and 2 buttons. It communicated via I2C and we made UEXT connector for it so it plugs directly to AVR-T32U4 Arduino compatible breadboard.

The Arduino library is available at: https://github.com/OLIMEX/DUINO/tree/master/AVR/WII-NUNCHUCK with demo code which prints accelerometer, joystick and button status: http://www.youtube.com/watch?v=fodnHXkwpHg

Tagged , , ,

Arduino Breadboarding with AVR-T32U4

Image

 

AVR-T32U4 is the easiest way to do breadboard projects with Arduino. With retail price of EUR 12.95 this is also the Arduino board with best price/performance ratio.

As you see from the picture above AVR-T32U4 snap perfectly to Breadboard-1 and it powers the two power buses with 3.3V and GND and you have access to all Arduino pins A0-A5 and D0-D13 on the breadboard area, so you can easily connect to LEDs, Servo Motors,  Sensors etc.

Here is step by step instructions what you have to do to get started.

1. Download Arduino IDE from http://arduino.cc/en/Main/Software; Unpack the downloaded zip file in main drive C:\arduino-1.0.4

2. Plug AVR-T32U4 to your PC and it will ask for drivers, point it to C:\arduino-1.0.4\drivers

3. After the drivers are installed run C:\arduino-1.0.4\arduino.exe

4. Select the board to be Arduino-Leonardo as per attached picture

Image

 

5. Right mouse click on “My computer” then select Properties-> Hardware-> Device Manager and check which virtual COM port is created when you plug AVR-T32U4.

Image

 

as you see on the picture in this case COM33 is created by Arduino-Leonardo

6. From Arduino menu select the com port as per attached picture:

Image

 

6. Open Blink LED project:

Image

 

7. Upload the sketch by click on -> button

Connect LED with longer led to D13 and shorter leg via 220 ohm to GND.

You should see the LED blinking as on this video: http://www.youtube.com/watch?v=M0cVerSNUDc

Congratulations you just complete your first Arduino project!

We also highly recommend you when you do prototype work to put USB-ISO between your Arduino and PC in this case even if you do some stupid like to make short on your Arduino board or put wrong voltage somewhere your PC will be always protected, so even if your Arduino board burn your computer will be safe.

Tagged , , , ,

MOD-LCD3310 example with OLIMEXINO-328 (ARDUINO UNO) written in Ada language

Image

 

Today Tero Koskinen sent me link of his project where he uses OLIMEXINO-328 (Arduino UNO clone) with MOD-LCD3310 connected to UEXT, so far nothing strange.

What made my jaw to drop was that he was using … Ada language to program it :)

This bring me back 30 years back when I was using Ada to write my code as I liked this structured language before then code it in BASIC for Apple ][. At that time there was no decent Ada compiler so I used it just to solve my problem as algorithm then coded it in the good old ugly AppleSoft BASIC.

I though Ada is pretty much dead as Pascal, Modula and the latest Wirth Oberon project. I have no idea why this happend but these nice structured languages dissapeared, so this was nice surprise to see that Ada is still live… on AVRs.

Link to Sourceforge ADA-AVR project

Tagged , , ,

MOD-RGB – Arduino, Maple and Pinguino Examples

Image

 

Here we will demoнstrate you how to use our new MOD-RGB LED driver UEXT module with our Arduino, Pinguino and Maple boards which have UEXT connector.

Getting the Libraries and Examples

The library/example .zip files for Arduino, Maple and Pinguino can be downloaded from:
https://www.olimex.com/Products/Modules/LED/MOD-RGB/

Installing the Libraries and examples

For Arduino, use the Fade sketch directly, no additional files or configuration needed.

For Maple:
1. Make sure that the Maple IDE is not running
2. Copy the MODRGB folder to the /libraries folder of your Maple IDE installation folder
3. Start the IDE. The “MODRGB” examples should now appear under File/examples.
4. Include the library in your projects as such:
#include “MODRGB.h”

For Pinguino, use the example directly. It has been tested with PIC32-PINGUINO, PIC32-PINGUINO-OTG, PIC32-PINGUINO-MICRO, PIC32-PINGUINO-MX220

 Examples

All packages include the same example – Fade.

It uses built-in functons or the MODRGB library to set the RED, GREEN and BLUE values that the MOD-RGB board outputs.

The example fades the lights from blue to red to green to blue again in an endless loop.
If you want to adjust the speed at which the colors change, change the value of the delay period to your liking:
#define SPEED 500

ImageImageImage

Tagged , , , , , ,

Souliss – Home Automation with AVR-T32U4 + WIFI + MODIO2

Souliss is Smart Home Automation you can learn more for the project at http://www.souliss.net/
On this video you can see AVR-T32U4 running Arduino sketch + MOD-WIFI which adds WIFI connectivity + MOD-IO2 which adds two relays and GPIOs and aplication running on Android phone which controls them.
Great work Dario!

Tagged , , , ,

FRIDAY FREE BOARD QUIZ ISSUE #18 PRIZE IS AVR-T32U4

Image

 

 

AVR-T32U4 is Arduino Leonardo compatible i.e. you can develop with Arduino IDE and at the same time Breadboard friendly.

With this board you can easily make your projects without soldering.

The T-shape board idea ws first invented by Ken Segler and we love it as it allow to feed your power supply to the breadboard too.

Today at 17.00 o’clock our local Bulgarian time (GMT+2) we will post on Twitter our question.

You have one hour to reply to our tweet with the correct answer.

At 18.00 o’clock we will count the correct answers and ask random.org to generate random number in range then anнounce the winner and ship the board by airmail next Monday.

Good luck!

Tagged , , ,

FRIDAY FREE BOARD QUIZ ISSUE #10 PRIZE IS OLIMEXINO-STM32

Image

 

 

OLIMEXINO-STM32 is Arduino Like board which works with MAPLE IDE.

Here on this video you can see comparison between Arduino and OLIMEXINO-STM32

Everyone have chance to win this board if answer correctly our Quiz question.

Today at 17.00 o’clock our local Bulgarian time (GMT+3) we will post on Twitter our question.

You have one hour to reply to our tweet with the correct answer.

At 18.00 o’clock we will count the correct answers and ask random.org to generate random number in range then anнounce the winner and ship the board by airmail next Monday.

Good luck!

Tagged , , ,

FRIDAY FREE BOARD QUIZ ISSUE #7 PRIZE IS OLIMEXINO-32U4

Image

This is Open Hardware Arduino Leonardo compatible board.
What we did here are few features which are missing and we think they are annoying in original Arduino hardware design:
- made shield step to be aligned to 0.1″ so you can use this board in breadboards’
- add Lipo battery power supply for handhels operation
- moved the LEDs on close to the edge to be visible even with shield on it
- can work on both 3.3 and 5V
- add UEXT connector so you can use our UEXT modules like WIFi , Bluetooth, Zigbee, GSM, GPS, Thermocouples, Relays etc.

Everyone have chance to win this board if answer correctly our Quiz question.
Today at 17.00 o’clock our local Bulgarian time (GMT+3) we will post on Twitter our question.
You have one hour to reply to our tweet with the correct answer.
At 18.00 o’clock we will count the correct answers and ask random.org to generate random number in range then anounce the winner and ship the board by airmail next Monday.

Good luck!

Tagged , ,
Follow

Get every new post delivered to your Inbox.

Join 219 other followers