can DCC++ EX work on a Arduino MKR WiFi 1010? - arduino

First Thanks in advance.
Does DCC++ EX works on a Arduino MKR WiFi 1010 board (or 1000)? I searched the DCC++ EX documentation, and it refers to Nano, UNO and Mega, but not the MKR boards. However when I try to install DCC++ EX, I am given the option for a SAMD021 Microcontroller (same area as selecting UNO or Mega). The MKR boards use the SAMD021 Microcontroller.
I recognize that this might not be the appropriate forum, so if it is not can you please refer me to a correct one?
Thanks.

Related

USB connection to move a Servo Motor

I want to know how to connect a phone to an arduino via usb and then have a servo motor move once the arduino recognizes that it is a phone. I'm very very new to arduino but I think it is an arduino uno.
We haven't tried anything yet because we don't know if out school has the proper hardware. Any guidance would be greatly appreciated.
There isn't a way for the Arduino to just "know" what it's connected to. The USB connection is handled with the USB to TTL converter on the board and thats what the computer sees. The rest of the Arduino board is simply rxing or txing serial data if there is any and there wont be unless you send something. You would have to send some serial data from the phone using an app to identify the phone.
If you give more detail, then maybe we can figure out some other way to solve the problem.

Arduino Wifi ESP8266

First, do I need 2 Arduino Unos with ESP8266 module installed to communicate with each other?
I want to transmit ultrasonic value from 1 Arduino Uno to another. Thank you for answering my question.
There is no need of an Arduino to comunicate 2 ESP8266 modules. Maybe you can read that ultrasonic value with the ESP and send it to another or to the internet. Check this tutorial maybe will be useful.

GSM Module code Not Working On GSM breakout board

I'm in a situation and need some advice.
Scenario 1:
Arduino Uno/Genuino +
ICOMSAT SIM900 Module(http://www.itead.cc/icomsat.html)
(placed the jumpers such that Digital Pin 2 is rx and 3 is TX on the shield)
Code Used: The send receive SMS example code in the arduino website.(
(https://www.arduino.cc/en/Tutorial/GSMExamplesReceiveSMS)
Everything Works fine without a glitch.
Scenario 2:
Arduino Uno/genuino +
GSM breakout board(https://www.google.co.in/search?q=sim900A&espv=2&biw=1600&bih=717&source=lnms&tbm=isch&sa=X&ved=0CAYQ_AUoAWoVChMIqd748qb8yAIVYXumCh2s2Aaq#tbm=isch&q=sim900a+gsm+module&imgdii=9zJcFQBaoLAKzM%3A%3B9zJcFQBaoLAKzM%3A%3B7eDw6qGc3qZjMM%3A&imgrc=9zJcFQBaoLAKzM%3A)
Had loads of issues with softwareSeial.h library and ended up cross connecting the default on board rx/tx with GSM board's RX/TX and everything worked fine. (though I didn't liked the fact that everytime during programming I had to change connections to upload a sketch)
code used is from here (http://www.theengineeringprojects.com/2014/06/send-sms-with-arduino-uno-and-sim900d-using-at-commands.html)
Now my Problem:
Since the shields are very costly, I decided to settle on the cheaper boards for my project. But the Code used for the GSM shield was so easy to understand (since the library was doing all the heavy lifting) I tried to use that. I connected Rx of GSM board to pin 3 and TX to pin 2 of arduino and uploaded the same code I used for the GSM shield scenario. But the code won'r work, I tried to tinker a few blocking things like the enable pin code where the shield is brought up etc. but no luck. Can anyone put some light on it, has this been tried before, is it not supposed to work the was i want it to ?
Thanks a lot in advance.

Can Atmel ATTINY84 read I2C without adding any program or module?

I am recently connecting a gyroscope(L3G4200D) to ATTINY84,however, the gyroscope is using I2C and the ATTINY84 is using USI, as a result, I have some problem doing programming. I am using Arduino Uno to be the ISP, and I have connected the two wire of gyroscope to SDA and SCL pin on Attiny84 but it still doesn't work. Does anyone have any solution?
This might help you solve your problem!
http://www.dexterindustries.com/howto/working-with-avr/any-port-any-pin-a-twi-master-for-attiny-atmega/
Solution is in using right library which do software I2C. get https://github.com/svoisen/TinyWire library, connect 4 wires ( VCC, GND, SDA, SCL ), do not forget 2 pull-up 4K7 resistors to SDA/SCL. that's all.

Can't get serial output while using Ethernet

I started to experimenting with the Arduino Ethernet shield and got it working with not much effort. However, when I try to debug through the hardware serial port of the board, I get nothing, and though the program still runs, and I know it should be giving me something, it doesn't. Truth be told, I haven't got a clue of what's going on. How do I fix this problem?
P.S. I am using one of the example sketches included in the Arduino IDE.
The Ethernet shield does not use the RX and TX pins (0,1) and I have personally used Serial communication with the shield before.
So it definitely had to do with your code. Can you post your code?
Also have you connected anything to digital pins 0 and 1?
The Arduino Ethernet board is not equivalent to Arduino Uno + Etherent shield. In the Arduino Ethernet board the USB-to-serial chip is not present.
From the official Arduino Ethernet board page
The Ethernet differs from other boards in that it does not have an
onboard USB-to-serial driver chip, but has a Wiznet Ethernet
interface.
So I don't think you can print any values in the serial monitor.
Update:
You need an external FTDI adapter like http://arduino.cc/en/Main/USBSerial get the serial communication between Arduino and your computer to work.

Resources