element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum RF transmitter
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 393 subscribers
  • Views 803 views
  • Users 0 members are here
Related

RF transmitter

Former Member
Former Member over 9 years ago

Hi all,can anybody help me about code for send image via RF transmitter using arduino uno or mega

and the image store in SD card  shield or memory interne in arduino

  • Sign in to reply
  • Cancel

Top Replies

  • clem57
    clem57 over 9 years ago +2
    Let me google that for you
Parents
  • Former Member
    Former Member over 9 years ago

    and the extension of image is JPG

    this code can apply for image JPG

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • otavioborges
    otavioborges over 9 years ago in reply to Former Member

    So, you only have the TX channel. The problem is without RX channel you can't confirm information reception. Here are some suggestions:

     

    * the transitions are likely to fail, so for a large amount of data, like image bytes, you can loose one byte and corrupt the data on the receiver, there are three ways, I can think of, to solve this:

     

    1 use another module like this, but inverted, so you can have an RX channel and send confirmation messages to the arduino

     

    2 send along with byte information the byte location and CRC, there are thousands of codes how to implement on the internet, so the receiver can check the info and corrected it in some cases.

     

    3 send the byte information multiple times, along with byte offset, so you reduce the chances of corrupted data

     

    The code would work for any kind of image extension, as you are transmitting the raw data from the file. But the receiver must know the extension to, as bmp and jpg have different compactation methods.

     

    You can use the SD library from arduino to read the raw data from the file, using read():

    http://arduino.cc/en/Reference/SD

     

    Cheers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • otavioborges
    otavioborges over 9 years ago in reply to Former Member

    So, you only have the TX channel. The problem is without RX channel you can't confirm information reception. Here are some suggestions:

     

    * the transitions are likely to fail, so for a large amount of data, like image bytes, you can loose one byte and corrupt the data on the receiver, there are three ways, I can think of, to solve this:

     

    1 use another module like this, but inverted, so you can have an RX channel and send confirmation messages to the arduino

     

    2 send along with byte information the byte location and CRC, there are thousands of codes how to implement on the internet, so the receiver can check the info and corrected it in some cases.

     

    3 send the byte information multiple times, along with byte offset, so you reduce the chances of corrupted data

     

    The code would work for any kind of image extension, as you are transmitting the raw data from the file. But the receiver must know the extension to, as bmp and jpg have different compactation methods.

     

    You can use the SD library from arduino to read the raw data from the file, using read():

    http://arduino.cc/en/Reference/SD

     

    Cheers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • clem57
    clem57 over 9 years ago in reply to otavioborges

    I agree with otavioborges

    RF 434 Mhz

    These are pretty cheap RF based transmitter and receiver. I bought a pair of them from ebay. They are cheap but pretty hard to get them working. Moreover they don't seem to work inside home. To do a two way communication, we will need 2 such pairs (a total of 4!).

    - Xbee - Part 1 - What is the need - Freemindscafe

    Remember, you get what you paid for. That is why they are so inexpensive.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube