Copyright © 2010-2022 Ted Burke, All Rights Reserved.
Blog Stats
- 94,807 hits
-
Recent Posts
- State machine example from today’s class
- State Machine code examples
- Example code: two state machines running in parallel
- State machine examples
- Dual HC-SR04 rangefinder example for Arduino Nano
- Mini project brainstorming
- State machine example from today’s class
- State machine example from lecture on 12 Nov 2020
- State machine example from class – “Shoo Robot”
- State machine example – Golf ball collector
- SCARA kinematics – example M-file and whiteboard snapshot
- Kinematics and mini-project ideas – whiteboard snapshots
- HC-SR04 ultrasonic rangefinder example code for dsPIC30F4011
- Slaughterbots video
- Two alternative state machine structures with Timer 1 millisecond counter
- A handy “super example” for the dsPIC30F4011
- Millisecond timer for state machine using Timer 1 interrupt
- Two SCARA control examples from today’s class
- Stepper motor reference position example from today’s class
- Great video about the 28BYJ-48 stepper motor
- Timer Interrupt examples for dsPIC30F4011
- Stepper robot example from today’s class
- State Machine Challenge
- State Machine example code from class (two versions)
- Example: control servo angle with a potentiometer
- SCARA fixed sequence example code
- UART printing example for dsPIC30F4011 with stepper controlled by potentiometer
- Simple analog input example for dsPIC30F4011
- Speed control of a DC motor using the dsPIC30F4011
- Simple stepper motor control using the dsPIC30F4011
- Micro-robots
- Servo angle controlled by an analog voltage using dsPIC30F4011
- Explanation of a bit-banging PWM example
- Best of luck in the exam tomorrow!
- Using Python and Tkinter to send keystrokes to a dsPIC via serial
- Example Blog Post
- Analysing some audio data recorded using the dsPIC
- Microphone amplifier circuit for dsPIC
- Inserting quotes and blockquotes in a WordPress blog post
- Snapshot of brainstorming ideas from whiteboard
- Some interesting robotics videos
- Introducing Robotics and Industrial Electronics
- Servo control example from today’s class using output compare
- Servo control using the dsPIC Output Compare module
- Stepper motor example from today’s class
- Servo control by dsPIC using bit banging
- Musical dsPIC Example
- Basic RoboSumo template code
- Best of luck!
- DirectShow machine vision – work in progress
Tag Archives: analog input
UART printing example for dsPIC30F4011 with stepper controlled by potentiometer
This was the example code from today’s class:
Posted in Uncategorized
Tagged ADC, AN0, analog input, dsPIC, dsPIC30F, dsPIC30F4011, potentiometer, U1BRG, UART
1 Comment
Worked example: Servo controlled by potentiometer
This is the worked example we looked at in today’s class of a potentiometer controlling the angle of a servo motor (via dsPIC30F4011 microcontroller) which has a paper arrow attached to it. The potentiometer voltage, which varies between 0V and … Continue reading