The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

15

Normally, yes, you may plug other components to your setup after you plug your shield, but it depends on the shield exposing the unused Arduino pins through additional female headers. Some shields even provide a little protoboard or perfboard to make it convenient for plugging or soldering additional components. Below are some examples: Arduino shields ...


11

I'm aware of a few JSON parsing libraries for Arduino. aJSON Arduino JSON Parser JSON Arduino I've never used any of these but I did do some simple JSON parsing in a project I'm working on so I'll show you how I did that. NOTE: I'm reading serial data using the software serial library. You'll need to change this code to work for you. This will only work ...


9

There are actually several shields that have color screens on them. Many of the shields are just regular mini TFT displays, however there are also touch screen ones. Here is one from Adafruit that includes a MicroSD holder and a Joystick. Here is one from Radio Shack that features a 2.8 inch screen with touch capabilities As far as screen size, many of ...


9

The example you linked to isn't actually connecting the Arduino directly to a stepper motor. It's going via a ULN2003A driver. That's a very common Darlington transistor array, which basically just lets you use a small current to switch a larger load. That's necessary because the Arduino pins can't safely source enough current to drive the stepper motor ...


9

Things to consider when picking an Arduino board: Do I want native keyboard/mouse support? If yes: you'll need the Leonardo (or it's breadboard mountable equivalent) or the TRE (not released, dual MCU board). Do I want a small form factor and/or have it breadboard mountable? If yes, choose a board like the Mini/Micro/Nano/etc. If you want to make it even ...


7

I just happened to buy the same LCD Shields a few days ago, looking for a library to use it with a MEGA 2560 board I found https://github.com/Smoke-And-Wires/TFT-Shield-Example-Code which supports both UNO and MEGA boards. Usage is very, simple if we want to use it for MEGA we should change the header #include "uno_24_shield.h" in SWTFT.cpp to #include "...


7

...which pins are mapped to the data pins etc. The shield page provides a schematic I would like to know some more information about the orange and white pin blocks on the board These have the reference printed on the board TWI IN and TWI OUT They are the same and are both connected to the same I2C pins of Arduino (SCL, SDA). They are intended ...


7

I have programmed a class that will receive char by char the JSON document. It only will store in memory a few bytes for known JSON structure using a state machine and the results you need. So you can query the class for the results you want and will process the JSON. Its ideal for your purpose. I have used for connecting to a weather service that returns a ...


7

There are several distinct concerns to consider: Physical interference: are headers provided to make it possible to stack the two shields on top of one another? Do any protruding components block stacking? Do any components have metal shield cans (for example the USB connector on the Uno itself) which can short out an adjacent PCB? Pin assignments: ...


7

I have a page about a breadboard Arduino which is basically an Atmega328P processor (same as in the Uno, inter alia) on a breadboard. Also a wire-wrapped Arduino. You can go pretty minimalistic with a ATtiny85 mounted on a button battery like this: Is it possible to shrink the arduino(make a custom arduino), and all of its shields on to one board? Ah ...


6

When you want to choose a shield for your board you should check: 1- Pin-out, this one is the least concerning one , Most arduino boards are Shield pin-out compatible and you can verify it visually, for others, normally there are some converter boards (e.g for NANO), and in the worst case, building a converter board or wiring the shield to board is trivial ...


5

There's also a 2.2" Adafruit TFT. The nice things about the Adafruit displays are: i) library support for both the display and the graphics core library. So it's easy to get it up and running. The built in frame buffer reduces resource requirements on Arduino.


5

None of the ATmega based boards have the hardware (in terms of acting as a USB host) or power (in terms of handling probably compressed 1080p video). Potentially one of the ARM boards could do this. The Arduino Due can act as a host, but it sounds fairly experimental, and none of them will have drivers to connect to the camera. If a shield was developed to ...


5

Mechanical stability of the whole thing is probably the main advantage. I'd personally opt for a generic module or loose components. The main disadvantage of shields is pin conflicts when using more than one shield.


5

As far as I know, you have to solder the header pins. Here is a nice video demonstrating the assembly: Motorshield V2 assembly


5

For the signals, get some AWG30 wire and solder them underneath to the female header pads. For power, get some AWG22 or AWG24 wire and solder them to the top of the male header pads.


5

The first thing to try is to use the 'proper' pins for the SPI: SCK to Pin 10 on Arduino ---> Pin 13 CS to Pin 11 on Arduino ---> Pin 10 MISO to Pin 12 on Arduino ---> Pin 12 MOSI to Pin 13 on Arduino ---> Pin 11 VCC to 3.3V source on Arduino GND to Arduino Ground Try that first and see how you get on. By the way, just thought I'd mention, ...


5

My name is Bing Zhu. I the host of ASTSpace a community open lab sponsored by Zhejiang Association for Science and Technology(ZAST). AST is situated inside the Zhejiang Museum of Science and Technology. We are non-profit. The Kit you have gotten must be from someone got it free at one of ASTSpace's events. I remembered that we had brought some with us to the ...


4

It seems to be possible to record with the shield using a library called waverp WaveRP is an Arduino library for recording and playing Wave files with the Adafruit Wave Shield. It records 8-bit mono files at 4,000 to 44,100 samples per second. Some details adafruit blog: It records 8-bit mono files at 4,000 to 44,100 samples per second.


4

The only issue that may create an incompatibility seems to be the IOREF pin next the 5V output pin which is extra on Revision 3 but not in Revision 2. However, I just had a look at the board schematics and the shield does not use IOREF. Pin 2 is extending IOREF So, the shield should work correctly with the Uno Revision 2. As far as the extra pins are ...


4

You can make adapter boards (one for each mcu model). The bottom side (male headers) would plug to the breadboard and the upper side would have female headers with the same pinout as an Arduino board (female hearers placed in the appropriate positions to match Arduino shields). Such a board shouldn't be difficult to design. Here is an image that resembles ...


4

Your observation is correct. Everything breaks down to some number of physical connections and some protocol for communicating with the device. Shields and libraries associated with them do most of the work for you, but not everything comes in a shield. There are some common protocols for interfacing with devices, including SPI and I2C. From a quick peek at ...


4

There's no need for either PHP or JSON. Simply detect when one of two URLs (say, /led/on and /led/off) has been accessed on the Arduino's web server, change the LED state, and return a 204 response.


4

A way to proceed is to create a spreadsheet showing the pin positions used by this board, and the Arduino shield signals they plug into. Next to these, you need columns showing the actual signals on the ATMega2560 (for Mega2560) and ATMega328 (for Uno) that these shield pins attach to. You can get this info from the Uno and Mega2560 schematic drawings. In a ...


4

I'm using a adafruit motorshield v2 for my solar tracker project with two stepper motors atm. i'm quite a new to arduino and coding and i think the shield made it a lot easier for me to get a hang of it - easy to code and nicely stack able on the ardiuno (little soldering to assemble but not too difficult).


4

No, it doesn't look like it. The LCD board uses digital pins 4-10 and analog 0 The motor board uses digital pins 3-12 if all motors are used. If you need to stack boards look for boards that use I2C since they can share a single data bus.


4

Shields are in a form factor suited for direct attachment to the Arduino, but have fixed functionality for their connections. Breakout boards require more wiring work, but allow you to connect to any appropriate pins.


4

You know how wide the display is. You know how wide the text is. You know the position of the potentiometer. With those you can determine where in the text (if the text is wider) or display (if the display is wider) you need to start drawing from and where you need to stop drawing. Subtracting the text width from the display width will give you the range for ...


4

If I were a beginner, I'd go with the Motor shield. I'm even personaly using the one from DfRobot, which as @Gerben said, is just plug and play. It also allows you to select the input power for the motors, which can be either from the 5V Arduino pin or from an external battery. This is pretty convenient if you need more than 5V to power up your motors. It ...


4

What you start with is not too critical as you can develop basic concepts on any Arduino hardware and use it to drive a display of your choice for testing. This can be migrated to whatever is found suitable as the project progresses. Important to consider are the number of I/O lines of various sorts that you need. Most AVR ICs that you are liable top use ...


Only top voted, non community-wiki answers of a minimum length are eligible