Adafruit CC3000 WiFi shield communicates with MCU board by SPI interface. It has two function pins: communicate and control. The communicate function pins are MOSI、MISO、CLK and can be connected to SPIDO、SPIDI、SPICLK on 86Duino SPI port; The control function pins are IRQ、CS、VBAT_EN and can be connected to 86Duino digital pin 42、43、44(default). In addition, Adafruit CC3000 WiFi […]
Spider L3 module communicates with MCU board by SPI interface. It has two function pins: communicate and control. The communicate function pins are MOSI、MISO、CLK and can be connected to 86Duino SPIDO、SPIDI、SPICLK on SPI port; The control function pins are IRQ、CS、EN and can be connected to 86Duino digital pin 42、43、44(default). In addition, Spider L3 module also […]
This library is available from 86Duino Coding 105 and is the 86Duino porting of Adafruit’s CC3000 library for Arduino to support the Adafruit CC3000 WiFi Shield. One can refer to Adafruit’s tutorial pages for the usage of this library. How to connect Adafruit CC3000 WiFi Shield with 86Duino The connecting method between 86Duino and Arduino […]
Description Function to get the rotating direction of optical encoders or the moving direction of rotary Note: this function is available after the “Coding 105” and just works under Pulse/DIR, CW/CCW and A/B Pulse mode. Syntax Enc0.directionRead() Enc1.directionRead() Enc2.directionRead() Enc3.directionRead() Parameters None Returns 1:the value of counter is increasing. -1:the value of counter is decreasing. […]
Description Set a upper bound value of encoder counter. When the counter value increase up to the upper bound, then back to zero, will trigger one interrupt event. Otherwise, When the counter value decrease to the lower bound, then back to max value, will also trigger one interrupt event. Note: this function is available after […]
Sorry, this entry is only available in 繁體中文.
Sorry, this entry is only available in 繁體中文.
This sketch uses a ‘Random Phase’ or ‘Non Zero Crossing’ SSR (Im using the Omron G3MC-202PL DC5) to act as an A/C switch and an opto-isolataed AC zero crossing dectector (the H11AA1) to give us a zero-crossing reference. This allows the arduino to dim lights, change the temp of heaters & speed control AC motors. […]
This code uses pin change interrupts and timer 1 to mesure the time between the rise and fall of 3 channels of PPM (Though often called PWM, see this Arduino Forum thread) on a typical RC car reciver. It could be extended to as many channels as you like. It uses the PinChangeInt library to […]
See technical data sheet: http://www.farnell.com/datasheets/95220.pdf I use HDSP-B03G, HDSP-B07G, or HDSP-B09G (Common Cathode) Using the same code as DirectDriveLEDMatrix Like in Direct Drive Matrix you should probably use some resistors but I run it direct… Random numbers example (needs Timer1 library):