Code Monkey home page Code Monkey logo

Comments (8)

jpiat avatar jpiat commented on July 16, 2024

What modification did you make to the code to run on the mega ? Does the
emitter led lit up ? Did you read the wiki ?
Le 19 févr. 2016 12:42, "pratham96" [email protected] a écrit :

I tried running the code using recommended hardware and connections.
On the transmitting side I used an Arduino mega 2560 and on the recieving
side I used an arduino UNO.
I uploaded the code and ran it. I saw the output on the serial monitor of
the receiver side.
The only thing I got was:

"Start of receiver program"

Could you please post a little more comprehensive guide to run this
project?
Any help is appreciated.

Thank You!


Reply to this email directly or view it on GitHub
#3.

from arduino.

Karan345 avatar Karan345 commented on July 16, 2024

Same problem here. Tried running this on an arduino uno.

Also if possible can the program be explained a little simpler.

from arduino.

jpiat avatar jpiat commented on July 16, 2024

Can you describe problem, and the hardware you used (LED color and lens
type clear/diffused). This projest was first build as a quick demo, but
with more and more people trying to use it, i need to come with a better
documentation.

2016-03-07 7:00 GMT+01:00 Karan345 [email protected]:

Same problem here. Tried running this on an arduino uno.

Also if possible can the program be explained a little simpler.


Reply to this email directly or view it on GitHub
#3 (comment).

from arduino.

Karan345 avatar Karan345 commented on July 16, 2024

Thank you for replying.
I will get back to you soon regarding the further details of the problem in a day or two.

from arduino.

Karan345 avatar Karan345 commented on July 16, 2024
  1. I am using two arduino unos as transmitter and receiver. White LEDs on the transmitter side they are regular LEDs and a photodiode on the receiver side.
  2. The data is being transmitted through the serial pins of the arduino(Tx and Rx), effectively it is just serial communication without using physical wires. I have not encoded the waveform in any way. Baud rate is 115200.
  3. The program is not compiling. It would be helpful if you told us about the files that need to be downloaded to run the program.
  4. Also I woud like to implement this project on arduino nanos and it would be helpful if you could provide us the detailed circuit diagram for the same.

from arduino.

jpiat avatar jpiat commented on July 16, 2024

This project was never tested (at least by me) with a white LED and a
phototiode so i'am not suprised it does not work. Could you try to run it
with two red, crystal lens LEDs ? I don't understand item 2 ... Do you sue
my code, or just tied Tx to a LED and RX to a photo-diode ? Do you use the
Arduino CC IDE (https://www.arduino.cc/) ? The IDE from
http://www.arduino.org/ does not work with this project.

2016-03-09 5:50 GMT+01:00 Karan345 [email protected]:

I am using two arduino unos as transmitter and receiver. White LEDs on
the transmitter side they are regular LEDs and a photodiode on the receiver
side.
2.

The data is being transmitted through the serial pins of the
arduino(Tx and Rx), effectively it is just serial communication without
using physical wires. I have not encoded the waveform in any way. Baud rate
is 115200.
3.

The program is not compiling. It would be helpful if you told us about
the files that need to be downloaded to run the program.
4.

Also I woud like to implement this project on arduino nanos and it
would be helpful if you could provide us the detailed circuit diagram for
the same.


Reply to this email directly or view it on GitHub
#3 (comment).

from arduino.

jpiat avatar jpiat commented on July 16, 2024

I have fixed the project so it can now compile on both IDE (.org and .cc)

2016-03-09 22:40 GMT+01:00 Jonathan Piat [email protected]:

This project was never tested (at least by me) with a white LED and a
phototiode so i'am not suprised it does not work. Could you try to run it
with two red, crystal lens LEDs ? I don't understand item 2 ... Do you sue
my code, or just tied Tx to a LED and RX to a photo-diode ? Do you use the
Arduino CC IDE (https://www.arduino.cc/) ? The IDE from
http://www.arduino.org/ does not work with this project.

2016-03-09 5:50 GMT+01:00 Karan345 [email protected]:

I am using two arduino unos as transmitter and receiver. White LEDs
on the transmitter side they are regular LEDs and a photodiode on the
receiver side.
2.

The data is being transmitted through the serial pins of the
arduino(Tx and Rx), effectively it is just serial communication without
using physical wires. I have not encoded the waveform in any way. Baud rate
is 115200.
3.

The program is not compiling. It would be helpful if you told us
about the files that need to be downloaded to run the program.
4.

Also I woud like to implement this project on arduino nanos and it
would be helpful if you could provide us the detailed circuit diagram for
the same.


Reply to this email directly or view it on GitHub
#3 (comment).

from arduino.

SandunMadola avatar SandunMadola commented on July 16, 2024

Hi, I tried this code in arduino-uno. Emitter Blue Led and receiver Photo Transistor. It's work fine. Got "Hello world [num]". Receiver Blue LED also used. Sometime works fine. Some time gives garbage value. No editing done to the code. I used default code. When you try with Photo Transistor sometime it's not the same way you set LEDs.

from arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.