View allAll Photos Tagged gpio
Components:
Bottom left : UBEC Power regulator,
Middle left : 10XAA Battery Pack,
Top right : Raspberry Pi,
Bottom right : DIY GPIO Camera Shutter release.
Bottom middle : Connector from UBEC to Micro USB power for RPi.
External Webcam and 3.5mm connector to DSLR.
Usage : Motion detection to fire Canon 1000D DSLR to obtain high resolution images.
Deze Nucleo-STM32H755ZI-Q 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 3x UART en 1x 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);
Op de volgende foto zie je de timingen:
www.flickr.com/photos/fotoopa_hs/53095344445
De Clock instellingen zie je op:
www.flickr.com/photos/fotoopa_hs/53095438208
**************************************************************
De volledige SystemClock_Config voor 480MHz zie je hier:
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/** Supply configuration update enable
*/
HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);
/** Configure the main internal regulator output voltage
*/
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
while(!__HAL_PWR_GET_FLAG(PWR_FLAG_VOSRDY)) {}
/** Initializes the RCC Oscillators according to the specified parameters
* in the RCC_OscInitTypeDef structure.
*/
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
RCC_OscInitStruct.HSIState = RCC_HSI_DIV1;
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
RCC_OscInitStruct.PLL.PLLM = 4;
RCC_OscInitStruct.PLL.PLLN = 60;
RCC_OscInitStruct.PLL.PLLP = 2;
RCC_OscInitStruct.PLL.PLLQ = 4;
RCC_OscInitStruct.PLL.PLLR = 2;
RCC_OscInitStruct.PLL.PLLRGE = RCC_PLL1VCIRANGE_3;
RCC_OscInitStruct.PLL.PLLVCOSEL = RCC_PLL1VCOWIDE;
RCC_OscInitStruct.PLL.PLLFRACN = 0;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
}
/** Initializes the CPU, AHB and APB buses clocks
*/
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2
|RCC_CLOCKTYPE_D3PCLK1|RCC_CLOCKTYPE_D1PCLK1;
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1;
RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2;
RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2;
RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2;
RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2;
RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2;
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK)
{
Error_Handler();
}
}
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.
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.
The BerryClip is a really nice little addon board for the Raspberry Pi which sits on the GPIO pins and provides a switch, 6 LEDs and a buzzer. Available online.
I bought this in 2012, shortly after the Raspberry Pi was officially launched. This is one of the first "batch", made in China (not long afterwards, production moved to south Wales, where it remains) - the machine is housed in a custom enclosure ("PiHouse"?).
The item connected to the GPIO pins, is a USB-TTL converter for making a serial "console" connection with a terminal emulator.
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.
Parts to make a Raspberry Pi breadboard connector so as to breakout the Pi GPIO pins.
Available from Electro-Resales on ebay
Item # 161027325578
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.
Removed the breakout board and connected the GPS directly to the GPIO pins on the Pi, there are 5 lines all together, Power, Ground, RX, TX and PPS. I would have preferred color coding the jumpers but these were the ones I was able to find in a local store.
Built by me in about 1988 to connect to a 6522 GPIO port in my Compukit UK101. Connected to a unipolar stepper motor via the four solder tags on the transistors' cases (collector terminal). The circuit is four Darlington pairs.
The Veroboard on the left (darker) is the old 0.15-inch pitch type, whereas the board on the right is the modern standard 0.1-inch pitch, to fit DIP ICs.
Unused GPIO pins on internal USB hub chip.
Datasheet: www.genesyslogic.com/manage/upfile/11860396491.pdf
#maudlinmodellers 24 Oct 2018 part 2/2. Creating a lighting harness for the #raspberrypi #raspberrypizerow #gpio controlled LED running lights in the 1989 #ertlmodels #mpcmodelkit #starwars #millenniumfalcon #modelkit #plasticmodelkit #starwarsfan #geek #iot with @polerix @ Moncton, New Brunswick
Test hook-up of a Raspberry Pi to a relay. The goal here is to build AirPlay speakers using a Pi. The Pi will turn the speakers off when not in use to conserve power. Because the GPIO pins on the Pi can't output enough current to drive the relay, I use an NPN transistor to switch the relay on and off.
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.
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.
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.
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.
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.