14

There are a number of techniques you could use here to get a unique ID. FTDI chips have a unique serial number programmed onto them. This can only be accessed from the PC side of the connection as far as I am aware. Some of the chips with built in USB (e.g. ATmega8U2/16U2/32U2) have a unique ID in the signature data, normally used for USB. Can easily be ...


13

The chip doesn't have any sort of unique ID as far as I know.... but you could program one into the EEPROM of your boards. EEPROM documetnation You would write to a specific address and then future sketches can read the ID and do whatever with it. You may also be able to see a unqiue ID or address on the host side. I don't know enough about USB devices to ...


13

MCUs mounted on Arduinos don't have the horse power to handle https connections. Yún does handle https on the linux side, with software like curl, wget or python. Your sketch can just delegate the task to the linux side. While curl works fine, despite having python preinstalled, you need to manually install python-openssl, since it's not available out of ...


9

I am working on similar project that uses internet to communicate with external device (mobile). I am reading data from sensors and passing them over the web with web sockets. I am using Arduino Yun for this project and Spacebrew (for web sockets communication). It's very interesting approach but quite a challenge in some cases. You will probably run into ...


8

Some boards, when connected to a computer, publish their serial number. My Arduino Uno R3 says [16818.451423] usb 3-2: SerialNumber: 85235353137351E02242 Though I'm not sure how unique it is.


8

(Disclaimer: I'm actually the author of the evothings.com article) The Arduino UNO is more than capable at doing TLS. I've just finished up a blog post series on the topic. I have a working example of an Arduino UNO doing elliptic curve cryptography (sect163r2) to exchange an AES-128 key for continued communication. http://ardiri.com/blog/...


6

I don't think it is possible due to the size and complexity of the SSL Library, because the Arduino would most likely be under powered. That being said you could make the requests to a regular server and use some sort of PHP script to proxy the request to the HTTPS server. Not sure how well it would work though. You may be interested into looking at this.


6

I list this as an answer for the sake of having it linked here. It is not full https yet but he is working on it and it may be doable in the future http://evothings.com/is-it-possible-to-secure-micro-controllers-used-within-iot/ here is a benchmark he did encrypting a message using a 1024 bit public key Arduino UNO 16Mhz AVR ==> ...


6

It is fine. That is only 2% too high. The microcontroller is the ATmega32U4 and it can have 5.5V. The wifi module runs at 3.3V, and it has a voltage regulator. Some voltage is also lost in the cable. If the voltage is 6V, then you are in the danger zone, but not with 5.1V. There are clones and shields of the Arduino Yún. Each has its own power supply ...


5

The Yun's OS (Linino) is based on OpenWRT, and the official toolchain from OpenWRT does not appear to have changed much. It could probably be done, the question is if you'd really want to though. The limited resources (storage, RAM, CPU) means you would most likely not fit all the parts of the toolchain for C/C++ compilation (perhaps with the exception of ...


5

the Yún doesn’t have a real time clock IC on board, so it can’t keep time when is powered off. Instead, it synchronizes with time servers automatically when it powers up and connects to a network using NTP. (Arduino Blog) Therefore, the Yun does not have a onboard RTC. If there there is no RTC, can I connect a DS1307 to the Atheros AR9331? Probably not....


5

And the Arduino team finally figured it out: http://blog.arduino.cc/2014/05/06/time-to-expand-your-yun-disk-space-and-install-node-js/


4

To the best of my knowledge the USB chips all come with a unique serial number, at least for the FTDI chips. On Linux you can easily assign unique device names from that, check my website. Other than that, what you are describing is pretty much a simple form of version control. Make sure your source files have version numbers. To identify your Arduino, you ...


4

There's a discussion on the Arduino Forum about this: Mystery component on Yun board? From what I read it's only for testing purposes. the connector is a MM8430-2610 (see this). You can plug in a MXGS83RK3000/MM126036: once plugged in, the switch connector will turn the internal antenna off and use the probe as an external antenna


4

According to the link you provided, we can see that the RFID-RC522 uses SPI to communicate with Arduino. On Arduino UNO, the SPI pins are located as follows: pin 11: MOSI, pin 12: MISO, pin 13: SCK On the Arduino YUN, this is different though; as stated there (bold highlight is mine): SPI: on the ICSP header. These pins support SPI communication using ...


4

At the top of your program you have this: #define PulseSensorbegin which defines PulseSensorbegin as nothing Then later you have: PulseSensorbegin(); which the pre-processor turns into: (); which is where the error is occurring.


4

An arduino wifi repeater would in theory be very slow. Since you need to record the bit stream to the internal memory, then switch the spi to the transmitter, and send the bit stream, im unsure about what would happen if you miss a few bits in the process. Arduino Wifi Shield - the price of a wifi shield 85 usd Wifi repeater ebay the price of a wifi ...


4

There is a third option: install an interpreter on the Arduino, then just send it the program you want it to run. There are a few such interpreters available. A quick search showed: Bitlash, a C-like language iArduino, another C-like language FlashForth, a Forth implementation FINF Is Not Forth, a Forth-like language There are probably many others. The ...


4

There's a number of things to consider that could sway your choice one way or another: Power consumption The Uno is a small low-power chip to which you add WiFi. The Yun is an Arduino Leonardo with a WiFi router (like you have on your desk) strapped to the back of it. The Yun will therefore consume considerably more power than the Uno. Boot time The Uno ...


4

Both Mega 2560 and Due can handle 4 channels of 1,440 samples per second A-to-D and the least significant byte of the system time stamp sent as a continuous stream of vectors through the USB port to Linux. In the lab I train at, we see almost no variance in time increment between samples or between receiver read operations, indicating that the bottleneck is ...


4

Download and install the free, open-source, Fritzing CAD software for electronics hobbyist and open the .fzz file with that. Versions are available for Linux, Mac, and Windows. Installation instructions are on the downloads page.


3

According to the official specification, it has 20 digital IO pins which can be used with digitalRead() and digitalWrite() etc.. As is typical on Arduino boards though, pins 0 and 1 also act as serial Rx and Tx (respectively). You can program it to use them for either purpose. The information you read might be referring to problems with uploading though. ...


3

The Yun is a bit different to other Arduinos. The main microcontroller is a ATmega32U4 with a build in USB interface. This is used for the connection to the PC so the single USART is not used for this purpose. However, the single USART is used for connecting to the built in wireless processor. This means that you can't use the wireless and hardware serial ...


3

I am using Yun as well for my projects. I don't boot from SD card, but I store a lot of Python code there and it works for me. I've also seen this article that might be interesting for you. I haven't tried to do it on my Yun but I think it should work... This is example how to install node.js on the Yun (SD card), so in theory you could use the same approach ...


3

It probably has enough memory and speed to run basic object recognition software, but I there's a better solution, and that's to do your image capture and your object recognition with another device, and use the Arduino to act on the incoming data in some way. That would give you enough juice to do object tracking or searching. I plan to do this for my ...


3

When using the Yun over wifi, you cannot user Serial, you need to use Bridge Console object. Serial is bound to the usb cable. Give a spin to ConsoleRead example.


3

The USB specification limits the length of a cable between two devices to 5 meters. When you make a longer cable, you're going out of spec, which means it is not guaranteed to work anymore. Since you're only supplying power, the issue is (as you have guessed) the voltage drop in the cable. However, the voltage drop will depend on how much current Arduino is ...


3

I'd recommend ESP8266 (model 07) based board. Can be programmed the same way as other Arduinos Cheap Enough storage for code Fairly low power Large community (more code examples and better library support)


3

you will need to implement a edge sensor. Add a previousTouchsensorState to the globals and replace the if where you check the sensor state with: if(previousTouchsensorState == LOW && touchsensorState == HIGH) { // check if the touch sensor is pressed and wasn't the last time though the loop. // If it is, the ...


2

As Federico Fissore says above, the Yún can only handle HTTPS (or SSL, whatever you want to call it) on the Linux side of the Yún. The first way to do it is using Python with Python OpenSSL. The way you do this is by issuing the following commands via SSH or YunSerialTerminal: opkg update opkg install python-openssl opkg update will make sure the package ...


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