The last time you forgot to take or misplaced your Umbrella
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
case-base.scadx-openscad - 1.70 kB - 06/12/2017 at 12:59 |
|
|
case-cover.scadx-openscad - 309.00 bytes - 06/12/2017 at 12:59 |
|
For gateway devices with limited memoy
git clone https://github.com/SotiriosVrachas/lede-project-source.git lede
cd lede
git checkout v17.01.1
make defconfig
make image -j 3 PROFILE=tl-wr703n-v1 PACKAGES="kmod-usb-ohci kmod-usb-uhci kmod-bluetooth kmod-bluetooth_6lowpan bluez-libs bluez-utils"
where 3 in
-j 3
is the number of CPU cores that you have available plus one and the tl-wr703n-v1 in
PROFILE=tl-wr703n-v1
is your device model.
scp bin/targets/*/*/*sysupgrade.bin root@lededevice:/tmp/sysupgrade.bin
whare lededevice
is the network address of the device.
ssh root@lededevice
sysupgrade /tmp/sysupgrade.bin
I want to replace the stock handle of umbrellas with my handles that included the magic.
Experimented with clear nylon and clear petg 3d printing filaments.
After testing both the petg was a lot more clear, transparent, and was snappable making prototyping a lot easier.
I designed a concept case to test the lights and the defusion of tha petg. i sanded the case and then applied clear varnish. made a coin cell + led and enclosed it in the case to see how the lighting will work under different condition.
Dew to space constrains and the fact that one led dose not seep to be enough, concluded that smd leds will have to be used.
Took the dimensions of the original hanle and experimented with making a base for the common M14 screw umbrella's have for the handle mound
I want to replace the stock handle of umbrellas with my handles that included the magic.
Experimented with clear nylon and clear petg 3d printing filaments.
After testing both the petg was a lot more clear, transparent, and was snappable making prototyping a lot easyer.
I designed a concept case to test the lights and the defusion of tha petg. i sanded the case and then applied clear varnish. made a coin cell + led and enclsed it in the case to see how the lighting will work under diffrent condition.
Dew to space constrains and the fact that one led dose not seep to be enougth, concluded that smd leds will have to be used.
Introduction
After researching the available platforms and concluding on the nRF51822, the choice of the firmware had to be researched.
Candidate RTOS with 6loWPAN support
Nordics SDK
RIOT
CONTIKI
Contiki port for nRF51822 does not handle the radio, so this one was eliminated
Then the Nordic's sdk have a binary blob for the radio and a special non free clause in the license.
The RIOT seems to be the only Free and Open Source rtos that seems to support the platform, their is even reference in the nordics blog for the nrf52.
The RIOT documentation is unclear if the radio of nRF51 is suppoted or not .
Following the RIOT instructions for nRF51822 lead to a working system without radio.
Tried flashing riot after flashing softradio and investigated how the Nordic sdk was loaded to memory.
Then when ahead and compiled and flashed the IoT SDK from Nordic specifically the CoAP Server Examples. those required a softradio that was not production ready and will never be according to Nordic.
I manged to ping the device over ble with the linklocal ipv6 that matched its Mac addresses.
The latency reported by ping was 100ms no mater the distance between of the radios.
Using a LEDE router as the gateway
Requirements:
Gateway has IPv6 Access
USB BLE Dongle or on board
Device with LEDE-project firmware and USB port if no BLE support onboard.
Comfort with command line.
Connect with SSH and run
```
opkg update
opkg install kmod-bluetooth kmod-bluetooth_6lowpan bluez-libs bluez-utils kmod-usb-core kmod-usb-ohci kmod-usb2 radvd
reboot
```
Reconnect
```
modprobe bluetooth_6lowpan
mount -t debugfs none /sys/kernel/debug
echo 35 > /sys/kernel/debug/bluetooth/6lowpan_psm
hcitool lescan
```
echo "connect 00:11:22:33:44:55 1" > /sys/kernel/debug/bluetooth/6lowpan_control
where 00:11:22:33:44:55 is the MAC address of your UmbrellaMod
To configure RADVD create /etc/radvd.conf
file and paste the following contents:
interface bt0
{
AdvSendAdvert on;
prefix 2001:db8::/64
{
AdvOnLink off;
AdvAutonomous on;
AdvRouterAddr on;
};
};
Next, start RADVD daemon:
# Set IPv6 forwarding (must be present).
sudo echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
# Run radvd daemon.
sudo service radvd restart
If successfull then the UmbrellaMod connected to the host will receive
a routable 2001:db8
prefix.
This can be verified by sending echo request to the full address:
ping6 -I bt0 2001:db8::2aa:bbff:fexx:yyzz
where aa:bbff:fexx:yyzz
is device Bluetooth address.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates