Recent Posts

Pages: 1 [2] 3 4 ... 10
Arduino Due / Re: Arduino DUE acceleration r...
Last post by GolamMostafa - Today at 07:29 am

From which site of the web, we can down load the Stepper/PWM Library in the form of Folder and not as discrete files as GitHub contains. If it is a Folder, we can just place it in the installation path of my PC.
Project Guidance / Continuously poll USB-peripher...
Last post by blah2222 - Today at 07:26 am

I have a USB-peripheral that communicates using a serial protocol (CDC) and I would like to be able to continually poll this device and extract information from it using my Arduino Uno+SparkFun USB host shield.

Since the peripheral is not at USB-HID device, I am not sure which library to start with.

The Circuits@Home USB Host Shield 2.0 library has an acm_terminal and cdc_XR21B1411 example, but I'm not sure if that's what I am looking for.

Any help is much appreciated. Thanks
Project Guidance / Re: NFC R/W and Communication ...
Last post by Sindarael - Today at 07:21 am
Yes. I think I will have to store permanent data.

The cards I intend to use are


I expect around 40 entries, thus 40*180 Byte = 7200 Byte max.
I am in a really early stage of my project, thus don`t know yet how many bytes of the before mentioned card I will need.

Project Guidance / Re: Sending data to a local we...
Last post by Jas276 - Today at 07:18 am
How do you plan to connect that board in the fridge to your NodeMCU?

Isn't it easier to just wire a temperature sensor that you can read directly?
I'll be using another ESP8266 equipped board to connect via WiFi.

The fridge is on a slide which can move back and forth about 1 meter, so I don't want wires getting caught.

And by doing it via WiFi it'll give me the option to add other sensors in the future.

Each datasheet has a section titled Instruction Set Summary.
And the more complete description of what the instructions do is in Atmel-0856 AVR Instruction Set Manual
Audio / Re: Arduino Midi to Gate
Last post by Grumpy_Mike - Today at 07:16 am
Code: [Select]
if (Serial.available()){
     commandByte =;//read first byte
     noteByte =;//read next byte
     velocityByte =;//read final byte

So read three bytes from the serial port if one or more are available? Not a very good strategy. The while condition at the end only kicks in at the end.

Avoid the 'do' - 'while' structure, it is not needed and only leads a beginner into confusion.

Also reading three bytes at a time assumes you are not going to get any one or two byte MIDI messages, can you guarantee that?
To elaborate a little on JohnWasser's reply #5

else if is nothing more than
Code: [Select]

if (firstCondition == true)
  if (secondCondition == true)
    if (thirdCondition == true)

Note that (in my attempt to make it clear) I left out the {} around the elses; not something I would do under normal circumstances.
if the pin's not connected, it will still have random continually-changing voltages running through it,
Voltages do not run, nor are they through. Voltage is across, current is through.

Are you going to store permanent data? How much data exactly?

Arduino EEPROM is not really big, you might need an external EEPROM if you really want to store permanent data.

What are you going to store actually?
Pages: 1 [2] 3 4 ... 10