It took me a little while to figure out what was going on, but it seems like the serial port on this HAT I have is having its output fed into U-Boot and causing a loop, preventing FreeBSD from booting with the HAT installed.
U-Boot shows a prompt
The HAT fills it in with its prompt
U-Boot says...
I used to outsource enclosure 3D design of my electronics projects to others. Mainly AVR-based hobbyist gadget/IoT. They guy who was responsible for designing enclosure/box was using some software(s) for designing and sending the final result to the 3D printing, CNC, injection moulding, etc...
I want to use GPIO outputs to drive an IOT Power Strip.
https://www.sparkfun.com/products/14236
My question is about triggering scheduled events.
For instance I want to issue a GPIO command to turn a pin on and off on a schedule.
So I could use cron but would like to avoid system utilities...
I have a GPIO question I have been meaning to ask.
So on your typical Arm GPIO board you have maybe 26 GPIO pins but only 8 Grounds.
How do you handle 26 LED's with only 8 grounds? Is it OK to co-mingle the grounds?
I am making a custom GPIO Lid for the APU1/2/3/4 with a ribbon cable to GPIO...
Hi
which gpio cards are compatible with FreeBSD 12 ?
I need card to check digital inputs
At the moment I'm using the parallel port of my computer but I need a lot of inputs
Which cards work without problems?
Hello everyone!
I got an Acer XC-704 computer that uses an N3150 CPU. Motherboard made by Acer.
It has a ITE IT8772E I/O chip. This has a breakout for two GPIO pins on the motherboard. I'd very very much want to use them to control some relays.
I traced them to pin 63/64 of the IT8772E chip.
I...
Hello,
I have little Raspberry Pi 3 B+ and I installed FreeBSD 12.0-RELEASE on it:
# uname -a
FreeBSD 12.0-RELEASE r341666 GENERIC arm64
I traed to control GPIO via gpioctl:
# dmesg | grep gpio
gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 22,23 on simplebus0
gpiobus0...
There seem to be drivers for Linux, but support for FreeBSD is missing:
https://minnowboard.org/tutorials/connecting-device-sensor-low-speed-expansion-lse-header
In particular it would be nice to be able to use this:
https://store.netgate.com/Lures/GPS.aspx
as a Stratum-1 NTP clock, sort of...
I'm writing a little lib (wrapper) in NodeJS using basic gpioctl commands for the RP. Something like this:
...
module.exports.toggle_led = function (pin_number, callback) {
let err = new Error();
if (typeof (pin_number) != "number") {
err.name = errlist.ERR818.name...
Just wanted to share a little Raspberry Pi project this week with my daughter.
It was helpful to show some of the computer basics and have a little fun.
Guess the only question here is whether retro gaming can be integrated on it.
Any tips or tricks would be appreciated.
Well tonight I was making a script to change GPIO pins on bootup.
/etc/rc.d/gpiocfg
#!/bin/sh
gpioctl -c 0 OUT PP
gpioctl -c 1 OUT PP
gpioctl -c 2 OUT PP
gpioctl -c 3 OUT PP
gpioctl -lv
I was writing the outline for an rc.d startup script, so I wrote the file premise in the /etc/rc.d directory...
I have found an event library that I would like to use on Arm for GPIO programming.
devel/libuv
Is anybody using this library? Will it work with events on the GPIO pins?
I am having trouble doing the tutorial for switches and libgpio.
http://claydowling.com/2016/09/02/blinking-lights-with-gpio.html
Manually, I am using a toggle switch and need to set the input via gpioctl in one line.
gpioctl -c 31 IN
gpioctl -c 31 PU
Does not work, Must be one line like so...
Apart from using a breadboard is there any way to connect several wires to a GND pin?
I've been looking for some sort of connector, but can't find anything suitable...
I am messing with libgpio and I modified the example below to work with the Beaglebone.
http://www.claydowling.com/blog:blinking_lights_with_gpio
The difference with the Beaglebone is it uses 4 gpio controllers. Labeled gpioc0-gpioc3.
Each has 32 pins assigned.
I wanted to use blink.c to run the...
I want to get started on GPIO programming on my RPi and found some tutorials for beginners here
There is some sample code in C and Python, and whilst I know I can't use the Python example (not yet anyway...), should I expect to be able to get this to work?
#include <wiringPi.h>
#include...
I am looking to use PWM on the GPIO pins. FreeBSD 10.x seems to offer sysctl settings for usage.
What is the mechanism for usage on FreeBSD 11.x ?
I am looking to drive an R/C servo.
Here are the BBB 10.4 settings:
root@beaglebone:~ # sysctl dev.am335x_pwm
dev.am335x_pwm.2.dutyB: 0...
I have the RPi3 running on FreeBSD -CURRENT r327524 with the onewire driver.
There are two ways I have found to enable OneWire on RPi3.
Simplest is to use the GNU device tree source file and alter one setting. phandle hex address.
Here is the GNU DTS...
Hi!
I have RPI 3 and FreeBSD 12 installed on it.
Unfortunatelly, there is no any dts file on kernel tree and I cannot define one-wire GPIO pin. Is it possible to define one-wire pi without recompilling kernel and dts\dtb files?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.