View allAll Photos Tagged gpio

while(1)

{

GPIO_SetBits(GPIOE, GPIO_Pin_5 );

Delay(10);

GPIO_ResetBits(GPIOE, GPIO_Pin_5 );

Delay(10);

}

Photos from Medford BLM Grants Pass Resource Area National Public Lands Day 2010. Original defacto copyright BLM 2010. Reposted to Flickr the secondary usage rights by photographer James Sowerwine.

DE10-Lite board.

Mijn laatste aanwinst, een DE10-Lite FPGA board. De board is wat aansluitingen betreft gelijkaardig met mijn voorgaande Cyclone10 LP board. Deze FPGA board heeft echter een grotere chip met 50K logic elementen. Hierbij heb ik hetzelfde programma van de Cyclone10 LP board voor de 16xuarts gebruikt. De PLL oscilator is hier ook 320 Mhz wat een baudrate van 20 Mbd geeft. Ook hier heb ik 16 uarts in cacade geplaatst, eerste in, volgende uit enz. Na 16 uarts zie je op de scope beelden dat de data perfect eruit komt. De serieele bit time is hierbij 50 nsec.

 

Deze board bevat vele extra onderdelen zoals 10 switches, 6 x hex display, meerdere leds, een video VGA connector uitgang en heeft ook een arduino compatieble connector aansluiting. Ook de 40 pins GPIO connector is terug volledig gelijkaardig aan mijn voorgaande Cyclone10 LP boardje. Verilog code van het ene boardje gaat hierdoor direct ook op het andere boardje.

 

Met deze board heb ik nog meer mogelijkheden om te experimenteren. Er zijn ook nieuwe tools zoals de Platform Designer. Het maken van nieuwe designs wordt hierdoor op een hoger niveau gedaan. Het leren werken met deze nieuwe tools is opnieuw een uitdaging op mijn leeftijd.

 

Update:

Door de FPGA PLL op 400 Mhz te laten draaien bekom ik nu 16 x 25 Mbd uart lijnen. Bit time is nu 40 nsec.

Photos from Medford BLM Grants Pass Resource Area National Public Lands Day 2010. Original defacto copyright BLM 2010. Reposted to Flickr via secondary usage rights by photographer James Sowerwine.

Nu ik stilaan moet beginnen opruimen worden de oude boards bovengehaald. Dit was een van de beste FPGA boards dat je toen kon krijgen voor een betaalbare prijs. Ik heb hier nog 3 van deze mooie boards liggen. Bij het testen moest ik even oudere Quartus versies gaan opzoeken voor de Cyclone II. Ik heb hiervoor de Quartus versie 12.1 terug gevonden. Je kunt nog de versie 13.1 downloaden maar de Cyclone II lib zit er niet meer bij. Met de versie Quartus 12.1 werkt de board perfect en kun je nog nieuwe software schrijven. De origineele CDROM staat nog bij Terasic waar alle gegevens nog bijstaan. Ik heb hier een van hun demo's gebruikt en iets aangepast om de GPIO outputs aan te sturen met een teller die loopt op 50MHz. Deze DE1 versie wordt niet meer gemaakt. Na al die jaren werken alle 3 de boards nog perfect. Goedkoop waren ze toen niet, ik dacht rond de €175. Door hun vele uitgangen, zellfs een video output signaal blijven deze boards waardevol.

Nu ik stilaan moet beginnen opruimen worden de oude boards bovengehaald. Dit was een van de beste FPGA boards dat je toen kon krijgen voor een betaalbare prijs. Ik heb hier nog 3 van deze mooie boards liggen. Bij het testen moest ik even oudere Quartus versies gaan opzoeken voor de Cyclone II. Ik heb hiervoor de Quartus versie 12.1 terug gevonden. Je kunt nog de versie 13.1 downloaden maar de Cyclone II lib zit er niet meer bij. Met de versie Quartus 12.1 werkt de board perfect en kun je nog nieuwe software schrijven. De origineele CDROM staat nog bij Terasic waar alle gegevens nog bijstaan. Ik heb hier een van hun demo's gebruikt en iets aangepast om de GPIO outputs aan te sturen met een teller die loopt op 50MHz. Deze DE1 versie wordt niet meer gemaakt. Na al die jaren werken alle 3 de boards nog perfect. Goedkoop waren ze toen niet, ik dacht rond de €175. Door hun vele uitgangen, zellfs een video output signaal blijven deze boards waardevol.

Cyclone 10 LP pwm signals.

De Cyclone10 LP board werkt perfect. Hierbij een voorbeeld van 8 PWM signalen op de uitgangen gpio[7:0]. Ik heb een PLL clock ingesteld op 100 MHz en deze gebruikt als basis eenheid voor de PWM signalen. Hierdoor is de kleinte puls 10ns aan de uitgang. Ik heb de PWM registers voorlopig op 24 bit genomen. Zo kan ik tot boven de 16.000.000 clocks ticks gebruiken.

Ik heb ook eens de PLL op 400MHz geplaatst en ook die snelheid gaat perfect. Als je de PWM slechts 1 als waarde aangeeft is de uitgangs puls te kort om te meten omdat de gpio pinnen die 2.5ns niet aan kunnen. Met 4 als minimum PWM heb je dat wel mooi terug je 10 ns puls aan de uitgagen. Interne 400MHz clocks werken dus nog perfect.

De picoscope doet het zeer goed voor deze metingen.

Cyclone 10 LP FPGA Evaluation kit

--------------------------------------------------

Naast 8x pwm heb ik nu 4x Uart lijnen bijgevoegd. De Uarts worden aangestuurd door een clock van 256MHz wat resulteerd in een baudrate van 16Mbd. De PWM lijnen worden door een 200 MHz PLL clock gestuurd waardoor de kleinste puls eenheid 5 nsec bedraagd. De pwm counters hebben voorlopig een 24 bit range maar dit mag ook opgetrokken worden tot 32bit. De PWM range is hierdoor bijzonder hoog. De logic analyser toon hier als kleinste puls 6 ns maar dit komt door de max sample rate van 500 MHz waardoor de kleinste meet eenheid 2 ns is. Die korte pulsjes zijn trouwens ook de limiet van de FPGA gpio lijnen. Ook die kunnen niet echt meer volgen. Meettoestel en FPGA device zitten hier nu op hun limiet. Dit was trouwens ook de bedoeling van deze tests.

 

Ik heb nu 4x Uart lijnen maar dat is helemaal niet beperkt. Je kunt op iedere gpio lijn een Uart uitgang gebruiken als je dat wenst. De data die ik hier verwerkte was een CMD header "D3 gevolgd door 2 byte data en de laatste byte is de berekende 8bit checksum. Mede door de interne 256MHz clock wordt deze checksum realtime bij het uitsturen berekend. Hierdoor kun je de correctheid van de data bij ontvangst nazien.

High performance and affordable, Camelot Camera series is the first USB2.0 smart camera system that features a stackable design and customizable features.

This Camera series and other were developed by Imaging Diagnostics, a leader in embedded imaging systems.

 

Cutted a part of the button to get it fit above the GPIO pins of the Raspberry.

Multitech LoRa 室內型物聯網可編程多用途閘道器

LoRa,LTE,以太網,GPIO,串行兼容

(MTCDT系列技術認證)

 

LoRa閘道器 Conduit 具有兩個配件卡插槽,能讓使用者插入MultiConnect mCard™ 配件卡,支援偏好的有線或無線介面,以便在本機連接多種資產與閘道。提供選項包括 LoRaWAN mCard,可支援連接遠端感測器或電器的數千種 MultiConnect mDot™ 遠程 RF 模組。 回程選項包括乙太網路或通過核可與認證的 2G、3G、4G LTE 載體。

 

【主要優點】

●距離LoRa幾公里的距離 - 超過10公里的可視距離,1-3公里的建築物干擾距離(取決於環境和國家特定的規格),它可以監測和管理廣泛部署的資產

●支持集成到各種合作夥伴和私有雲中

●採用LTE的無線回程可實現經濟高效的全球擴展

●客戶使用MultiTech的應用程序商店提供差異化服務

●我們通過各國認證,我們可以在同一平台上實現在台灣和海外部署的部署

【應用】

智慧城市、量測和分表量測、停車、保全及消防警報器、智慧型農業、環境感測器、大樓管理

---------------------------------------------------------------------------------------

能源:油槽和管線監控、自動抄表、動態需求響應、環境監測、緊急警報

農業:土壤水分和養分含量、動物行為與移動監測、建築溫度.濕度.空氣質量、飼料系統、用水量、設備檢測

醫療:設備維護和可靠性、患者依從性、慢性病管理、護理品質、生活品質

企業:無線故障偵測、取代電纜、獨立網路、遠程設備管理和控制、設備自動化、安全的數據傳輸

-----------------------------------------------------------------------------------------

更多詳請請上官網:www.jointech.com.tw

FB粉絲圖:https://www.facebook.com/tw.jointech

Line@即時通訊ID:@szo6267h

Vishay Intertechnology’s new SensorXplorer™ starter kit allows users to test drive Vishay’s ambient light, proximity, UVA light, and RGBW color sensor solutions. Providing a USB to I2C interface, 3.3 V regulator, and GPIOs for reading and displaying sensor data on a PC, the new SensorXplorer™ kit allows designers to explore the capabilities of the Vishay sensors featured on Vishay’s sensor demo boards.

Raspberry Pi with woven 1970s ribbon cable on GPIO output.

Schematic and Hardware Layout Design of 6 Layer Wireless Weather Station Board comprising of: Texas Instruments MSP430 microcontroller, TI Wireless ZigBee IC, Graphic LCD, Ambiant Light Sensor, Dynamic and Static Pressure Sensors, Temperature and Humidity Sensor, uSD Card Interfaces, USB, SPI and I2C Interfaces, GPIO Headers for expansion, with on-board low cost switch mode power supplies and battery charger circuit. The board design involved part selection and analog and digital mixed signal design, 2.4GHz RF signal routing, differential signal routing, and impedance controlled routing.

High performance and affordable, Camelot Camera series is the first USB2.0 smart camera system that features a stackable design and customizable features.

This Camera series and other were developed by Imaging Diagnostics, a leader in embedded imaging systems.

 

Tony Rivas soldering wires to the GPIO bus on our Atmel AT91Sam9261-ek

Photos from Medford BLM Grants Pass Resource Area National Public Lands Day 2010. Original defacto copyright BLM 2010. Reposted to Flickr via secondary usage rights by photographer James Sowerwine.

Photos from Medford BLM Grants Pass Resource Area National Public Lands Day 2010. Original defacto copyright BLM 2010. Reposted to Flickr via secondary usage rights by photographer James Sowerwine.

Photos from Medford BLM Grants Pass Resource Area National Public Lands Day 2010. Original defacto copyright BLM 2010. Reposted to Flickr the secondary usage rights by photographer James Sowerwine.

The Adafruit starter kit for the Raspberry Pi comes with a breakout board, a "Pi Cobbler" interface between the GPIO pins and the board, and enough bits and bobs to keep any geeklet enthralled.

I have setup a #solar hot water data logging device using a #raspberrypi. Data comes out of the #Resol Delta 2008 BS/4 controller, into a level shifter to provide safe (3.3v) data voltage to the GPIO pin. The data is decoded and stored in a text file every 10 mins and is also sent to #thingspeak for analysis and charting via HTML #Highstock charts.

 

For a more detailed write up, see my post at:

www.simonlaw.com.au/electronics/solar-hot-water-data-logg...

The code to do this was easy, too:

 

def initRoutine(self):

.....

 

RPi.GPIO.setmode(RPi.GPIO.BCM)

RPi.GPIO.setup(16, RPi.GPIO.IN)

 

self.lastInput = None

self.screenTimer = QTimer(self)

self.screenTimer.timeout.connect(self.checkScreenButton)

self.screenTimer.setInterval(100)

self.screenTimer.start()

 

def checkScreenButton(self):

input = RPi.GPIO.input(16)

if input != self.lastInput:

self.lastInput = input;

if input == 0:

os.system('sudo sh -c \'echo "0" > /sys/class/graphics/fb1/blank\'')

else:

os.system('sudo sh -c \'echo "1" > /sys/class/graphics/fb1/blank\'')

 

Verschillende timingen met de Nucleo-STM32H755ZI-Q board. Een combinatie interrupt test van 3x UART op 4Mb en 1x SPI ook op 4Mb. Daarnaast nog een I2C 400 KHz voor de LCD 4x20 char. Verder zijn 8x PWM via 2 timers gemaakt en zijn er nog eens 5 GPIO lijnen gebruikt voor allerlei metingen.

 

Deze Nucleo-STM32H755ZI board is een ideale prototype board met heel veel aansluitingen. Voor de ontwikkeling gebruik ik de gratis STM32CubeIDE tool. Deze bevat eveneens de programmer en de grafische configuratie tools. Hier heb ik een aantal modules getest zoals 2 timmers elk met 4 pwm uitgangen, 3 Uarts serieele uitgangen op 4 Mb, 1 SPI op 4 Mb, 5 extra GPIO outputs en een I2C 400 KHz voor een LCD 4x20 char.

De LogicPort 32 ch analyser (200MHz) is hierbij verbonden samen met de 4CH Picoscope 50 MHz. De Uarts en SPI worden onder interrupt gebruikt. Via de verschillende GPIO output pinnen kan ik heel wat metingen maken.

 

De CPU werkt op 480 MHz. Via de configuratie tool kun je echter enkel tot 400 MHz selecteren maar je kunt de clock snelheid verder bijstellen in de source file die de configuratie tool aanmaakt. Door de regel:

RCC_OscInitStruct.PLL.PLLN = 50;

aan te passen naar:

RCC_OscInitStruct.PLL.PLLN = 60;

wordt de CPU van 400 naar 480 MHz gebracht. Dit kun je met de PWM timing nazien, de timers draaien op de halve CPU clock hetzij 240 MHz.

 

De volgende instellingen moeten ook juist staan in de SystemClock_Config zie core_CM7 source file:

 

HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);

 

__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);

 

Een foto van de board met meetopstellingen zie je op:

www.flickr.com/photos/fotoopa_hs/53095124329

   

some warping... it is colder now, and that should help with the heat-creep, but now I will have to work harder to avoid warping :(

 

I setup a pcduino3 to run pronterface. But it couldn't handle a model with this complexity, not enough memory. But what kills me is that the Replicator would happily print something like this from SD card... with a fraction of the RAM. Why does pronterface have to be such a memory hog?

 

Back to stupid Windows on my netbook again.

 

Ultimately I plan to use www.astroprint.com/ with the pcDuino3. But it is as yet unreleased.

 

I still need the pcDuino3, though, as I connected a PowerSwitch Tail to it, and using the gpio drivers I can turn off the lulzbot from remote if it jams again while I'm off-site.

This one wasn't in quite such a rush but managed to stop right alongside the wireless sensor, which was nice of it. The sensor is based on a standard Panasonic EKMC PIR which will work at 5v and has a 5m detection range. It connects to one of the GPIO ports on an Adafruit 'Feather' 32u4 microprocessor which has the LoRa transmitter built-in. A numerically coded signal then triggers the camera. Any delay in taking the shot is mostly down to the shutter of the 7D but is usually quick enough for birds in flight etc. Infrared DSLR camera trap. Tomich, Highlands

16 buttons to test the GPIO expander

High performance and affordable, Camelot Camera series is the first USB2.0 smart camera system that features a stackable design and customizable features.

This Camera series and other were developed by Imaging Diagnostics, a leader in embedded imaging systems.

 

WebIOPi allows the Pi to be controlled by any wireless device. These Pis were being controlled by this laptop and a tablet.

Rear of board with GPIO and mounting holes visible

 

Taken for Macro Monday 01 Nov 21 "Holes"

1 2 ••• 9 10 12 14 15 ••• 24 25