Comments (13)
The code uses pin 2, but you can run on pin 13 by uncommenting the appropriate section saying : " These defines are for a LED connected on D13" and commenting the section :
#define OUT_LED() DDRD |= ((1 << 2))
#define SET_LED() PORTD |= ((1 << 2))
#define CLR_LED() PORTD &= ~((1 << 2))
from arduino.
Thank you so much!
I've connected the circuit using blue clear led and the transmitter glows as soon as the code is loaded.
However, the receiver does not show the serial data. It just says "Start of receiver program" The led's are placed like 2 cm apart.
I've programmed the arduino pro mino for 5V is that ok?
or should it be programmed for 3.3V..
from arduino.
The voltage of your arduino pro mini depends on the version you have, not
my program. Can you try to put the two arduino further appart (15cm) and
try to align the LED ?
2016-04-19 12:29 GMT+02:00 ASHNR [email protected]:
Thank you so much!
I've connected the circuit using blue clear led and the transmitter glows
as soon as the code is loaded.
However, the receiver does not show the serial data. It just says "Start
of receiver program" The led's are placed like 2 cm apart.
I've programmed the arduino pro mino for 5V is that ok?
or should it be programmed for 3.3V..—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9 (comment)
from arduino.
No, I'm actually talking about programming the pro-mini with an FTDI.
Right now i'm receiving junk values at the receiver.
from arduino.
can I use a photo transistor instead of an led?
from arduino.
Sorry to be bothering you!
but does the emitter work on negative logic?
because it switches on even before any message is transmitted in the serial port
(after uncommenting #define transmit serial)
from arduino.
Even if there is nothing to transmit, the emitter will be on. This project
mimic a ceiling light being use for broadcasting data, you would not want
your lights to turn off if there is nothing to transmit. The light appears
as always on for the user while it may or may not transmit data.
Le 21 avr. 2016 4:52 PM, "ASHNR" [email protected] a écrit :
Sorry to be bothering you!
but does the emitter work on negative logic?
because it switches on even before any message is transmitted in the serial
port
(after uncommenting #define transmit serial)
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9 (comment)
from arduino.
Thanks for that!
should A0 or A3 be used at the receiver?
u've mentioned both in the writeup....
from arduino.
Its ADC3 :
#define SENSOR_PIN 3
2016-04-21 16:57 GMT+02:00 ASHNR [email protected]:
Thanks for that!
should A0 or A3 be used at the receiver?
u've mentioned both in the writeup....—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9 (comment)
from arduino.
Hi jpiat,
I've tried out all the possible kind of led's and distances mentioned but i don't receive the any output :(
At times I get some junk values at the receiver but at a very slow rate.
Dissapointed :(
any suggestions?
when I uncommented the #DEFINE DEBUG i get junk numbers and values at the receiver.
Any help would be appreciated.
from arduino.
I am on vacation right now and I don't have access to the code. Can you try
to look for a define in the receiver code to use internal reference for the
ADC and comment it.
Le 23 avr. 2016 12:30 PM, "ASHNR" [email protected] a écrit :
Hi jpiat,
I've tried out all the possible kind of led's and distances mentioned but
i don't receive the any output :(
At times I get some junk values at the receiver but at a very slow rate.
Dissapointed :(
any suggestions?
when I uncommented the #DEFINE DEBUG i get junk numbers and values at the
receiver.
Any help would be appreciated.—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#9 (comment)
from arduino.
Oh...ok!
Sorry to disturb!
I've tried that too. Doesn't work...
from arduino.
Could i see hardware sirkuit being worked for lifi because i am working on the same project but troubled in hardware circuit?
from arduino.
Related Issues (20)
- Emitter and Receiver in one file as Transceiver? HOT 3
- License?
- How can I slow down the message transfer?
- Can these codes be uploaded onto an Arduino Nano?
- VLC on Android Phone HOT 2
- ARDUINO UNO, LED, PHOTODIODA HOT 2
- Multiple Transmitter
- Possibility of transmission in greater reach? HOT 1
- Circuit Diagram HOT 1
- Can i run the VLC code using Arduino Mega HOT 1
- Which type of Arduino nano I use to run the code
- Is it possible to increase the no of words in an sentence?
- arduino uno
- the number of characters received
- use led bulb
- code of program
- Contact
- Uu HOT 1
- which is the arduino used here??Nano or UNO HOT 3
- Connecting the components.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino.