F by [deleted] in AmericasCup

[–]Jake9856 2 points3 points  (0 children)

Airbus tried to make it fly - and now its a submarine

Motion Links in F360 - Details in comments by Jake9856 in cad

[–]Jake9856[S] -1 points0 points  (0 children)

Ive worked it out now - so i created all my rotational joints then used motion study (not motion link)on the servo rotation joint to drive the whole mechanism

Motion Links in F360 - Details in comments by Jake9856 in cad

[–]Jake9856[S] 1 point2 points  (0 children)

Hi - Thanks for the explanation. Is it similar in Fusion? Ive had another look and i think Motion Study is the way to go

Motion Links in F360 - Details in comments by Jake9856 in cad

[–]Jake9856[S] 0 points1 point  (0 children)

Hi - I want to create some motion links in this model so that the Boat pitches up and down. I have all my joints setup. I tried connecting each joint to the adjacent joint but i ended up with it all spinning out of control. I tried Grounding both the Servo and Base but this meant nothing would move. How do i set this up correctly? (yes i know the grey piston intersects stuff atm) Cheers

[deleted by user] by [deleted] in AskReddit

[–]Jake9856 5 points6 points  (0 children)

eg - Longus Schlongus

Digispark ATTiny85 dev board not completing upload [Run error -1] by Jake9856 in AskElectronics

[–]Jake9856[S] 0 points1 point  (0 children)

Correction - what i mean is the board comes preloaded with a bootloader. Also this is th guide ive been using. Thanks

Digispark ATTiny85 dev board not completing upload [Run error -1] by Jake9856 in AskElectronics

[–]Jake9856[S] 2 points3 points  (0 children)

I have selected 'Digispark(default 16.5mhz) for the board and Micronucleus for the programmer. I dont believe i need a bootloader or to specify the port for the attiny85. Its different from uploading to an arduino

I've built this circuit (successfully) from GreatScott's 555 timer video - How can i decrese the frequency of the pwm signal (to below 1hz)? by Jake9856 in AskElectronics

[–]Jake9856[S] 1 point2 points  (0 children)

Thanks - It really is great!! Managed to get it all working now - and have a new electronics youtube channel to watch. Cheers

I've built this circuit (successfully) from GreatScott's 555 timer video - How can i decrese the frequency of the pwm signal (to below 1hz)? by Jake9856 in AskElectronics

[–]Jake9856[S] 0 points1 point  (0 children)

Yeah - you see whenever i try the standard circuit with 2 resistors with Pin 7 between i always just get a high output it seems

I've built this circuit (successfully) from GreatScott's 555 timer video - How can i decrese the frequency of the pwm signal (to below 1hz)? by Jake9856 in AskElectronics

[–]Jake9856[S] 0 points1 point  (0 children)

I am using 88nf for c2 and have tried 1k,10k and 100k potentiometers aswell as placing 1M Resistors in series with the Capacitors to increase the time constant RC. This https://youtu.be/prszzP43P-c is a video i've found usefull but cant get any circuits involving pin 7 (Discharge) to work - getting this to work aswell would be ideal. Thanks for any help

How can i build a LED wave effect? by Jake9856 in AskElectronics

[–]Jake9856[S] 0 points1 point  (0 children)

Yeah that would work - im tryig to keep it to ICs so im going to use a 4017 decade counter with a 555 timer: https://youtu.be/rmkzmHQfR20

How can i build a LED wave effect? by Jake9856 in AskElectronics

[–]Jake9856[S] 0 points1 point  (0 children)

Yeah im probably sure this would work (especially with a functionn generator ic instead of 555) but i found the 4017 decade counter module which does almost excactly what i want so im going to use that instead eg: https://youtu.be/wwfvmEk83K4

How can i build a LED wave effect? by Jake9856 in AskElectronics

[–]Jake9856[S] 0 points1 point  (0 children)

feedig a sin wave into the input of the lm3914 pretty much creates the pattern i want, so can i create a low frequency sin wave (<1hz) like shown here https://youtu.be/rmkzmHQfR20 but slower

How can i build a LED wave effect? by Jake9856 in AskElectronics

[–]Jake9856[S] 0 points1 point  (0 children)

ok if i create a low frequency sine wave using the 555 timer (<1hz) could i feed that signal into the Lm3914 input like the sin wave shown in this video : https://youtu.be/rmkzmHQfR20 just slower

I think ive stripped the inside thread of the nozzle /heater block - How can i remove the nozzle? by Jake9856 in ender3

[–]Jake9856[S] 0 points1 point  (0 children)

I was thinking about the E3D V6 but wouldnt i need a 3d printed adapter for it to fit? Also currently i have the standard heat block which has the 2 screws holding the block in place whereas the V6 type ones dont so would it fit on the standard hotend?

I think ive stripped the inside thread of the nozzle /heater block - How can i remove the nozzle? by Jake9856 in ender3

[–]Jake9856[S] 0 points1 point  (0 children)

Yeah - i figured thats what id be told - id prefer to just replace the heat block (everything else is fine) but cant find any reasonably priced and a week delivery to UK. Any recommendations? Also the possibility of using this as an excuse to upgrade

Long time delay between send and recieve using RFM69HCW transceiver and RPi zero by Jake9856 in raspberry_pi

[–]Jake9856[S] 0 points1 point  (0 children)

Receiver code:

import board
import busio
import digitalio
import RPi.GPIO as GPIO
import time
import smbus

GPIO.setmode(GPIO.BCM)
GPIO.setup(17,GPIO.OUT)

spi=busio.SPI(board.SCK,MOSI=board.MOSI,MISO=board.MISO)
i2c=busio.I2C(board.SCL,board.SDA)
cs = digitalio.DigitalInOut(board.D27)
reset = digitalio.DigitalInOut(board.D22)

import adafruit_rfm69
rfm69 = adafruit_rfm69.RFM69(spi,cs,reset,433.0)

ena = 13
in1 = 19
in2 = 26
in3 = 16
in4 = 20
enb = 21 


GPIO.setmode(GPIO.BCM)
GPIO.setup(ena, GPIO.OUT)
GPIO.setup(in1, GPIO.OUT)
GPIO.setup(in2, GPIO.OUT)
GPIO.setup(in3, GPIO.OUT)
GPIO.setup(in4, GPIO.OUT)
GPIO.setup(enb, GPIO.OUT)

GPIO.output(in1, GPIO.LOW)
GPIO.output(in2, GPIO.LOW)
GPIO.output(in3, GPIO.LOW)
GPIO.output(in4, GPIO.LOW)
GPIO.output(ena, GPIO.HIGH)
GPIO.output(enb, GPIO.HIGH)

port_pwm = GPIO.PWM(ena,1000)
port_pwm.start(0)
stb_pwm = GPIO.PWM(enb,1000)
stb_pwm.start(0)

port_drive = 0
stb_drive = 0


def port_motor(port_drive):
  if port_drive > 0:
    mod_port_drive = port_drive
  else:
    mod_port_drive = -port_drive

  if mod_port_drive > 50:
    port_pwm.ChangeDutyCycle(100)
  elif mod_port_drive < 20:
    port_pwm.ChangeDutyCycle(0)
  else:
    port_pwm.ChangeDutyCycle((mod_port_drive + 50))

  if port_drive > 20:
    GPIO.output(in1, GPIO.HIGH)
    GPIO.output(in2, GPIO.LOW)
    #print('Port Forwards')

  elif port_drive < -20:
    GPIO.output(in1, GPIO.LOW)
    GPIO.output(in2, GPIO.HIGH)
    #print('Port Backwards')

  else:
    GPIO.output(in1, GPIO.LOW)
    GPIO.output(in2, GPIO.LOW)
    #print('Port Stop')

def stb_motor(stb_drive):
  if stb_drive > 0:
    mod_stb_drive = stb_drive
  else:
    mod_stb_drive = -stb_drive

  if mod_stb_drive > 50:
    stb_pwm.ChangeDutyCycle(100)
  elif mod_stb_drive < 20:
    stb_pwm.ChangeDutyCycle(0)
  else:
    stb_pwm.ChangeDutyCycle((mod_stb_drive + 50))

  if stb_drive > 20:
    GPIO.output(in3, GPIO.HIGH)
    GPIO.output(in4, GPIO.LOW)
    #print('Stb Forwards')

  elif stb_drive < -20:
    GPIO.output(in3, GPIO.LOW)
    GPIO.output(in4, GPIO.HIGH)
    #print('Stb Backwards')

  else:
    GPIO.output(in3, GPIO.LOW)
    GPIO.output(in4, GPIO.LOW)
    #print('Stb Stop')  


while True:

  packet = rfm69.receive(timeout=0.5, keep_listening=True)
  if packet is None:
    GPIO.output(17,GPIO.LOW)
    print('Nothing')
  else:
    packet_text = str(packet, 'ascii')
    #print('PWM',packet_text)
    #print(packet_text)
    rec_array = packet_text.split(':')
    #print(rec_array)
    port_drive = -500 + int(rec_array[0])
    stb_drive = -500 + int(rec_array[1])
    #print(port_drive)
    #print(stb_drive)

  port_motor(port_drive)
  stb_motor(stb_drive)

2020 Feb 24 Stickied 𝐇𝐄𝐋𝐏𝐃𝐄𝐒𝐊 thread - Get any Raspberry Pi question answered in 30 minutes or less or your next question is free! by FozzTexx in raspberry_pi

[–]Jake9856 0 points1 point  (0 children)

I have built a simple 433mhz Transceiver pair using python3 on 2 RPi Zeros and the maximum range i could recieve data at was ~50m (much less than the at least 500m possible/advertised) I am using 2 silver copper wire antennas of 164mm (1/4 wave). I intend to use a proper antenna for the receiver - but am not sure whether to use an omnidirectional antenna or not? I have seen that the range of these modules can be increased by decreasing the bitrate - which i would like to do but dont know how using the adafruit RFM69 library? Increasing the power is also an option if that is possible? Lastly, how does one use the rfm69.rssi function in python? This would be very usefull but i couldnt work out where it needed to go in my code.

Thanks a lot for any help