Difference between revisions of "ARDUINO"
(→Specs) |
(→eps8266 pin usage) |
||
(33 intermediate revisions by 3 users not shown) | |||
Line 9: | Line 9: | ||
http://forum.arduino.cc/index.php?topic=37975.0 | http://forum.arduino.cc/index.php?topic=37975.0 | ||
REPRAPPRO.COM<br> | REPRAPPRO.COM<br> | ||
+ | |||
+ | ==harDware== | ||
+ | https://github.com/rheingoldheavy/arduino_uno_r3_from_scratch.git | ||
+ | http://www.kicadlib.org/<br> | ||
+ | http://www.smisioto.eu/elettronica/kicad/kicad-en.htm<br> | ||
+ | https://github.com/mivade/arduino_lib.git - uno <br> | ||
+ | https://github.com/T3P3/Duet.git -duet <br> | ||
=== programming === | === programming === | ||
− | + | http://www.mjoldfield.com/atelier/2009/02/arduino-cli.html<br> | |
http://pragprog.com/magazines/2011-04/advanced-arduino-hacking <br> | http://pragprog.com/magazines/2011-04/advanced-arduino-hacking <br> | ||
http://www.ele.uri.edu/courses/ele205/ELE205Lab/ELE205_Lab_files/Arduino%20-%20Reference.pdf<br> | http://www.ele.uri.edu/courses/ele205/ELE205Lab/ELE205_Lab_files/Arduino%20-%20Reference.pdf<br> | ||
+ | boot loader:<br> | ||
+ | http://angryelectron.com/how-to-update-the-bootloader-on-arduino-pro-mini-328/<br> | ||
=== keyboard === | === keyboard === | ||
Line 58: | Line 67: | ||
http://wiki.opencellid.org/<br> | http://wiki.opencellid.org/<br> | ||
http://www.gpslocalizador.es/index.php/soporte.html<br> | http://www.gpslocalizador.es/index.php/soporte.html<br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Linux=== | ===Linux=== | ||
Line 107: | Line 107: | ||
http://www.wes.id.au/2013/07/decoding-and-sending-433mhz-rf-codes-with-arduino-and-rc-switch/<br> | http://www.wes.id.au/2013/07/decoding-and-sending-433mhz-rf-codes-with-arduino-and-rc-switch/<br> | ||
https://code.google.com/p/rc-switch/ | https://code.google.com/p/rc-switch/ | ||
+ | |||
+ | http://arduino.cc/en/Reference/AttachInterrupt | ||
+ | https://code.google.com/p/rc-switch/wiki/HowTo_Receive | ||
+ | http://www.wes.id.au/2013/07/decoding-and-sending-433mhz-rf-codes-with-arduino-and-rc-switch/ | ||
+ | http://connectingstuff.net/blog/encodage-protocoles-oregon-scientific-sur-arduino/ | ||
+ | |||
+ | |||
+ | Homeeasy: | ||
+ | http://playground.arduino.cc/Code/HomeEasy | ||
+ | https://github.com/bruce33/homeeasyhacking | ||
+ | https://github.com/calle-gunnarsson/NexaCtrl | ||
+ | |||
===IR=== | ===IR=== | ||
http://playground.arduino.cc/Main/IRLib<br> | http://playground.arduino.cc/Main/IRLib<br> | ||
Line 126: | Line 138: | ||
===GPS=== | ===GPS=== | ||
http://code.google.com/p/ardupirates/wiki/UbloxGPSTutorial<br> | http://code.google.com/p/ardupirates/wiki/UbloxGPSTutorial<br> | ||
+ | http://www.catb.org/gpsd/NMEA.html<br> | ||
+ | http://gnss-sdr.org/documentation/gnss-sdr-operation-realtek-rtl2832u-usb-dongle-dvb-t-receiver<br> | ||
===Programing Cable === | ===Programing Cable === | ||
Line 148: | Line 162: | ||
Package Included: | Package Included: | ||
1x USB to RS232/TTL PL2303HX Cable Adapter Module | 1x USB to RS232/TTL PL2303HX Cable Adapter Module | ||
+ | |||
+ | ==== Mini Pro 328==== | ||
+ | - DTR | ||
+ | white - TX | ||
+ | green - RX | ||
+ | red - +5V | ||
+ | black - GND | ||
+ | - GND | ||
+ | |||
+ | |||
+ | AVRISP MKII | ||
+ | Arduino Duoecemila / Diecimila ,... MINI/PRO | ||
+ | Prosessor 328 | ||
+ | |||
+ | 1. Press RESET at MiniPro and HOLD | ||
+ | 2. Press Upload and release | ||
+ | 3. Release MiniPro RESET when sketch build | ||
+ | |||
+ | 1. USB adapter did not work USB 3.0 but did work USB 2.0 | ||
+ | 2. Be careful while soldering Mini/pro,.. some reason cold joints easy to do ! | ||
===AIS=== | ===AIS=== | ||
Line 160: | Line 194: | ||
http://www.rtl-sdr.com/big-list-rtl-sdr-supported-software/<br> | http://www.rtl-sdr.com/big-list-rtl-sdr-supported-software/<br> | ||
https://github.com/merbanan/rtl_433<br> | https://github.com/merbanan/rtl_433<br> | ||
+ | <br> | ||
+ | http://forum.43oh.com/topic/4833-potm-daisy-a-simple-ais-receiver/<br> | ||
+ | http://www.silabs.com/products/wireless/ezradiopro/pages/si4362.aspx<br> | ||
+ | https://github.com/astuder/dAISy<br> | ||
+ | https://github.com/ttlappalainen<br> | ||
+ | <br> | ||
===RDS=== | ===RDS=== | ||
Line 214: | Line 254: | ||
Multi-frequency: 125 frequency | Multi-frequency: 125 frequency | ||
Support up to six channels of data reception | Support up to six channels of data reception | ||
+ | |||
+ | === CAN BUS === | ||
+ | https://www.cooking-hacks.com/documentation/tutorials/can-bus-module-shield-tutorial-for-arduino-raspberry-pi-intel-galileo/<br> | ||
+ | https://en.wikipedia.org/wiki/CAN_bus<br> | ||
+ | |||
+ | Smart Electronics MCP2515 CAN Bus Module TJA1050 Receiver SPI For Arduino 51 MCU ARM Controller Development Board | ||
+ | |||
+ | Support CAN V2.0 B , Communication rate up to 1Mb/S | ||
+ | |||
+ | Power supply: DC 5V , SPI Protocol Control | ||
+ | |||
+ | Work current: 5mA , | ||
+ | |||
+ | Size: 4*2.8 cm , standby current: 1uA | ||
+ | |||
+ | Working temperature: -40 C - +85 C | ||
+ | |||
+ | 120 Ohm terminal resistance, Impedance matching and guarantee the ability to drive | ||
+ | |||
=== RX/TX NRF24L01=== | === RX/TX NRF24L01=== | ||
Line 402: | Line 461: | ||
power-down mode | power-down mode | ||
− | Connections: | + | Connections: |
− | 1.RST--------- reset | + | 1.RST--------- reset |
− | 2.CE---------- chip selection | + | 2.CE---------- chip selection |
− | 3.DC---------- data/commands choice | + | 3.DC---------- data/commands choice |
− | 4.DIN--------- serial data line | + | 4.DIN--------- serial data line |
− | 5.CLK--------- serial Clock Speed | + | 5.CLK--------- serial Clock Speed |
− | 6.3.3V-------- VCC | + | 6.3.3V-------- VCC |
− | 7.LIGHT------- backlight control terminal | + | 7.LIGHT------- backlight control terminal |
− | 8.GND--------- power negative | + | 8.GND--------- power negative |
− | Specifications: | + | Specifications: |
− | 1.For Nokia 5110 3V-5V | + | 1.For Nokia 5110 3V-5V |
− | 2.Module size: 45.2mm x 43.1mm | + | 2.Module size: 45.2mm x 43.1mm |
+ | Package included: | ||
+ | 1x LCD Module for Nokia 5110 | ||
+ | |||
+ | http://www.avdweb.nl/arduino/hardware-interfacing/nokia-5110-lcd.html <br> | ||
+ | |||
+ | ===OLED=== | ||
+ | Introduce: | ||
+ | What is OLED? | ||
+ | OLED (Organic Light-Emitting Diode) is a self light-emitting technology composed of a thin, multi-layered organic film placed between an anode and cathode. In contrast to LCD technology, OLED does not require a backlight. OLED possesses high application potential for virtually all types of displays and is regarded as the ultimate technology for the next generation of flat-panel displays. | ||
+ | |||
+ | How Does OLED Emit Light? | ||
+ | OLEDs basic structure consists of organic materials positioned between the cathode and the anode, which is composed of electric conductive transparent Indium Tin Oxide (ITO). The organic materials compose a multi-layered thin film, which includes the Hole Transporting Layer (HTL), Emission Layer (EML) and the Electron Transporting Layer (ETL). By applying the appropriate electric voltage, holes and electrons are injected into the EML from the anode and the cathode, respectively. The holes and electrons combine inside the EML to form excitons, after which electroluminescence occurs. The transfer material, emission layer material and choice of electrode are the key factors that determine the quality of OLED components. | ||
+ | |||
+ | Feature: | ||
+ | No backlight, the display unit can be self-luminous | ||
+ | High resolution: 128 * 64 | ||
+ | Viewing angle:> 160 ° | ||
+ | Supports many control chip: Fully compatible with Arduino, 51 series, MSP430 series, STM32 / 2, CSR chip, etc. | ||
+ | Ultra-low power consumption: full screen lit 0.08W, 0.06W normal full-screen display of Chinese characters | ||
+ | Wide voltage support: without any modification, directly supports 3V ~ 5V DC | ||
+ | Working temperature: -30 ℃ ~ 70 ℃ | ||
+ | Module volume (generous): 27.0MM * 27.0MM * 4.1MM | ||
+ | Minimum occupancy on Earth IO port display: The IIC/I2C communication, as long as the two IO ports will be able to drive! | ||
+ | Driver IC: SSD1306 | ||
+ | No font: take the word with modulo software | ||
+ | |||
+ | |||
+ | Note: If you decide to buy OLED display, you must confirm that you can make it work by yourself, we'll haven't any technology support except all the datasheet. Thanks for your understanding and support. | ||
Package included: | Package included: | ||
− | 1x | + | 100% Brand New |
+ | 1x Module | ||
=== TFT === | === TFT === | ||
− | Features: | + | Features: |
− | + | · 2.4" diagonal LCD TFT display | |
− | · 2.4" diagonal LCD TFT display | + | · Bright, 4 white-LED backlight, on by default but you can connect the transistor to a digital pin for backlight control |
− | · Bright, 4 white-LED backlight, on by default but you can connect the transistor to a digital pin for backlight control | + | · Colorful, 18-bit 262,000 different shades |
− | · Colorful, 18-bit 262,000 different shades | + | · 4-wire resistive touchscreen |
− | · 4-wire resistive touchscreen | + | · spfd5408 controller with built in video RAM buffer |
− | · spfd5408 controller with built in video RAM buffer | + | · 8 bit digital interface, plus 4 control lines |
− | · 8 bit digital interface, plus 4 control lines | + | · Uses digital pins 5-13 and analog 0-3. That means you can use digital pins 2, 3 and analog 4 and 5. Pin 12 is available if not using the micro SD |
− | · Uses digital pins 5-13 and analog 0-3. That means you can use digital pins 2, 3 and analog 4 and 5. Pin 12 is available if not using the micro SD | + | · 5V compatible, use with 3.3V or 5V logic |
− | · 5V compatible, use with 3.3V or 5V logic | + | |
+ | Could work | ||
+ | fork from: http://www.henningkarlsen.com/electronics/library.php?id=51 | ||
+ | could work: https://code.google.com/p/arduino-uno-tft-shield-1in1/source/browse/trunk/UTFT_2.72_Plus.ZIP | ||
+ | |||
+ | This rocks: | ||
+ | http://www.smokeandwires.co.nz/blog/a-2-4-tft-touchscreen-shield-for-arduino/<br> | ||
+ | https://github.com/adafruit/Adafruit-GFX-Library | ||
+ | USE: www.airspayce.com/mikem/TFTLCD-mikem.zip INSTEAD: https://github.com/adafruit/TFTLCD-Library and modify mega2560 pinout<br> | ||
+ | https://github.com/adafruit/Touch-Screen-Library<br> | ||
+ | |||
+ | ==SENSORS== | ||
+ | http://www.instructables.com/id/Use-your-android-phone-sensors-on-the-arduino-/<br> | ||
+ | |||
+ | Temperature http://playground.arduino.cc/Learning/OneWire <br> <br> | ||
+ | Humidity and Temp https://learn.adafruit.com/dht/using-a-dhtxx-sensor<br> | ||
+ | Pressure: https://learn.adafruit.com/bmp085/downloads | ||
+ | gyro: http://playground.arduino.cc/Main/MPU-6050<br> | ||
+ | http://www.invensense.com/mems/gyro/mpu6050.html<br> | ||
+ | |||
+ | <code> | ||
+ | DEVICE BUS FUNCTION | ||
+ | |||
+ | DH-11 Own Bus temp & humi | ||
+ | |||
+ | DC18B20 OneWire temp | ||
+ | |||
+ | DMP180 / 85 I2C temp & press | ||
+ | clock I2C clock | ||
+ | MPU-6050 I2C velocity | ||
+ | </code> | ||
=== Temp DS18B20 === | === Temp DS18B20 === | ||
Line 448: | Line 566: | ||
ღ Cable length: 100 cm | ღ Cable length: 100 cm | ||
+ | === Humidity DHT-11 === | ||
+ | |||
+ | === Pressure === | ||
+ | |||
+ | 1) | ||
+ | BMP180 is a high precision, small volume, low energy consumption pressure sensor, can be applied in mobile devices . | ||
+ | Its performance is remarkable, the absolute minimum accuracy can reach 0.03 hPa, and power consumption is extremely low, only 3 μA. | ||
+ | BMP180 adopted powerful 8 - pin bearing (LCC) ceramic leadless chip ultra-thin encapsulation, can be directly through the I2C bus connected to a variety of microprocessors. | ||
+ | |||
+ | Main features: | ||
+ | |||
+ | Pressure range: 300 ~ 1100 hPa (altitude 9000 m ~ - 500 m) | ||
+ | Power supply voltage: 1.8 V to 3.6 V (VDDA), 1.62 V to 3.6 V (VDDD) | ||
+ | LCC8 encapsulation: lead-free ceramics carrier encapsulation (LCC) | ||
+ | Low power consumption: 5 μA, in the standard model | ||
+ | High precision: low power consumption mode,the resolution is 0.06 hPa (0.5 meters) ; High linear mode, the resolution is 0.03 hPa (0.25 meters) | ||
+ | MSL 1 response time: 7.5 ms | ||
+ | Standby current: 0.1 μA | ||
+ | Typical application: | ||
+ | GPS precise navigation (navigation calculation, up and down the bridge detection, etc ) | ||
+ | Indoor and outdoor navigation | ||
+ | Leisure,sports and health monitoring | ||
+ | |||
+ | 2) BMP180 Digital Barometric Pressure Sensor Board | ||
+ | |||
+ | ===I2C RTC DS1307 AT24C32 Real Time Clock Module === | ||
+ | http://www.glacialwanderer.com/hobbyrobotics/?p=12<br> | ||
+ | ===NEO-6 V3.0 GPS NEO-6M Module For APM MWC=== | ||
+ | https://www.pjrc.com/teensy/td_libs_TinyGPS.html<br> | ||
+ | ===DHT-11=== | ||
+ | |||
+ | === O2 === | ||
+ | |||
+ | |||
+ | Item Description: | ||
+ | |||
+ | Size: 32 mm X22mm X27mm | ||
+ | Main chip: the LM393, MQ-8 gas sensor | ||
+ | Working voltage: DC5V | ||
+ | |||
+ | Feature: | ||
+ | 1. With a signal output instructions. | ||
+ | 2. Dual signal output (TTL level output and analog output) | ||
+ | 3. TTL output valid signal for low level. (when the low output electric signal lights at 4. ordinary times, can be directly pick up SCM) | ||
+ | 5. Analog 0 ~ 5 v voltage, the higher the concentration, the higher the voltage. | ||
+ | 6. High sensitivity to hydrogen | ||
+ | 7. Can be resistant to ethanol steam, LPG (petroleum), smoke interference | ||
+ | 8. Has a long service life and reliable stability | ||
+ | 9. Quick response recovery features | ||
+ | |||
+ | === Air Quality === | ||
+ | |||
+ | |||
+ | Item Description: | ||
+ | |||
+ | 1. Size: 32mm X22mm X30mm length * width * height | ||
+ | 2. The main chip: LM393, MQ135 gas sensing probe | ||
+ | 3. Operating voltage: DC 5V | ||
+ | |||
+ | Features: | ||
+ | |||
+ | Signal output indicator instructions; | ||
+ | Dual signal output (analog output, and TTL level output); | ||
+ | TTL output valid signal is low; (output low signal light, which can be accessed microcontroller IO port) | ||
+ | Analog output with increasing concentration, the higher the concentration, the higher the voltage; | ||
+ | Sulfide, benzene Department of steam, smoke and other harmful gases with high sensitivity; | ||
+ | Has a long life and reliable stability; | ||
+ | Rapid response recovery characteristics; | ||
+ | |||
+ | |||
+ | Applications: | ||
+ | |||
+ | A hazardous gas detection apparatus for the family, the environment, suitable for ammonia, aromatic compounds, sulfur, benzene vapor, smoke and other gases harmful gas detection, gas-sensitive element test concentration range: 10 to 1000ppm | ||
=== POWER === | === POWER === | ||
Line 486: | Line 677: | ||
LilyPad Simple ATmega328 2.7-5.5 V/2.7-5.5 V 8 Mhz 4/0 9/4 1 2 32 - - | LilyPad Simple ATmega328 2.7-5.5 V/2.7-5.5 V 8 Mhz 4/0 9/4 1 2 32 - - | ||
LilyPad SimpleSnap ATmega328 2.7-5.5 V/2.7-5.5 V 8 Mhz 4/0 9/4 1 2 32 - - | LilyPad SimpleSnap ATmega328 2.7-5.5 V/2.7-5.5 V 8 Mhz 4/0 9/4 1 2 32 - - | ||
+ | |||
+ | === eps8266 pin usage === | ||
+ | |||
+ | https://www.espruino.com/arduino-esp8266 - wifi shield | ||
+ | |||
+ | Best Pins to Use – ESP8266 | ||
+ | |||
+ | One important thing to notice about ESP8266 is that the GPIO number doesn’t match the label on the board silkscreen. For example, D0 corresponds to GPIO16 and D1 corresponds to GPIO5. | ||
+ | |||
+ | The following table shows the correspondence between the labels on the silkscreen and the GPIO number as well as what pins are the best to use in your projects, and which ones you need to be cautious. | ||
+ | |||
+ | The pins highlighted in green are OK to use. The ones highlighted in yellow are OK to use, but you need to pay attention because they may have unexpected behavior mainly at boot. The pins highlighted in red are not recommended to use as inputs or outputs. | ||
+ | Label GPIO Input Output Notes | ||
+ | D0 GPIO16 no interrupt no PWM or I2C support HIGH at boot | ||
+ | used to wake up from deep sleep | ||
+ | D1 GPIO5 OK OK often used as SCL (I2C) | ||
+ | D2 GPIO4 OK OK often used as SDA (I2C) | ||
+ | D3 GPIO0 pulled up OK connected to FLASH button, boot fails if pulled LOW | ||
+ | D4 GPIO2 pulled up OK HIGH at boot | ||
+ | connected to on-board LED, boot fails if pulled LOW | ||
+ | D5 GPIO14 OK OK SPI (SCLK) | ||
+ | D6 GPIO12 OK OK SPI (MISO) | ||
+ | D7 GPIO13 OK OK SPI (MOSI) | ||
+ | D8 GPIO15 pulled to GND OK SPI (CS) | ||
+ | Boot fails if pulled HIGH | ||
+ | RX GPIO3 OK RX pin HIGH at boot | ||
+ | TX GPIO1 TX pin OK HIGH at boot | ||
+ | debug output at boot, boot fails if pulled LOW | ||
+ | A0 ADC0 Analog Input X | ||
+ | Report this ad | ||
+ | |||
+ | Continue reading for a more detailled and in-depth analysis of the ESP8266 GPIOs and its functions. | ||
+ | GPIOs connected to the Flash Chip | ||
+ | |||
+ | GPIO6 to GPIO11 are usually connected to the flash chip in ESP8266 boards. So, these pins are not recommended to use. | ||
+ | Pins used during Boot | ||
+ | |||
+ | The ESP8266 can be prevented from booting if some pins are pulled LOW or HIGH. The following list shows the state of the following pins on BOOT: | ||
+ | |||
+ | GPIO16: pin is high at BOOT | ||
+ | GPIO0: boot failure if pulled LOW | ||
+ | GPIO2: pin is high on BOOT, boot failure if pulled LOW | ||
+ | GPIO15: boot failure if pulled HIGH | ||
+ | GPIO3: pin is high at BOOT | ||
+ | GPIO1: pin is high at BOOT, boot failure if pulled LOW | ||
+ | GPIO10: pin is high at BOOT | ||
+ | GPIO9: pin is high at BOOT | ||
+ | |||
+ | Pins HIGH at Boot | ||
+ | |||
+ | There are certain pins that output a 3.3V signal when the ESP8266 boots. This may be problematic if you have relays or other peripherals connected to those GPIOs. The following GPIOs output a HIGH signal on boot: | ||
+ | |||
+ | GPIO16 | ||
+ | GPIO3 | ||
+ | GPIO1 | ||
+ | GPIO10 | ||
+ | GPIO9 | ||
+ | |||
+ | Additionally, the other GPIOs, except GPIO5 and GPIO4, can output a low-voltage signal at boot, which can be problematic if these are connected to transistors or relays. You can read this article that investigates the state and behavior of each GPIO on boot. | ||
+ | |||
+ | GPIO4 and GPIO5 are the most safe to use GPIOs if you want to operate relays. | ||
+ | Report this ad | ||
+ | Analog Input | ||
+ | |||
+ | The ESP8266 only supports analog reading in one GPIO. That GPIO is called ADC0 and it is usually marked on the silkscreen as A0. | ||
+ | |||
+ | The maximum input voltage of the ADC0 pin is 0 to 1V if you’re using the ESP8266 bare chip. If you’re using a development board like the ESP8266 12-E NodeMCU kit, the voltage input range is 0 to 3.3V because these boards contain an internal voltage divider. | ||
+ | |||
+ | You can learn how to use analog reading with the ESP8266 with the following guide: | ||
+ | |||
+ | ESP8266 ADC – Read Analog Values with Arduino IDE, MicroPython and Lua | ||
+ | |||
+ | On-board LED | ||
+ | |||
+ | Most of the ESP8266 development boards have a built-in LED. This LED is usually connected to GPIO2. | ||
+ | ESP8266 NodeMCU On-board LED | ||
+ | |||
+ | The LED is connected to a pull-down resistor, so when you send a HIGH signal the LED turns off. | ||
+ | RST Pin | ||
+ | |||
+ | When the RST pin is pulled LOW, the ESP8266 resets. This is the same as pressing the on-board RESET button. | ||
+ | ESP8266 NodeMCU On-board Reset button | ||
+ | Report this ad | ||
+ | GPIO0 | ||
+ | |||
+ | When GPIO0 is pulled LOW, it sets the ESP8266 into bootloader mode. This is the same as pressing the on-board FLASH/BOOT button. | ||
+ | ESP8266 NodeMCU GPIO 0 Flash boot button | ||
+ | GPIO16 | ||
+ | |||
+ | GPIO16 can be used to wake up the ESP8266 from deep sleep. To wake up the ESP8266 from deep sleep, GPIO16 should be connected to the RST pin. Learn how to put the ESP8266 into deep sleep mode: | ||
+ | |||
+ | ESP8266 Deep Sleep with Arduino IDE | ||
+ | ESP8266 Deep Sleep with MicroPython | ||
+ | |||
+ | I2C | ||
+ | |||
+ | The ESP8266 doens’t have hardware I2C pins, but it can be implemented in software. So you can use any GPIOs as I2C. Usually, the following GPIOs are used as I2C pins: | ||
+ | Report this ad | ||
+ | |||
+ | GPIO5: SCL | ||
+ | GPIO4: SDA | ||
+ | |||
+ | SPI | ||
+ | |||
+ | The pins used as SPI in the ESP8266 are: | ||
+ | |||
+ | GPIO12: MOSI | ||
+ | GPIO13: MISO | ||
+ | GPIO14: SCLK | ||
+ | GPIO15: CS | ||
+ | |||
+ | PWM Pins | ||
+ | |||
+ | ESP8266 allows software PWM in all I/O pins: GPIO0 to GPIO16. PWM signals on ESP8266 have 10-bit resolution. Learn how to use ESP8266 PWM pins: | ||
+ | |||
+ | ESP8266 PWM with Arduino IDE | ||
+ | ESP8266 PWM with MicroPython | ||
+ | |||
+ | Interrupt Pins | ||
+ | |||
+ | The ESP8266 supports interrupts in any GPIO, except GPIO16. | ||
+ | |||
+ | ESP8266 Interrupts and Timers with Arduino IDE | ||
+ | |||
eTHERNET | eTHERNET | ||
Line 509: | Line 824: | ||
Package Contents: | Package Contents: | ||
1x W5100 Ethernet Shield | 1x W5100 Ethernet Shield | ||
+ | |||
+ | === PCB === | ||
+ | http://sdr.osmocom.org/trac/wiki/rtl-sdr#Usage | ||
+ | http://www.nitehawk.com/sm5bsz/linuxdsp/hware/rtlsdr/rtlsdr.htm | ||
+ | |||
+ | http://oshpark.com/<br> | ||
+ | http://www.cadsoft.de/download.htm <br> | ||
+ | <br> | ||
+ | http://code.google.com/p/fritzing/issues/detail?id=2753<br> | ||
+ | |||
+ | = RTL-SDR = | ||
+ | http://www.sm5bsz.com/linuxdsp/linrad.htm<br> | ||
+ | http://sdr.osmocom.org/trac/wiki/rtl-sdr#Usage<br> | ||
+ | http://nmearouter.com/docs/ais/aerial.html<br> | ||
+ | http://www.nitehawk.com/linrad_dat/<br> | ||
+ | |||
+ | ==GNSS== | ||
+ | http://gnss-sdr.org/documentation/gnss-sdr-operation-realtek-rtl2832u-usb-dongle-dvb-t-receiver<br> | ||
+ | http://egnos-portal.gsa.europa.eu/news/egnos-gets-invite-your-smartphone-11<br> | ||
+ | |||
+ | ==AIS== | ||
+ | |||
+ | Any sailors out there? AIS receivers are getting cheap, but they still cost anywhere from $200-$1000. You've already got a laptop and an RTL dongle. Want to use your laptop + RTL dongle as a chart plotter and AIS traffic receiver? Of course you do. Here's an example. And here's how to do it in Linux. | ||
+ | |||
+ | Install gnuradio. | ||
+ | |||
+ | Install gr-ais: | ||
+ | |||
+ | $ git clone https://github.com/bistromath/gr-ais.git | ||
+ | $ cd gr-ais | ||
+ | $ mkdir build | ||
+ | $ cd build | ||
+ | $ cmake ../ | ||
+ | $ make | ||
+ | $ sudo make install | ||
+ | $ sudo ldconfig | ||
+ | |||
+ | Install OpenCPN: | ||
+ | |||
+ | $ sudo add-apt-repository ppa:opencpn/opencpn | ||
+ | $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C865EB40 | ||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get install opencpn | ||
+ | |||
+ | Add some charts to OpenCPN | ||
+ | |||
+ | Install socat, a program to connect basically anything to anything else. We use it here to connect the text output of gr-ais to a virtual serial port: | ||
+ | |||
+ | $ sudo apt-get install socat | ||
+ | |||
+ | Make yourself a virtual serial port to read from: | ||
+ | |||
+ | $ socat -d -d pipe:ais_pipe pty& | ||
+ | |||
+ | socat will tell you the name of the pty it just created: | ||
+ | |||
+ | 2013/09/13 15:49:00 socat[24604] N PTY is /dev/pts/13 | ||
+ | |||
+ | Add that virtual serial port (in this case, /dev/pts/13) to OpenCPN. It's in the settings menu. Baud rate doesn't matter. | ||
+ | |||
+ | Start gr-ais: | ||
+ | |||
+ | $ ais_rx -dosmocom -g35 -r250e3 > ais_pipe | ||
+ | |||
+ | If you've got line of sight to some ships, you should be seeing traffic in OpenCPN. You'll want to play with the gain for best results. Keep in mind a couple of real-world caveats: first, you definitely need line of sight, or very near to it. Second, the RTL dongle has pretty lousy dynamic range, and 162MHz is pretty close to FM and TV. Not to mention if you happen to transmit on a marine VHF radio nearby it's going to blow the dongle out of the water. So using a filter on the RTL dongle is a really, really good idea. I found one cheap on eBay a few years back. | ||
+ | |||
+ | Have fun! | ||
+ | |||
+ | =PCB BOARD= | ||
+ | |||
+ | Item Description: | ||
+ | Brand new and high quality. | ||
+ | Note: You can use the laser printer! Can not use inkjet printer. | ||
+ | Remove the white paper, laser printer (or copier) to the PCB map, hit the smooth side, apply to the copper, and iron into the machine or rapid transfer to plate. | ||
+ | DIY Transfer Paper (fan-made high-precision electronic circuit board must have the material). | ||
+ | Heat produced by the circuit board renderings:. | ||
+ | Feature. | ||
+ | Heat transfer law making circuit boards, circuit board is drawn graphics, laser printers print in thermal transfer paper, transfer paper and then covered in Bonded Copper, after heating, the melting of the toner completely adsorbed on the deposited copper, and other cool tear off transfer paper, you can see the graphics board has to transfer to the Bonded Copper on the black anti-corrosion layers, that is, we want to map the PCB, and finally to corrosion, and that we want to obtain the PCB board. | ||
+ | The process of making iron tools used in heating or over-presses. We serve the transfer paper for the production of circuit boards dedicated thermal transfer paper, with its production of circuit board has the following advantages:. | ||
+ | 1 plate with high precision. | ||
+ | 2, plate cost. | ||
+ | 3, plate-making speed. | ||
+ | 4, can produce double-sided. | ||
+ | Usage:1 circuit board with a laser printer to print to the circuit diagram of the smooth thermal transfer paper. | ||
+ | 2Raised with the laminator between 150-180 degrees Celsius, the heat transfer printed circuit side of the paper deposited in the Bonded Copper on the transfer; the system can also be used instead of iron plate machine, hand transfer. | ||
+ | 3 Remove the transfer paper after printing, the Bonded into the ferric chloride solution to corrosion. | ||
+ | 4 Finally, remove the circuit board using toner. | ||
+ | Package Included: | ||
+ | 10 X Heat Toner Transfer Paper | ||
+ | |||
+ | <br> | ||
+ | |||
+ | Ehs etching agent, colorless transparent solution after dissolving, the strong ability of etching. Net content of 200 grams, plus or minus 1 g. 1:4 water, a packet of etching 10 x 15 cm more than 10 single panel. Advantages: compared with iron trichloride A colorless, clear and solution, no more smudgy image; B, etching is clearly visible, easily achieve the highest accuracy; C, do not produce sludge, not knot dirty scar, clothes are not floor color stains; Directions for use: A, preparation (clear plastic tray) 1. By 1:4 will moment agent soluble in water, namely a pack of 200 grams of the agents with 800 ml water. In order to ensure the use effect, etching temperature is best in more than 50 °. So can the first water heated to 70 ° or so add the etching agent; 2. Gently shaking container, or stirring with a plastic rod, make the agent fully dissolved. B, operating 1. Will stay processing circuit board into liquid (single panel membrane facing, double panel please dangling place, don't touch the bottom). 2. Gently shake the container, or in soft brush brush panel to ensure that the solution flowing in the circuit board surface, visible board face bare copper layer gradually dissolve and show board basic bottom; 3. When the bare copper layer completely disappear, plate base translucent shape, when the process is completed, take 5-15 minutes. Operation process, the solution changed from colorless to pale blue color, and with a little blue and white crystal precipitation; 4. The board to take out the rinse off with clear water, visual check all parts completely, can be dried in the next step; 5. After the completion of the operation, the rest of the solution after the crystal sediment filter, can be reserved for the secondary use, until discarded when processing speed slow. U pay attention to 1. This agent (liquid) is a weak acid, non-toxic, used up be sure to wash their hands, such as eye contact, please quickly to wash; 2. Please away from children. Store in a cool and dry place. 3. The liquid is as far as possible with chef. Employ good this fluid do not put in airtight containers, because the solution will be slow to decompose, release oxygen, causes container pressure; 4. The agent itself, nonpoisonous and harmless, but because of copper ion in waste liquid (heavy metals), so please use before discarding the alkaline material such as soda ash or lime treatment after proper disposal. |
Latest revision as of 12:43, 4 June 2020
http://www.arduino.cc/
https://www.sparkfun.com/search/results?term=gas+sensor
ideas
http://hwstartup.wordpress.com/
http://forum.arduino.cc/index.php?topic=37975.0
REPRAPPRO.COM
harDware
https://github.com/rheingoldheavy/arduino_uno_r3_from_scratch.git
http://www.kicadlib.org/
http://www.smisioto.eu/elettronica/kicad/kicad-en.htm
https://github.com/mivade/arduino_lib.git - uno
https://github.com/T3P3/Duet.git -duet
programming
http://www.mjoldfield.com/atelier/2009/02/arduino-cli.html
http://pragprog.com/magazines/2011-04/advanced-arduino-hacking
http://www.ele.uri.edu/courses/ele205/ELE205Lab/ELE205_Lab_files/Arduino%20-%20Reference.pdf
boot loader:
http://angryelectron.com/how-to-update-the-bootloader-on-arduino-pro-mini-328/
keyboard
http://www.codeproject.com/Articles/710475/Using-matrix-keypad-with-Arduino
2.4Ghz
Features: This wireless Transceiver module is an easy and suitable module if you want to setup your wireless communication system with low cost!! It can achieve a good balance between wireless transition performance and cost! You can easily add it with your own MCU/ARM/PIC/AVR/STM32 system! What\'s more, this nRF24L01+ module is designed with Power amplifier and SMA antenna This allowed you to use the wireless communication up to 1000 meters! (No barrier) Specifications: Frequence: 2.4GHz~2.5GHz Operating voltage: 3 ~ 3.6V Max Current: 115mA Multi-frequency: 125 frequency Support up to six channels of data reception Package contents: 1x NRF24L01+PA+LNA 1x SMA Antenna
https://arduino-info.wikispaces.com/Nrf24L01-Info
http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
http://arduino.cc/forum/index.php/topic,62222.0.html
http://maniacbug.github.com/RF24/index.html
https://github.com/maniacbug/RF24
http://maniacbug.wordpress.com/2011/11/02/getting-started-rf24/
http://www.tjstephens.com/blog/2013/11/23/temperature-logger/
try this first
GSM
https://www.circuitsathome.com/mcu/programming/interfacing-arduino-to-a-cellular-phone
cell id =
?mcc=244&mnc=121&lac=502&cellid=5148
http://developer.android.com/reference/android/telephony/gsm/GsmCellLocation.html#getCid%28%29
https://stackoverflow.com/questions/7240038/utran-cell-identity-returned-by-getcid
http://www.minigps.net/map.html
http://wiki.opencellid.org/
http://www.gpslocalizador.es/index.php/soporte.html
Linux
https://wiki.archlinux.org/index.php/arduino
Bluetooth:
Features: Easy to use and completely encapsulated. This module includes key interface and state interface compared with Smart Bluetooth Module Baseboard. The Bluetooth Module Baseboard can be compatible with master mode, slave mode and both master-slave mode. Works for Bluetooth TTL transceiver module which allows your target device to both send or receive the TTL data. The key interface on the baseboard is the master mode button and can be controlled by high level from external MCU, then this module will search again automatically. This module power supply input is 3.6~6V, Please be careful that it should be not more than 7V. Specifications: Size:35*15mm Net weight:3g Package weight:13g Color:Green Packing content: 1 x Interface Base Board Serial Transceiver Bluetooth Module
http://homepages.ihug.com.au/~npyner/Arduino/GUIDE_2BT.pdf
http://project-greengiant.googlecode.com/svn/trunk/Blog/Android%20Arduino%20Bluetooth/
http://arduiniana.org/libraries/newsoftserial/
serial
http://arduiniana.org/libraries/newsoftserial/
433
http://code.google.com/p/rc-switch/
http://www.wes.id.au/2013/07/decoding-and-sending-433mhz-rf-codes-with-arduino-and-rc-switch/
https://code.google.com/p/rc-switch/
http://arduino.cc/en/Reference/AttachInterrupt https://code.google.com/p/rc-switch/wiki/HowTo_Receive http://www.wes.id.au/2013/07/decoding-and-sending-433mhz-rf-codes-with-arduino-and-rc-switch/ http://connectingstuff.net/blog/encodage-protocoles-oregon-scientific-sur-arduino/
Homeeasy:
http://playground.arduino.cc/Code/HomeEasy
https://github.com/bruce33/homeeasyhacking
https://github.com/calle-gunnarsson/NexaCtrl
IR
http://playground.arduino.cc/Main/IRLib
http://arduino-info.wikispaces.com/IR-RemoteControl
Time
http://playground.arduino.cc/Code/Time#.UzVmHqYX5CM
http://arduino.cc/en/Tutorial/UdpNtpClient
NTP server
power save
http://playground.arduino.cc/Learning/arduinoSleepCode#.UzVn06YX5CM
http://code.google.com/p/narcoleptic/
https://github.com/davidhbrown/RealTimeClockDS1307
eht w5100 can not be powered down but ENC28J60 can
POWER sources
http://www.freetronics.com/pages/power-over-ethernet-for-arduino#.U1fygqY6NwY
GPS
http://code.google.com/p/ardupirates/wiki/UbloxGPSTutorial
http://www.catb.org/gpsd/NMEA.html
http://gnss-sdr.org/documentation/gnss-sdr-operation-realtek-rtl2832u-usb-dongle-dvb-t-receiver
Programing Cable
Features: USB TO RS232 TTL PL2303HX Auto Converter Module Adapter 5V Output, provides the best and convenient way to connect your RS232 TTL devices or DEMO BRD. To your computer, via the usb port. Specification: Built-in TTL COM PC-PL2303HX Chip Standard USB type A male and TTL 4 pin connector Cable length: 1000mm (39 3/8 in) Simple and Easy way to give USB support to your designs Available for Linux, Mac, WinCE and Windows (XP, 2003), Vista, Win 7 Black cable-----GND Green cable----TXD White cable----RXD Red cable ---- VCC (5V) PL2303 Windows Driver Download Connection method: Brush requires only three lines, generally used only three signal lines RX TX GND, VCC. Note: After setting 3.3V and 5.0V output (this is To the microcontroller power supply, no need to upgrade the machine) please put the small plate unplug from the computer, set the jumper to take, do not charged to avoid damage to the device. Package Included: 1x USB to RS232/TTL PL2303HX Cable Adapter Module
Mini Pro 328
- DTR white - TX green - RX red - +5V black - GND - GND
AVRISP MKII Arduino Duoecemila / Diecimila ,... MINI/PRO Prosessor 328
1. Press RESET at MiniPro and HOLD 2. Press Upload and release 3. Release MiniPro RESET when sketch build
1. USB adapter did not work USB 3.0 but did work USB 2.0 2. Be careful while soldering Mini/pro,.. some reason cold joints easy to do !
AIS
http://www.oz9aec.net/index.php/gnu-radio-blog/482-a-2-channel-ais-receiver-using-rtl-sdr-and-gnuais
http://gnuais.sourceforge.net/
http://www.discriminator.nl/ic/index.html
https://github.com/rubund/gnuais/tags
http://sdr.osmocom.org/trac/wiki/rtl-sdr
https://github.com/bistromath/gr-ais
http://www.rtl-sdr.com/big-list-rtl-sdr-supported-software/
https://github.com/merbanan/rtl_433
http://forum.43oh.com/topic/4833-potm-daisy-a-simple-ais-receiver/
http://www.silabs.com/products/wireless/ezradiopro/pages/si4362.aspx
https://github.com/astuder/dAISy
https://github.com/ttlappalainen
RDS
https://github.com/bastibl/gr-rds
Harware specs.
GPS NEO 6 v.3.0
Product Features:
U-blox NEO-6M GPS module 5Hz update rate 32k I2C EEPROM for save configuration Build in 25 x 25 x 4mm ceramic patch antenna LNA and SAW chip 3.3V LDO low noise regulator UART (TTL) port with EMI protection 3V lithium Rechargeable battery Power and fix indicator LEDs Reverse polarity protection for input power
Default parameter: ?Standard NMEA protocol ?Baud rate : 9600 Nav rate : 1Hz ?TIMEPULSE (fix LED) rate : 1Hz
Other: Dimension: 40 x 40 x 9mm Weight: 16.4g/18.6g (include cable) Hole diameter: 3.1mm
Package Included:
1 x NEO-6 GPS v3.0 1 x UART 4Pin cable 300mm
2.4G NRF24L01 + PA + LNA Wireless Transceiver Module + SMA Antenna
Features: This wireless Transceiver module is an easy and suitable module if you want to setup your wireless communication system with low cost!! It can achieve a good balance between wireless transition performance and cost! You can easily add it with your own MCU/ARM/PIC/AVR/STM32 system! What\'s more, this nRF24L01+ module is designed with Power amplifier and SMA antenna This allowed you to use the wireless communication up to 1000 meters! (No barrier)
Specifications: Frequence: 2.4GHz~2.5GHz Operating voltage: 3 ~ 3.6V Max Current: 115mA Multi-frequency: 125 frequency Support up to six channels of data reception
CAN BUS
https://www.cooking-hacks.com/documentation/tutorials/can-bus-module-shield-tutorial-for-arduino-raspberry-pi-intel-galileo/
https://en.wikipedia.org/wiki/CAN_bus
Smart Electronics MCP2515 CAN Bus Module TJA1050 Receiver SPI For Arduino 51 MCU ARM Controller Development Board
Support CAN V2.0 B , Communication rate up to 1Mb/S
Power supply: DC 5V , SPI Protocol Control
Work current: 5mA ,
Size: 4*2.8 cm , standby current: 1uA
Working temperature: -40 C - +85 C
120 Ohm terminal resistance, Impedance matching and guarantee the ability to drive
RX/TX NRF24L01
NRF24L01 + 2.4GHz RF Wireless Transceiver Module
1. The real GFSK monolithic transceiver chip 2. Built-in hardware and link layer 3. Automatic response and automatic retransmission function 4. Address and CRC check function 5. Wireless rate: 1 or 2 MBPS 6. SPI interface rate: 0 ~ 8MBPS 7. 125 optional channels work 8. Channel switching time is very short, can be used for frequency hopping 9. Fully compatible with nRF24XX series 10.I/O can accept 5v level of input 11.±60ppm 16MHz crystal 12.Low working voltage: 1.9 ~ 3.6 V 13.The global open ISM frequency band, the maximum 0dbm transmitted power, free license to use. 14.Transmission distance up to 100 meters in outdoor open occasions!
nRF24L01 is a single chip radio transceiver for the world wide 2.4 - 2.5 GHz ISM band. The transceiver consists of a fully integrated frequency synthesizer, a power amplifier, a crystal oscillator, a demodulator, modulator and Enhanced ShockBurst? protocol engine. Output power, frequency channels, and protocol setup are easily. programmable through a SPI interface. Current consumption is very low, only 9.0mA at an output power of -6dBm and 12.3mA in RX mode. Built-in Power Down and Standby modes makes power saving easily realizable.
Maximum operating speeds up to 2Mbps, GFSK modulation efficiency, Anti-interference ability, Particularly suitable for industrial control applications. 125 Communications channels, Multi-point communication and frequency hopping to meet the communication needs. Built-in hardware CRC error detection, Multipoint communication address control. Low-power 1.9 ~ 3.6V, only 1uA on Power down mode. Built-in 2.4Ghz antenna. Available software to set the address, only received local Address when output data(Provide interrupt instruction), can be directly connected to a variety of microcontrollers, Software programming is very convenient. Support 6 Data channels of data reception. Standard DIP Pitch Interface for embedded applications. Notice: Transceivers integrated module , transmit or receive can not be simultaneously by one module.
NRF24L01 + 2.4GHz RF Wireless Transceiver Module x 1
RX/TX
Product Model MX-05V Operating voltage: DC5V Quiescent current: 4mA Receiving frequency: 433MHZ Receiver sensitivity:-105DB Size: 30 * 14 * 7mm An extra antenna is needed, please use spiral 50Ω a quarter wavelength antenna
Technical parameters of the transmitter head
Product Model: MX-FS-03V Launch distance :20-200 meters (different voltage, different results) Operating voltage :3.5-12V Dimensions: 19 * 19mm Operating mode: AM Transfer rate: 4KB/s Transmitting power: 10mW Transmitting frequency: 433M Pinout from left to right: (DATA; VCC; GND)
Bluetooth
Easy to use and completely encapsulated. This module includes key interface and state interface compared with Smart Bluetooth Module Baseboard. The Bluetooth Module Baseboard can be compatible with master mode, slave mode and both master-slave mode. Works for Bluetooth TTL transceiver module which allows your target device to both send or receive the TTL data. The key interface on the baseboard is the master mode button and can be controlled by high level from external MCU, then this module will search again automatically. This module power supply input is 3.6~6V, Please be careful that it should be not more than 7V.
Specifications: Size:35*15mm Net weight:3g Package weight:13g Color:Green
Packing content: 1 x Interface Base Board Serial Transceiver Bluetooth Module
PUMP 2.
Brand new and high quality. Brushless, permanent magnetic rotor. Super long working life(more than 30000 hours). Adopt high performance ceramic shaft. The axis is enclosed with static sealing, not dynamic, which can avoid leaking problems. Amphibious design. Submersible installation and entirely waterproof. low consumption. low noise(less than35db). Pump material: ABS. Condition of use: continuously. Fluids: Water, oil, gasoline, acid and alkali solution. Working temperature: 0 ~ 75℃. Power consumption: 4.2W. Rated voltage: 12V DC. Max rated current: 350mA. Max flow rate: 4L/MIN(1.06G/MIN). Max Head(lift height): 3M. Noise: <40dB(most 35dB). Water proof class: IP68(can be submersible installed). Life span: More than 30000hrs. Power supply: Solar panel, DC electric source, battery. Size: 5.5cm x 3.5cm x 4.5cm.
SOLAR PANEL + PUMP 1
H4009
Feature: 1. Come with a solar battery, and charged by the sun 2. Brushless DC water pump, pump water easily 3. 3 different water outlet caps 4. Save water as far as possible 5. Wide irrigated areas 6. Keep the soil wetted and give a cool environment
Specification:
- Solar battery power: 7V ,140mA
- Solar pannel size: 11cm * 11cm(square)
- Pump power: 6V , 120mA
- Max flow quantity of pump : 150L/H
- The life time : over 10000 hrs
- Delay: less than 3s
- Color: black
- Net weight: 186g
- Unit packing gross weight: 203g
Installation: 1. Put the pump totally in the water with it is nozzle over the water ,be sure the pump is fixed firmly on the bottom of the fountain to avoid vibration. 2. Plug the jack of pump in the jack of solor panel output. 3. Put the solar panel under enough sunlight and be better to face directly to sun.
Note: Please put the pump into water. Keep the solar panel out of water; otherwise it will get damaged and couldn't work.
Package including: 1 * Solar battery pannel 1 * Brushless DC water pump(with power wire) 3 * Water outlet caps
SERVO
Motor Features:
Rated Voltage: DC5V 4-phase Step angle: 5.625 x 1/64 DC Resistance: 200Ω±7% (25C) Insulation Resistance: >10MΩ (500V) Dielectric Strength: 600V AC / 1mA / 1s Insulation Grade: A No-load Pull in Frequency: >600Hz No-load Pull out Frequency: >1000Hz Pull in Torque: >34.3mN.m(120Hz) Detent Torque: >34.3mN.m Temperature Rise: <40K(120Hz) Noise: <40dB (120Hz, No load, 10cm) Cable length :23.5CM
ULN2003 Driver Board:
A, B, C, D four-phase LED indicates the status of the stepper motor work. Stepper motor with a standard interface, when used directly pluggable. Drive Module Board Size:2.8cm x 2.8cm x 2cm.
LCD
Features: 1.84 X 84 dot matrix LCD, can show 4 lines of characters 2.Use serial interface communicate with the master processor, the number of interface signal line reduced greatly, only 8 signal lines including power and GND. 3.Support different types of MCU, such as the arduino, AVR, SPI, MCS51 and so on. 4.Transfer rate up to 4Mbps, can full speed write display data without waiting time. 5.Can use the conductive glue to connect the module with the printed board, without cables. The metal hooks on the module can fix the module on the printed board, which is very easy to install and replace. 4.LCD controller/driver chip has been bound to LCD chip, the volume of LCD is small 5.Low power supply,the working current in normal situation is lower than 200μA,and has power-down mode
Connections: 1.RST--------- reset 2.CE---------- chip selection 3.DC---------- data/commands choice 4.DIN--------- serial data line 5.CLK--------- serial Clock Speed 6.3.3V-------- VCC 7.LIGHT------- backlight control terminal 8.GND--------- power negative
Specifications: 1.For Nokia 5110 3V-5V 2.Module size: 45.2mm x 43.1mm Package included: 1x LCD Module for Nokia 5110
http://www.avdweb.nl/arduino/hardware-interfacing/nokia-5110-lcd.html
OLED
Introduce:
What is OLED? OLED (Organic Light-Emitting Diode) is a self light-emitting technology composed of a thin, multi-layered organic film placed between an anode and cathode. In contrast to LCD technology, OLED does not require a backlight. OLED possesses high application potential for virtually all types of displays and is regarded as the ultimate technology for the next generation of flat-panel displays.
How Does OLED Emit Light? OLEDs basic structure consists of organic materials positioned between the cathode and the anode, which is composed of electric conductive transparent Indium Tin Oxide (ITO). The organic materials compose a multi-layered thin film, which includes the Hole Transporting Layer (HTL), Emission Layer (EML) and the Electron Transporting Layer (ETL). By applying the appropriate electric voltage, holes and electrons are injected into the EML from the anode and the cathode, respectively. The holes and electrons combine inside the EML to form excitons, after which electroluminescence occurs. The transfer material, emission layer material and choice of electrode are the key factors that determine the quality of OLED components.
Feature: No backlight, the display unit can be self-luminous High resolution: 128 * 64 Viewing angle:> 160 ° Supports many control chip: Fully compatible with Arduino, 51 series, MSP430 series, STM32 / 2, CSR chip, etc. Ultra-low power consumption: full screen lit 0.08W, 0.06W normal full-screen display of Chinese characters Wide voltage support: without any modification, directly supports 3V ~ 5V DC Working temperature: -30 ℃ ~ 70 ℃ Module volume (generous): 27.0MM * 27.0MM * 4.1MM Minimum occupancy on Earth IO port display: The IIC/I2C communication, as long as the two IO ports will be able to drive! Driver IC: SSD1306 No font: take the word with modulo software
Note: If you decide to buy OLED display, you must confirm that you can make it work by yourself, we'll haven't any technology support except all the datasheet. Thanks for your understanding and support.
Package included: 100% Brand New 1x Module
TFT
Features: · 2.4" diagonal LCD TFT display · Bright, 4 white-LED backlight, on by default but you can connect the transistor to a digital pin for backlight control · Colorful, 18-bit 262,000 different shades · 4-wire resistive touchscreen · spfd5408 controller with built in video RAM buffer · 8 bit digital interface, plus 4 control lines · Uses digital pins 5-13 and analog 0-3. That means you can use digital pins 2, 3 and analog 4 and 5. Pin 12 is available if not using the micro SD · 5V compatible, use with 3.3V or 5V logic
Could work fork from: http://www.henningkarlsen.com/electronics/library.php?id=51 could work: https://code.google.com/p/arduino-uno-tft-shield-1in1/source/browse/trunk/UTFT_2.72_Plus.ZIP
This rocks: http://www.smokeandwires.co.nz/blog/a-2-4-tft-touchscreen-shield-for-arduino/
https://github.com/adafruit/Adafruit-GFX-Library USE: www.airspayce.com/mikem/TFTLCD-mikem.zip INSTEAD: https://github.com/adafruit/TFTLCD-Library and modify mega2560 pinout
https://github.com/adafruit/Touch-Screen-Library
SENSORS
http://www.instructables.com/id/Use-your-android-phone-sensors-on-the-arduino-/
Temperature http://playground.arduino.cc/Learning/OneWire
Humidity and Temp https://learn.adafruit.com/dht/using-a-dhtxx-sensor
Pressure: https://learn.adafruit.com/bmp085/downloads
gyro: http://playground.arduino.cc/Main/MPU-6050
http://www.invensense.com/mems/gyro/mpu6050.html
DEVICE BUS FUNCTION
DH-11 Own Bus temp & humi
DC18B20 OneWire temp
DMP180 / 85 I2C temp & press
clock I2C clock
MPU-6050 I2C velocity
Temp DS18B20
Instructions: http://www.strangeparty.com/2010/12/13/arduino-1-wire-temperature-sensors/
LIBS: http://www.pjrc.com/teensy/td_libs_OneWire.html , Brand New High Quality
ღ The probe the temperature sensor DS18B20 original chip ღ High quality stainless steel tube encapsulation waterproof
ღ Stainless steel shell
ღ Power supply range: 3.0V to 5.5V ღ Operating temperature range: -55°C to +125°C (-67°F to +257°F) ღ Accuracy over the range of -10°C to +85°C: ±0.5°C. ღ No other components, unique single bus interface ღ Cable length: 100 cm
Humidity DHT-11
Pressure
1)
BMP180 is a high precision, small volume, low energy consumption pressure sensor, can be applied in mobile devices . Its performance is remarkable, the absolute minimum accuracy can reach 0.03 hPa, and power consumption is extremely low, only 3 μA. BMP180 adopted powerful 8 - pin bearing (LCC) ceramic leadless chip ultra-thin encapsulation, can be directly through the I2C bus connected to a variety of microprocessors.
Main features:
Pressure range: 300 ~ 1100 hPa (altitude 9000 m ~ - 500 m) Power supply voltage: 1.8 V to 3.6 V (VDDA), 1.62 V to 3.6 V (VDDD) LCC8 encapsulation: lead-free ceramics carrier encapsulation (LCC) Low power consumption: 5 μA, in the standard model High precision: low power consumption mode,the resolution is 0.06 hPa (0.5 meters) ; High linear mode, the resolution is 0.03 hPa (0.25 meters) MSL 1 response time: 7.5 ms Standby current: 0.1 μA Typical application: GPS precise navigation (navigation calculation, up and down the bridge detection, etc ) Indoor and outdoor navigation Leisure,sports and health monitoring
2) BMP180 Digital Barometric Pressure Sensor Board
I2C RTC DS1307 AT24C32 Real Time Clock Module
http://www.glacialwanderer.com/hobbyrobotics/?p=12
NEO-6 V3.0 GPS NEO-6M Module For APM MWC
https://www.pjrc.com/teensy/td_libs_TinyGPS.html
DHT-11
O2
Item Description:
Size: 32 mm X22mm X27mm Main chip: the LM393, MQ-8 gas sensor Working voltage: DC5V
Feature:
1. With a signal output instructions. 2. Dual signal output (TTL level output and analog output) 3. TTL output valid signal for low level. (when the low output electric signal lights at 4. ordinary times, can be directly pick up SCM) 5. Analog 0 ~ 5 v voltage, the higher the concentration, the higher the voltage. 6. High sensitivity to hydrogen 7. Can be resistant to ethanol steam, LPG (petroleum), smoke interference 8. Has a long service life and reliable stability 9. Quick response recovery features
Air Quality
Item Description:
1. Size: 32mm X22mm X30mm length * width * height 2. The main chip: LM393, MQ135 gas sensing probe 3. Operating voltage: DC 5V
Features:
Signal output indicator instructions; Dual signal output (analog output, and TTL level output); TTL output valid signal is low; (output low signal light, which can be accessed microcontroller IO port) Analog output with increasing concentration, the higher the concentration, the higher the voltage; Sulfide, benzene Department of steam, smoke and other harmful gases with high sensitivity; Has a long life and reliable stability; Rapid response recovery characteristics;
Applications:
A hazardous gas detection apparatus for the family, the environment, suitable for ammonia, aromatic compounds, sulfur, benzene vapor, smoke and other gases harmful gas detection, gas-sensitive element test concentration range: 10 to 1000ppm
POWER
Main 7-12V 39mA-200mA / 1uA (sleep) OUTPUTS DRIVE 40mA
Pump1 6V 120mA 2l/m h=0.70m
Pump2 12V 350mA 4W 4l/min h=3m
Flect 5V 2W 0-400mA
Solar 7v 140mA
RelayUnit 5V 40mA
Temp 3-5.5V 4mA / 1 nA (sleep)
http://forum.arduino.cc/index.php/topic,76724.0.html
ref: https://www.sparkfun.com/tutorials/309
Specs
http://arduino.cc/en/Products.Compare
Name Processor Operating V CPU Speed Analog In/Out Digital IO/PWM EEPROM [KB] SRAM [KB] Flash [KB] USB UART Uno ATmega328 5 V/7-12 V 16 Mhz 6/0 14/6 1 2 32 Regular 1 Due AT91SAM3X8E 3.3 V/7-12 V 84 Mhz 12/2 54/12 - 96 512 2 Micro 4 Leonardo ATmega32u4 5 V/7-12 V 16 Mhz 12/0 20/7 1 2.5 32 Micro 1 Mega 2560 ATmega2560 5 V/7-12 V 16 Mhz 16/0 54/15 4 8 256 Regular 4 Mega ADK ATmega2560 5 V/7-12 V 16 Mhz 16/0 54/15 4 8 256 Regular 4 Micro ATmega32u4 5 V/7-12 V 16 Mhz 12/0 20/7 1 2.5 32 Micro 1 Mini ATmega328 5 V/7-9 V 16 Mhz 8/0 14/6 1 2 32 - - Nano ATmega168 ATmega328 5 V/7-9 V 16 Mhz 8/0 14/6 0.512 1 1 2 16 32 Mini-B 1 Ethernet ATmega328 5 V/7-12 V 16 Mhz 6/0 14/4 1 2 32 Regular - Esplora ATmega32u4 5 V/7-12 V 16 Mhz - - 1 2.5 32 Micro - ArduinoBT ATmega328 5 V/2.5-12 V 16 Mhz 6/0 14/6 1 2 32 - 1 Fio ATmega328P 3.3 V/3.7-7 V 8 Mhz 8/0 14/6 1 2 32 Mini 1 Pro (168) ATmega168 3.3 V/3.35-12 V 8 Mhz 6/0 14/6 0.512 1 16 - 1 Pro (328) ATmega328 5 V/5-12 V 16 Mhz 6/0 14/6 1 2 32 - 1 Pro Mini ATmega168 3.3 V/3.35-12 V 5 V/5-12 V 8 Mhz 16Mhz 6/0 14/6 0.512 1 16 - 1 LilyPad ATmega168V ATmega328V 2.7-5.5 V/2.7-5.5 V 8 Mhz 6/0 14/6 0.512 1 16 - - LilyPad USB ATmega32u4 3.3 V/3.8-5V 8 Mhz 4/0 9/4 1 2.5 32 Micro - LilyPad Simple ATmega328 2.7-5.5 V/2.7-5.5 V 8 Mhz 4/0 9/4 1 2 32 - - LilyPad SimpleSnap ATmega328 2.7-5.5 V/2.7-5.5 V 8 Mhz 4/0 9/4 1 2 32 - -
eps8266 pin usage
https://www.espruino.com/arduino-esp8266 - wifi shield
Best Pins to Use – ESP8266
One important thing to notice about ESP8266 is that the GPIO number doesn’t match the label on the board silkscreen. For example, D0 corresponds to GPIO16 and D1 corresponds to GPIO5.
The following table shows the correspondence between the labels on the silkscreen and the GPIO number as well as what pins are the best to use in your projects, and which ones you need to be cautious.
The pins highlighted in green are OK to use. The ones highlighted in yellow are OK to use, but you need to pay attention because they may have unexpected behavior mainly at boot. The pins highlighted in red are not recommended to use as inputs or outputs. Label GPIO Input Output Notes D0 GPIO16 no interrupt no PWM or I2C support HIGH at boot used to wake up from deep sleep D1 GPIO5 OK OK often used as SCL (I2C) D2 GPIO4 OK OK often used as SDA (I2C) D3 GPIO0 pulled up OK connected to FLASH button, boot fails if pulled LOW D4 GPIO2 pulled up OK HIGH at boot connected to on-board LED, boot fails if pulled LOW D5 GPIO14 OK OK SPI (SCLK) D6 GPIO12 OK OK SPI (MISO) D7 GPIO13 OK OK SPI (MOSI) D8 GPIO15 pulled to GND OK SPI (CS) Boot fails if pulled HIGH RX GPIO3 OK RX pin HIGH at boot TX GPIO1 TX pin OK HIGH at boot debug output at boot, boot fails if pulled LOW A0 ADC0 Analog Input X Report this ad
Continue reading for a more detailled and in-depth analysis of the ESP8266 GPIOs and its functions. GPIOs connected to the Flash Chip
GPIO6 to GPIO11 are usually connected to the flash chip in ESP8266 boards. So, these pins are not recommended to use. Pins used during Boot
The ESP8266 can be prevented from booting if some pins are pulled LOW or HIGH. The following list shows the state of the following pins on BOOT:
GPIO16: pin is high at BOOT GPIO0: boot failure if pulled LOW GPIO2: pin is high on BOOT, boot failure if pulled LOW GPIO15: boot failure if pulled HIGH GPIO3: pin is high at BOOT GPIO1: pin is high at BOOT, boot failure if pulled LOW GPIO10: pin is high at BOOT GPIO9: pin is high at BOOT
Pins HIGH at Boot
There are certain pins that output a 3.3V signal when the ESP8266 boots. This may be problematic if you have relays or other peripherals connected to those GPIOs. The following GPIOs output a HIGH signal on boot:
GPIO16 GPIO3 GPIO1 GPIO10 GPIO9
Additionally, the other GPIOs, except GPIO5 and GPIO4, can output a low-voltage signal at boot, which can be problematic if these are connected to transistors or relays. You can read this article that investigates the state and behavior of each GPIO on boot.
GPIO4 and GPIO5 are the most safe to use GPIOs if you want to operate relays. Report this ad Analog Input
The ESP8266 only supports analog reading in one GPIO. That GPIO is called ADC0 and it is usually marked on the silkscreen as A0.
The maximum input voltage of the ADC0 pin is 0 to 1V if you’re using the ESP8266 bare chip. If you’re using a development board like the ESP8266 12-E NodeMCU kit, the voltage input range is 0 to 3.3V because these boards contain an internal voltage divider.
You can learn how to use analog reading with the ESP8266 with the following guide:
ESP8266 ADC – Read Analog Values with Arduino IDE, MicroPython and Lua
On-board LED
Most of the ESP8266 development boards have a built-in LED. This LED is usually connected to GPIO2. ESP8266 NodeMCU On-board LED
The LED is connected to a pull-down resistor, so when you send a HIGH signal the LED turns off. RST Pin
When the RST pin is pulled LOW, the ESP8266 resets. This is the same as pressing the on-board RESET button. ESP8266 NodeMCU On-board Reset button Report this ad GPIO0
When GPIO0 is pulled LOW, it sets the ESP8266 into bootloader mode. This is the same as pressing the on-board FLASH/BOOT button. ESP8266 NodeMCU GPIO 0 Flash boot button GPIO16
GPIO16 can be used to wake up the ESP8266 from deep sleep. To wake up the ESP8266 from deep sleep, GPIO16 should be connected to the RST pin. Learn how to put the ESP8266 into deep sleep mode:
ESP8266 Deep Sleep with Arduino IDE ESP8266 Deep Sleep with MicroPython
I2C
The ESP8266 doens’t have hardware I2C pins, but it can be implemented in software. So you can use any GPIOs as I2C. Usually, the following GPIOs are used as I2C pins: Report this ad
GPIO5: SCL GPIO4: SDA
SPI
The pins used as SPI in the ESP8266 are:
GPIO12: MOSI GPIO13: MISO GPIO14: SCLK GPIO15: CS
PWM Pins
ESP8266 allows software PWM in all I/O pins: GPIO0 to GPIO16. PWM signals on ESP8266 have 10-bit resolution. Learn how to use ESP8266 PWM pins:
ESP8266 PWM with Arduino IDE ESP8266 PWM with MicroPython
Interrupt Pins
The ESP8266 supports interrupts in any GPIO, except GPIO16.
ESP8266 Interrupts and Timers with Arduino IDE
eTHERNET
Features: - 100% Brand new and high quality. - With this Ethernet Shield, your Arduino board can be used to connect to internet. - Can be used as server or client. - Directly plug puzzle board, no soldering required. - Controller: w5100. - This is the latest version of the Ethernet Shield. - This Arduino Ethernet Shield which is based on the Wiznet W5100 Ethernet Chip gives you an easy way to get your Arduino Online. - Fits all version of arduino Main board,2009,UNO, mega 1280, mega 2560. - It is directly supported by Arduino official Ethernet Library. - It adds a micro-SD card slot, which can be used to store files for serving over the network. - It is compatible with the Arduino Duemilanove (168 or 328), Uno as well as Mega (1280/2560) and can be accessed using the SD library. - The Wiznet W5100 provides a network (IP) stack capable of both TCP and UDP. - It supports up to four simultaneous socket connections. - Use the Ethernet library to write sketches which connect to the internet using the shield. - Fits all version of arduino Main board,2009,UNO, mega 1280, mega 2560. - Size:7.4cm x 5.4cm x 2.4cm - 2.91inch x 2.12inch x 0.94inch.
Package Contents: 1x W5100 Ethernet Shield
PCB
http://sdr.osmocom.org/trac/wiki/rtl-sdr#Usage http://www.nitehawk.com/sm5bsz/linuxdsp/hware/rtlsdr/rtlsdr.htm
http://oshpark.com/
http://www.cadsoft.de/download.htm
http://code.google.com/p/fritzing/issues/detail?id=2753
RTL-SDR
http://www.sm5bsz.com/linuxdsp/linrad.htm
http://sdr.osmocom.org/trac/wiki/rtl-sdr#Usage
http://nmearouter.com/docs/ais/aerial.html
http://www.nitehawk.com/linrad_dat/
GNSS
http://gnss-sdr.org/documentation/gnss-sdr-operation-realtek-rtl2832u-usb-dongle-dvb-t-receiver
http://egnos-portal.gsa.europa.eu/news/egnos-gets-invite-your-smartphone-11
AIS
Any sailors out there? AIS receivers are getting cheap, but they still cost anywhere from $200-$1000. You've already got a laptop and an RTL dongle. Want to use your laptop + RTL dongle as a chart plotter and AIS traffic receiver? Of course you do. Here's an example. And here's how to do it in Linux.
Install gnuradio.
Install gr-ais:
$ git clone https://github.com/bistromath/gr-ais.git $ cd gr-ais $ mkdir build $ cd build $ cmake ../ $ make $ sudo make install $ sudo ldconfig
Install OpenCPN:
$ sudo add-apt-repository ppa:opencpn/opencpn $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C865EB40 $ sudo apt-get update $ sudo apt-get install opencpn
Add some charts to OpenCPN
Install socat, a program to connect basically anything to anything else. We use it here to connect the text output of gr-ais to a virtual serial port:
$ sudo apt-get install socat
Make yourself a virtual serial port to read from:
$ socat -d -d pipe:ais_pipe pty&
socat will tell you the name of the pty it just created:
2013/09/13 15:49:00 socat[24604] N PTY is /dev/pts/13
Add that virtual serial port (in this case, /dev/pts/13) to OpenCPN. It's in the settings menu. Baud rate doesn't matter.
Start gr-ais:
$ ais_rx -dosmocom -g35 -r250e3 > ais_pipe
If you've got line of sight to some ships, you should be seeing traffic in OpenCPN. You'll want to play with the gain for best results. Keep in mind a couple of real-world caveats: first, you definitely need line of sight, or very near to it. Second, the RTL dongle has pretty lousy dynamic range, and 162MHz is pretty close to FM and TV. Not to mention if you happen to transmit on a marine VHF radio nearby it's going to blow the dongle out of the water. So using a filter on the RTL dongle is a really, really good idea. I found one cheap on eBay a few years back.
Have fun!
PCB BOARD
Item Description: Brand new and high quality. Note: You can use the laser printer! Can not use inkjet printer. Remove the white paper, laser printer (or copier) to the PCB map, hit the smooth side, apply to the copper, and iron into the machine or rapid transfer to plate. DIY Transfer Paper (fan-made high-precision electronic circuit board must have the material). Heat produced by the circuit board renderings:. Feature. Heat transfer law making circuit boards, circuit board is drawn graphics, laser printers print in thermal transfer paper, transfer paper and then covered in Bonded Copper, after heating, the melting of the toner completely adsorbed on the deposited copper, and other cool tear off transfer paper, you can see the graphics board has to transfer to the Bonded Copper on the black anti-corrosion layers, that is, we want to map the PCB, and finally to corrosion, and that we want to obtain the PCB board. The process of making iron tools used in heating or over-presses. We serve the transfer paper for the production of circuit boards dedicated thermal transfer paper, with its production of circuit board has the following advantages:. 1 plate with high precision. 2, plate cost. 3, plate-making speed. 4, can produce double-sided.
Usage:1 circuit board with a laser printer to print to the circuit diagram of the smooth thermal transfer paper.
2Raised with the laminator between 150-180 degrees Celsius, the heat transfer printed circuit side of the paper deposited in the Bonded Copper on the transfer; the system can also be used instead of iron plate machine, hand transfer. 3 Remove the transfer paper after printing, the Bonded into the ferric chloride solution to corrosion. 4 Finally, remove the circuit board using toner. Package Included: 10 X Heat Toner Transfer Paper
Ehs etching agent, colorless transparent solution after dissolving, the strong ability of etching. Net content of 200 grams, plus or minus 1 g. 1:4 water, a packet of etching 10 x 15 cm more than 10 single panel. Advantages: compared with iron trichloride A colorless, clear and solution, no more smudgy image; B, etching is clearly visible, easily achieve the highest accuracy; C, do not produce sludge, not knot dirty scar, clothes are not floor color stains; Directions for use: A, preparation (clear plastic tray) 1. By 1:4 will moment agent soluble in water, namely a pack of 200 grams of the agents with 800 ml water. In order to ensure the use effect, etching temperature is best in more than 50 °. So can the first water heated to 70 ° or so add the etching agent; 2. Gently shaking container, or stirring with a plastic rod, make the agent fully dissolved. B, operating 1. Will stay processing circuit board into liquid (single panel membrane facing, double panel please dangling place, don't touch the bottom). 2. Gently shake the container, or in soft brush brush panel to ensure that the solution flowing in the circuit board surface, visible board face bare copper layer gradually dissolve and show board basic bottom; 3. When the bare copper layer completely disappear, plate base translucent shape, when the process is completed, take 5-15 minutes. Operation process, the solution changed from colorless to pale blue color, and with a little blue and white crystal precipitation; 4. The board to take out the rinse off with clear water, visual check all parts completely, can be dried in the next step; 5. After the completion of the operation, the rest of the solution after the crystal sediment filter, can be reserved for the secondary use, until discarded when processing speed slow. U pay attention to 1. This agent (liquid) is a weak acid, non-toxic, used up be sure to wash their hands, such as eye contact, please quickly to wash; 2. Please away from children. Store in a cool and dry place. 3. The liquid is as far as possible with chef. Employ good this fluid do not put in airtight containers, because the solution will be slow to decompose, release oxygen, causes container pressure; 4. The agent itself, nonpoisonous and harmless, but because of copper ion in waste liquid (heavy metals), so please use before discarding the alkaline material such as soda ash or lime treatment after proper disposal.