Loading...
Welcome,
Guest
. Please
login
or
register
.
May 22, 2013, 04:32:45 am
|
Arduino Forum
::
Forum 2005-2010 (read only)
::
Hardware
::
Interfacing
:: Yampp
« previous topic
next topic »
Pages: [
1
]
Go Down
Print
Author
Topic: Yampp (Read 631 times)
0 Members and 1 Guest are viewing this topic.
jw
Berlin
Offline
Newbie
Karma: 0
Posts: 11
I Love YaBB 2!
Yampp
«
on:
July 03, 2006, 11:21:26 am »
Bigger
Smaller
Reset
Hello All,
i am trying to control a YAMPP III Industrial MP3 PLayer via Serial Output from Pins 0 and 1... it doesnt work.
i wired the TX Pin of the Arduino (USB) to the RX of the player via a potential divider circuit using 3 10k resistors, like its described in the manual.
when i power everything up, all seems fine, the player boots up.
but it just doesnt get the serial messages from the arduino. in the manual the command for playing song 1 is 0x01. how can i send this data to the player? serial.print(1, HEX) doesnt help...
has anyone here experience with serial communication with other devices?
thanks,
jens
Logged
mellis
Forum Administrator
Cambridge, MA
Offline
Faraday Member
Karma: 7
Posts: 3532
Re: Yampp
«
Reply #1 on:
July 03, 2006, 01:07:10 pm »
Bigger
Smaller
Reset
Have you tried serial.print(1, BYTE)? Using "HEX" will send the ASCII digits of the number, e.g. '1' == 49, while the mp3 player might expect the byte 1.
Logged
jw
Berlin
Offline
Newbie
Karma: 0
Posts: 11
I Love YaBB 2!
Re: Yampp
«
Reply #2 on:
July 03, 2006, 02:01:42 pm »
Bigger
Smaller
Reset
hey mellis, yes, i tried serial.print(1, BYTE)... it does not help...
but thank you!
what does 0x before a HEX value mean, anyway?
cheers,
jens
Logged
jw
Berlin
Offline
Newbie
Karma: 0
Posts: 11
I Love YaBB 2!
Re: Yampp
«
Reply #3 on:
July 09, 2006, 07:12:44 am »
Bigger
Smaller
Reset
Hey Mellis, just so you know:
Serial.print (Value, BYTE); is the correct way to go... the problem was that the YAMPP player was set to another baud rate (2400 instead of 19200) since i bought it second-hand from a PICAXE user... and the PIC supports only 2400...
now it works.
if anyone is interested in how to connect a YAMPP, an EasyRadio Module and an ARDUINO Board,
visit
http://www.sport4minus.de/blog/?p=149
and
http://www.sport4minus.de/blog/?p=152
Cheers, Jens
Logged
Pages: [
1
]
Go Up
Print
« previous topic
next topic »
|
Arduino Forum
::
Forum 2005-2010 (read only)
::
Hardware
::
Interfacing
:: Yampp
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
Using Arduino
-----------------------------
=> Installation & Troubleshooting
=> Project Guidance
=> Programming Questions
=> General Electronics
=> LEDs and Multiplexing
=> Displays
=> Audio
=> Motors, Mechanics, and Power
=> Sensors
=> Networking, Protocols, and Devices
=> Interfacing w/ Software on the Computer
-----------------------------
Topics
-----------------------------
=> E-Textiles and Craft
=> Robotics
=> Science and Measurement
=> Home Automation and Networked Objects
=> Device Hacking
=> Education and Teaching
=> Interactive Art
=> Product Design
-----------------------------
Development
-----------------------------
=> Suggestions for the Arduino Project
=> Other Hardware Development
=> Other Software Development
-----------------------------
Community
-----------------------------
=> Website and Forum
=> Products and Services
=> Gigs and Collaborations
=> Workshops and Events
=> Local Groups
=> Exhibition / Gallery
=> Bar Sport
-----------------------------
International
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Portugues
=> Scandinavia
-----------------------------
Forum 2005-2010 (read only)
-----------------------------
===> Uno Punto Zero
===> Bar Sport
===> Frequently-Asked Questions
===> News
===> Exhibition
===> Workshops
===> Interfacing
===> Bugs & Suggestions
===> Development
===> Troubleshooting
===> Portugues
===> Deutsch
===> Español
===> Français
===> Italiano
===> Scandinavia
===> Development
===> Interfacing
===> Syntax & Programs
===> Bugs & Suggestions
===> Troubleshooting
===> Report Spam at Arduino.cc
===> Forum
===> Playground Wiki
=> General
=> Hardware
=> Software
=> International
=> Web/Forum/Email/Spam
-----------------------------
Using Arduino
-----------------------------
=> Storage
=> Microcontrollers
-----------------------------
International
-----------------------------
===> Humor y Debate
===> Talleres, Encuentros, ...
===> Tutoriels et cours
===> Réalisations et Projets Finis
===> Le bar
=> Nederlands
===> Software
===> Hardware
===> Proyectos
===> Documentación
=> India
===> Hardware
===> Software
===> Megatopic
-----------------------------
Products
-----------------------------
=> The Arduino Starter Kit
=> Arduino Due
-----------------------------
International
-----------------------------
===> Generale
-----------------------------
Products
-----------------------------
=> Arduino Esplora
=> Arduino GSM Shield
-----------------------------
Maker Faire Rome - The European Edition
-----------------------------
=> Makers
=> Events and Tour
Loading...