Recent Posts

Pages: [1] 2 3 ... 10
1
Project Guidance / Re: Color Sensing with TCS3200...
Last post by Johan_Ha - Today at 08:01 pm
Not the frequency! The frequency doesn't get negative, does it? Have a look at this:
Code: [Select]

bcolor = map(frequency, 25,70,255,0);

If frequency is below 25, bcolor goes over 255. If frequency goes over 70, bcolor becomes negative. Don't mind what frequency is. Check only bcolor and set it to 0 or 255 if it went over the boundaries.
2
LEDs and Multiplexing / Re: Arduino power problem
Last post by PaulRB - Today at 08:01 pm
Any newbies finding this thread: please ignore bisaneothub's conclusion about what was wrong and how it was fixed. Total rubbish.
3
Generale / Re: Millis o contatore attivaz...
Last post by samu92 - Today at 08:01 pm
in effetti non era proprio il massimo è il fatto del tempo non rimasto non funziona come dovrebbe.. Ora ho corretto un pò di cose e parrebbe funzionare ad esclusione del fatto che non riesco a passare allo stato 3 quando il tempo è 0.
4
@srnet



What is the output voltage of the step up module when nothing is connected ?
Nothing connected output is 3.5v (same as battery voltage)


What is the output voltage of the step up module when the Nano is connected ?

With arduino uno connected output is 5.08v
With arduino nano connected output is 5.08v, then it drops for a fraction of a second below 4v and back to 5.08v rebooting the nano
5
LEDs and Multiplexing / how to random loop
Last post by bisanethohub - Today at 08:00 pm
hay again..

help please, want ask how to create random loop. i read in forum n google too but i cant find it (not read all maybe  :) ) n there just find about random blink leds not random loop led.. i beginner to arduino. i use nano board.i create project leds show and maybe  about 15 style. because i newbie so i just write any code i know (i don't know much about optimized code). i write much code for about 15 style (different blink leds) in void loop. style led 1, style led 2, style led 3, 4, 5, 6 --> 15 n every style run 4 loop. so my question how to randomly it self the loop style led 1 - style led 15.


Code: [Select]


void loop (){

  for (byte i = 0; i < 4; i++) {
style led 1 }

  for (byte i = 0; i < 4; i++) {
style led 2 }

  for (byte i = 0; i < 4; i++) {
style led 3 }

  for (byte i = 0; i < 4; i++) {
style led 4 }

 
6
"This site can't be reached
%22's server IP address could not be found."

When I go to the "insert image" the only window I see is the one for the URL. Nothing else.

I am on Windows7 64b.
Yup.  I caught that, but obviously not quick enough ;)  Try the link again, it should be working, now.
8
As long as amperage is below the rated, you'll be fine. It's a limit. You are allowed to be below it.
9
That was my 'mistake'; I used isMatch because it was not clear what was needed.

Once that was clear, I did change it in the next code.
10
Programming Questions / Comparing two values
Last post by berkov1c - Today at 07:55 pm
hello everyone. i have arduino mega, nextion display, and max6675 thermocouple. also i have a slider on my display to set a temperature value. my goal is to compare temperature read value and set value so i can open/close my relay in order to result of comparison. i have checked the usage of "if" command and i think im using it in the right way.

And my relay is working i have tried to make it work with only thermocouple in another sketch. i have assigned an integer constant value for setting temperature when i heat the sensor, relay was openning and when i cool the sensor it was closing.

So i have to do this process on a variable set value not a constant. ill change the set value on display and ,i'll control relay according to this set value.

im using
float temp
temp=thermocouple.ReadCelsius()

temp value is perfectly displayed on the screen

for the slider value

uint32_t number2 = 0
h0.getValue(&number2)

i cant compare temp and number2. Please help me. Thank you very much.


Pages: [1] 2 3 ... 10