Recent Posts

Pages: [1] 2 3 ... 10
First is this possible at all using an arduino uno ?

Do you think some one like me with almost zero background in arduino can do something like this ?
You are making things difficult for yourself. Why a neon? Those things need about at least 70V to drive, so you need a high voltage supply and some way of coupling it to the Arduino, perhaps involving opto isolators.

Why not just use LEDs that can be driver through a resistor directly by the Arduino pin?
It looks like something with a typecast, pointer and the address of an array value.
However I don't really understand what this does in practice.
Work from the right to the left. r[ i ] is an element of an array. &r[ i ] is the address where that element is in memory. The cast tells the compiler to treat that memory location, and subsequent locations, as a though it was an unsigned char array.

You do NOT need to copy the entire array into SRAM. You are currently sending one byte at a time. Just fetch that byte, using pgm_read_byte(), before you send it.
Project Guidance / Re: Arduino, stepper motor, an...
Last post by TomGeorge - Today at 10:16 am
Hi. Thank you! So from this, I understand that I'm using an analog joystick. My question now, is what would cause the analogRead(xpin) to not be 512, when the joystick isn't being touched? I'm not at the robot right now, but I remember that it kept reading between 480 and 528 (about that), when the joysticks were not being touched. Or, if the analogRead will return a number around 512, then how am I supposed to test that when it's touched?
The centre position being a constant 512 is not really possible, they joysticks are a mechanical device and not knowing what yours are like, probably small and built as cheap as possible.
To detect if the joystick has been moved from a central position you use hysteresis.
If the joystick is central, then any reading say less than 20 either side of 512 is regarded as zero, when the value moves outside the limits them the joystick output is then used as a moving value.

We need to see a copy of your circuit to see how you have configured your project and also what you are using as  a power supply and stepper controller.
What are you stepper motors?

Thanks.. Tom... :)
Project Guidance / controlling neon bulb by wifi ...
Last post by azoxo - Today at 10:12 am
Hey guys I am still very new to arduino and I am having trouble realizing a project for some time now. What I am trying to do is to control neon light(s) by reading out the the number of connected devices to a wifi network.

E.g. 5 people connected to a wifi network = 5 bulbs are switched on
No one connected = all lights turned off

First is this possible at all using an arduino uno ? Do you think some one like me with almost zero background in arduino can do something like this ?
Second is there a similar code somewhere on the internet I can work with ?
I have been trying to find one without success, but I am lacking any information on how to interact between arduino and wifi router connections.

This is part of an art installation concept i developed, now it is going into the second phase of checking feasibility

I really hope someone can help

Thanks alot and all the best

Generale / Re: Alimentazione ridondante
Last post by brunello22 - Today at 10:12 am
saldare un cavetto sui contatti B+ e B-
Sensors / Re: Which means " burn-it" th...
Last post by Grumpy_Mike - Today at 10:11 am
Please start your own thread instead of resurrecting this old one.
Generale / Re: Alimentazione ridondante
Last post by c3n21 - Today at 10:10 am
Scusa, ma perchè non alimenti il tutto a 5V ?
Il PN532, il display, il lettore microSD e pure la NodeMCU vanno a 5V, semmai ci metti un Logic Level Converter sul Bus tra la NodeMCU e le periferiche

e per la batteria, uno di Questi che ti da' i 5V necessari
Ottima idea!

L'unico mio dubbio è dove possa attaccare la batteria in quel modulo che hai linkato.


Inoltre non ho ben capito se quel modulo faccia lo switching automatico in caso di blackout.
Storage / MOVED: Enviar datos de una SD ...
Last post by AWOL - Today at 10:10 am
Deutsch / Re: Lehrmeister für meine Code...
Last post by combie - Today at 10:09 am
NE also eig wollt ich sie um die mit dem Rotenpfeil gekennzeichnete Achse Drehen.

Um die Z Achse drehen?

Da sich die Höhe des Panels nicht ändern wird, wirst du bei der Z Achse des Sensors auch keine Veränderung sehen.
Sowieso wirst du damit die Sonne nicht ausmessen können, da die Gravitation der Erde deutlich überwiegt.
(oder habe ich dich da falsch verstanden?)

Also ich hab ja folgende Achsen . Nun hab ich den / die MPU 6050 so hin gedreht das eine der Vorhanden Achsen auf der Z-Achse ist. Bild
Im Grunde ist es egal, wie du den Sensor montierst.
Denn du kannst den Vektor und alle Winkel immer aus den 3 Werten berechnen.
Solltest dann aber einen Knopf einplanen, um einen Nullpunkt zu setzen.

Ja, es vereinfacht die Berechnung, wenn nur 2 Achsen verarbeitet werden müssen.

Aber wie gesagt die werte die da Raus gekommen sind waren nicht gerade brauchbar.
Was mich ein wenig verwundert, da der  MPU 6050 doch eigentlich ein funktionierender Sensor sein sollte.
Von unbrauchbaren Werten habe ich noch nichts gehört...

Mit Hilfe des Pythagoras, kannst du prüfen, ob deine gelesenen Werte plausibel sind.
Aus dem sich ergebenen Dreieck kannst mit den Winkelfunktionen jeden einzelnen Winkel berechnen.
Programming Questions / Re: Class Projet 1
Last post by AWOL - Today at 10:09 am
What is connected to pin 7?
Code: [Select]
temps=pulseIn(7, INPUT);

Analogue pin seven (assuming this is not a Uno) is a different pin to digital pin seven.
Pages: [1] 2 3 ... 10